Page 1 of 1

Attempt to perform arithmetic on 'biggesti' (a nil value)

Posted: 12 Feb 2013, 02:57
by JWinslow23
When I go on the wall to the left of the checkpoint in the New Super Mario World mappack of Mari0, I get this message.
Error

laser.lua:161: attempt to perform arithmetic on local 'biggesti' (a nil value)


Traceback

laser.lua:161: in function 'update'
game.lua:447: in function 'game_update'
main.lua:796: in function 'update'
[C]: in function 'xpcall'
What causes this, and will the maker of the mappack fix it?

Re: Attempt to perform arithmetic on 'biggesti' (a nil value

Posted: 12 Feb 2013, 03:03
by Sašo
That error usually happens when you jump over a laser offscreen. Is that what you're doing?

(it's fixed for SE)

Re: Attempt to perform arithmetic on 'biggesti' (a nil value

Posted: 12 Feb 2013, 03:55
by Sky
Yes, there's a laser there to keep you from skipping over all my hard work. I'm not changing that. There's one for just about every wall that extends above the screen.

Re: Attempt to perform arithmetic on 'biggesti' (a nil value

Posted: 14 Feb 2013, 02:05
by JWinslow23
WillWare wrote:Yes, there's a laser there to keep you from skipping over all my hard work. I'm not changing that. There's one for just about every wall that extends above the screen.
Yes. It looks like a laser. And if the laser wasn't there, what world or level would it warp to?

Re: Attempt to perform arithmetic on 'biggesti' (a nil value

Posted: 14 Feb 2013, 21:13
by Sky
I sent you a PM to get this out of technical discussion. The technical part has been taken care of.

Re: Attempt to perform arithmetic on 'biggesti' (a nil value)

Posted: 17 May 2015, 12:01
by YuryB10
Got the same error, looks like it happens when laser light goes off-screen.