PtokaX forum

Lua 5.3/5.2/5.1 Scripts (for PtokaX 0.4.0.0 and newer) => DiXBoT => AllInOne Scripts => DiXBoT - Bug Reports => Topic started by: els16.rod on 15 April, 2009, 10:46:46

Title: Minor Bug Relating to Numbers Autoscores
Post by: els16.rod on 15 April, 2009, 10:46:46
Hi,
   I have set the number of rounds in Numbers. (FOR Eg : i have set the number of rounds to 1)
   After the round is over, instead of showing the automatic scores it gives an error.
   The following is the error,

   [11:10:10] <[Numbers]> Ripper challenges you all to a game of 'Guess the Number'! - Good luck
   [11:10:10] <[Numbers]> Challenge 1/1:   What is the sum of 54 Plus 57 = ??
   [11:10:30] <[Numbers]> Hint 1/5:   [ 54 Plus 57 ] is higher than [ 106 ] and lower than [ 146 ]
   [11:10:50] <[Numbers]> Hint 2/5:   [ 54 Plus 57 ] is higher than [ 90 ] and lower than [ 122 ]
   [11:11:10] <[Numbers]> Hint 3/5:   [ 54 Plus 57 ] is higher than [ 106 ] and lower than [ 120 ]
   [11:11:30] <[Numbers]> Hint 4/5:   [ 54 Plus 57 ] is higher than [ 110 ] and lower than [ 115 ]
   [11:11:50] <[Numbers]> Hint 5/5:   [ 54 Plus 57 ] is higher than [ 110 ] and lower than [ 112 ]
   [11:12:10] <[Numbers]> Guess no one could figure this out!? The answer was [ 111 ].
   [11:12:10] <[Numbers]> Type !numstart to start another [ 1 ] rounds of 'Guess the Number'
   [11:12:10] *** ...g\Desktop\Code\scripts\DiXBoT\CoreSystem\Numbers.lua:81: attempt to index local 'user' (a nil value)
Title: Re: Minor Bug Relating to Numbers Autoscores
Post by: els16.rod on 16 April, 2009, 06:04:41
Thankz Snooze for the update
The problem is solved.