I have a batch file setup for my servers and when ever the server shuts down it comes up with
^CTernminate batch job ?
My Code
Code:
::=======================::
:: Auto Start ::
:: TF2 Valve Maps ::
:: ::
:: Made By ::
:: Trini8ed ::
:: ::
:: ::
:: RiotCityGaming ::
::=======================::
@echo off
title SRCDS Guardian TF2 Valve Maps
cls
echo ****To close this script, close this windows and then the SRCDS window****
echo.
echo.
echo Watching the TF2 SRCDS for crashes
>> TF2_Guardian.log echo.
>> TF2_Guardian.log echo (%date%)(%time%) Started up SRCDS Guardian for TF2.
:srcds
echo (%date%)(%time%) TF2 Server is now online.
>> TF2_Guardian.log echo (%date%)(%time%) TF2 Server is now online.
start /wait E:\TeamFortress2\Valve-Maps\orangebox\srcds.exe -console -game tf -secure +map cp_dustbowl -autoupdate +log on -tickrate 66 +fps_max 600 +maxplayers 24 -port 27015 +ip 192.168.1.110 +exec server.cfg
echo (%date%)(%time%) TF2 Server crashed or closed. Now restarting...
>> TF2_Guardian.log echo (%date%)(%time%) TF2 Server crashed or closed. Now restarting...
goto srcds