【传世传奇之烟雨骑战版】经典角色扮演PK类传世手游-2023年8月25日最新打包Linux服务端源码视频架设教程-新版多功能GM网页授权物品后台-用户物品后台-安卓苹果IOS双端版本!
【传世传奇之烟雨骑战版】经典角色扮演PK类传世手游-2023年8月25日最新打包Linux服务端源码视频架设教程-新版多功能GM网页授权物品后台-用户物品后台-安卓苹果IOS双端版本!


















演示系统:Centos 7.6
安装宝塔:
yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh
输入y回车确认安装安装环境:
Nginx 1.18
mysql 5.6 这里是5.6的版本
php 5.6宝塔放行端口:1:65535
关闭防火墙:
systemctl stop firewalld.service
systemctl disable firewalld.service上传“cs.tar.gz”到服务器根目录“/”(根目录不是root目录!!!!){使用WinSCP或其他工具上传数据}
上传好后 解压
cd /
tar zxvf cs.tar.gz给予data 777权限:
chmod 777 -R /data
chmod 777 -R /www/wwwroot/game设置数据库密码为:syymw.com(在宝塔直接设置)
创建数据库并导入数据.(命令行执行)
cd /data
./sk数据库 - 从服务器获取(获取到2个就可以了)
宝塔添加站点:
IP:88端口
网站目录指向:/www/wwwroot/game
修改服务端IP: // 改 “123.207.42.5”
/data/sbin/resource/config/gateway_cfg.lua
/data/sbin/resource/config/session_cfg.lua
/www/wwwroot/game/api/Logontocall/login.php
/www/wwwroot/game/api/version/version.php启动游戏服务
启动命令
cd /data/
./q一共5个进程都显示 success 表示成功了
WorldFrame_d 启动后有些端要稍微等下才启动完毕.
可以通过 命令 “ps -ef |grep WorldFrame_d” 查看 WorldFrame_d 是否运行
出现这样就表示正常运行了
[root@VM-4-7-centos data]# ps -ef |grep WorldFrame_d
root 3725 1 49 12:12 pts/0 00:00:09 ./WorldFrame_d -c 0008010
root 4251 2379 0 12:13 pts/0 00:00:00 grep --color=auto WorldFrame_d如果只有这一条进程是不行的
root 4251 2379 0 12:13 pts/0 00:00:00 grep --color=auto WorldFrame_d=============================================================================================
如果有失败的就关掉重启
传世有一些端 WorldFrame_d 有点奇怪有时候显示了success
登陆还是提示“服务器维护”
这样就需要参考下方教程单独启动这个进程了。
=============================================================================================
如果上面启动一直失败(service failure )就手动启动
cd /data/sbin/linuxbash db_service.sh start 0801
bash session_service.sh start 0801
bash gamegate_service.sh start 0801 1
bash world_service.sh start 0801
bash nameserver_service.sh start 2停止命令
cd /data/
./t1#先运行上面的,等待1分钟左右在运行下面整个关闭
cd /data/
./t手动停止
killall DBAServer_d
killall SessionServer_d
killall GameGateway_d
killall WorldFrame_d
killall NameServer_d
success 表示启动成功.
到此服务端基本搭建完毕,下面看看客户端。
客户端修改
安卓:// “123.207.42.5”
/assets/kuniu/defServerList.json
/assets/kuniu/netconfig.lua
/assets/kuniu/src/login/LoginScene.lua苹果:// “123.207.42.5”
/Payload/cqsj-mobile.app/kuniu/defServerList.json
/Payload/cqsj-mobile.app/kuniu/netconfig.lua
/Payload/cqsj-mobile.app/kuniu/src/login/LoginScene.luaGM授权后台:
http://IP:88/ht/gm.php
GM码:syymw.com玩家后台:
http://IP:88/ht发送后小退在登陆就有邮件了。
------------------------------------------------------------------------------------
本期教程到此结束。