Official Soldat Forums

Soldat Fans => Fan Apps => Topic started by: chutem on July 13, 2010, 09:37:39 pm

Title: Soldat Server Restarter
Post by: chutem on July 13, 2010, 09:37:39 pm
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


I have no idea if this works on anything other than windows (will find out)
Title: Re: Soldat Server Restarter
Post by: kosik231 on July 14, 2010, 05:14:47 am
WOW! It works! Thank You Very Much! That will help a lot when server crashes :D
Title: Re: Soldat Server Restarter
Post by: jrgp on July 14, 2010, 10:40:45 pm
I have no idea if this works on anything other than windows (will find out)

Since it's an exe it can/will only run on Windows. Not that it matters; there are a bunch of already existing free server restart scripts for Linux, written in perl/ruby.
Title: Re: Soldat Server Restarter
Post by: mich1103 on August 10, 2010, 08:12:49 am
Nice  ;D
I've just added it to my server !