【九州仙侠传2修复版】经典仙侠剧情角色扮演类三网H5手游-2023年4月15日最新打包Linux服务端源码视频架设教程-附带安卓端-完善总运营后台-完整GM后台工具!
【九州仙侠传2修复版】经典仙侠剧情角色扮演类三网H5手游-2023年4月15日最新打包Linux服务端源码视频架设教程-附带安卓端-完善总运营后台-完整GM后台工具!
https://www.ixigua.com/7222693479435436579?utm_source=xiguastudio














































测试系统 CentOS 7.6
安装宝塔
yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh
输入y回车确认安装
输入n回车取消开启SSL安装环境
nginx1.18
安装 mysql5.6
编译安装 php5.6 这里是编译安装
安装 redis
PHP安装 redis swoole 拓展开放端口:1:65535
关闭防火墙
systemctl stop firewalld.service
systemctl disable firewalld.service上传服务端jzxxz.zip到根目录
解压
cd /
unzip jzxx2.zip遇到提示输入A回车
给予权限
chmod -R 777 /home/安装所需环境 命令运行
yum install bzip2 bzip2-devel readline-devel libxml2-devel libxml2 openssl openssl-devel gcc make curl-devel -y编译 libmcrypt 命令运行
cd /root
tar -zxvf libmcrypt-2.5.7.tar.gzcd libmcrypt-2.5.7
./configure --prefix=/usr/localmake && make install
修改/etc/ld.so.conf配置文件
添加 /usr/local/lib命令运行
ldconfig修改PHP/php.ini 文件
/www/server/php/56/etc/php.ini
在最后加入
[msgpack]
extension = /www/server/php/56/lib/php/extensions/no-debug-non-zts-20131226/msgpack.so
重载配置
重启php解压:命令运行
cd /root
tar -xvf node-v10.16.3-linux-x64.tar.xz -C /usr/local/添加目录 命令运行
ln -s /usr/local/node-v10.16.3-linux-x64/bin/node /usr/bin/node
ln -s /usr/local/node-v10.16.3-linux-x64/bin/npm /usr/bin/npm修改IP: 将里面的IP 192.144.234.130 替换为你自己服务器的IP
\home\server\init_game.sh
\home\admin_www\center\includes\Config.php
\home\web\init_utils.js
\home\web\loading.html
\home\web\resource\bsysdk.js修改数据库密码:123456
修改数据库 backstage.sql 将里面的IP 43.139.129.244 替换为你自己服务器的IP
/home/sql/backstage.sql
导入数据库
cd /home
./sk创建网站、网站关闭防跨站
IP:88端口配置到 /home/Web 前端代码位置 修改你ip
yzf.sdk:82端口配置到/home/admin_www/api/sdk 前端与服务端链接 复制创建
yzf.gm:8666端口配置到/home/admin_www/ 游戏后台 复制创建
yzf.cdk:84端口配置到/home/callback/ 游戏后台 复制创建
重启php43.139.129.244:81|/home/Web|0|0|56
127.0.0.1:82|/home/admin_www/api/sdk|0|0|56
127.0.0.1.0:8666|/home/admin_www/|0|0|56
127.0.0.1.0.0:84|/home/callback/|0|0|56服务端基本上是结束了
下面我们启动游戏
生成1区
并自动启动
cd /home/server/
./init_game.sh 1启动游戏
cd /home/server/
./restartgame.sh 重启游戏
./restartgame.sh 重启游戏
./restartcross.sh 重启子跨服
./restartcross_t.sh 重启跨服大区或者
单独启动游戏服
/home/server/publish/s1
node start 启动游戏
node start 停止游戏/home/server/publish/cross0
node start_cross 启动子跨服
node stop_cross 停止子跨服
/home/server/publish/cross_t0
node start_cross_t 启动跨服大区
node stop_cross_t 停止跨服大区PS:
后台地址:ip:8666 账号 1 密码1
平台币后台:ip:88/ht 账号 1 密码1GM清包后台:
ip:88/gm/gm.php
GM码:syymw.com客户端修改:
\assets\apps\H5B4543F5\www\manifest.json
【九州天下】创建角色初始赠送修改
/home/dev/server/2019030801/config/loginserver/registeconfig.xml1680000
66660000
0
0
34
这个游戏数据不是在数据库里面,而是在redis里面,所以你光删除数据库没用,下面说删档方法:
首先连接服务器,停止游戏,然后输入命令:cd /bin 回车,然后再输入命令:./redis-cli -h 127.0.0.1 -p 6379 回车,此时就进入redis数据库了,前面显示为127.0.0.1:6379> ,然后接着输入命令:flushall 回车,会提示OK,然后exit退出redis,然后再启动游戏进游戏就行了。
game_1 清空
========================================================
------------------------------------------------------------------------------------
本期教程到此结束。
21238.html
1、本站资源都是白菜价出售,同样的东西,我们不卖几百,也不卖几十,甚至才卖几块钱,一个永久会员能下载全站100%源码了,所以单独购买也好,会员也好均不提供相关技术服务。
2、如果源码下载地址失效请/联系站长QQ进行补发。
3、本站所有资源仅用于学习及研究使用,请必须在24小时内删除所下载资源,切勿用于商业用途,否则由此引发的法律纠纷及连带责任本站和发布者概不承担。资源除标明原创外均来自网络整理,版权归原作者或本站特约原创作者所有,如侵犯到您权益请联系本站删除!
4、本站站内提供的所有可下载资源(软件等等)本站保证未做任何负面改动(不包含修复bug和完善功能等正面优化或二次开发);但本网站不能保证资源的准确性、安全性和完整性,用户下载后自行斟酌,我们以交流学习为目的,并不是所有的源码都100%无错或无bug;同时本站用户必须明白,【源码源码ui网】对提供下载的软件等不拥有任何权利(本站原创和特约原创作者除外),其版权归该资源的合法拥有者所有。
5、请您认真阅读上述内容,购买即以为着您同意上述内容。
一站网 » 【九州仙侠传2修复版】经典仙侠剧情角色扮演类三网H5手游-2023年4月15日最新打包Linux服务端源码视频架设教程-附带安卓端-完善总运营后台-完整GM后台工具!