【大话回合逍遥西游之紫禁西游】经典大话回合角色扮演类Q萌卡通手游-2023年7月21日最新打包Linux服务端源码视频架设教程-GM总运营后台-安卓苹果IOS双端版本!
【大话回合逍遥西游之紫禁西游】经典大话回合角色扮演类Q萌卡通手游-2023年7月21日最新打包Linux服务端源码视频架设教程-GM总运营后台-安卓苹果IOS双端版本!




























演示系统:Centos 7.6
演示地址:123.207.42.5
安装宝塔:
yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh输入y回车确认安装
输入n取消安装SSL安装环境:
Nginx 1.18
mysql 5.6
php 5.6宝塔放行端口:1:65535
关闭防火墙:
systemctl stop firewalld
systemctl disable firewalld上传“xyxy.tar.gz”到服务器根目录“/”(根目录不是root目录!!!)
解压
cd /
tar zxvf xyxy.tar.gz给予权限:
chmod -R 777 /home/
chmod -R 777 /etc/redis6001.conf
chmod -R 777 /www/wwwroot/game
chmod -R 755 /usr/local/mongodb/
chmod -R 755 /usr/local/bin/redis-server环境配置
编译lua
cd /home
yum -y install gcc gcc-c++yum install make -y
yum install readline-devel.x86_64 -y
cd /home/lua-5.2.3
make linuxmake install
设置数据库密码为:123456(在宝塔直接设置)
导入数据库
cd /home
./sk数据库创建结束。可以通过宝塔查看是否创建成功。(数据库 - 点击 从服务器获取 获取2个就正确的)
运行后为了安全可以把 sk 文件删除
宝塔添加网站:
IP:81
网站目录指向:\www\wwwroot\game
修改: // “123.207.42.5”
/home/nomogaserver/accountcenter/src/gamelogic/config/serverlists/serverlistxiyou_final_md.lua
/www/wwwroot/game/xiyou/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/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”
使用【改之理】进行反编译
安卓:
/AndroidManifest.xml
/assets/res/script.zip--压缩包内“Update.GameUpdate”这个文件拖出来修改苹果:
\Payload\xiyou.app\res\script.zip--压缩包内“Update.GameUpdate”这个文件拖出来修改GM后台:
http://IP:81/gm/
PS:删档
rm -rf /usr/lib64/lua
rm -rf /usr/share/lua
rm -rf /usr/share/locale/lua
rm -rf /usr/bin/luaredis-cli -p 6001 -a fanhuagame
flushall
exit
mysql -u root -p123456
truncate table sdktest.dda;
exit;
cd /usr/local/mongodb/bin/
./mongod -dbpath=/usr/local/mongodb/db -logpath=/usr/local/mongodb/logs/mongodb.log -logappend -port=27017 -fork
./mongo
show dbs
use gamelogic
db.dropDatabase()
use local
db.dropDatabase()
exit;
rm -rf /home/nomogaserver/accountcenter/log/*
rm -rf /home/nomogaserver/paycenter/log/*
rm -rf /home/server1/nomogaserver1/log/*
rm -rf /home/server1/nomogaserver2/log/*
rm -rf /home/server1/nomogaserver3/log/*
rm -rf /home/server1/nomogaserver4/log/*
rm -rf /home/server1/nomogaserver5/log/*
rm -rf /home/server1/nomogaserver6/log/*------------------------------------------------------------------------------------
本期教程到此结束。
34214
1、本站资源都是白菜价出售,同样的东西,我们不卖几百,也不卖几十,甚至才卖几块钱,一个永久会员能下载全站100%源码了,所以单独购买也好,会员也好均不提供相关技术服务。
2、如果源码下载地址失效请/联系站长QQ进行补发。
3、本站所有资源仅用于学习及研究使用,请必须在24小时内删除所下载资源,切勿用于商业用途,否则由此引发的法律纠纷及连带责任本站和发布者概不承担。资源除标明原创外均来自网络整理,版权归原作者或本站特约原创作者所有,如侵犯到您权益请联系本站删除!
4、本站站内提供的所有可下载资源(软件等等)本站保证未做任何负面改动(不包含修复bug和完善功能等正面优化或二次开发);但本网站不能保证资源的准确性、安全性和完整性,用户下载后自行斟酌,我们以交流学习为目的,并不是所有的源码都100%无错或无bug;同时本站用户必须明白,【源码源码ui网】对提供下载的软件等不拥有任何权利(本站原创和特约原创作者除外),其版权归该资源的合法拥有者所有。
5、请您认真阅读上述内容,购买即以为着您同意上述内容。
一站网 » 【大话回合逍遥西游之紫禁西游】经典大话回合角色扮演类Q萌卡通手游-2023年7月21日最新打包Linux服务端源码视频架设教程-GM总运营后台-安卓苹果IOS双端版本!