【悟空资源网】

 找回密码
 注册

QQ登录

逍遥西游-龙兔整理端-linux手工详情架设教程

  [复制链接]
发表于 2021-8-27 19:57:57 | 显示全部楼层 |阅读模式

centos7.2 64位
安装宝塔
yum install -y wget && wget -O install.sh http://download.bt.cn/install/install.sh && sh install.sh

宝塔安装ngx1.14 mysql5.6 php5.6

开放所有端口1:65535  数据库root的密码设置为123456
xy文件内的文件压缩后得到xy.zip  

把xy.zip上传到根目录  

网站指向路径为www/wwwroot

创建数据库sdktest  导入sdktest.sql


systemctl stop firewalld.service            #停止firewall
systemctl disable firewalld.service        #禁止firewall开机启动

cd /home

chmod -R 777 /home

yum -y install gcc gcc-c++

yum install make -y

yum install readline-devel.x86_64 -y

cd lua-5.2.3

make linux

make install


chmod -R 777 /usr/local

宝塔内单独给下面文件777权限

cd /etc   这个文件单独redis6001.conf   777权限



修改/home/nomogaserver/accountcenter/src/gamelogic/config/serverlists/serverlistxiyou_final_md.lua文件

修改\www\wwwroot\sdk.php

修改\www\wwwroot\xiyou\ver_test1.txt  ver_test.txt

mysql -uroot -p123456

GRANT ALL PRIVILEGES ON *.* TO 'root'@'127.0.0.1' IDENTIFIED BY '123456' WITH GRANT OPTION;

FLUSH   PRIVILEGES;

exit


启动游戏
/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 start

cd /home/nomogaserver && ./payserver.sh start

cd /home/server1 && ./nomogaserver2.sh start

cd /home/server1 && ./nomogaserver1.sh start



客户端修改


解密加密文件夹里面
Update.GameUpdate.lua  ip修改
修改完成后用加密工具 加密 会生成一个 Update.GameUpdate
把Update.GameUpdate扔回客户端com.mh.dfxy\assets\res\目录下
以及com.mh.dfxy\assets\res\script.zip 压缩包内
修改这里的 AndroidManifest.xml  里面ip



然后编译 签名  苹果只需要修改Update.GameUpdate 可直接替换安卓的
-----------------------------------------------------------------------



-----------------------------------------------------------------------
或者看教程:
http://www.men.cc/thread-29577-1-1.html

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|【悟空资源网】 ( 桂ICP备2022002215号-1 )

GMT+8, 2024-4-25 04:42 , Processed in 0.070054 second(s), 24 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2012 Comsenz Inc. Template by A3cn

返回顶部