Counter-Strike: Global Offensive/Dedicated Servers: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
m (Initial Edit- Testing Functionality)
Line 1: Line 1:
{{csgo}}
{{csgo}}
== Running the Dedicated Server ==


1. Download the update tool:
== Article Navigation: ==
 
*[[Counter-Strike:_Global_Offensive_Dedicated_Servers#Download_and_Running_the_SteamCMD_Update_Tool|Download and Running the SteamCMD Update Tool]]


Windows:
http://blog.counter-strike.net/wp-content/uploads//2012/04/steamcmd.zip


Linux:
== Download and Running the SteamCMD Update Tool ==
http://blog.counter-strike.net/wp-content/uploads//2012/04/steamcmd.tar.gz


2. extract to an empty directory. For best results, it should *not* be the same directory that you run the regular Steam client from, *nor* the older "steam"/HldsUpdateTool download program
# Download the SteamCMD Update Tool:
## [http://blog.counter-strike.net/wp-content/uploads//2012/04/steamcmd.zip Windows Installer]
## [http://blog.counter-strike.net/wp-content/uploads//2012/04/steamcmd.tar.gz Linux Installer]
# Extract the contents to a directory (Example (Windows): C:\SteamCMD\)
## '''NOTE:''' Do not extract the contents of the updater tool to the regular Steam Client or in to a folder that has the older HLDSUpdateTool program.
# Launching SteamCMD
## Windows: Open a command prompt and type in '''c:\SteamCMD\steamcmd''' (or use whatever directory you created)
## Linux: Type '''STEAMEXE=steamcmd ./steam.sh'''
## '''NOTE:''' The program will automatically update and enter you in to a '''Steam>''' prompt.  Type '''help''' for more information.
# Login with your CS:GO Steam Account
login username password
# If you receive a Steam Guard error, check your e-mail for your access code and execute the following commands (you'll only need to do this once):
set_steam_guard_code yourcodehere
login username password


3a. for Windows, type
Steamcmd


3b. For Linux, type
== Running the Dedicated Server ==
STEAMEXE=steamcmd ./steam.sh


The program will auto-update and put you at the "Steam>" prompt. You can type "help" for more info.
The program will auto-update and put you at the "Steam>" prompt. You can type "help" for more info.

Revision as of 07:34, 10 May 2012

Counter-Strike: Global Offensive

Article Navigation:


Download and Running the SteamCMD Update Tool

  1. Download the SteamCMD Update Tool:
    1. Windows Installer
    2. Linux Installer
  2. Extract the contents to a directory (Example (Windows): C:\SteamCMD\)
    1. NOTE: Do not extract the contents of the updater tool to the regular Steam Client or in to a folder that has the older HLDSUpdateTool program.
  3. Launching SteamCMD
    1. Windows: Open a command prompt and type in c:\SteamCMD\steamcmd (or use whatever directory you created)
    2. Linux: Type STEAMEXE=steamcmd ./steam.sh
    3. NOTE: The program will automatically update and enter you in to a Steam> prompt. Type help for more information.
  4. Login with your CS:GO Steam Account
login username password
  1. If you receive a Steam Guard error, check your e-mail for your access code and execute the following commands (you'll only need to do this once):
set_steam_guard_code yourcodehere
login username password


Running the Dedicated Server

The program will auto-update and put you at the "Steam>" prompt. You can type "help" for more info.

4. login using your CS:GO Steam account. Example:

login username password

4b1. if you get a Steam Guard error, then enter it after you get your code in email. Example:

set_steam_guard_code steamguardcode

4b2. Login again.

5. Set your CS:GO dedicated server install dir. Example:

 force_install_dir ../csgo-ds/

6. Update the CS:GO server app.

App_update 740 validate

7. Exit the update tool and start the server:

Classic Casual:

srcds -game csgo -console -usercon +game_type 0 +game_mode 0 +mapgroup mg_allclassic +map de_dust

Classic Competitive:

srcds -game csgo -console -usercon +game_type 0 +game_mode 1 +mapgroup mg_allclassic +map de_dust 

Arms Race:

srcds -game csgo -console -usercon +game_type 1 +game_mode 0 +mapgroup mg_armsrace +map de_dust

Demolition:

srcds -game csgo -console -usercon +game_type 1 +game_mode 1 +mapgroup mg_demolition +map de_dust