Server freezing game after 2 GMXes? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Server (
https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (
https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Server freezing game after 2 GMXes? (
/showthread.php?tid=393569)
Server freezing game after 2 GMXes? -
2KY - 18.11.2012
What in the hell could POSSIBLY be causing this? The server itself doesn't freeze, just anybody's game who is connected. It makes absolutely no sense, and I've never ran into this in my years upon years of scripting.
Re: Server freezing game after 2 GMXes? -
Pottus - 19.11.2012
GMX is buggy for clients not the server.
Re: Server freezing game after 2 GMXes? -
Alcatraz Gaming - 19.11.2012
Script your own GMX/restart script, the RCON GMX tends to bug everytime
Re: Server freezing game after 2 GMXes? -
2KY - 19.11.2012
What am I supposed to use? Rcon command
exit?
Re: Server freezing game after 2 GMXes? -
Jakku - 19.11.2012
RCON exit is the best option. If you just simply close the server executable your OnGameModeExit doesn't get called (if you have things such as data saving there). I've never trusted GMX myself.
Re: Server freezing game after 2 GMXes? -
2KY - 19.11.2012
Quote:
Originally Posted by Jakku
RCON exit is the best option. If you just simply close the server executable your OnGameModeExit doesn't get called (if you have things such as data saving there). I've never trusted GMX myself.
|
Problem is, that instantly kicks the players. Something I don't want. Is there any alternative to this?
Re: Server freezing game after 2 GMXes? -
2KY - 21.11.2012
Bump.
Re: Server freezing game after 2 GMXes? -
Jakku - 21.11.2012
I believe there is a way to workaround this, anyways I am not sure if it will work.
- Ban all players' IPs
- Instantly unban them
- Send "exit" via SendRconCommand.
-> The players
should now reconnect back normally - at least this is how it logically works. Give it a try
EDIT: The code I posted earlier doesn't work.
Here is a code that seems to work. Make sure your server has an auto-restart feature to bring it back up after shutting it down