Page 1 of 1

[SVN 1972] Serializer bugged

Posted: Sun Nov 21, 2010 9:50 am
by Vee
It saves much faster, that is true, but when going back to a zone after visiting some towns, the resolver got a problem:

Code: Select all

[DECAY] decaying        27123   iron longsword of accuracy
[DECAY] decaying        27120   iron dagger
[DECAY] decaying        27136   rough leather sling
[DECAY] decaying        27122   rough leather belt
Loading tile    object/rune_green.png
Loading tile    object/money_small.png
Loading tile    object/ring_copper.png
Lua Error: /engine/resolvers.lua:85: attempt to call field '?' (a nil value)
        At [C]:-1 ?
        At /engine/resolvers.lua:85 ?
        At /engine/Entity.lua:293 resolve
        At /engine/Object.lua:42 resolve
        At /engine/Zone.lua:294 finishEntity
        At /engine/Zone.lua:257 makeEntity
        At /engine/generator/object/Random.lua:44 generateOne
        At /engine/generator/object/Random.lua:60 regenFrom
        At /mod/class/Game.lua:411 changeLevel
        At /mod/class/Game.lua:795 ?
        At /engine/KeyBind.lua:202 
602 ticks  in 12.237 seconds = 49.1951 TPS
198 frames in 10.001 seconds = 19.798 FPS
[LOG]   Today is the 5th Mirth of the 122th year of the Age of Ascendancy of Maj'Eyal.
The time is 00:00.
14816 ticks  in 10.001 seconds = 1481.45 TPS
[LOG]   Today is the 6th Mirth of the 122th year of the Age of Ascendancy of Maj'Eyal.
The time is 00:00.
The last LOG entries keep coming, the player is put someplace right in the middle of the map - not at entrance, and nothing can move - neither the player nor enemies - which I have a skeleton right within LOS.

This problem didn't occure, when I reentered the zone right after leaving it, but with two different characters after visiting a Zigur and Last Hope.

EDIT: The characters are then lost, as the problem occures on every load.

Re: [SVN 1972] Serializer bugged

Posted: Sun Nov 21, 2010 1:27 pm
by darkgod
Fixed. Also added a no background save option, this freezes while saving as in the earlier betas but is even faster.

I'll probably do a beta14b or beta15 soon to let people benefit from the huge saving increase

Re: [SVN 1972] Serializer bugged

Posted: Sun Nov 21, 2010 5:12 pm
by Vee
Thanks! Works like a charm.

I have saving of every level enabled, and its really fun to play! Doesn't really take much time to finish saving - much faster than beta14.

I'll have to say the rewrite of the serializer was worth it! ;)

Vee

Re: [SVN 1972] Serializer bugged

Posted: Sun Nov 21, 2010 5:16 pm
by darkgod
thanks :)