Keep empty server paused until first player downloaded map

Post your ideas and suggestions how to improve the game.

Moderator: ickputzdirwech

Ida-Marie
Burner Inserter
Burner Inserter
Posts: 12
Joined: Tue Jul 25, 2017 5:54 pm
Contact:

Keep empty server paused until first player downloaded map

Post by Ida-Marie »

Background: I'm currently playing Space Explore with friends on a headless server. Currently the game size has reached over 600MiB and the game takes a little bit above 13 GiB of RAM for every system. It is indeed heavy and we run Global Tick Time Scale at 30UPS to free up CPU so all computers involved can play smoothly and lag-free.

When closing down the game, we have taken into habit to pause the game, because the server setting does not carry out the pausing in a good fashion. If we forget this or is dropped, we are left to painfully slow joining times.

The setting makes it do pause the game after all have left, but, it does not keep the game paused until the first player have loaded the map. It instead unpauses the game directly when someone is downloading the map. When playing with such huge maps it adds several extra minutes in catching-up time. We are already talking minutes in just loading the map, so this behaviour makes the client be very far behind the server when the loading is done and it starts catching up. It do also contribute to disconnect errors since the server is running away from a joining client. More of that in another report.

What the game properly should do, is that it should wait with unpausing until the first client are ready, meaning when the map are loaded and the client can join directly without catching up. That would save a huge amount of time.
User avatar
Klonan
Factorio Staff
Factorio Staff
Posts: 5290
Joined: Sun Jan 11, 2015 2:09 pm
Contact:

Re: [1.1.5] Multiplayer "pause when no player is online" works not as expected

Post by Klonan »

Thanks for the report,
Unfortunately this is working as intended, I will move this to ideas and suggestions
Ida-Marie
Burner Inserter
Burner Inserter
Posts: 12
Joined: Tue Jul 25, 2017 5:54 pm
Contact:

Re: [1.1.5] Multiplayer "pause when no player is online" works not as expected

Post by Ida-Marie »

It do work in that way, because it keeps the server paused in case no one is connected. It's not that part I pointing at.

It is that it unpauses the game already at the phase the first player is downloading the map. I can't see the point of it since it adds a lot of extra joining time on huge maps. I expected it to keep the game paused until the first player was done loading, but in reality it worked differently.

Instead of changing the behavior for all, having an option to choose to keep the server paused until the first player is done loading, or even letting the first player unpause by herself would also be very appreciated for us.
User avatar
ptx0
Smart Inserter
Smart Inserter
Posts: 1507
Joined: Wed Jan 01, 2020 7:16 pm
Contact:

Re: [1.1.5] Multiplayer "pause when no player is online" works not as expected

Post by ptx0 »

a mod that reduces game speed to 0.01 when no one is online.
User avatar
ickputzdirwech
Filter Inserter
Filter Inserter
Posts: 794
Joined: Sun May 07, 2017 10:16 am
Contact:

Re: [1.1.5] Multiplayer "pause when no player is online" works not as expected

Post by ickputzdirwech »

I ran into this as well. And I must say it’s a bit weird that you have to catch up to a server that assumably is paused. Starting the server only when the first player has caught up would make much more sense imo.
Mods: Shortcuts for 1.1, ick's Sea Block, ick's vanilla tweaks
Tools: Atom language pack
Text quickly seems cold and unfriendly. Be careful how you write and interpret what others have written.
- A reminder for me and all who read what I write
User avatar
Impatient
Filter Inserter
Filter Inserter
Posts: 883
Joined: Sun Mar 20, 2016 2:51 am
Contact:

Re: [1.1.5] Multiplayer "pause when no player is online" works not as expected

Post by Impatient »

IMO, by what you write, this suggestion makes a lot of sense.
quyxkh
Smart Inserter
Smart Inserter
Posts: 1031
Joined: Sun May 08, 2016 9:01 am
Contact:

Re: [1.1.5] Multiplayer "pause when no player is online" works not as expected

Post by quyxkh »

Seems to me an option to have the server ask for an "I'm caught up" ack from players connecting to an auto-paused server would be pretty easy to implement. Then the game could unpause as soon as the first ack arrives. edit: or unpause to 0.01 speed until it does and then go back to full speed.
Post Reply

Return to “Ideas and Suggestions”