I have a problem I just cant seem to fix. Maybe I'm missing something, but I've tried everything I've been able to find.
My problem is that, quite simply, my servers wont update (Garry's mod and Team Fortress 2). I don't know why, I've tried using the hldsupdatetool with the whole -command update and -verify_all crap, which does nothing. It just tells me over and over again it cant find the installation at the given directory, (BUT ITS THERE!) and then starts downloading something random, like the TF2 dedicated server tool, which I don't need. I can start the server up no problem, but, obviously I cant join, as the versions are different...
Please tell me what I'm doing wrong, or if there's a "quick fix"...
That seems to have done it. Its now going through everything and making sure its all there.
But, does it have to do this every time the game updates? Is there a quicker way? Like it just updates the components that are changed?
And, is there a quick way I can do it? Instead off going through CMD each time? Like a file that I can just click and open or something?
Add the command to a batch script.
Also, remote -verify_all from the update line.
~ Mooga ...w00t? - SRCDS.com on Twitter Please do not PM me for server related help
fqdn Wrote:if you've seen the any of the matrix movies, a game server is not all that different. it runs a version of the game that handles the entire world for each client connected. that's the 2 sentence explanation.
11-18-2008, 09:04 PM (This post was last modified: 11-18-2008, 09:05 PM by realchamp.)
Well, if it was Linux, you could just add -autoupdate in the end, of the line.
But, I got this to work. When you start up your server, the "hldsupdatetool" will start to check for updates, but it will just work next time
you restart your server.
I'm not entirely sure about, the bad news about it(if there's some), I haven't had problems yet!
::=========================================================::
:: Thanks To Black-Sky & Drocona for making SRCDS Guardian ::
:: This script is open source. Feel free to edit at will. ::
:: ::
:: This script was writen for the use of the srcds.com ::
:: online community. If you are interested in running a ::
:: Source Dedicated Server or need help, drop by our ::
:: forums at... http://forums.srcds.com ::
::=========================================================::
:: This will keep the window clean and easy to read
@echo off
::=======================::
:: SET YOUR VARIABLES! ::
::=======================::
::=======================::
:: Window and Log name ::
:: Replace "My Server" ::
::=======================::
set servername="server!"
::=======================::
:: Your start command ::
::=======================::
set runcmd=C:/srcds/srcds.exe -console -game cstrike -tickrate 100 +map de_dust2 +maxplayers 3
set updatecmd=C:/srcds/hldsupdatetool.exe -command update -game "Counter-Strike Source" -dir .
:: Sets the title of the window
title SRCDS Guardian 2.0 %servername%
:: Clears the window incase there is anything there
cls
:: Prints to the window what we are doing
echo SRCDS Guardian 2.0 has been started!
echo.
echo **************************************************************************
echo To close the server, close this windows and type exit in the server window
echo **************************************************************************
echo.
echo.
>> %servername%_Guardian.log echo.
>> %servername%_Guardian.log echo (%date%)(%time%) SRCDS Guardian 2.0 has been started!
echo (%date%)(%time%) %servername% is now starting...
>> %servername%_Guardian.log echo (%date%)(%time%) %servername% is now starting...
:: This is a return point in case the server crashes or is closed
:restart
echo (%date%)(%time%) %servername% is now online
>> %servername%_Guardian.log echo (%date%)(%time%) %servername% is now online
echo Watching %servername% for crashes...
>> %servername%_Guardian.log echo (%date%)(%time%) Watching %servername% for crashes...
::Start the actual server
start %updatecmd%
start /wait %runcmd%
echo (%date%)(%time%) Crash or Close detected!
>> %servername%_Guardian.log echo (%date%)(%time%) Crash or Close detected!
echo (%date%)(%time%) %servername% is now restarting...
>> %servername%_Guardian.log echo (%date%)(%time%) %servername% is now restarting...
::Server crashed or closed, so we point it to the return point to start the server again
goto restart
realchamp Wrote:Well, if it was Linux, you could just add -autoupdate in the end, of the line.
But, I got this to work. When you start up your server, the "hldsupdatetool" will start to check for updates, but it will just work next time
you restart your server.
I'm not entirely sure about, the bad news about it(if there's some), I haven't had problems yet!
::=========================================================::
:: Thanks To Black-Sky & Drocona for making SRCDS Guardian ::
:: This script is open source. Feel free to edit at will. ::
:: ::
:: This script was writen for the use of the srcds.com ::
:: online community. If you are interested in running a ::
:: Source Dedicated Server or need help, drop by our ::
:: forums at... http://forums.srcds.com ::
::=========================================================::
:: This will keep the window clean and easy to read
@echo off
::=======================::
:: SET YOUR VARIABLES! ::
::=======================::
::=======================::
:: Window and Log name ::
:: Replace "My Server" ::
::=======================::
set servername="server!"
::=======================::
:: Your start command ::
::=======================::
set runcmd=C:/srcds/srcds.exe -console -game cstrike -tickrate 100 +map de_dust2 +maxplayers 3
set updatecmd=C:/srcds/hldsupdatetool.exe -command update -game "Counter-Strike Source" -dir .
:: Sets the title of the window
title SRCDS Guardian 2.0 %servername%
:: Clears the window incase there is anything there
cls
:: Prints to the window what we are doing
echo SRCDS Guardian 2.0 has been started!
echo.
echo **************************************************************************
echo To close the server, close this windows and type exit in the server window
echo **************************************************************************
echo.
echo.
>> %servername%_Guardian.log echo.
>> %servername%_Guardian.log echo (%date%)(%time%) SRCDS Guardian 2.0 has been started!
echo (%date%)(%time%) %servername% is now starting...
>> %servername%_Guardian.log echo (%date%)(%time%) %servername% is now starting...
:: This is a return point in case the server crashes or is closed
:restart
echo (%date%)(%time%) %servername% is now online
>> %servername%_Guardian.log echo (%date%)(%time%) %servername% is now online
echo Watching %servername% for crashes...
>> %servername%_Guardian.log echo (%date%)(%time%) Watching %servername% for crashes...
::Start the actual server
start %updatecmd%
start /wait %runcmd%
echo (%date%)(%time%) Crash or Close detected!
>> %servername%_Guardian.log echo (%date%)(%time%) Crash or Close detected!
echo (%date%)(%time%) %servername% is now restarting...
>> %servername%_Guardian.log echo (%date%)(%time%) %servername% is now restarting...
::Server crashed or closed, so we point it to the return point to start the server again
goto restart
That wont work.
Autoupdate doesn't work in windows.
Blits: Give me and full path to Hldsupdatetool.exe and your srcds.exe and the game. I'll write one for you.
~ Mooga ...w00t? - SRCDS.com on Twitter Please do not PM me for server related help
fqdn Wrote:if you've seen the any of the matrix movies, a game server is not all that different. it runs a version of the game that handles the entire world for each client connected. that's the 2 sentence explanation.
lol! That posted script WOULD work...
I didn't realize he added the update line
~ Mooga ...w00t? - SRCDS.com on Twitter Please do not PM me for server related help
fqdn Wrote:if you've seen the any of the matrix movies, a game server is not all that different. it runs a version of the game that handles the entire world for each client connected. that's the 2 sentence explanation.