|
- 关闭防火墙
- chkconfig iptables off
- 立即生效
- service iptables stop
- 安装宝塔
- yum install -y wget && wget -O install.sh http://download.bt.cn/install/install.sh && sh install.sh
- 宝塔安装Nginx1.14 php5.4 mysql5.6
- 上传mhxy.zip 并解压.....
- 设置数据库密码为123456
- cd /
- mysql -uroot -p123456
- grant all privileges on *.* to 'root'@'%' identified by '123456';
- create database mt3 DEFAULT CHARACTER SET utf8; 创建分区数据库
- flush privileges; #
- use mt3
- 导入数据库
- source /mt3.sql (需要一个mt3.sql,mt3.sql上传根目录)
- exit;
- cd /
- rpm -ivh jdk-8u144-linux-x64.rpm
- chmod -R 7777 /home
- 网站:路径 www/wwwro/mhxy
- 两个修改列表IP目录
- wwwroot/mt3servers
- wwwroot/server
- 列表IP:serverlist.html
- {
- "I": "1",
- "D": "1101961001",
- "A": "梦幻西游",
- "N": "测试区",
- "P": "106.53.77.88",
- "T": "10003",
- "S": "2",
- "B": "1",
- "C": "0",
- "KS": "0000-00-00 00:00:00",
- "NS": "-1"
- }
- 数据库密码记修改:mt3token.php
- 本地验证数据库密码修改 “config.php”
- 启动命令:
- cd /home/mt3
- ./s.sh
- gm:
- http://1111111.78yx.top/ht/gggggm.html gm码123456
- 玩家授权后台:http://1111111.78yx.top/ht/ 和 http://1111111.78yx.top/ht/zz.html
- --------------------------修改安卓客户端---------------------------------------------------------
- \Work\com.locojoy.wjmt3.baidu\lib\armeabi-v7a
- 里头有个libgame.so文件,把它剪切出来,用UE编辑器,也就是Uedit32.exe打开它
- 搜索getRecruitSuccess 看到http后面的 域名或者ip 改你自己的。
- 回到ApkIDE3.3.5,点击编译,编译生成apk
- --------------------------修改苹果客户端---------------------------------------------------------
- 用好压 直接用好压打开 梦幻西游苹果端.ipa\Payload\mt3.app\res
- 找到1912606767 文件 拖出来 用N+++打开
- 修改
- VoiceServerAddress=
- HttpServerAddressPlatForm=
- HttpServerAddressNewWarn=
|
|