Failure to Restart
#1

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.
Reply
#2

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.
Reply
#3

You have a point, but why does it work on my local server?

I have this:
Код:
gamemode0 GM 1
on my server.cfg

Anything wrong with it?
Reply
#4

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.
Reply
#5

So, is there a way to loop it back to the first game-mode?

Код:
gamemode0 GM
This perhaps? Removed the times the game-mode will be played before switching to the next one.
Reply
#6

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.
Reply
#7

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?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)