2020最新少年三国志修真版一键端非残端+外网一键端+视频教程+工具包

作者 : 千码网 游戏源码 2020-03-22 共232人阅读

搭建用的centos7.3
安装相关环境装
yum update-y
yum-y install gcc+gcc-c++
yum-y install golang
yum groupinstall”Development Tools”
yum-y install wget unzip
wget–no-check-certificate https://github.com/ideawu/ssdb/archive/master.zip
unzip master
cd ssdb-master
make
make install
在将SSDB以至/usr/local/ssdb下
ln-sf/usr/local/ssdb/ssdb-server/usr/local/bin/ssdb-server
ln-sf/usr/local/ssdb/tools/ssdb-cli/usr/local/bin/ssdb-cli
ln-sf/usr/local/ssdb/tools/ssdb-dump/usr/local/bin/ssdb-dump
ln-sf/usr/local/ssdb/tools/ssdb-repair/usr/local/bin/ssdb-repair
yum install httpd httpd-devel mysql mariadb-server mariadb-devel php php-devel phpmyadmin redis redis-devel php-redis-y
service httpd stopservice mariadb stop
服务端上传至以下目录
home.zip放到/目录
mysql.tgz到/var/lib/文件夹
html.tgz到/var/www/
httpd.tgz到/etc/
cd/
unzip home.zip
chmod-R 777/home/
cd
cd/var/lib/
rm-rf mysql
tar zvxf mysql.tgz
service mariadb start
cd
cd/var/www/
rm-rf html
unzip html.zip
cd/etc/
rm-rf httpd
tar zvxf httpd.tgz
service httpd start
systemctl stop firewalld.service
systemctl disable firewalld.service
winscp打开/etc/hosts
127.0.0.1 localhost localhost.localdomain VM_96_210_centos gw无论什么后面加空格gw
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
service network start
搭建完成了!
reboot
重启一下服务器(强迫症患者)
修改/var/www/目录下的serverlist文件
分区名新开分区网址游戏地址换成你的服务器IP游戏端口
{“data”:[{“id”:101,”name”:”一区”,”login”:”127.0.0.1″,”status”:1,”gateway”:”外网IP局域网IP”,”port”:8118}]}
启动游戏
service httpd start
service mariadb start
/home/start.sh
关闭游戏
/home/stop.sh
外网教程:
修改列表
var/www/html
修改成你自己的ip
6.用改之理改客户端apk
APK修改路径改ip 134.175.244.251为你的ip
assets\scripts\upgrade\config.lua
assets\scripts\app\data\ServerList.lua
assets\scripts\app\platform\testPlatform\TestProxyLayer.lua

改好了直接编译

 

声明:如果标题没有注明"已测试"或者"测试可用"等字样的资源源码均未经过站长测试
千码网 » 2020最新少年三国志修真版一键端非残端+外网一键端+视频教程+工具包