|
大唐阴阳师【手工端】
链接:https://pan.baidu.com/s/1jYVf3VfNaoLuLzH8RdRiOg
提取码【l3le】
qun:https://jq.qq.com/?_wv=1027&k=5iM7uLk
【内含架设教程,更多游戏一起研究】
使用说明
系统: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.16
MySQL5.6 插入 lower_case_table_names=1 保存重启数据库
PHP5.6
-------------------------------------------------------------------------------
宝塔上传文件
gudan.zip到主目录/
设置777权限并且解压
-----------------------------------------
创建网站【81端口】
宝塔 - 网站 - 添加站点 输入IP 根目录/www/gudanba.com
宝塔 - 数据库 - root密码 输入 123456 提交
-----------------------------------------
宝塔 - 安全 - 放行端口 - 添加3306
mysql -u root -p123456
-----------------------------------------
创建数据库用户
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
-----------------------------------------
导入数据库【PS:根据自己操作习惯,不同方式导入】
game
gm
s5001_Bill
s5001_Game
s5001_Log
s5001_Login
s80001_Game
s80001_Log
s80001_Login
u3dgame
-------------------------------------------------------------------------------
关闭防火墙
systemctl stop firewalld.service
systemctl disable firewalld.service
-------------------------------------------------------------------------------
安装环境
yum install glibc* -y
ldconfig
-------------------------------------------------------------------------------
服务端修改【192.168.0.1】【N++文本编辑修改】
/gudanba/server/center/bin/hLoginMS【无需管乱码,N++修改】
/gudanba/server/center/bin/serverlist.xml
/gudanba/server/center/bin/config.xml
/gudanba/server/cross/bin/serverlist.xml
/gudanba/server/game/bin/serverlist.xml
/gudanba/server/game/bin/config.xml
-------------------------------------------------------------------------------
网站修改【192.168.0.1】
web.zip上传到网站目录【并且解压】
5252/configurl
5252/Server/info
5252/Server/list
5252/Server/selectzone
8888/Server/configurl
8888/Server/Server/info
8888/Server/Server/list
8888/Server/Server/selectzone
-------------------------------------------------------------------------------
设置权限
chmod -R 777 /gudanba
chmod -R 777 /www/wwwroot/gudanba.com
-------------------------------------------------------------------------------
虚拟网卡
【PS:只针对内网的云服务器需要的命令】
ifconfig eth0:0 XX.XX.XX.XX netmask 255.255.255.0 up
XX.XX.XX.XX【改为公网IP】
-------------------------------------------------------------------------------
启动游戏
cd /gudanba/server/center
./q
cd /gudanba/server/cross
./q
cd /gudanba/server/game/bin
./q1
停止游戏
cd /gudanba/server/center
./t
cd /gudanba/server/cross
./t
cd /gudanba/server/game/bin
./t1
-------------------------------------------------------------------------------
安卓客户端【改之理少月增强版】
【PS:UE软件修改,位数不符,自行修改网站目录名】
/smali/com/mike/fusionsdk/util/MkUtil.smali
/smali/com/mk/sdk/common/MKMacro.smali
/smali/com/mk/sdk/manager/api/MKPayManager.smali
/smali/com/mk/sdk/manager/api/MKUsersManager.smali
/assets/bin/Data/b1f39d1393ec4324e831bd471f4adbed
苹果客户端
/Payload/hjjx.app/Frameworks/PullSDK.framework/PullSDK
/Payload/hjjx.app/Data/resources.assets
-------------------------------------------------------------------------------
查看端口
netstat -ltnp
-------------------------------------------------------------------------------
WEB后台
http://服务器IP/gm/gm.php
GM密码123456
-------------------------------------------------------------------------------
然后就可以【体验游戏】了
-------------------------------------------------------------------------------
|
|