Posts: 184
Threads: 19
Joined: Sep 2006
Reputation:
0
09-29-2006, 07:59 PM
(This post was last modified: 09-29-2006, 08:00 PM by Bonsaihero.)
Hi.
Any1 knows were i can download watchdog to a windows server? If it crahses.. auto open - Link please if you have. Another question is what is the command in console for change name on the server?
Please answer if you know, ty for now Bonsai!
www.livebythegun.com
Posts: 97
Threads: 36
Joined: Aug 2005
Reputation:
0
http://www.srcds.com/db/engine.php?subaction=showfull&id=1097362093&archive=
Batch files are little script files that tell Windows what to do. If srcds crashes, it will not restart like possible under Linux. (Linux uses a "Script" file too)
What we are going to do is make sure that as soon HLDS suddenly quits it will restart. First we open notepad. What we write in there is the following:
Command(s):
Code:
@echo off
cls
echo Protecting srcds from crashes...
echo If you want to close srcds and this script, close the srcds window and type Y depending on your language followed by Enter.
title srcds.com Watchdog
:srcds
echo (%time%) srcds started.
start /wait srcds.exe -console -game cstrike +map de_dust +maxplayers 16
echo (%time%) WARNING: srcds closed or crashed, restarting.
goto srcds
Replace the marked part with your own commandline and values. Save the file as C:\srcds\srcds.bat in notepad (NOT .txt) and next time click the srcds.bat file. If you need to close srcds, close the hlds window and press Y (depending on language) at the Terminate batch question. Please do note this does not work with crashes/errors that involve a Windows error box.
the name of the server is changed by:
hostname "hostname"
mzracer360.game-host.org:27015
Posts: 184
Threads: 19
Joined: Sep 2006
Reputation:
0
09-29-2006, 10:37 PM
(This post was last modified: 09-29-2006, 10:39 PM by Bonsaihero.)
Just one thing! I'm running the steam console version not srcds, listen server. How can i create a.bat txt file for the steam version? I dont use srcds listen server because i have to much lag as i play on same machine, please answer me mzracer360..
Bonsai!
Posts: 1,217
Threads: 42
Joined: Dec 2004
Reputation:
0
srcds isn't the listen server, its the console deciated server, probably more better off than the steam client version.
starting 9/24/2006 if your problem has been solved please edit your first post and add [solved] to the begining of the title. Thanks.
Posts: 1,217
Threads: 42
Joined: Dec 2004
Reputation:
0
I asusme its simular, but to be honest, im not quite sure. You can try modifying it to start like you would the steam version.
starting 9/24/2006 if your problem has been solved please edit your first post and add [solved] to the begining of the title. Thanks.
Posts: 5,178
Threads: 65
Joined: Mar 2005
Reputation:
22
I think you had to make a shortcut to steam with some weird ID number if i'm correct.