[0.15.10] Pump and backwards chem plant causes desync

This subforum contains all the issues which we already resolved.
mingo888
Burner Inserter
Burner Inserter
Posts: 11
Joined: Sat May 13, 2017 7:20 am
Contact:

[0.15.10] Pump and backwards chem plant causes desync

Post by mingo888 »

A small multiplayer world that myself and some friends played on has become unusable in multiplayer. This is a vanilla 0.15.10 world, and no mods whatsoever are installed.

Recently, we saved the game and stopped the server (there were only about 3 people on at the time). But when the server was hosted again with that save, any user that tried to connect immediately entered a desync loop, constantly redownloading the world each time. This happens only with the world, but affects all players that try to connect. Other worlds do not pose a desync issue. We have tried using a different host and this does not resolve the issue, suggesting that the problem is with the world itself.

In singleplayer, or in multiplayer before someone connects, the world works fine with no issues noticed. I can't tell what could have caused this; of the three players, two were standing still on solid ground and one was in a car. We have hosted this world numerous times with no issues before, so this is unusual.

Below are the log and report files. To reproduce the issue, simply go to Multiplayer -> Load World and select the world file below. Anybody that connects, new or old, should immediately desync and enter a loop.

Log File: https://1drv.ms/u/s!As5e88NCWzT60CmjJYLtt8_FDa11
Desync Report #1: https://1drv.ms/u/s!As5e88NCWzT60Ct2aAoRe4mCFN94
Desync Report #2: https://1drv.ms/u/s!As5e88NCWzT60ConxihvzyrY1BiO
World File: https://1drv.ms/u/s!As5e88NCWzT60CwczosCskOvnJo2
Last edited by mingo888 on Sun May 14, 2017 3:55 am, edited 1 time in total.
mingo888
Burner Inserter
Burner Inserter
Posts: 11
Joined: Sat May 13, 2017 7:20 am
Contact:

Re: [0.15.10] Pump and backwards chem plant causes desync

Post by mingo888 »

Through thorough testing and map editing, we have narrowed down the issue to one specific source.

It seems that at some point before the map was saved, a pump was placed at the end of a petroleum pipeline facing the output of a chemical plant. That is, the pump (which was powered fully) was trying to pump petroleum into the output of an empty chemical plant, rather than the input. No recipe had been assigned to the chemical plant. Upon rotating this chemical plant or pump, either with the map editor, in singleplayer, or in multiplayer before others joined, the desync issue would disappear and others would be able to join fine.

I would like to stress that simply arranging the pump and chemical plant in this way does not cause players to desync, but rather prevents players from joining the server. Those already connected have no problem, which is why the problem wasn't realized until some time later when we reloaded the world.

Coordinates of the offending pump in the above save file (from top left vertices): (362, -125), (363, -125)

The thread title has been modified accordingly.
Nexela
Smart Inserter
Smart Inserter
Posts: 1828
Joined: Wed May 25, 2016 11:09 am
Contact:

Re: [0.15.10] Pump and backwards chem plant causes desync

Post by Nexela »

Nice find. Confirmed on a test map :)

Pushing fluids through a pump directly into the chem plant output causes destinks :)
Rseding91
Factorio Staff
Factorio Staff
Posts: 14339
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.15.10] Pump and backwards chem plant causes desync

Post by Rseding91 »

Thanks for the detailed investigation and steps to reproduce :)

It's now fixed for the next version of 0.15.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Resolved Problems and Bugs”