Page 1 of 1

You enter Tol Falas and...

Posted: Sat Nov 06, 2010 8:20 pm
by PowerWyrm
... the game shuts itself.

Looking at stdout.txt, I can find the following errors (3 separate bugs):

1) [LOG] There is an item here: #00FF80#long scroll of identify#LAST#
Lua Error: /engine/ui/TextzoneList.lua:71: attempt to perform arithmetic on field 'scroll' (a nil value)

2) [LOG] Hill orc archer seems less active.
Lua Error: /data/general/traps/annoy.lua:36: attempt to index local 't' (a nil value)

3) [LOG] Saving game...
[string "data = {}..."]:52: chunk has too many syntax levels
Lua Error: /engine/class.lua:246: bad argument #1 to 'setfenv' (number expected, got nil)

Note: Tol Falas had a big vault on level 3; since my character was full of stuff after clearing the vault, I teleported to Angolwen to sell stuff; the crash happened when entering Tol Falas the second time

Re: You enter Tol Falas and...

Posted: Sat Nov 06, 2010 8:32 pm
by darkgod
You are a savefile bug magnet do you know that ? ;)

Can you send the save to me please ?

Re: You enter Tol Falas and...

Posted: Sat Nov 06, 2010 9:22 pm
by PowerWyrm
http://www.humyo.fr/FMyXqZf/save.zip?a=Wo4WdNoCV54

1) and 2) are probably minor things easy to fix
I've already seen 3) a couple of times now... and each time if happened because too many objects were generated in a specific dungeon and the load/save routine couldn't manage to load/save them all...

Re: You enter Tol Falas and...

Posted: Sat Nov 06, 2010 9:47 pm
by darkgod
Yeah.
I think I can manage to fix 3, I'll check it out, thanks

Re: You enter Tol Falas and...

Posted: Sat Nov 06, 2010 10:02 pm
by darkgod
Hum it loads it fine here .. grmf

Can you uncomment line 319 of game/engines/default/engine/Savefile.lua please:

Code: Select all

	print("loading", load)
Then make it bug again (with the exact same savefile you sent me) and tell me what it says

Re: You enter Tol Falas and...

Posted: Sun Nov 07, 2010 12:22 am
by PowerWyrm
Err... sure the savefile loads fine...
The problem occurs once you enter Tol Falas from the world map. Then the game hangs (or closes itself) with the LUA error described on the previous post (too many objects).

Re: You enter Tol Falas and...

Posted: Sun Nov 07, 2010 12:25 am
by darkgod
Yes but it works for me :)
Can you gimme the log wit the line uncommented please?

Re: You enter Tol Falas and...

Posted: Sun Nov 07, 2010 1:06 am
by PowerWyrm
Load game, enter Tol Falas, game hangs with same error. See attached file.