Page 1 of 1

[b42] enless lua errors and non dying npc

Posted: Fri Oct 12, 2012 1:46 am
by jenx
I am attacking a rogue that just sits on 0 hp and never dies. I closed down, re started, and then teleported away. Now I have an infinity of lua errors, that generate non stop:

Code: Select all

Lua Error: /mod/ai//tactical.lua:187: attempt to perform arithmetic on field 'life' (a nil value)
	At [C]:-1 __mul
	At /mod/ai//tactical.lua:187 runAI
	At /mod/ai//tactical.lua:403 doAI
	At /mod/class/NPC.lua:47 act
	At /engine/GameEnergyBased.lua:131 tickLevel
	At /engine/GameEnergyBased.lua:62 tick
	At /engine/GameTurnBased.lua:46 tick
	At /mod/class/Game.lua:995 
 ----------------  Stack Dump ----------------
etc etc

Because the errors never cease, I can't continue :-(