Jump to content

autoupdate hlds


mattb

Recommended Posts

hey,

 

i have this bat file to autoupdate game files:

 

Start hldsupdatetool.exe -command update -game "Counter-Strike Source" -dir C:\GameInstalls\CSS -retry

 

CSS folder is the zipped folder do i put it in there and what about the servers how will they update? Do i put it in CSS\ or CSS\cstrike

 

so i dont have to re-download all the files again and re-install them

 

thanks

Link to comment
Share on other sites

doing it that way you would have to stop the server, and double click the batch file, and then restart the gameserver.

 

Or, you could set a schedule task to run a .tcascript that would stop the server, then execute the batch script, then restart the server at whatever specified time you'd like. You can find examples of how to start/stop specific servers in your scripts directory.

 

You could also hire/pay dimitri for his documentation on how to effectively build these options into your TCAdmin install. See thread: http://clientforums.tcadmin.com/showthread.php?t=6204&highlight=autoupdate

 

If you add -autoupdate to the command line for steam based games, it should autoupdate after a restart.

 

the only thing you would have to check on after an update is your gameinfo.txt file, if you utilize metamod or any other plugin that loads directly from there, or you could run metamod from the vsp, instead of through the gameinfo.txt.

Link to comment
Share on other sites

You can try something like this

 

and its CSS\

set loc="C:\Program Files\Valve\HLServer"
set ext="HldsUpdateTool.exe"
set game="Counter-Strike Source"
set folder="E:\GameInstalls\CSS"
set folder2="E:\GameInstalls\CSS1000"

cd %loc%

%ext% -command update -game %game% -dir %folder%
%ext% -command update -game %game% -dir %folder2%

exit

Link to comment
Share on other sites

do i save this as bat, and where would i put it, also would it work for tf2 by changing the CSS to tf in the script?

 

and im trying to update the servers too because steam came out with some updates that i cant join my server and i don't want to loose all my mods already in there.

 

so im trying to update the gameinstalls + servers without loosing my mods, maps.

 

thanks

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Who's Online   0 Members, 0 Anonymous, 9 Guests (See full list)

    • There are no registered users currently online
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Terms of Use