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

This subforum contains all the issues which we already resolved.
User avatar
Cakoluchiam
Burner Inserter
Burner Inserter
Posts: 11
Joined: Sat Jan 01, 2022 3:52 am
Contact:

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

Post 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
User avatar
EvilPLa
Burner Inserter
Burner Inserter
Posts: 15
Joined: Sat Nov 14, 2020 7:26 am
Contact:

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

Post 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 624 times
I havent lost my mind, it's backed up on tape somewhere.
Pirate_Rance
Inserter
Inserter
Posts: 25
Joined: Tue Jun 28, 2016 1:33 am
Contact:

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

Post by Pirate_Rance »

This is still occurring in [2.0.15] for both Single player saves and multiplayer saves.
kovarex
Factorio Staff
Factorio Staff
Posts: 8207
Joined: Wed Feb 06, 2013 12:00 am
Contact:

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

Post 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.
Post Reply

Return to “Resolved Problems and Bugs”