Possible problem on exiting a region

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
Taxorgian
Archmage
Posts: 300
Joined: Mon May 17, 2010 11:56 am

Possible problem on exiting a region

#1 Post by Taxorgian »

If beta5 savefiles cannot be used in beta6 this might not be a bug...

A beta5 skeleton fighter went in and got the glittering sword (woo!) by restarting the savefile in beta6. It went into an endless loop when leaving with the following in stdout looping over and over when exiting to the wilderness map:

Lua Error: /engine/GameTurnBased.lua:40: attempt to call method 'enoughEnergy' (a nil value)
At [C]:-1 enoughEnergy
At /engine/GameTurnBased.lua:40 tick
At /mod/class/Game.lua:356
4 ticks in 50.834 seconds = 0.0786875 TPS
Lua Error: /engine/GameTurnBased.lua:40: attempt to call method 'enoughEnergy' (a nil value)
At [C]:-1 enoughEnergy
At /engine/GameTurnBased.lua:40 tick
At /mod/class/Game.lua:356
Lua Error: /mod/class/Game.lua:565: attempt to call method 'moveDir' (a nil value)
At [C]:-1 moveDir
At /mod/class/Game.lua:565 ?
At /engine/KeyBind.lua:198


This occurred just before the infinite loop:

[LEVEL] persisting to zone memory ancient-elven-ruins-1
Lua Error: /engine/class.lua:167: bad argument #2 to 'basicSerialize' (string expected, got table)
At [C]:-1
At [C]:-1 basicSerialize
At /engine/class.lua:167 serialize_data
At /engine/class.lua:169 serialize_data
At /engine/class.lua:181 serialize
At /engine/class.lua:196 save
At /engine/Savefile.lua:94 saveObject
At /engine/Savefile.lua:174 saveZone
At /engine/Zone.lua:78 leave
At /mod/class/Game.lua:290 changeLevel
At /mod/class/Game.lua:635 ?
At /engine/KeyBind.lua:202
Lua Error: /engine/GameTurnBased.lua:40: attempt to call method 'enoughEnergy' (a nil value)
At [C]:-1 enoughEnergy
At /engine/GameTurnBased.lua:40 tick
At /mod/class/Game.lua:356
234 frames in 10.017 seconds = 23.3603 FPS
314 frames in 10 seconds = 31.4 FPS
315 frames in 10.009 seconds = 31.4717 FPS
317 frames in 10.02 seconds = 31.6367 FPS
299 frames in 10.018 seconds = 29.8463 FPS

darkgod
Master of Eyal
Posts: 10751
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

Re: Possible problem on exiting a region

#2 Post by darkgod »

Beta5 savefiles are borked so they wont load yes.
Anyway always assume savefiles break between betas.
I'll do more efforts to preserve it once we are out of beta (between patch versions at least)
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)

Post Reply