Posts: 8
Threads: 2
Joined: Dec 2004
Reputation:
0
easy way to update servers...
create a text file and call it....
hl_dm_serverupdate.bat
you can call it what you want, just so long as the extension is .bat
right click the file and go to "edit"...
this opens the file , just paste in the following..
date/t
time/t
hldsupdatetool -command update -game "hl2mp" -dir d:\hl2dmserver -username ***** -password ****
time/t
@pause
change the dir to what exists on your set up, and obviously your user name and password.
You can update any server you have with this method,just change the name of the game
save the file and double click it(it has to be placed in the folder specified in the bat file you just created)
Posts: 3
Threads: 1
Joined: Dec 2004
Reputation:
0
Ok, thanks, but:
How can I update server in an automatic way?
(sorry for my English...)
(...once you had to use -autoupdate command in "run string" )
thanks
Matrix
Posts: 8
Threads: 2
Joined: Dec 2004
Reputation:
0
if you use xp you can schedule any program to run automatically...
click the start button then programs/accesories/systemtools/scheduled tasks
follow the on screen instructions, when your asked for the program to shedule, just scroll to your server folder and choose the .bat file you created
Posts: 22
Threads: 2
Joined: Dec 2004
Reputation:
0
I use the autorestart batch file but add the line to run an update before restarting the server, after a crash and also add the time and date to a text file to keep a log of crashes/restarts.
If I ever want to update the server I just "rcon exit" or exit from the console.
Posts: 3
Threads: 1
Joined: Dec 2004
Reputation:
0
Thanks, It's a good idea.
My PC reboot in automatic mode at 06.00AM everyday and the gameserver restart using respowner(visual basic) in startup menu. (windows 2003 webserver ed.)
In CS 1.5 (before steam) I used to add string "-autoupdate" in server.bat file,
(for example: "c:\hlserver\hlds.exe" -console +port 27018 -noipx -pingboost 3 -game cstrike +log on +svlan 0 +maxplayers 24 +map de_dust2 -autoupdate) but in steam 1.6 o source, this command appear to be disabled. Is it true?
Is there any alternative ?
Thanks a lot
Posts: 36
Threads: 3
Joined: Dec 2004
Reputation:
0
-autoupdate still works in HLDS although you will have problems if you're running more than one server off the same HLDS base (you'll find that your servers will probably crash after updating).
I'm not sure if it works under srcds at this point.