Failure to Restart -
Skribblez - 01.04.2012
If you have a command for admins to restart the server or game-mode in-game and you're using either the
SendRconCommand("gmx") or
GameModeExit(); does it restart for you? Or does it freeze after the server restarting message appears.
Well, I'm experiencing this and I'm not sure what's causing it. I'm 100% sure that it's not the script or code since it's working perfectly on my local(home) server.
Especially for those who are in Volt Host, are you experiencing the same? If you have and was able to solve it, please do share, I'd greatly appreciate it.
Re: Failure to Restart -
Joshb93 - 01.04.2012
Actually, using SendRconCommand("gmx") or GameModeExit() will attempt to load the next gamemode in your server.cfg. Therefore, if you had a gamemode1 "GMHERE" it would load that one. If you do not have that line, your server just sits in a restarting loop. Hope this helps.
Re: Failure to Restart -
Skribblez - 01.04.2012
You have a point, but why does it work on my local server?
I have this:
on my server.cfg
Anything wrong with it?
Re: Failure to Restart -
Joshb93 - 01.04.2012
Well, just like i said. Yes. You have gamemode0, so when you gmx the server, its looking for gamemode1, but its not there, so, it just sits there, restarting over and over. Until you manually restart it.
Re: Failure to Restart -
Skribblez - 01.04.2012
So, is there a way to loop it back to the first game-mode?
This perhaps? Removed the times the game-mode will be played before switching to the next one.
Re: Failure to Restart -
Joshb93 - 01.04.2012
Actually, you could just create a simple command to do this, and loop it.
But, make the command, then use OnGameModeExit(), then OnGameModeInit().
Thats what i did, and it works like a charm for me.
Re: Failure to Restart -
Skribblez - 01.04.2012
Just finished trying what you've posted last and still doesn't work. Anymore suggestions on how I could possibly fix it? Remember, it's working fine on my local server.
Could it be the host(Volt Host) that's causing this?