View Single Post
Old 09-19-2007, 09:56 AM   #1
XS4ALL Games
5chaap2k's Avatar
Join Date: Sep 2007
Location: The Netherlands
Posts Rated Helpful 0 Times
Windows server autorestart on crash batch

just for the ppl that haven't figured it out on their own.

To autorestart the server on crash you can use this batch file:

@echo off
echo (%time%) Automated restarter loaded...
title FF-Server
echo (%time%) Fortress-Forever server started!
start /wait srcds.exe -console -game FortressForever +ip x.x.x.x -port 27015 +maxplayers 20 +exec server.cfg +map ff_well -tickrate 33 +fps_max 200
echo (%time%) WARNING: Fortress-Forever server closed or crashed, restarting...
goto application
do change the startline according to your own server's startup cmd though

Last edited by 5chaap2k; 09-19-2007 at 10:44 AM.
5chaap2k is offline   Reply With Quote