server name:香港高登CSGO 32人正常場
ip:113.255.230.135:27015
本文參考https://developer.valvesoftware.com/wiki/Counter-Strike:_Global_Offensive_Dedicated_Servers
=====================================================================
其實建立csgo ser是一件十分容易的事惰,至少比起tf2的容易得多
(因為某人曾使用3部電腦來架設tf2 server都失敗......)
第一步:先下載一個 SteamCMD的東西
windows:http://blog.counter-strike.net/wp-content/uploads//2012/04/steamcmd.zip
linux:http://blog.counter-strike.net/wp-content/uploads//2012/04/steamcmd.tar.gz
請關掉你的steam才進行第二步
第二步:解壓縮SteamCMD.zip,之後運行steamcmd.exe,它就會開始下載
在下載的時間中在c:\中建立一個名csgo的文件夾
最後steamcmd.exe會出現steam>,而steam>就是給你打指令之用
第三步:在steam >打『login 你的steam帳號 你的steam密碼』
和你平時登入steam的帳號的方法一樣
如果你第一次登入時是會出現error的字眼,你就需要到你申請steam的電郵
你會發現steam已經寄了一封信給你,內有一個5位既code
你需要在steam>打『set_steam_guard_code xxxxx』xxxxx為你的code
並再次重覆在steam >打『login 你的steam帳號 你的steam密碼』
第四步:成功在steamcmd登入後,打以下3個指令
steam>force_install_dir c:\csgo\
steam>force_install_dir ..\csgo\
steam>app_update 740 validate
之後就會開始下載,大約30mins就完成
以後有更新時就同樣需要打3個指令進行更新
steam>force_install_dir c:\csgo\
steam>force_install_dir ..\csgo\
steam>app_update 740
不過最後一個就不用加上validate
第五步:打開c:\csgo,你會看見scrds.exe
右鍵此檔建立捷徑,右鍵捷徑 - srcds.exe 內容
把C:\csgo\srcds.exe更改為以下其一
休閒場:
『C:\csgo\srcds.exe -game csgo -console -usercon +game_type 0 +game_mode 0 +mapgroup mg_bomb +map de_dust2』
正常Competitive場
『C:\csgo\srcds.exe -game csgo -console -usercon +game_type 0 +game_mode 1 +mapgroup mg_bomb +map de_dust2』
軍備競賽場
『C:\csgo\srcds.exe -game csgo -console -usercon +game_type 1 +game_mode 0 +mapgroup mg_armsrace +map ar_shoots』
爆破場:
『C:\csgo\srcds.exe -game csgo -console -usercon +game_type 1 +game_mode 1 +mapgroup mg_demolition +map de_bank』第五步
去C:\csgo\cfg,建立一個txt檔
=======================================================================
hostname "CSGO"
rcon_password "123"
sv_password ""
mp_freezetime 5 //The amount of time players are frozen to buy items
mp_join_grace_time 15 //The amount of time players can join teams after a round has started
mp_match_end_restart 0 // Defines whether a map should be restarted after a game has ended
sv_cheats 0 //This should always be set, so you know it's not on
sv_lan 0 //This should always be set, so you know it's not on
//**The bot commands below are mostly default with the exception of
bot_difficulty 3
bot_chatter "off"
bot_join_after_player 1
bot_quota 10
bot_quota_mode "fill"
//**The following commands manage kicks and bans
writeid
writeip
exec banned_user.cfg
exec banned_ip.cfg
=======================================================================
把以上的放進去txt,之後改名為server.cfg
如上圖,不過本人另外增加了指令
第六步:先開啟steam,再開 捷徑 - srcds.exe
如上圖出現VAC secure mode is activated就代表成功了
=======================================================================
開中文場名方法
請不要在server.cfg更改,更不要改至utf-8
先開場,之後進入遊戲,使用~開console
之後輸入rcon_password "123"(如果跟從我的server.cfg)
如果不是,請使用你自己的管理密碼
再輸入rcon hostname "中文場名"
=======================================================================
明天會出設定admin教學~~~~