Author Topic: Soldat Server Restarter  (Read 1519 times)

0 Members and 1 Guest are viewing this topic.

Offline chutem

  • Veteran
  • *****
  • Posts: 1119
Soldat Server Restarter
« 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
  • 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)
1NK3FbdNtH6jNH4dc1fzuvd4ruVdMQABvs

Offline kosik231

  • Major
  • *
  • Posts: 70
  • Where can I find Your soul?
Re: Soldat Server Restarter
« Reply #1 on: July 14, 2010, 05:14:47 am »
WOW! It works! Thank You Very Much! That will help a lot when server crashes :D
For signatures, you are allowed only one image in your signature which may not be wider and taller than 300 and 125 pixels, and may not be over 20kB in file size. No BMPs are allowed.

Offline jrgp

  • Administrator
  • Flamebow Warrior
  • *****
  • Posts: 5018
Re: Soldat Server Restarter
« Reply #2 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.
Careful with that axe, Eugene.

Offline mich1103

  • Flagrunner
  • ****
  • Posts: 557
  • Did you say chocolate ? O.o
    • ZoMbIe-DeStRoYeR pk server
Re: Soldat Server Restarter
« Reply #3 on: August 10, 2010, 08:12:49 am »
Nice  ;D
I've just added it to my server !