News:

Simutrans Sites
Know our official sites. Find tools and resources for Simutrans.

Fix for crash when loading a save after a desync

Started by ceeac, April 23, 2020, 06:54:45 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ceeac

Via this Extended bug report:

Quote from: Freahk on April 22, 2020, 12:04:26 PMHow to reproduce?
1. Connect to any server
2. Enforce a desync, e.g. by saving the map
3. Load any local savegame e.g. the "online" map you might just have saved

jamespetts

I should note that the problem was actually quite different in Extended, relating to an Extended only feature of stop transfer queues and the patch affects code commented out in Extended.

However, that is not to say that this is not a real bug in Standard successfully fixed by this patch.
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.

prissi

Not entirely sure, how this crashed. Anyway, it does not hurt to be save. By the way, lengthof(date)-1 should be also used in the last change.

In in r9039, thnaks.