[1.1.53] Multiplayer cannot sync and join server with certain settings

Things that has been reported already before.
robot256
Filter Inserter
Filter Inserter
Posts: 938
Joined: Sun Mar 17, 2019 1:52 am
Contact:

[1.1.53] Multiplayer cannot sync and join server with certain settings

Post by robot256 »

Problem:
Joining a multiplayer game synchronizes only the mod list at first. If the server contains mod settings that differ from the default or your current client settings, a second connection attempt and game restart is required to synchronize them. If the custom values of the startup settings affect whether the game can load at all, it is possible to make a game that cannot be joined without manually copying the settings from the server to the client.

Loading single player games does not have this problem. The custom mod settings are applied at the same time that the mod list is downloaded or enabled, so only one restart is needed and the correct settings are used on the first try.
Reproduction:
  • Create a game with several tile-adding mods, such that with default settings of all mods the tile limit is reached. Disable enough tiles in mod startup settings that the game loads correctly in single player. (See attached example.)
  • Create a multiplayer server with this save, mod list and mod settings.
  • Attempt to connect to the server with a fresh install of Factorio.
  • Accept the "sync mod list" dialog to download all the mods and restart the game.
  • Observe the "tile limit reached" error message. If the settings had been synchronized, this would not have appeared.
To actually join the game, the following steps are required:
  • Manually copy the save file from the server onto the client.
  • Load the save file in single player mode.
  • Accept the "sync mods and mod settings" dialog (uncheck "load after restart") to enable all the mods, apply the settings, and restart the game.
  • Connect to the server successfully.
Attachments
mod-list.zip
(6.74 KiB) Downloaded 145 times
Rseding91
Factorio Staff
Factorio Staff
Posts: 14363
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [1.1.53] Multiplayer cannot sync and join server with certain settings

Post by Rseding91 »

Can you still reproduce this? I suspect it's related to this: viewtopic.php?f=11&t=101689
If you want to get ahold of me I'm almost always on Discord.
Rseding91
Factorio Staff
Factorio Staff
Posts: 14363
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [1.1.53] Multiplayer cannot sync and join server with certain settings

Post by Rseding91 »

Loewchen wrote: Sun Apr 10, 2022 5:26 pm This is related to 101654
Ah right, I copied the wrong link.
If you want to get ahold of me I'm almost always on Discord.
robot256
Filter Inserter
Filter Inserter
Posts: 938
Joined: Sun Mar 17, 2019 1:52 am
Contact:

Re: [1.1.53] Multiplayer cannot sync and join server with certain settings

Post by robot256 »

Yes, I can reproduce this in 1.1.57, with a non-corrupted mod settings file.

With the attached save file, mod-list, and mod-settings, the server and game can load. If the server is started first, and a fresh client connects with no mods already installed, it will not be able to load due to the tile limit. Copying mod-settings from the server into the client game, or manually applying the same sequence of settings changes to fix the tile limit, will allow the game to load.
Attachments
ModSetting_SyncError.zip
(10.82 MiB) Downloaded 130 times
Rseding91
Factorio Staff
Factorio Staff
Posts: 14363
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [1.1.53] Multiplayer cannot sync and join server with certain settings

Post by Rseding91 »

That's a separate issue and one that the mod(s) need to address themselves.
If you want to get ahold of me I'm almost always on Discord.
robot256
Filter Inserter
Filter Inserter
Posts: 938
Joined: Sun Mar 17, 2019 1:52 am
Contact:

Re: [1.1.53] Multiplayer cannot sync and join server with certain settings

Post by robot256 »

I'm curious why the sync behavior should be different between single player and multiplayer? And how should the mods address it? Their settings are correct, but the game does not load the values from the save file.
Post Reply

Return to “Duplicates”