Jump to content

How can you do server automatic restart


Guest Redsoxx

Recommended Posts

Posted

I have a question how can you make the server automatic restart if crashed. thx

Posted

Thanks that was i was talking about I will search google

Posted

on *:TEXT:!start:#:{

if ($nick == yournick) {

/run "C:/program files/mta san andreas/server.exe

}

else .notice $nick error not correct user modes

}

Server: Cnr.game-host.org:22003

Posted

If this is windows, this is very simple.

1) Right click on the folder where your mtaserver.exe is located

2) Select New > Text Document

3) Open it in notepad

4) Type this in (unsure if its called mtaserver.exe, i really cant remember):

  
:10 
mtaserver.exe 
goto 10 
  

5) Save it and rename the file to RunServer.bat

6) Run the newly created file

This is a horrible way of doing it, you really want to use something like firedaemon and run the server as a system service, but it will do for small servers/home use.

if ( DISGRACE_ACTIVE ) then

local disgracedPlayer = getFedorsElementID()

if ( disgracedPlayer ) then

showTextForFedor ( disgracedPlayer, "DISGRACE!", 5000, 255, 0, 0 )

end

end

Posted
on *:TEXT:!start:#:{

if ($nick == yournick) {

/run "C:/program files/mta san andreas/server.exe

}

else .notice $nick error not correct user modes

}

Btw, is this working?

Finnish Multi Theft Auto Networks Community @ http://fin-mta.net

233040547.png

OWNED :D 100mbit fiber linez ownz :)

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...