[0.15.10]OARC Scenario, join desync

Place to get help with not working mods / modding interface.
Post Reply
User avatar
MnHebi
Inserter
Inserter
Posts: 41
Joined: Thu Jun 16, 2016 5:17 am
Contact:

[0.15.10]OARC Scenario, join desync

Post by MnHebi »

Simply, attempt to join the server, it had 1 client on it already. Instant desync after map finishes downloading.

Here is the desync report from onedrive cause it is over 400mb:
https://1drv.ms/u/s!Ag_oGXM7aD7ngQ4kKy5YnZ3Q1kvJ
Attachments
HaktosScenario.zip
The scenario that is played on the server being joined
(217.89 KiB) Downloaded 53 times
factorio-current.log
(1.66 MiB) Downloaded 60 times

Rseding91
Factorio Staff
Factorio Staff
Posts: 13239
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.15.10]OARC Scenario, join desync

Post by Rseding91 »

The RSO code you're using is not MP safe. It has the same problem as it did before: it runs code differently after saving and loading. The main problem is the initDone variable which isn't in the global variable so it resets to false every time someone loads the game to join in MP and causes the code in RSO_init to run differently for a player joining vs one already in the game.
If you want to get ahold of me I'm almost always on Discord.

Post Reply

Return to “Modding help”