【剑荡三界/仙梦奇缘/之武道乾坤二开】站长推荐经典唯美3D仙侠剧情动作手游-2023年8月7日最新打包Linux服务端源码视频架设教程-永久本地验证-本地注册-新版多功能GM网页授权后台-用户物品后台-安卓苹果IOS双端
【剑荡三界/仙梦奇缘/之武道乾坤二开】站长推荐经典唯美3D仙侠剧情动作手游-2023年8月7日最新打包Linux服务端源码视频架设教程-永久本地验证-本地注册-新版多功能GM网页授权后台-用户物品后台-安卓苹果IOS双端


































测试系统 CentOS7.6
安装宝塔:
yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh输入y回车确认安装
关闭SSL验证命令
rm -f /www/server/panel/data/ssl.pl && /etc/init.d/bt restart
安装环境:
Nginx1.18
MySQL5.6
PHP5.6开放端口:1:65535
关闭防火墙:
systemctl stop firewalld.service
systemctl disable firewalld.service上传服务端wdqk.zip到根目录/
解压
cd /
unzip wdqk.zip给权限:
chmod -R 777 /jwlc
chmod -R 777 /root
chmod -R 777 /www/wwwroot/game安装java:
cd /root
rpm -ivh jdk-8u144-linux-x64.rpm修改宝塔端口为:5555
创建网站:
域名或IP:81 指向目录 /www/wwwroot/game在宝塔-软件管理-MySQL 5.6-设置-配置修改中第26行添加lower_case_table_names=1 然后服务--重启MYSQL
修改数据库密码为:123456
导入数据库
cd /root
./sk修改服务端文件IP(替换123.207.42.5为你的IP)
/jwlc/LF/serverlist.xml
/jwlc/server1/config.xml
/jwlc/server1/serverlist.xml
/jwlc/server1/battleserverlist.xml/jwlc/server2/config.xml
/jwlc/server2/serverlist.xml
/jwlc/server2/battleserverlist.xml/www/wwwroot/game/getcfg.php
/www/wwwroot/game/getzones.php
/www/wwwroot/game/mine.php
/www/wwwroot/game/selectzone.php解密证书 :
输入指令查看MAC
ifconfigHWaddr后面字符
虚拟机ether后面字符找到自己的MAC后
52:54:00:34:f1:9b
打开解密工具里面的0109.exe
1.点击初始化【选】key.txt
2.点击解密文件【选】com.hoolai.xianmojie.cert 最后保存随意命名
3.修改解密后的文件 把里面改成你自己的MAC
4.加密文件并改名com.hoolai.xianmojie.cert最后把com.hoolai.xianmojie.cert替换到下面路径
\jwlc\LF
\jwlc\server1
\server1\PayTest
\jwlc\server2
\server2\PayTest
替换上面五个地方启动关闭命令:
启动一区
cd /jwlc/server1 && ./start_debug.sh启动二区
cd /jwlc/server2 && ./start_debug.sh启动连服区
cd /jwlc/LF && ./start_debug.sh关闭一区
cd /jwlc/server1 && ./stop_debug.sh关闭二区
cd /jwlc/server2 && ./stop_debug.sh关闭连服区
cd /jwlc/LF && ./stop_debug.sh客户端修改
安卓(替换123.207.42.5为你的IP):
\assets\bin\Data\Managed\Assembly-CSharp.dll
\smali\com\maiy\sdk\util\Constants.smali苹果:替换45.125.56.96为你的IP,12位IP限制
本地.ipa\Payload\jwlc.app\Data\Managed\Metadata\global-metadata.dat
替换 jwlc.aib9952.cn 为你的15位域名或IP
本地.ipa\Payload\jzzh.app\jwlc后台
http://IP:81/gm/ 玩家后台
http://IP:81/gm/gm.php 管理授权后台
GM码:syymw.com
PS:
跨服战场需要10天才可以
如果要测试 跨服功能 可以调整服务器时间 启动以后往后调
调整日期 date -s 2020/09/30
调整时间 date -s 22:00:00活动时间修改:找到数据库session1修改表opevent
------------------------------------------------------------------------------------
本期教程到此结束。