Page 1 of 1

Super severe bug related to savegames in 1.2.0 linux64

Posted: Thu Jun 05, 2014 9:01 pm
by zelurker
it might be specific to the linux version otherwise it would have already been reported I suppose...
Anyway apparently the savegames created have a high likelyhood to be corrupted, and I don't know why.
I had a savegame this monring which crashes when loaded (giving an error related to particles).
But the most common issue is you load the savegame, everything seems fine, and as soon as you see an enemy, you start geting lua errors about anything (unspecified damage, or something like that). It proposes to report the error, I have reported it a few times.
The thing is, as soon as the mouse passes over an enemy, you get the error. It becomes harder and harder to ignore, plus it becomes impossible to have the infos about the enemy, geting some side effects like abilities available all the time without cooling down.

I didn't find any specific way to reproduce this, but actually I have not found any safe way to make a savegame.
The problem is worse because there is only 1 savegame / character, and once it gets these errors I don't know how to get rid of them (simply exiting the level and returning doesn't help).

I think the only solution is to revert to 1.1.5. This never happened with 1.1.5, and almost all the time with 1.2.0 !

Re: Super severe bug related to savegames in 1.2.0 linux64

Posted: Thu Jun 05, 2014 9:07 pm
by darkgod
Found & fixed for 1.2.1 (which is obviously very soon).

In the meantime you can set your numeric locale to us_US (or "C") and it'll fix the problem

Re: Super severe bug related to savegames in 1.2.0 linux64

Posted: Thu Jun 05, 2014 9:11 pm
by zelurker
Thanks a lot fot the advice ! :)

EDIT : after setting the locale to C (export LANG=C), and running the game again, loading the savegame still produces the same errors.
Maybe it helps to create correct savegames ?

Re: Super severe bug related to savegames in 1.2.0 linux64

Posted: Thu Jun 05, 2014 9:46 pm
by darkgod
Yes it cant fix old saves but it will prevent new ones from weirding out

Re: Super severe bug related to savegames in 1.2.0 linux64

Posted: Fri Jun 06, 2014 9:15 am
by zelurker
Ok, so apparently to fix the savegames, it's enough to unzip all the contents of the savegame, and then replace \d,\d by
\d.\d (french locale here, replace "," by ".").
I just tried it on 1 savegame, and it seems to work.
I'd better keep a backup of savegames before patching them though...

Thanks for the info anyway ! :) (and it was a really stupid bug, too bad you couldn't find it earlier because of your locale !).

Re: Super severe bug related to savegames in 1.2.0 linux64

Posted: Fri Jun 06, 2014 9:22 am
by darkgod
You want to know the most ironic part of it ?
I'm french too ;)
But I always setup my computers to english.. :)

Re: Super severe bug related to savegames in 1.2.0 linux64

Posted: Fri Jun 06, 2014 9:39 am
by zelurker
lol !
I knew someone like that, he said it was more convenient to search the error messages on the internet in english...
anyway. This fix works only if the game hasn't been saved over an already corrupted savegame. In this case everything which was after the coma is lost.
I lost 1 character apparently, his savegame can't be repaired this way.
But the more advanced one is ok !
Thanks again then !