Ok, what this will do is restart your server immediately, should it shut down for whatever reason. There is no program to download, just a few simple lines of text is all that is needed!
Step 1: Open notepad and paste the following code in:
Code:
@ECHO OFF
CLS
ECHO WoW Server Started %time:~0,5% %date:~1%
:SERVERLOOP
ascent-logonserver.exe
ECHO Ascent Restarted %time:~0,5% %date:~1%
ECHO.
GOTO SERVERLOOP
:END
Save the notepad and call the file logonrestart.bat
Step 2: Open a new notepad window and paste the following code:
Code:
@ECHO OFF
CLS
ECHO ArcEmu WoW Server Started %time:~0,5% %date:~1%
:SERVERLOOP
ascent-world.exe
ECHO ArcEmu Restarted %time:~0,5% %date:~1%
ECHO.
GOTO SERVERLOOP
:END
Save the notepad and call the file worldrestart.bat
Step 3: That's it. All done! Put these 2 files in your root arcemu folder and just run them both and they will start your server for you and also restart it if it should shutdown!
P.S. If you want to use this for mangos or whatever, just change the ascent-world.exe line to the mangos executable name and it will work fine.