【大话回合逍遥西游之浴火重生】站长推荐经典Q萌角色扮演类大话回合手游-2024年3月4日最新打包Linux服务端源码视频架设教程-安卓苹果IOS双端版本!
【大话回合逍遥西游之浴火重生】站长推荐经典Q萌角色扮演类大话回合手游-2024年3月4日最新打包Linux服务端源码视频架设教程-安卓苹果IOS双端版本!
























测试系统:CentOS 7.6
安装宝塔
yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh安装环境
Nginx1.18
Mysql5.6
PHP7.3宝塔开启端口:1:65535
关闭防火墙
systemctl stop firewalld.service
systemctl disable firewalld.service上传“syymwcom.tar.gz”到服务器根目录“/”(根目录不是root目录!!!)
解压
cd /
tar zxvf syymwcom.tar.gz给予权限:
chmod -R 777 /home
chmod -R 777 /usr/local
chmod -R 777 /www/wwwroot
chmod -R 777 /etc/redis6001.conf环境配置
编译lua
yum -y install gcc gcc-c++
yum install make -y
yum install readline-devel.x86_64 -y
cd /home/lua-5.2.3
make linux
make install
设置数据库密码为:123456(在宝塔直接设置)
导入数据库
cd /home
./sk宝塔添加站点:
IP:81端口
网站目录指向:\www\wwwroot\www.ymui.cn
修改服务端IP:替换:123.207.42.5
/home/nomogaserver/accountcenter/src/gamelogic/config/serverlists/serverlistxiyou_final_md.lua
/www/wwwroot/www.ymui.cn/xiyou/ver_test.txt
/www/wwwroot/www.ymui.cn/ios/ver_test.txt
启动游戏服务
启动游戏:
cd /home
./qd关闭游戏:
cd /home
./gb手动启动命令:
/usr/local/mongodb/bin/mongod --config /usr/local/mongodb/bin/mongodb.conf &
/usr/local/bin/redis-server /etc/redis6001.conf &
cd /home/nomogaserver && ./accserver.sh start
cd /home/nomogaserver && ./payserver.sh start
cd /home/server1 && ./nomogaserver2.sh start
cd /home/server1 && ./nomogaserver1.sh start
启动命令执行完如果出现网络错误 就执行以下命令重启
cd /home/nomogaserver && ./accserver.sh restart
cd /home/nomogaserver && ./payserver.sh restart
cd /home/server1 && ./nomogaserver2.sh restart
cd /home/server1 && ./nomogaserver1.sh restart
查看启动端口命令:netstat -tlnp
关闭游戏:
cd /home/nomogaserver && ./accserver.sh stop
cd /home/nomogaserver && ./payserver.sh stop
cd /home/server1 && ./nomogaserver2.sh stop
cd /home/server1 && ./nomogaserver1.sh stop
如果卡维护输入以下命令(就是提示游戏在维护稍后登陆)
cd /home/nomogaserver/accountcenter/logicshell && /bin/sh gm.sh banlogin 0 0
cd /home/nomogaserver/nomogaserver3/logicshell && /bin/sh gm.sh banlogin 0 3 1000客户端修改: // 改 “123.207.42.5”
安卓:【使用改之理或者其它工具进行反编译修改】
安卓:
assets\res 目录下面的 script.zip 压缩包内
Update.GameUpdate ipIOS:
assets\res 目录下面的 script.zip 压缩包内
Update.GameUpdate ip