Server Restarter
#1

Quote:
Originally Posted by sa-mp wiki
With limited anti-crash options available in the SA-MP Server, there is a large possibility of receiving Segmentation Faults or any other error generated by your (Pawn) gamemode. This will shutdown the server, and you'll have to start it up yourself again.

This program will restart the samp-server.exe process if the SA-MP server crashes. All you need to do is to save a textfile with the ending .bat with the following content:
Код:
:Start
samp-server.exe
goto start
Put the file into the directory where samp-server.exe is located and start it. Type exit into the server console to test if it is working.
Additional Info: I'm using Windows 7.

This didn't work for me, when I hit exit in the console to test, yes it re-opened samp-server.exe but it needed my administrative approval to re-open fully. So I tried running the .bat file as administrator, and it didn't work at all. Is there a way I could make it run with my administrative approval so I don't have to approve it myself.

Edit:
Nvm I just made it so it doesn't run the samp-server.exe as administrator
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)