[0.15.26] desync on map join

Bugs that are actually features.
Atoms
Burner Inserter
Burner Inserter
Posts: 8
Joined: Sat Apr 29, 2017 7:34 pm
Contact:

[0.15.26] desync on map join

Post by Atoms »

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
Rseding91
Factorio Staff
Factorio Staff
Posts: 14254
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.15.26] desync on map join

Post by Rseding91 »

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.
Atoms
Burner Inserter
Burner Inserter
Posts: 8
Joined: Sat Apr 29, 2017 7:34 pm
Contact:

Re: [0.15.26] desync on map join

Post by Atoms »

ok, but still it should not desync in such cases :)
Rseding91
Factorio Staff
Factorio Staff
Posts: 14254
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.15.26] desync on map join

Post by Rseding91 »

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).
If you want to get ahold of me I'm almost always on Discord.
Rseding91
Factorio Staff
Factorio Staff
Posts: 14254
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.15.26] desync on map join

Post by Rseding91 »

Atoms wrote:ok, but still it should not desync in such cases :)
It desyncs when the custom scripts being used are written incorrectly - such as the examples I gave above.
If you want to get ahold of me I'm almost always on Discord.
Atoms
Burner Inserter
Burner Inserter
Posts: 8
Joined: Sat Apr 29, 2017 7:34 pm
Contact:

Re: [0.15.26] desync on map join

Post by Atoms »

ok posted this info to map owner, thanks.
Post Reply

Return to “Not a bug”