Lua error spam

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
XLambda
Wyrmic
Posts: 237
Joined: Wed Jan 25, 2012 5:39 pm

Lua error spam

#1 Post 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.

XLambda
Wyrmic
Posts: 237
Joined: Wed Jan 25, 2012 5:39 pm

Re: Lua error spam

#2 Post by XLambda »

bump.

Is there no way to save this char?

edge2054
Retired Ninja
Posts: 3756
Joined: Fri May 28, 2010 4:38 pm

Re: Lua error spam

#3 Post by edge2054 »

Can you post the Lua error?

XLambda
Wyrmic
Posts: 237
Joined: Wed Jan 25, 2012 5:39 pm

Re: Lua error spam

#4 Post 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).

edge2054
Retired Ninja
Posts: 3756
Joined: Fri May 28, 2010 4:38 pm

Re: Lua error spam

#5 Post 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.

XLambda
Wyrmic
Posts: 237
Joined: Wed Jan 25, 2012 5:39 pm

Re: Lua error spam

#6 Post 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

Post Reply