Page 1 of 1

Long lag times

Posted: Wed Nov 17, 2010 4:41 pm
by Smips
I'm not sure if these are bugs, but...

When the game saves, it takes a very long time, typically 3 or 4 minutes. I also experience game lag after playing for an extended period of time(2 hours maybe?). I'm running the current beta on a Windows XP PC with 1.5GB of ram.

Re: Long lag times

Posted: Wed Nov 17, 2010 9:38 pm
by Vee
The current SVN version has the saving process in the background, which makes it much more bearable, if a second save doesn't start before the first is finished.

Depending how far you got in the game, every Dungeon level you visited is saved, which can become quite some data. I'm not sure if or what DG is still doing to improve save files and the saving algorithm.

V

Re: Long lag times

Posted: Thu Nov 18, 2010 12:25 am
by Dervis
Vee wrote:The current SVN version has the saving process in the background, which makes it much more bearable, if a second save doesn't start before the first is finished.

Depending how far you got in the game, every Dungeon level you visited is saved, which can become quite some data. I'm not sure if or what DG is still doing to improve save files and the saving algorithm.

V
I have to disagree with the saving process if it works as you put it.
Complete zone saves all the time are completely redundant and just saving the last visited zone + wilderness on each save would have dramatic results with any drawbacks.

Re: Long lag times

Posted: Fri Nov 19, 2010 10:35 am
by darkgod
Currently the zone is saved when you leave it.

I'm adding a new option to b14 that allows to tell the game to save each level individually. This makes savefiles somewhat bigger (more redundant info) and have a save/load operation on each level change, but on the other and only one level is ever saved at once and only one level is ever kept in memory, drastically reducing save time for deep zones, and reducing memory usage. And thus probably lag

Re: Long lag times

Posted: Fri Nov 19, 2010 4:10 pm
by edge2054
And allowing chronomancy spells to return you to the beginning of the level ;)