Auto Restart - 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: Auto Restart (
/showthread.php?tid=71591)
Auto Restart -
-eXo - 02.04.2009
My friend hosts my server, and he isn't home very often so if the server was to crash is there anyway for an automatic restart?. Or a way I could restart the server if it's crashed?.
Re: Auto Restart -
On_Top_Non_Stop - 02.04.2009
http://forum.sa-mp.com/index.php?topic=91424.0
Re: Auto Restart -
-eXo - 02.04.2009
If I created start.bat that contained
:START
samp-server.exe
GOTO START
would it work?.
Re: Auto Restart -
On_Top_Non_Stop - 02.04.2009
What's wrong with the app?
I know nothing about .bat files but I'm sure it would have to be executed on the PC the server is on.
Re: Auto Restart -
Nero_3D - 02.04.2009
Quote:
Originally Posted by -eXo
If I created start.bat that contained
:START
samp-server.exe
GOTO START
would it work?.
|
No that will open samp-server again and again till you stop it
Yom made a restarter in BASIC but I dont think that its still available
Re: Auto Restart -
boylett - 02.04.2009
Quote:
Originally Posted by ♣ ⓐⓢⓢ
Quote:
Originally Posted by -eXo
If I created start.bat that contained
:START
samp-server.exe
GOTO START
would it work?.
|
No that will open samp-server again and again till you stop it
Yom made a restarter in BASIC but I dont think that its still available
|
No, it will open samp-server then wait until it's process dies, in which case it opens it again
http://forum.sa-mp.com/index.php?topic=92859.0
Re: Auto Restart -
-eXo - 02.04.2009
Alright, thansk. S.A.R seems to work.
Also, is there a command for me to restart the server besides /rcon gmx because that only reloads the gamemode.
Re: Auto Restart -
On_Top_Non_Stop - 02.04.2009
Typing /Rcon exit will restart the server since you have an auto restarter.
Re: Auto Restart -
-eXo - 02.04.2009
Quote:
Originally Posted by On_Top_Non_Stop
Typing /Rcon exit will restart the server since you have an auto restarter.
|
Alright, thanks.