Page 1 of 1

[svn 2609] Lua error in sandhole

Posted: Thu Feb 03, 2011 7:35 pm
by Freddybear
Sandworm Lair(7), as soon as I hit any movement key the game crashes to desktop. stdout.txt has the following LUA error:

Code: Select all

Lua Error: /mod/ai//sandworm_tunneler.lua:32: attempt to compare number with nil
	At [C]:-1 
	At /mod/ai//sandworm_tunneler.lua:32 tunnelDir
	At /mod/ai//sandworm_tunneler.lua:47 tunnel
	At /mod/ai//sandworm_tunneler.lua:93 
	At (tail call):-1 
	At (tail call):-1 
	At /mod/class/NPC.lua:47 act
	At /engine/GameEnergyBased.lua:73 tick
	At /engine/GameTurnBased.lua:44 tick
	At /mod/class/Game.lua:632 
 ----------------  Stack Dump ----------------
--------------- Stack Dump Finished ---------------
 ----------------  Stack Dump ----------------
I saved the game when I came down the stairs, before I moved, if that will help.

Re: [svn 2609] Lua error in sandhole

Posted: Fri Feb 04, 2011 10:33 am
by darkgod
fixed