1 (edited by Schokomuesli 2010-04-11 00:21:40)

Topic: [TOOL] Auto Server-Restarter

Hello!

Someone asked me a few days ago, if I could write a small application which restarts a teeworlds server automatically.

I wrote such a tool, and I want to give it to everyone, who does not want to mess around with tasks, batchfiles (on windows) and shell scripts (on linux).

The application is called TeeWorlds Auto Restarter (TWAR), and is available for free.
The program is beerware. (http://en.wikipedia.org/wiki/Beerware).

Please note, that you need the Java Runtime Environment to launch this tool.
Don't be afraid, the application is very simple and allocates a few kilobytes memory only (depending on OS).

You also can use this tool in combination with other ones, as it passes all commands except of the '-exepath' to the underlying executable.


Download:

http://www.lipski.co.at/getData.php?data=twar-win // Windows executable

http://www.lipski.co.at/getData.php?data=twar-other // Universial jar file for all operating systems.


How to use:

This application needs to be started with the parameter -pathtoexe followed by a path to the teeworlds server executable (absolute or relative).

Example:

twar.exe -pathtoexe teeworlds_srv.exe -f config.cfg

The teeworlds server will restart every time, it will be shut down.

If you want to stop the server, you will have to type in the word 'quit' (without quotes) to the console followed by ENTER.

After that, the server will be shut down, and TWAR exits.


Regards,
Schokomuesli

2

Re: [TOOL] Auto Server-Restarter

ah, finally got it to work, and it works smile
Thanks for the usefull tool big_smile

for everyone who doesn't know how to use it, do this ;
1. make a folder @ C:, and name it Teeworlds
2. Copy your .exe for the server, twar and the autoexec(config) in it
3. open CMD
4. enter this
cd C:\Teeworlds
twar.exe -exepath teeworlds_srv.exe
privet

3

Re: [TOOL] Auto Server-Restarter

Link broken!!

4

Re: [TOOL] Auto Server-Restarter

Nitro wrote:

Link broken!!

Have you even watched the date of the last post before posting?

» Albert Einsteein: I have no special talent. I am only passionately curious.

5

Re: [TOOL] Auto Server-Restarter

sure ^^