[转]CS:GO 服务器架设

本文参考https://developer.valvesoftware. ... e_Dedicated_Servers
=====================================================================
其实建立csgo ser是一件十分容易的事惰,至少比起tf2的容易得多
(因为某人曾使用3部计算机来架设tf2 server都失败......)
第一步:先下载一个 SteamCMD的东西
windows:http://blog.counter-strike.net/w ... 012/04/steamcmd.zip
linux:http://blog.counter-strike.net/w ... /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 "中文场名"
=======================================================================

 

转自: http://www.aikoy.com/thread-18451-1-1.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值