The example of the -autoupdate command line is only that, an example. It took
me almost two hours to get it working yesterday. One of the two servers we have
running had a player in it, and when they disconnected from the server, the
server shutdown and automatically updated and restarted. The other server did
nothing. Idle servers have always been a problem with the -autoupdate feature,
the server either had to be restarted manually or it just sits there warning us
about needing to be restarted to update.
Here is the run down. Your server runs in one directory, meanwhile the steamcmd
is in another. You run your server in its staged folder, but the steamcmd is
outside of that area.
Therefore you added the -autoupdate command to your server launch of commands.
The -autoupdate required to knows where your steamcmd folder is and what script
file to run.
So add -autoupdate -steam_dir /location/of/your/steamcmd/folder
-steamcmd_script <ScriptName>
Script must have the following information:
login <name> <password> <steamguardcode> (only if it is not saved, it will
prompt you if it was removed somehow)
force_install_dir <YouServerInsatllationFolder>
app_update 740
exit
If you have your steamcmd folder stored in the same folder where you run your
servers folders are you can then use this syntax.
For example:
Windows
D:\CSGO\
|----\SteamCMD\
|----\YourScriptFile
|----\SteamCMD.exe
|----\CSGO-DS\
|----\csgo.exe
Linux
/servers/
|----csgo_cc.sh
|----csgp_ggp.sh
|----/steamcmd/
|----/steamcmd.sh
|----/YourScriptFile
/csgo_l/
|----/srcds_run
-steam_dir ../steamcmd/ -steamcmd_script <ScriptName>
Hope this clarifies how to use this command in the server launch command file.
As this is a good practice we learned years ago.
Best Regards,
Krillin
____________________________________________________________________________________________________________________________________
My linux server has picked up the notification and is sat there with the
message:
MasterRequestRestart
Your server will be restarted on map change.
So, until a lobby connects and changes level it wont patch...? 2 obvious
flaws with that logic:
1/ Guess the matchmaking system isn't going to throw anyone to my
server being out-of-date
2/ If anone does join (browser?) then they are going to get harshly
disconnected as they server goes to patch itself
This the same behaviour for others?
- Nick
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Server.it
- Zelatech srl
Sent: 23 August 2012 23:33
To: [email protected]
Subject: Re: [Csgo_servers] CSGO update 1.17.5.1
Auto-update not working in cmline on windows but working manually, does this
is supposed to work only on linux os?
This is really annoying...
_______________________________________________
Csgo_servers mailing list
[email protected]
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/csgo_servers
_______________________________________________
Csgo_servers mailing list
[email protected]
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/csgo_servers