Page 1 of 1

[posila] Deserialisation: unexpected symbol near "."

Posted: Mon Oct 10, 2016 11:54 am
by doktorstick
Version: 0.14.13. Map Version: 0.14.13-2. Game started around 0.14.10.

Code: Select all

Error while running deserialisation: [string "do local _={regionMap={[1]={[1]={[1]=7.840999..."]:1: unexpected symbol near '.'
Main save and three autosaves all have this error. I updated to 0.14.13 and played for a while. I don't know if it happened on the first save or a later one. The log, save, and mods are attached (sans the really big ones--hd-music and waitex).

Re: Deserialisation: unexpected symbol near "."

Posted: Mon Oct 10, 2016 1:01 pm
by Klonan
Seems like the mod 'Rampant_0.14.3' is causing this issue,

Somehow the mod table has become misformed

Re: Deserialisation: unexpected symbol near "."

Posted: Mon Oct 10, 2016 1:47 pm
by aubergine18
I've noticed that `do local _ = ` stuff appearing in serpent.dump() since 0.14.12 or 0.14.13, did something change in serpent or did it always behave that way?

Re: Deserialisation: unexpected symbol near "."

Posted: Mon Oct 10, 2016 2:55 pm
by doktorstick
Klonan wrote:Seems like the mod 'Rampant_0.14.3' is causing this issue,
Okay, thanks. I've posted in the Rampant thread. It appears someone else has seen the same problem.
Somehow the mod table has become misformed
Do you have a notion on what can cause this? Is it how a mod stores it's global data, and what--as mod authors--can we do to mitigate this problem?

Re: Deserialisation: unexpected symbol near "."

Posted: Mon Oct 10, 2016 6:15 pm
by Rseding91
aubergine18 wrote:I've noticed that `do local _ = ` stuff appearing in serpent.dump() since 0.14.12 or 0.14.13, did something change in serpent or did it always behave that way?
It has always worked that way.

Re: Deserialisation: unexpected symbol near "."

Posted: Mon Oct 10, 2016 6:16 pm
by Rseding91
doktorstick wrote:
Somehow the mod table has become misformed
Do you have a notion on what can cause this? Is it how a mod stores it's global data, and what--as mod authors--can we do to mitigate this problem?
I have no idea how to reproduce the issue. If you or someone else finds out how to reproduce it and it's not a mod doing something weird let us know.

Re: Deserialisation: unexpected symbol near "."

Posted: Mon Oct 10, 2016 7:31 pm
by posila
I have a way how to reproduce it :)

Re: [posila] Deserialisation: unexpected symbol near "."

Posted: Mon Oct 10, 2016 9:27 pm
by posila
Thanks for the report.
Cause of the error should be fixed for 0.14.14.
However the save will load only if you disable mod that has corrupted data. Then you can save it again and re-enable the mod.