Page 1 of 1

Headless server pause request

Posted: Mon Oct 23, 2017 5:13 pm
by DutchTed
I remember reading that the headless server pauses the game when nobody is connected but currently, when the first person joins, the server starts going and that person then has to catch up. Would it be possible to keep the server paused until the first person has joined the game fully, then start it? It just seems a little unnecessary to have to catch up if you're the first person in. On some big maps this can take quite a while.

Thanks for the response.

Re: Headless server pause request

Posted: Fri Dec 22, 2017 9:02 pm
by yohannc
Up ! (glad i found this topic, was in way to write a duplicate)
In our case, if the first that is joining the server have a slower pc than the server, then he just can't play : infinite catch up -> can't join -> can't have acces to console to lower game.speed.
Our solution (that can be a trick on the server side if easier for the devs) :
When the last leave the server, he set game.speed to 0.1.
So if not too difficult, in futur release, you could make a fix like this :
When the first player join :
1 - unpause
2 - store in memory current game.speed
3 - set game.speed to 0.1
4 - when the player spawn set game.speed back from the step 2

Re: Headless server pause request

Posted: Mon Dec 11, 2023 4:56 am
by joseailton
up! this is really needed.