After server and client updated to 0.15.26 no one is able to join to game, game just downloads map, and then desync, others reported that cannot join too, i tried 1 another server and joined. We play without mods, and every player now has desync to this server. Attaching desync report.
https://drive.google.com/file/d/0BxdfuM ... sp=sharing
[0.15.26] desync on map join
Re: [0.15.26] desync on map join
I'll look into the desync but your save *is* modded. It's using a custom scenario with custom script files.
If you want to get ahold of me I'm almost always on Discord.
Re: [0.15.26] desync on map join
ok, but still it should not desync in such cases
Re: [0.15.26] desync on map join
Looking into it at least 2 of the custom script files in use are written wrong such that they would cause desyncs in MP.
map_layout.lua line 15 calls math.random when the script file isn't fully setup - which will desync every time you try to connect to any game using that file.
band.lua line 24 band_last_change is set to some constant value at load and is then changed in a button click event later but never saved in the global table so it resets every time someone saves/reloads the game (what happens when you join a MP game).
map_layout.lua line 15 calls math.random when the script file isn't fully setup - which will desync every time you try to connect to any game using that file.
band.lua line 24 band_last_change is set to some constant value at load and is then changed in a button click event later but never saved in the global table so it resets every time someone saves/reloads the game (what happens when you join a MP game).
If you want to get ahold of me I'm almost always on Discord.
Re: [0.15.26] desync on map join
It desyncs when the custom scripts being used are written incorrectly - such as the examples I gave above.Atoms wrote:ok, but still it should not desync in such cases
If you want to get ahold of me I'm almost always on Discord.
Re: [0.15.26] desync on map join
ok posted this info to map owner, thanks.