Author Topic: Scripter Batch Files  (Read 790 times)

0 Members and 1 Guest are viewing this topic.

Offline Hacktank

  • Camper
  • ***
  • Posts: 462
  • Soldat Scripter
    • HTZRPG
Scripter Batch Files
« on: October 30, 2010, 07:12:09 pm »
Hello, im sure everyone who has ever scripted knows how irritating having to clear the log files is. I made these two very simple batch files for personal use, but i figured that others may have been looking for something similar.

soldatserver.bat:
Starts your server with 'realtime' processing priority.

clear.bat:
Clears all logs, gamestat.txt, and killlogs, along with the seemingly useless soldatserver.pid file.

Both of these go into your logs folder, they allow you to stay in the logs folder while scripting.


DarkCrusade

  • Guest
Re: Scripter Batch Files
« Reply #1 on: October 31, 2010, 10:34:51 am »
Thanks, this comes in handy when scripting.

Offline DorkeyDear

  • Veteran
  • *****
  • Posts: 1507
  • I also go by Curt or menturi
Re: Scripter Batch Files
« Reply #2 on: October 31, 2010, 06:26:55 pm »
I use this litterally every time I start my test servers, in case anybody wants to use it:
Quote from: soldatserver_safemode_off.bat
:REPEAT
soldatserver.exe -safe 0
GOTO REPEAT
Figured I might as well post it while here.

Nice log clearer thingy, looks useful. :)