b21 Lua error spam in the wilderness
Posted: Sun Mar 06, 2011 2:21 am
Randomly walking around in the wilderness I've started having the game spam me with infinite lua errors. Here is what I get in terminal.
Looks like I have a bugged wolf patrol in the west... I think friendly patrols trigger the glitch when they try to kill it.
Code: Select all
Lua Error: /engine/Map.lua:216: attempt to compare nil with number
At [C]:-1
At /engine/Map.lua:216 seens
At /mod/class/Game.lua:105 logSeen
At /mod/class/WorldNPC.lua:82
At (tail call):-1
At /mod/class/Actor.lua:1419 attack
At /engine/interface/ActorLife.lua:40
At (tail call):-1
At [string "return function(self, x, y, what, ...) loca..."]:1
At (tail call):-1
At /engine/Actor.lua:128 move
At /mod/class/Actor.lua:381 move
At /mod/ai//worldnpcs.lua:75
At (tail call):-1
At /mod/ai//worldnpcs.lua:55
At (tail call):-1
At (tail call):-1
At /mod/class/WorldNPC.lua:97 act
At /engine/GameEnergyBased.lua:73 tick
At /engine/GameTurnBased.lua:44 tick
At /mod/class/Game.lua:671
---------------- Stack Dump ----------------
--------------- Stack Dump Finished ---------------