I was messing around with AutoHotKey this afternoon and decided to make a server restarting script.
It works, so I decided to release it to you guys, who may find a use for it.
It will simply restart soldatserver.exe 5 seconds after it closes, or as soon as you press retry. To close it, close the server and press cancel, or press ESC while soldatserver.exe is the active window.
To use it all you need to do is put the script or compiled exe in the same directory as soldatserver.exe and run the script/exe file.
The attached zip file contains the AutoHotKey (.ahk) file (source)(requires AutoHotKey to run) and a compiled exe version.
Things you guys might want that I will probably add
- Run in silent mode (no message box)
- Allow command line switches
- Suggestions?
I have no idea if this works on anything other than windows (will find out)