Page 1 of 1

[b35] lua errors while having a picnic in Eruan

Posted: Wed Dec 07, 2011 3:16 pm
by porkzar
I was walking around at the ErĂșan lvl 5 and found a nice spot with palm trees blocking the sun, a perfect hideout from the scorching sun to have a romantic picnic with my mistress. Suddenly around 10 lua errors popped up ruining the mood totally. I tried to ignore the sudden interruption and moved to a close by spot, after 3 tiles it happened again and my romantic evening was totally ruined, so here I am posting the lua error if you guys could help me figure out what was the cause for this not-so-happy-ending and possibly a bug preventing me from finishing the game with this char.

Lua Error: /mod/ai//target.lua:43: attempt to index a nil value
At [C]:-1 __index
At /mod/ai//target.lua:43 runAI
At /engine/ai//talented.lua:57 doAI
At /mod/class/NPC.lua:47 act
At /engine/GameEnergyBased.lua:118 tickLevel
At /engine/GameEnergyBased.lua:62 tick
At /engine/GameTurnBased.lua:44 tick
At /mod/class/Game.lua:926

Out of topic question:
I've tried applying some patches which fix various bugs, I have replaced the original code with the code given in the patch (remove the lines with - and replace them with the lines marked with +). For some reason at the first time I did "fix" the .team file, tome would start up and when I start loading a character, the game just shuts down at 10% loading screen. The second time I did this, game complains about bad game version but does let me in tho.
So so, to the question itself. Am I doing something wrong with compressing the file back to the xxxx.zip and then renaming it to .team or what could be causing this?
And sorry in advance for the possibly stupid question, I'm just kinda new to this kind of stuff so I might be using wrong tools etc.

Ps. I also failed at using the cheat console trying to teleport to hidden compound because it didn't spawn, pressing ctrl+l just gave me an error, which I can't remember right now. I'll post the details about that error a bit later on if needed.

Best retards,

Pork