Raised This Month: $12 Target: $400
 3% 

How Do I Get Rid Of CTerminate batch job?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Trini8ed
Member
Join Date: May 2009
Old 01-01-2010 , 05:05   How Do I Get Rid Of CTerminate batch job?
Reply With Quote #1

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
Trini8ed is offline
8088
Veteran Member
Join Date: Jan 2008
Old 01-01-2010 , 15:19   Re: How Do I Get Rid Of CTerminate batch job?
Reply With Quote #2

Try this:
Code:
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"
__________________
steamID converter with OpenSearch browser plugin
8088 is offline
Trini8ed
Member
Join Date: May 2009
Old 01-01-2010 , 16:56   Re: How Do I Get Rid Of CTerminate batch job?
Reply With Quote #3

When i try that code I get an error saying

Windows cannot find
'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'. Make sure you typed the name correctly, and then try again.
Trini8ed is offline
8088
Veteran Member
Join Date: Jan 2008
Old 01-01-2010 , 18:05   Re: How Do I Get Rid Of CTerminate batch job?
Reply With Quote #4

Then try this:
Code:
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
__________________
steamID converter with OpenSearch browser plugin
8088 is offline
Trini8ed
Member
Join Date: May 2009
Old 01-02-2010 , 01:55   Re: How Do I Get Rid Of CTerminate batch job?
Reply With Quote #5

It works but then i still get the CTerminate batch job thing want it without it because the whole thing of this batch file is it starts the server while im gone if im not here when it crashes it starts up
Trini8ed is offline
DontWannaName
Veteran Member
Join Date: Jun 2007
Location: VALVe Land, WA
Old 01-02-2010 , 03:27   Re: How Do I Get Rid Of CTerminate batch job?
Reply With Quote #6

Use http://www.dumbclan.co.uk/downloads/serverchecker/
__________________

DontWannaName is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:01.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode