0.前言
最近真的服务器玩到手软,这会儿手痒又搭了个CS:GO的服务器,十分适合大家拿来娱乐和约战啊~
本篇文章就来介绍下搭建的方法咯~
1.开通服务器。。。(没错我就是复读机)
提供VPS服务的商家有很多,由于游戏服务器并不提供WEB服务,所以我们可以选择国内的服务器
阿里云学生机(24岁以下用户廉价服务器):点击跳转
地皮推荐的雨云:点击跳转
进入后台获取管理员密码或SSH连接所需的密码并记录。
2.有关说明
这里注意了,由于搭建Steam平台的游戏服务器过于方便,方式五花八门,所以才会对大家产生干扰~所以我这里以最方便的“LinuxGSM”(LGSM)程序为例,网站:https://linuxgsm.com/
LinuxGSM这个程序功能非常强大,你可以使用这个平台迅速构建支持的103款游戏(到2020/03/13),其中包括我上一篇文章提到的SAMP
什么叫“授人以鱼不如授人以渔”啊?学会了这套方案 游戏列表 下103款游戏服务器你全都会搭了!
当然,我还是以CentOS系统搭建CS:GO服务器为例咯~
3.安装依赖
1.通过SSH以root用户登录到服务器
2.CentOS先要安装一个软件分支
yum install epel-release
3.安装依赖软件包
yum install nmap-ncat
64Bit系统:
yum install mailx postfix curl wget tar bzip2 gzip unzip python3 binutils bc jq tmux glibc.i686 libstdc++ libstdc++.i686
32Bit系统(谁会用32位系统做服务器啊喂!):
yum install mailx postfix curl wget tar bzip2 gzip unzip python3 binutils bc jq tmux libstdc++
4.新建用户
为了确保服务器安全,我们需要创建一个新用户来跑LGSM。
1.添加用户,用户名大家自定义。
useradd dpcsgo
2.添加密码
passwd dpcsgo
终端会提示让你添加密码,连续输入两遍即可
更改用户 dpcsgotest 的密码 。 新的 密码: 重新输入新的 密码: passwd:所有的身份验证令牌已经成功更新。
5.开始安装
1.切换到刚刚创建的用户
su - dpcsgo
若提示输入密码,输入上一步设定的密码即可。
2.拉取安装脚本
wget -O linuxgsm.sh https://linuxgsm.sh && chmod +x linuxgsm.sh && bash linuxgsm.sh csgoserver
不出意外,你能看到如下画面:
[dpcsgo@localhost ~]$ wget -O linuxgsm.sh https://linuxgsm.sh && chmod +x linuxgsm.sh && bash linuxgsm.sh csgoserver --2020-03-13 12:52:57-- https://linuxgsm.sh/ 正在解析主机 linuxgsm.sh (linuxgsm.sh)... 2606:4700:3033::681c:470, 2606:4700:3033::681c:570, 104.28.5.112, ... 正在连接 linuxgsm.sh (linuxgsm.sh)|2606:4700:3033::681c:470|:443... 失败:网络不可达。 正在连接 linuxgsm.sh (linuxgsm.sh)|2606:4700:3033::681c:570|:443... 失败:网络不可达。 正在连接 linuxgsm.sh (linuxgsm.sh)|104.28.5.112|:443... 已连接。 已发出 HTTP 请求,正在等待回应... 301 Moved Permanently 位置:https://raw.githubusercontent.com/GameServerManagers/LinuxGSM/master/linuxgsm.sh [跟随至新的 URL] --2020-03-13 12:52:59-- https://raw.githubusercontent.com/GameServerManagers/LinuxGSM/master/linuxgsm.sh 正在解析主机 raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.0.133, 151.101.64.133, 151.101.128.133, ... 正在连接 raw.githubusercontent.com (raw.githubusercontent.com)|151.101.0.133|:443... 已连接。 已发出 HTTP 请求,正在等待回应... 200 OK 长度:11953 (12K) [text/plain] 正在保存至: “linuxgsm.sh” linuxgsm.sh 100%[=================================================================================================================================================================>] 11.67K --.-KB/s 用时 0.005s 2020-03-13 12:53:01 (2.12 MB/s) - 已保存 “linuxgsm.sh” [11953/11953]) fetching serverlist.csv...OK Installed Counter-Strike: Global Offensive server as csgoserver ./csgoserver install
3.运行安装脚本
./csgoserver install
4.如果没出意外,你看到的画面应该是这样的:
[dpcsgo@localhost ~]$ ./csgoserver install fetching core_functions.sh...OK fetching core_legacy.sh...OK fetching core_messages.sh...OK fetching core_dl.sh...OK fetching core_trap.sh...OK fetching _default.cfg...OK copying _default.cfg...OK fetching common.cfg...OK fetching csgoserver.cfg...OK fetching linuxgsm.sh...OK fetching core_getopt.sh...OK fetching command_install.sh...OK fetching check.sh...OK fetching check_tmuxception.sh...OK fetching check_permissions.sh...OK fetching check_glibc.sh...OK fetching info_distro.sh...OK fetching check_system_requirements.sh...OK fetching install_header.sh...OK mdMMMMbm mMMMMMMMMMMm mMMMMMMMMMMMMm mMMMMMMMMMMMMMMm hMMMV^VMMV^VMMMh MMMMM MM MMMMM hMMs vv sMMh hMMM: :MMMh .hMMMh hMMMh. -dMMMh __ hMMMd- :mMMMs || sMMMm: :MMMM+ || _ +NMMN: .mMMM+ ======== +MMMm. yMMMy ############## yMMMy mMMM: ############## :MMMm mMM nn nn nn nn MMm o nNNNNNNNn nNNNNNNNn o nNNNNNNNNNn nNNNNNNNNNn nNNNNNNNNNNN NNNNNNNNNNNn +NNNNNNNNN: :NNNNNNNNN+ nNNNNNNN /\ NNNNNNNn nnnnn db nnnnn 888 d8b .d8888b. .d8888b. 888b d888 888 Y8P d88P Y88b d88P Y88b 8888b d8888 888 888 888 Y88b. 88888b.d88888 888 888 88888b. 888 888 888 888 888 Y888b. 888Y88888P888 888 888 888 88b 888 888 Y8bd8P 888 88888 Y88b. 888 Y888P 888 888 888 888 888 888 888 X88K 888 888 888 888 Y8P 888 888 888 888 888 Y88b 88Y .d8pq8b. Y88b d88P Y88b d88P 888 * 888 LinuxGSM 888 888 888 Y8888Y 888 888 Y2012P88 Y8888P 888 888 ================================= LinuxGSM_ by Daniel Gibbs Game: Counter-Strike: Global Offensive Website: https://linuxgsm.com Contributors: https://linuxgsm.com/contrib Donate: https://linuxgsm.com/donate ================================= fetching install_server_dir.sh...OK Server Directory ================================= /home/dpcsgo Continue? [Y/n] Y
直接回车就可以了
接下来脚本会检查各项依赖,然后回连接到Steam下载Steam相关的套件,例如SteamCMD之类的,下载过程是非常漫长的(代理软件是有必要的),你可以用这段时间干点什么~
如果你没有正常的进行下载,可以在评论区贴出错误提示,或者重新走一遍流程哦
5.获取GSTL
安装完成就应该提示输入GSTL(Game Server Login Token)了
①访问GSTL获取页面:https://steamcommunity.com/dev/managegameservers
下面是你的Steam必须满足的条件
帐户需求
②在左上角登录你的Steam账号
③在页面底部找到如下字段,并填入相关信息,点击创建。
创建一个新的游戏服务器帐户
基础游戏的 App ID(例如:TF2 是 440,CS:GO 是 730):备忘录(与帐户一起存储的文本,显示于此帮助您记忆):
④你会在页面中部找到一个表格
游戏 登录令牌 上次登录 备忘录 730 D4XXXXXXXXXXXXXXXXXXXXXXXXX27 从未 地皮对战服务器
那么登陆令牌就是GSTL啦
6.输入GSTL
安装完成后会提示:
Success! App '740' fully installed. ================================= Was the install successful? [Y/n] Y
如果提示APP”740″安装成功就直接回车就好了,这里出问题一般都是网络不好
接下来就会让你输入GSTL了:
Game Server Login Token ================================= GSLT is required to run a public Counter-Strike: Global Offensive server Get more info and a token here: https://docs.linuxgsm.com/steamcmd/gslt Enter token below (Can be blank). GSLT TOKEN:
直接把登陆令牌输入进去就好~
7.进一步安装
接下来会提示:
LinuxGSM Stats ================================= Assist LinuxGSM development by sending anonymous stats to developers. More info: https://docs.linuxgsm.com/configuration/linuxgsm-stats The following info will be sent: * game server * distro * game server resource usage * server hardware info Allow anonymous usage statistics? [Y/n] Y
这个是开发工具,回车就好
8.安装结束
如果看到如下提示就证明LGSM已经正确安装完毕了:
================================= Install Complete! To start server type: ./csgoserver start fetching core_exit.sh...OK
6.配置参数
1.先启动一下服务端,看看是否能正常工作:
./csgoserver start
如果提示各种OK,并且刷新Steam获取GSTL页面后出现上次登录,那么应该是没问题的了
PS:由于我在局域网进行配置演示,网络配置方法上和VPS有所不同,这里不能进行演示,很抱歉。
2.没问题的话,停止服务端:
./csgoserver stop
3.编辑游戏相关配置文件
先进入与游戏相关配置文件关联的目录:
cd /home/dpcsgo/lgsm/config-lgsm/csgoserver/
列出目录下的所有文件:
ls
可以看到:
[dpcsgo@localhost csgoserver]$ ls common.cfg csgoserver.cfg _default.cfg
本来可以不介绍,想了想我还是介绍一下
common.cfg暂时用不到,csgoserver.cfg是服务端程序运行时读取的配置文档,_default.cfg是默认配置文档
①把_default.cfg内的配置写到csgoserver.cfg:
cat _default.cfg > csgoserver.cfg
②给_dafault.cfg做个备份,并让他不生效
mv _default.cfg _default.cfg.bak
③编辑csgoserver.cfg,这里还要填一遍GSTL
vi csgoserver.cfg
4.编辑服务器信息相关配置文件(其一)
这里我直接编辑与服务器信息相关配置文件了:
vi /home/dpcsgo/serverfiles/csgo/cfg/csgoserver.cfg
文件内容是这样的:
// ************************************************************************** // // // // Counter-Strike: Global Offensive - server.cfg // // Version 120719 // // // // ************************************************************************** // // .................................. Basic ................................. // // Hostname - Name of the server. hostname "LinuxGSM" // RCON - remote console password. rcon_password "adminXXXXXXXX" // Server password - for private servers. sv_password "" // Email - Server admin email. // Example: sv_contact "email@example.com" sv_contact "" // LAN mode - Server is a LAN server; can't connect from the internet. VAC (Valve Anti-Cheat) is disabled in this mode. // Default: sv_lan 0 sv_lan 0 // Cheats mode - Server is disabled to use cheats by default;Commands like noclip,god are disabled to be exploited by the players. VAC (Valve Anti-Cheat) is disabled in this mode when value is set to '1'. // Default: sv_cheats 0 // Cheats ON: sv_cheats 1 sv_cheats 0 // Tags - Used to provide extra information to clients when they're browsing for servers. Separate tags with a comma. // Example: sv_tags "128-tick,deathmatch,dm,ffa,pistol,dust2" sv_tags "" // Region - The region of the world to report this server in. // Default: -1 // 0 - US East, 1 - US West, 2 - South America, 3 - Europe, 4 - Asia, 5 - Australia, 6 - Middle East, 7 - Africa sv_region -1 // ............................. Server Logging ............................. // // Enable log - Enables logging to file, console, and udp < on | off >. // Recommended: log on log on // Log bans - Log server bans in the server logs. // Default: sv_logbans 1 // Recommended: sv_logbans 1 sv_logbans 1 // Log echo - Display log information to the server console. // Default: sv_logecho 1 // Recommended: sv_logecho 1 sv_logecho 1 // Log file - Log server information in the log file. // Default: sv_logfile 1 // Recommended: sv_logfile 1 sv_logfile 1 // One file log - Log server information to only one file. // Default: sv_log_onefile 0 // Recommended: sv_log_onefile 0 sv_log_onefile 0 // Server Hibernation sv_hibernate_when_empty 1 sv_hibernate_ms 5 // ............................. Server Query ............................. // // More info at: https://www.gametracker.com/games/csgo/forum.php?thread=91691 host_name_store 1 host_info_show 1 host_players_show 2 // ................................ Ban List ................................ // // User ban - Server banlist based on user steam ID. // Recommended: exec banned_user.cfg exec banned_user.cfg // IP ban - Server banlist based on user IP. // Recommended: exec banned_ip.cfg exec banned_ip.cfg // Write ID - Writes a list of permanently-banned user IDs to banned_user.cfg. writeid // Write IP - Save the ban list to banned_ip.cfg. writeip
他有英文版的说明,我只介绍两个推荐必须改一下的值
hostname:服务器名称,显示在计分板右上角
rcon_password:管理员密码,用于在游戏中操作服务器,换地图之类的操作。
记得按“i”键改一下就可以保存退出(修改完后按“ESC”,再输个“:wq”)了
5.编辑服务器信息相关配置文件(其二)
echo "https://dpii.club/dpgameservice" > /home/dpcsgo/serverfiles/csgo/motd.txt
这个显示在计分板左下角的服务器网站
7.启动服务端
./csgoserver start
8.关闭防火墙或者开启27015端口
在VPS控制台,或者安装宝塔控制。
9.连接测试
在电脑上运行CS:GO,按“~”进入控制台,输入如下指令连接到服务器:
connect ip:27015
10.结束
其实还有很多参数我没有介绍,有空了介绍吧,有什么疑问评论区留言我会尽力解答的~
看完了?没看够?进阶篇他来了~
11.常见错误
11.1.GSLT相关
Q: Server using ‘public’ lobbies, requiring pw no, lobby id ffffffffffffffff
Unable to parse retry address ‘domain’
A:GSTL配置错误,漏写或少写
warning! Missing dependencies: nmap_ncat
切换回root用户,然后执行 yum install nmap_ncat
6666
yum install nmap_ncat
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
No package nmap_ncat available.
Error: Nothing to do
nmap-ncat,不小心打错了嘿嘿
还有插件,还有什么开启无扩散
bot怎么踢,还有管理员怎么弄哈哈
最近正在写进阶篇,这些会在进阶篇说~
游戏客户端更新了 服务端如何更新
输入./csgoserver update
如果检测不到更新的话就./csgoserver force-update
copying _default.cfg…OK
fetching GitHub linuxgsm.sh…ERROR
fetching Bitbucket linuxgsm.sh…FAIL
安装./csgoserver install的时候显示erroro(╥﹏╥)o
1
多试几次,最近在开会,网络确实敏感
Warning! Missing dependencies: python3 bzip2 unzip jq tmux glibc.i686 libstdc++.i686
Warning! dpcsgo does not have sudo access. Manually install dependencies.
sudo yum install python3 bzip2 unzip jq tmux glibc.i686 libstdc++.i686
Failure! Missing dependencies required to run SteamCMD.
这个要重复那个步骤
你这个是没有安装依赖导致的错误,请看第三步:https://dpii.club/archives/160#header-id-4
Success! App ‘740’ fully installed.
=================================
Was the install successful? [Y/n] Y
fetching GitHub install_config.sh…ERROR
fetching Bitbucket install_config.sh…FAIL
[dpcsgo@iZtdh5dwww5eghZ ~]$
这个输入哪个命令
安装完steamcmd的文件后显示这个
弄好了 网络是真不好
[ INFO ] Starting csgoserver: Check IP: 172.17.164.63
[ OK ] Starting csgoserver: LinuxGSM
游戏开到服务器内网了,这个咋整,把sv_lan改到了1
sn_lan 改成0,如果是阿里的机器不要紧,识别到内网的ip也可以从外部直接连接的,因为阿里用了NAT,其他的机器不太清楚了,不过大概和阿里的机器情况相同~
大佬宁再康康
https://i.loli.net/2020/06/17/WHaMrjOA5KQNohZ.png
我改好了,但是还是csgo连接不上服务器,控制台也看不懂,哭了
我ping了一下那个端口,说是找不到主机
检查防火墙和config,防火墙开放config里指定的tcp端口
大佬可以帮忙看看我执行./csgoserver install之后,字符企鹅已经出来了,但回车后又报了两个错误
Continue? [Y/n] Y
fetching GitHub install_logs.sh…ERROR
fetching Bitbucket install_logs.sh…FAIL
可以了…多试几次就好了
害,都是网络的锅,有能力上v2ray或者$$r
[ INFO ] Starting csgoserver: Check IP: 172.19.236.16
[ OK ] Starting csgoserver: iewdog
这个怎么办呀,sv_lan 0没错,连接的时候说只允许内部服务器连接,我是阿里的机器
阿里的机器必须手动指定内网IP,确保sv_lan 0,就可以了
不懂就问,指定内网ip怎么搞得。
你好,咨询一下,20人的混战服,CPU、内存、宽带多少比较合适呢?
2h4g10m最基本,越大越好!
[dpcsgo@iZbp1cd2g3teclgdz9zyb2Z ~]$ ./csgoserver install
fetching GitHub check_version.sh…ERROR
fetching Bitbucket check_version.sh…FAIL
安装脚本一直失败怎么办呢
/home/dpcsgo/lgsm/config-lgsm/csgoserver/csgoserver.cfg: line 200: unexpected EOF while looking for matching `”‘
/home/dpcsgo/lgsm/config-lgsm/csgoserver/csgoserver.cfg: line 201: syntax error: unexpected end of file
大佬大佬这个怎么搞 搞了一天快哭了
你这是配置文件里估计动了符号,导致格式变化,程序读不出来配置了,检查一下自己有没有多打或者删掉原本就有的符号
那直接在跑一次./csgoserver install可以吗
而且我是百度的服务器现在还是局域网联机
ChangeGameUIState: CSGO_GAME_UI_STATE_MAINMENU -> CSGO_GAME_UI_STATE_LOADINGSCREEN
Connecting to public(192.168.1.131:27015) …
Server using ‘friends’ lobbies, requiring pw yes, lobby id ffffffffffffffff
ChangeGameUIState: CSGO_GAME_UI_STATE_LOADINGSCREEN -> CSGO_GAME_UI_STATE_INGAME
**** Unable to localize ‘#GenericConfirmText_Label’ on panel descendant of ‘MMStatus’
ChangeGameUIState: CSGO_GAME_UI_STATE_INGAME -> CSGO_GAME_UI_STATE_MAINMENU
gstl配置有误😁
有的人可以进来有人进不来是为啥,也是显示这一串,gstl配置我看了是对的啊
我猜一下,是不是设了密码,登录没输密码😂,这样
connect ip;passwd 密码
这种格式
什么情况
文件丢失了吧,在安装一遍(./csgoserver install)
fetching GitHub server.cfg…ERROR
fetching Bitbucket server.cfg…FAIL
实在下载不下来怎么办orz
自行挂梯子吧
Error! App ‘740’ state is 0x202 after update job.
Failure! Installing csgoserver: : Not enough space to download server files
我还有30g储存他说我内存不够..
你机器信息不发出来让大伙看看|´・ω・)ノ
小白一个请问怎么修改路径
他就是安装进左边的盘里
http://lcplcp.cn/tu/1.png
cd /www
再执行命令,注意替换路径哦!
这个格式我试过了还是装进根目录能代搭什么的吗我实在是不会
可以代搭,加群了解!
jq: error (at :0): Cannot iterate over null (null)
Starting csgoserver: Check IP: 10.0.8.17
Starting csgoserver: NOT SET
installing log dir: /home/xiang/log…OK
installing LinuxGSM log dir: /home/xiang/log/script…OK
creating LinuxGSM log: /home/xiang/log/script/csgoserver-script.log…OK
installing console log dir: /home/xiang/log/console…OK
creating console log: /home/xiang/log/console/csgoserver-console.log…OK
creating symlink to game log dir: /home/xiang/log/server -> /home/xiang/serverfiles/csgo/logs…OK
fetching GitHub check_deps.sh…ERROR
fetching Bitbucket check_deps.sh…FAIL
后边两行报错,重新./csgoserver install很多次了,咋解决
看log,检查config
我去,回复错了,我让你看什么log,你去看下lgsm本地化项目https://dpii.club/linuxgsm-china-yes
Connecting anonymously to Steam Public…Logged in OK
Waiting for user info…
就卡在这一直不动了
Resolving raw.githubusercontent.com (raw.githubusercontent.com)… 151.101.228.133
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.228.133|:443… failed: Connection refused. 链接失败怎么办 一直失败这个
连接失败请尝试lgsm本地化项目:https://dpii.club/linuxgsm-china-yes
Checking Dependencies
epel-release
curl
wget
util-linux
python3
file
tar
gzip
bzip2
unzip
binutils
bc
jq
tmux
nmap-ncat
glibc.i686
libstdc++.i686
Warning! Missing dependencies: nmap-ncat
Warning! dpcsgo does not have sudo access. Manually install dependencies.
sudo yum install nmap-ncat
Installing SteamCMD
######################################################################## 100.0%
extracting steamcmd_linux.tar.gz…OK
Installing Counter-Strike: Global Offensive Server
[ START ] Installing csgoserver:
^V^H^H
./csgoserver install
./csgoserver install
Redirecting stderr to ‘/home/dpcsgo/.local/share/Steam/logs/stderr.txt’
ILocalize::AddFile() failed to load file “public/steambootstrapper_english.txt”.
[ 0%] Checking for available update…
[—-] Downloading update (0 of 51,441 KB)…
[ 0%] Downloading update (589 of 51,441 KB)…
[ 1%] Downloading update (2,418 of 51,441 KB)…
[ 4%] Downloading update (4,413 of 51,441 KB)…
[ 8%] Downloading update (5,779 of 51,441 KB)…
就中间那nmap-ncat是红的其他都可以 然后没有那个704我是小白啥都不懂见谅
回到root用户下然后yum install -y nmap-ncat。这样就不会红了
连接失败请尝试lgsm本地化项目:https://dpii.club/linuxgsm-china-yes
真的太感谢了,成功了!!!!!!
哈哈,成功就好!感谢支持
中文站好像出问题了
需要装一下git的,sudo yum install git
好的
$ ./csgoserver install
fetching GitHub common.cfg…ERROR
fetching Bitbucket common.cfg…FAIL
别急,我最近再修修本地化脚本,现在还有点问题。网络原因导致的错误可以改host,挂梯子
Installing Counter-Strike: Global Offensive Server
[ START ] Installing csgoserver:
Redirecting stderr to ‘/home/csgo/.local/share/Steam/logs/stderr.txt’
[ 0%] Checking for available updates…
[—-] Verifying installation…
Steam Console Client (c) Valve Corporation
— type ‘quit’ to exit —
Loading Steam API…OK.
Connecting anonymously to Steam Public…Logged in OK
Waiting for user info…OK
Update state (0x3) reconfiguring, progress: 0.00 (0 / 0)
Error! App ‘740’ state is 0x202 after update job.
Failure! Installing csgoserver: : Not enough space to download server files
硬盘没空间了
[dpcsgo@VM-8-3-centos ~]$ ./csgoserver start
[ FAIL ] Starting csgoserver: executable was not found
试着重新安装了,可是安装显示全绿,全是正确的,这可咋办
应该安装没成功,这个是服务器的主程序,缺失应该代表安装失败了
求服务器人数以及tick的修改,还有如何进入服务器后直接进入跑图模式或者满十模式.
扒一下cfg在哪,改64为128即可;后面也是通过另一个“启动项”cfg实现的,仔细扒一扒不难发现
如何更新服务器呢
./csgoserver update
您好,我遇到了以下问题:
Installing Counter-Strike: Global Offensive Server
[ START ] Installing csgoserver:
Redirecting stderr to ‘/home/csgoserver/.local/share/Steam/logs/stderr.txt’
ILocalize::AddFile() failed to load file “public/steambootstrapper_english.txt”.
[ 0%] Checking for available update…
SteamUpdater: Error: Download failed: http error 0
[ 0%] Download Complete.
[—-] Verifying installation…
[ 0%] Downloading Update…
[ 0%] Checking for available update…
SteamUpdater: Error: Download failed: http error 0
[ 0%] Download Complete.
SteamUpdater: Error: Steam needs to be online to update. Please confirm your network connection and try again.
我觉得这是移动墙了steam的原因,之前我加了一个hosts好像可以了,但是忘记加了什么hosts/(ㄒoㄒ)/~~,请问您有什么解决办法嘛
我暂时没有什么好办法,valve在开发者wiki中提到了向中国用户提供的专用下载服务器[https://media.st.dl.bscstorage.net/client/installer/steamcmd_linux.tar.gz] ,也许可以从这里入手
您好,我本地搭建了csgo服务器,然后向运营商要了一个公网IP。并将csgo服务器27015端口映射到了公网ip上的27015,并且ddns绑定了一下ip地址,但是不知道为什么通过公网ip连接服务器时会卡在这一步:
ChangeGameUIState: CSGO_GAME_UI_STATE_MAINMENU -> CSGO_GAME_UI_STATE_LOADINGSCREEN
Connecting to public(1.195.122.187:27015) …
Server using ‘friends’ lobbies, requiring pw yes, lobby id ffffffffffffffff
Connected to 1.195.122.187:27015
Counter-Strike: Global Offensive
Map: de_inferno
Players: 1 (0 bots) / 30 humans
Build: 8012
Server Number: 5
SignalXWriteOpportunity(3)
No pure server whitelist. sv_pure = 0
之后就会自动断开,连接失败。
请问大佬知道该怎么解决嘛⌇●﹏●⌇搞了好长时间了
尝试在lgsm中的cfg中指定公网IP,但是因为变动,时不时就得指定一下
您好,在收到您的消息后,我立即进行了尝试,但是发现更改lgsm/config-lgsm/csgoserver/csgoserver.cfg中的IP地址后依然无法通过公网IP连接
>﹏<
请问您还知道其他的方法嘛?或者您方便远程测试嘛?(ó﹏ò。)
好的,检查一下gstl是否填写正确吧!