Page 1 of 1

Lua error spam

Posted: Mon Aug 06, 2012 10:22 am
by XLambda
So I made it east with Sankis, my Dwarf Doomed recently. This morning I started up the save in the Gates of Morning and suddenly there were lua errors everywhere. I'd appreciate it if someone could tell me wtf happened and how I can repair it. It's not that easy to get chars east for me, I'd really like to continue this one.

Save is here.

Re: Lua error spam

Posted: Mon Aug 13, 2012 9:48 pm
by XLambda
bump.

Is there no way to save this char?

Re: Lua error spam

Posted: Mon Aug 13, 2012 10:18 pm
by edge2054
Can you post the Lua error?

Re: Lua error spam

Posted: Mon Aug 13, 2012 10:32 pm
by XLambda
edge2054 wrote:Can you post the Lua error?
No problem. :D

Code: Select all

Lua Error: /mod/ai//tactical.lua:327: attempt to index local 'e' (a nil value)
	At [C]:-1 __index
	At /mod/ai//tactical.lua:327 runAI
	At /mod/ai//tactical.lua:402 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:988 

Lua Error: /engine/interface/ActorTemporaryEffects.lua:81: attempt to index local 'def' (a nil value)
	At [C]:-1 __index
	At /engine/interface/ActorTemporaryEffects.lua:81 timedEffects
	At /mod/class/Actor.lua:366 actBase
	At /engine/GameEnergyBased.lua:121 tickLevel
	At /engine/GameEnergyBased.lua:62 tick
	At /engine/GameTurnBased.lua:46 tick
	At /mod/class/Game.lua:988 
This happened right after I backed up my save (I am running this on a rather low-tech notebook, and my graphics driver tends to crash on me every now and then).

Re: Lua error spam

Posted: Mon Aug 13, 2012 11:47 pm
by edge2054
I think I manged to fix the save.

Not sure what caused the bug though and no promises my fix won't cause strange issues later on. I changed Aeryn's faction, killed her, and then respawned her >.>

http://www.sendspace.com/file/9dgxvc

*edit*
It seems like the tmp table got removed somehow.

Re: Lua error spam

Posted: Tue Aug 14, 2012 12:04 am
by XLambda
edge2054 wrote:I think I manged to fix the save.

Not sure what caused the bug though and no promises my fix won't cause strange issues later on. I changed Aeryn's faction, killed her, and then respawned her >.>

http://www.sendspace.com/file/9dgxvc

*edit*
It seems like the tmp table got removed somehow.
Thanks man, I appreciate your help. I'll see if anything unusual comes up, but right now everything looks fine. :D