#my server never shuts down

32 messages · Page 1 of 1 (latest)

unkempt quiver
#

does someone know why it doesn't shut down or can show me how they shut down their servers
thx a lot

outer marsh
#

you need to explicitly kill your game server process yourself, so we can bring up a new game server

#

usually this happens when the last player has disconnected from the game

unkempt quiver
#

@outer marsh how do i do that?

languid shore
#

just quit the application. Thats it

unkempt quiver
#

what do you mean

languid shore
#

Something like this.

unkempt quiver
#

i tried but it doesn't work it just closes the game

languid shore
#

I also recommend you to use LMA while testing stuff as it saves time and also easy to debug. Use Playfab servers when you are done with testing on your side.

outer marsh
unkempt quiver
#

@outer marsh i don't see any other documentation on how to close a server

outer marsh
unkempt quiver
#

@outer marsh i think i explained it bad, i want it to go from activ to standing by but it never does

#

and yeah i have no idea why it says active 15 min ago but is still actic

languid shore
#

If you have told it to shutdown when game ends but its not shutting down, then it means something is wrong with your code.

The server does not go to active to standby. You have to quit the app, a new standby server will appear if your standby target requirments are not being met.

unkempt quiver
#

@languid shore do you know if they have example project for unreal?

languid shore
outer marsh
#

At the same time, we consider the server to terminate when the root process (the one in the StartGameCommand or the one in the Dockerfile) has exited. What is the command you are starting your game server? If the command starts the Unreal game server, then you should be OK.

woeful rain
#

because I can join to server

#

On my Game Mode (On Logout):

#

I will try this

woeful rain
languid shore
# woeful rain This is working. Is that true way? So, I shouldn't can use Shutdown Multiplayer ...

The Shutdown Multiplayer Serve API you are using is for forced quit which can take time. Have shared the screenshot of its information. Its not for normal flow. Its in case the app is frozen or something and you need to force the app to close. The blueprint will tell playfab to kill the server with the id given.

The quit method you have used is fine.

The blueprint/API you are using is for something like a internal team admin app/automation process some people make to make stuff more automated.

languid shore
#

Also the server telling playfab to shut itself down kinda does not make sense.