SRCDS Steam group


update
#1
how would i make it were when my server stops or i restart it it will autoupdate on my windows server?
Reply
#2
You can write a bat script to run an update when the server is stopped.
The only problem being that if there is a socket error, the server is then screwed until you go in and update it until it's 100% up-to-date.
~ Mooga ...w00t? - SRCDS.com on Twitter
[Image: 76561197965445574.png]
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.
Reply
#3
what would the bat script look like? I one that works like this but it is update only

d:
cd \gameservers\tf2
start /wait hldsupdatetool -command update -game "tf" -dir D:\gameservers\TF2 -verify_all

but how do i add it th the bat script on the http://www.srcds.com website?
Reply
#4
Chaos,
You can throw in the update switch, but Mooga is saying that if socket errors, it's dead untill you manually restart the process. You can tell the server to -autoupdate in the command line once you have run the hldsupdatetool at least once. So;
Code:
start /wait srcds.exe -autoupdate -console -game tf blah,blah,bla...
and add your own command variables for map, players, ip, etc.

HTH
-woody.
[Image: banner_350x20_C692108-381007-FFFFFF-000000.png]
Reply
#5
Or, ask Drocona for his auto updating and protector srcds batch file.
realchamp Wrote:
Hazz Wrote:Has someone helped you on these forums? If so, help someone else
Mooga Wrote:OrangeBox is a WHORE.
Reply
#6
ok thank you for the help i will talk to him about it, and woody "-autoupdate" this will not work for me because i am running windows
Reply
#7
Mr. Chaos Wrote:...woody "-autoupdate" this will not work for me because i am running windows

D'oh, sorry need to read the post better. Was just in a "hurry to help".

You can always call it via a batch file like this;
Code:
d:\gameservers\tf2\HldsUpdateTool.exe -command update -game tf -dir d:\gameservers\tf2 -verify_all
d:\gameservers\tf2\orangebox\srcds.exe -console -game tf +maxplayers 20 +map ctf_2fort

and call the batch with the start /wait. (Or get the code from "D" as mentioned.)
-woody.
[Image: banner_350x20_C692108-381007-FFFFFF-000000.png]
Reply
#8
i will try that woody
Reply
#9
Here:

http://forums.srcds.com/attachment.php?aid=286

Replace the commandlines and directories to yours
Join the Source Dedicated Server Support Group on Steam Community!
Source Dedicated Server (SRCDS)
Free to join, Live support! (When available)

http://forums.srcds.com/viewtopic/5114
Reply
#10
thanks this is what i needed
Reply
#11
Thanks D. Smile
-woody.
[Image: banner_350x20_C692108-381007-FFFFFF-000000.png]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)