mattb Posted May 8, 2010 Share Posted May 8, 2010 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 More sharing options...
adamnp Posted May 8, 2010 Share Posted May 8, 2010 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 More sharing options...
Admin-Nation-Servers Posted May 8, 2010 Share Posted May 8, 2010 it looks like he is trying to autoupdate gameinstall files and not live servers Link to comment Share on other sites More sharing options...
Admin-Nation-Servers Posted May 8, 2010 Share Posted May 8, 2010 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 More sharing options...
mattb Posted May 9, 2010 Author Share Posted May 9, 2010 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 More sharing options...
Admin-Nation-Servers Posted May 9, 2010 Share Posted May 9, 2010 You can create automatic updates to the gameinstalls by creating a task schedule with this to all.bat You need to edit each file before use https://www.anservers.com/update.zip Link to comment Share on other sites More sharing options...
adamnp Posted May 9, 2010 Share Posted May 9, 2010 This would work however he would stilll need to stop the server and start it after though, the update will not complete with the service running. Link to comment Share on other sites More sharing options...
mattb Posted May 9, 2010 Author Share Posted May 9, 2010 ok so in the zip i can use those files to update the gameinstalls/servers thanks for the update.zip Link to comment Share on other sites More sharing options...
Admin-Nation-Servers Posted May 9, 2010 Share Posted May 9, 2010 The package I gave only updates gameinstalls - if you need to auto update live game servers you would need to create a tcadmin script Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.