Page 1 of 1

[kovarex] [2.0.14] "Load save after sync" loads into single player mode when selected in Multiplayer "Host saved game"

Posted: Tue Nov 05, 2024 5:09 am
by Cakoluchiam
What did you do?
- Have a save file for a game that uses mods
- Have different mods installed
- Select "Multiplayer" > "Host saved game"
- Select the save and click "Sync mods with save" icon in the upper right
- Select "Load save after sync"
- Select "Confirm"

What happened?
- Game reloads
- Saved game loads in single player mode

What did you expect to happen instead? It might be obvious to you, but do it anyway!
- Open Multiplayer server settings window
- Set settings as desired
- Select "Play" (or "Reload and play"?)
- Game reloads
- Saved game loads in multiplayer as host with chosen settings

Does it happen always, once, or sometimes?
- Always

Re: [2.0.14] "Load save after sync" loads into single player mode when selected in Multiplayer "Host saved game"

Posted: Fri Nov 08, 2024 11:43 am
by EvilPLa
[2.0.15] Factorio is loading the save, even if the checkbox is not selected
11-08-2024, 12-42-51.png
11-08-2024, 12-42-51.png (84.56 KiB) Viewed 1506 times

Re: [2.0.14] "Load save after sync" loads into single player mode when selected in Multiplayer "Host saved game"

Posted: Tue Nov 12, 2024 1:36 am
by Pirate_Rance
This is still occurring in [2.0.15] for both Single player saves and multiplayer saves.

Re: [kovarex] [2.0.14] "Load save after sync" loads into single player mode when selected in Multiplayer "Host saved gam

Posted: Wed Nov 13, 2024 2:33 am
by kovarex
I made some cleanup, as the "what to do after restart" logic was a bit messy.
This resulted in the correct behaviour that when you synced mods from this screen, it just did nothing after restart, as this functionality was never properly implemented.
Yes we have this "auto host" after sync when you press continue, but this just hosts the same way as you did the last time, but in this case, you are supposed to go trhough the "server settings screen" after the load dialog, which would be skipped, and might be wierd, especially if you didn't host before.
This is why the "host-interactive" command line option and related machinery was added so when you restart from before trying to host, it will continue into the server settings dialog with the save already selected after restart.
On top of that, there was missing piece of logic for this case, which would automatically ask for syncing mod when some of the mods in the save were not present, which was also added.

TL;DR done for the next release.