Page 1 of 1

[svn] Mouse.lua error

Posted: Wed Oct 26, 2011 5:47 pm
by Avianpilot
I'm not sure what exactly is going on here, but since no one else seems to be having this problem it's probably just something I screwed up. I can compile the source without a problem (save for a few warnings), and the game will load up fine. However, whenever I go to use an infusion the screen blanks out and my terminal window keeps repeating the same lua error until I force quit:

Code: Select all

Lua Error: /engine/Mouse.lua:90: attempt to perform arithmetic on local 'x' (a nil value)
	At [C]:-1 __add
	At /engine/Mouse.lua:90 registerZone
	At /mod/class/PlayerDisplay.lua:68 mouseTooltip
	At /mod/class/PlayerDisplay.lua:191 handleEffect
	At /mod/class/PlayerDisplay.lua:420 display
	At /mod/class/PlayerDisplay.lua:472 toScreen
	At /mod/class/Game.lua:1044 
Anyone have any ideas on what I can try?

Re: [svn] Mouse.lua error

Posted: Tue Nov 08, 2011 5:13 pm
by Avianpilot
An update: this error only happens when the 'Icons hotkey toolbar' option is disabled.

Re: [svn] Mouse.lua error

Posted: Tue Nov 08, 2011 5:24 pm
by darkgod
ahah thanks :)
fixed!

Re: [svn] Mouse.lua error

Posted: Tue Nov 08, 2011 6:46 pm
by Avianpilot
Thank you, it's working now!