Setting up NS2 Servers B212 SteamCMD
Sr Lance
Rhythm is a Lancer Join Date: 2004-11-18 Member: 32862Members, Constellation, Squad Five Blue
<!--quoteo--><div class='quotetop'>QUOTE </div><div class='quotemain'><!--quotec-->You can no longer update the server via hlds server tools, you will now need to use SteamCMD.
<b>Windows File Location for SteamCMD:</b>
<a href="http://blog.counter-strike.net/wp-content/uploads//2012/04/steamcmd.zip" target="_blank">http://blog.counter-strike.net/wp-content/...04/steamcmd.zip</a>
<b>/!\ Updated /!\ Using app_update 4940 - will download dedicated server files and will not require a copy of NS2 for the account</b>
<b>Setup Instructions:</b>
- Extract SteamCMD to a folder
- Run steamcmd.exe
SteamCMD should now start updating and download the files to the same location where steamcmd.exe is located.
To download the NS2 Dedicated files using SteamCmd you will need to use steam login credentials:
-Run steamcmd.exe
Type the following:
Replace <username> and <password> with your steam username and password
login <username> <password>
If this is the first time using steamCmd on the machine you will need to enter your security code, check your email account attached to steam and use the following command.
set_steam_guard_code <your code here>
Then do:
login <username> <password>
<b>Installing NS2 Files:</b>
Type the following:
force_install_dir c:\server Location
app_update 4940 validate
SteamCmd should now download the files to the location listed above.
<b>Auto Update:</b>
create a text file:
login <steam username> <steam password>
force_install_dir c:\server Location
app_update 4940 validate
exit
And under steamCMD +runscript textFileName.txt<!--QuoteEnd--></div><!--QuoteEEnd-->
Example:
<a href="https://developer.valvesoftware.com/wiki/Counter-Strike:_Global_Offensive_Dedicated_Servers" target="_blank">https://developer.valvesoftware.com/wiki/Co...dicated_Servers</a>
<b>Windows File Location for SteamCMD:</b>
<a href="http://blog.counter-strike.net/wp-content/uploads//2012/04/steamcmd.zip" target="_blank">http://blog.counter-strike.net/wp-content/...04/steamcmd.zip</a>
<b>/!\ Updated /!\ Using app_update 4940 - will download dedicated server files and will not require a copy of NS2 for the account</b>
<b>Setup Instructions:</b>
- Extract SteamCMD to a folder
- Run steamcmd.exe
SteamCMD should now start updating and download the files to the same location where steamcmd.exe is located.
To download the NS2 Dedicated files using SteamCmd you will need to use steam login credentials:
-Run steamcmd.exe
Type the following:
Replace <username> and <password> with your steam username and password
login <username> <password>
If this is the first time using steamCmd on the machine you will need to enter your security code, check your email account attached to steam and use the following command.
set_steam_guard_code <your code here>
Then do:
login <username> <password>
<b>Installing NS2 Files:</b>
Type the following:
force_install_dir c:\server Location
app_update 4940 validate
SteamCmd should now download the files to the location listed above.
<b>Auto Update:</b>
create a text file:
login <steam username> <steam password>
force_install_dir c:\server Location
app_update 4940 validate
exit
And under steamCMD +runscript textFileName.txt<!--QuoteEnd--></div><!--QuoteEEnd-->
Example:
<a href="https://developer.valvesoftware.com/wiki/Counter-Strike:_Global_Offensive_Dedicated_Servers" target="_blank">https://developer.valvesoftware.com/wiki/Co...dicated_Servers</a>
Comments
This is not acceptable for GSP's at all. I don't see the need for me to purchase another copy of NS2 just to keep my customers servers up-to-date. And no I will not link my own personal account to my customers servers as I don't wish to be logged out when they go and update their servers.
Please provide a better solution or just go back to HLDSupdatetool as it was easy and worked very well.
Why?
Please provide a better solution or just go back to HLDSupdatetool as it was easy and worked very well.<!--QuoteEnd--></div><!--QuoteEEnd-->
Yes, believe me, I do know what GSPs need to run servers, and have already spoken with the developers about it. They are talking to Valve, who are ultimately the ones that need to enable it.
It seems that NS2 already has a separate appid for the dedicated server, it's just not working properly. Obviously, I can't make any promises about how this will end up working, but they are trying.
I get the feeling that going from hldsupdatetool->steamcmd is a one-way trip. It's basically going from Steam v2 to Steam v3, downgrading is probably not possible.
There's plenty of other games using steamcmd that offer dedicated servers, and they seem to be dealing with ok.
For now, you can easily download the update on one account, and zip it up to apply to servers. Shouldn't be too hard to do, and will definitely work until a better solution is found.
The developers now have more control over patches. They can publish patches at any time, without having to send them to Valve. The patches are also smaller, because you're only downloading changes to the files. The patches also download quicker, because the files are coming off the <a href="http://www.highwinds.com/news/?p=115" target="_blank">Highwinds CDN</a> instead of random content servers.
<!--quoteo(post=1947503:date=Jun 28 2012, 08:07 PM:name=Security)--><div class='quotetop'>QUOTE (Security @ Jun 28 2012, 08:07 PM) <a href="index.php?act=findpost&pid=1947503"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->Why?<!--QuoteEnd--></div><!--QuoteEEnd-->
See above.
There are real, tangible benefits to moving to Steam3 that will shine throughout the coming months. We understand this teething problem is extremely frustrating to server operators and we are actively working with Valve to make sure that eventually, the system works well for everyone.
Just another bump in the road with light at the end of the tunnel.
Depends on your provider. If they allow you to upload exe/dll files I suppose you could upload an entirely new copy of the server. Otherwise, there's not really a lot you can do.
UWE have contacted Valve and now dedicated server files no longer require a copy of NS2 on the steam account.
Just need to use app_update 4940
Already provided information on auto update see first post:
If you read the whole thread, you'd realise you don't have to anymore.
You can use your main steam account, you don't need to created a new steam account. The identification code is required only once.
You should create a new account, unless you like both of the following:
1) Being logged out of steam whenever you try to update a server
2) Having your main account username/password available to anyone with access to your server
1) Being logged out of steam whenever you try to update a server
2) Having your main account username/password available to anyone with access to your server<!--QuoteEnd--></div><!--QuoteEEnd-->
1) Wrong, I have multi servers and it doesn't make my main steam account logged out.
2) Agree for security reasons if that's the case.
2) Agree for security reasons if that's the case.<!--QuoteEnd--></div><!--QuoteEEnd-->
It does log you out of your current steam account if you use the same one. I have tried this several times and its documented.
I just tried to start up SteamCmd to update my server to 213/214, but it's impossible for me to even get this far.
SteamCmd keeps trying to update itself and fails, getting stuck at a random % number (usually around 40-80%, never got over 90% so far), from where it can't seem to download anymore, repeating itself forever.
<!--quoteo--><div class='quotetop'>QUOTE </div><div class='quotemain'><!--quotec-->[ 67%] Downloading update <8,083 of 12,016 KB>...
[ 67%] Downloading update <8,083 of 12,016 KB>...
[ 67%] Downloading update <8,083 of 12,016 KB>...
[ 67%] Downloading update <8,083 of 12,016 KB>...
[ 67%] Downloading update <8,083 of 12,016 KB>...
[ 67%] Downloading update <8,083 of 12,016 KB>...
[ 67%] Downloading update <8,083 of 12,016 KB>...
[ 67%] Downloading update <8,083 of 12,016 KB>...<!--QuoteEnd--></div><!--QuoteEEnd-->
I've tried it on my own system too, with same results.
Extremely frustrating. It probably wasn't such a good idea to use a tool so new and bug-ridden right away. :/
I of course made sure about that. I tried a number of things to make sure that the problem is not on my side.
And I didnt even get far enough to login, as it was SteamCmd itself getting stuck while trying to update itself.
I eventually got the update to finish after countless tries. Pretty sure its some sort of bug in SteamCmd and/or the corresponding update servers.