巅峰西游【手工端】
使用说明系统:Centos 7.*配置2核 4G——————————————————————————-安装宝塔yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh安装nginx-1.15mysql-5.6 23php5.6——————————————————————————-西游.zip上传到/ 【宝塔上传】设置777权限,并且解压——————————————————————————-安装环境yum -y install gcc gcc-c++yum install make -yyum install readline-devel.x86_64 -ycd /home/lua-5.2.3make linuxmake installchmod -R 777 /usr/local/binchmod -R 777 /usr/local/mongodb/etc/redis6001.conf 手动设置7777权限chmod -R 777 /home——————————————————————————-修改路径/home/nomogaserver/accountcenter/src/gamelogic/config/serverlists/serverlistxiyou_final_md.lua/www/wwwroot/sdk.php/www/wwwroot/xiyou/ver_test1.txt ver_test.txt——————————————————————————-宝塔 – 数据库 – root密码 输入 123456 提交宝塔 – 网站 – 添加站点 输入IP 根目录/www/wwwroot/宝塔 – 网站 – 点击IP 绑定域名宝塔 – 安全 – 放行端口 – 添加3306mysql -u root -p隐藏输入 123456 回车创建数据库GRANT ALL PRIVILEGES ON *.* TO ‘root’@’127.0.0.1’ IDENTIFIED BY ‘123456’ WITH GRANT OPTION;FLUSH PRIVILEGES;GRANT ALL PRIVILEGES ON *.* TO ‘root’@’localhost’ IDENTIFIED BY ‘123456’ WITH GRANT OPTION;FLUSH PRIVILEGES;GRANT ALL PRIVILEGES ON *.* TO ‘root’@’%’ IDENTIFIED BY ‘123456’ WITH GRANT OPTION;FLUSH PRIVILEGES;quit导入数据库sdktest——————————————————————————-关闭防火墙systemctl stop firewalld.servicesystemctl disable firewalld.service——————————————————————————-启动游戏/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 startcd /home/nomogaserver && ./payserver.sh startcd /home/server1 && ./nomogaserver2.sh startcd /home/server1 && ./nomogaserver1.sh start——————————————————————————-netstat -ntlp查看进程——————————————————————————-客户端修改Update.GameUpdate.lua ip修改完成后用加密工具 加密 会生成一个 Update.GameUpdate将这个文件丢入 com.mh.dfxy\assets\res 目录下面的 script.zip 压缩包内修改这里的 AndroidManifest.xml ip然后编译 签名 苹果只需要修改Update.GameUpdate 可直接替换安卓的——————————————————————————-