Auto Restart
#1

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

http://forum.sa-mp.com/index.php?topic=91424.0
Reply
#3

If I created start.bat that contained

:START
samp-server.exe
GOTO START


would it work?.
Reply
#4

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

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

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

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

Typing /Rcon exit will restart the server since you have an auto restarter.
Reply
#9

Quote:
Originally Posted by On_Top_Non_Stop
Typing /Rcon exit will restart the server since you have an auto restarter.
Alright, thanks.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)