Game Development Community

Server reboots

by genomegames · in Torque 3D Professional · 11/18/2012 (8:26 am) · 8 replies

My game server works for hours,
after some hours of a work it reboots
and client side of the game outputs "Waiting for server"
Why this can be?
I think this occurs because a game server can't find Master Server, is this?

#1
11/19/2012 (12:17 am)
No, a master server doesn't influence on a game server reboot;
Does anybody know why a game server reboots in hours and a game client outputs "Waiting for server"?
#2
11/19/2012 (1:26 am)
check if it reboots at a similar time each day or after the same amount of time, it may be your Host resetting the server to ensure no processes are accedently left running, I had a similar problem with a mail client I write..
#3
11/19/2012 (8:04 am)
Game server has a static ip
dynamic ip resets once a day but not a static ip
so a problem isn't resolved
#4
11/19/2012 (8:07 am)
check the servers event log during the times of failure and see if the service is shutting down or restarting.. I presume you have set the master server up as a service, with the command to restart if it crashes (if this is the issue), or maybe a windows update?
#5
04/19/2013 (9:03 am)
Hey, I've remembered myself old thread
As David Wyand said in his book: a game server resets when everyone has left the game
At the end of a GameConnection::onDrop event there is this cod:

// Reset the server if everyone has left the game
if( $Server::PlayerCount == 0 && $Server::Dedicated)
schedule(0, 0, "resetServerDefaults");
#6
04/19/2013 (10:52 am)
"Resets" does not equal "reboots." This sounded very serious, as in the game crashes and forces the computer to restart, or at least the game itself crashes and must be restarted. I guess this is not the case....
#7
04/19/2013 (11:47 am)
"after some hours of a work it reboots
and client side of the game outputs "Waiting for server"

disabling that line("schedule(0, 0, "resetServerDefaults");"), did solve your restarting problem ?
#8
04/19/2013 (12:05 pm)
Yes, of course