News:

Simutrans Wiki Manual
The official on-line manual for Simutrans. Read and contribute.

[Bug fix] Station mail records are not written in the save data

Started by RESTRICTED ACCOUNT, April 19, 2019, 09:07:21 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

RESTRICTED ACCOUNT

I noticed that every time I reloaded the saved game then the station's mail record was lost.  ???
This is due to an error in my code when Ranran implemented this. (´・ω・`)

I made a patch for fix this.
https://github.com/Ranran-the-JuicyPork/simutrans-extended/commits/bug-fix-of-station-mail-record

I apologize for the inconvenience, but please check this.

jamespetts

Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

RESTRICTED ACCOUNT

I'm very sorry, the patch seems to have caused problems loading the old save.
It is not possible to load the save generated by the build after 2019/02/05. (You can load the today's build saved game.)


if ((file->get_extended_version() == 14 && file->get_extended_revision() > 5) || file->get_extended_version() > 15)

If you edit line 3973 of simhalt.cc like this, it will be able to load the saved game of 2019/02/05 - 2019/04/06's build.
However, I have no idea why it can not read the saved game after 04/07's build (ie get_extended_revision () == 8, with modified path_exploler).

Jando

I'm seeing the latest nightly crash on loading any of my saved games. This is the Linux 64-bit version. Game either crashes directly to desktop or shows the following error message:



Bug or user error? :)

jamespetts

These two issues appear to be the same - I am looking into this now.
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

jamespetts

I think that I have now fixed this. I am about to run a manual recompile of the nightly build with this fix integrated.
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

RESTRICTED ACCOUNT

All saved game from February to April can now be loaded.  :D
Thank you very much!

Jando

Confirming issue fixed for me as well, thank your for the fast response!