====================================================================
【阿拉德之暴怒-大马猴】 linux手工端教程
默认IP www.bqrwl.cn
服务器系统 linux 7.x
安装宝塔
yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh
安装
nginx1.20
mysql 10.2 (修改配置里边的内容全部替换为 数据库配置.txt里边的内容)
php7.1 (安装扩展 sg11 和 redis)
Redis 6.2.6
PM2管理器
放行端口 端口开放1:65535或 关闭防护墙
systemctl stop firewalld.service
systemctl disable firewalld.service
上传服务端bqrwl.cn.zip到服务器根目录
解压
cd /
unzip bqrwl.cn.zip
给777权限
chmod -R 777 /home/
chmod -R 777 /www/wwwroot/bqrwl.cn
修改数据库密码为 bqrwl.cn
修改数据库 demoald.sql 的 IP
导入数据库
cd /home
./sk
执行
cd /usr/lib64/
rm -rf libstdc++.so.6
ln -s libstdc++.so.6.0.21 libstdc++.so.6
ldconfig
服务端IP修改
homerootpre-publish-newserver_resUdpConnServerUdpConnServer.cfg
homerootpre-publish-newserver_resAdminServerNetAddress.xml
homerootpre-publish-newserver_resConfigUdpServer.xml
homerootpre-publish-newserver_resRelayServerRelayServer.cfg
homerootpre-publish-newserver_resRelayServerServersAddress.xml
网站修改
/www/wwwroot/bqrwl.cn/public/bqrht/user/config.php
打开/etc/profile文件 在53行下面添加
export PATH=”$PATH:/home/root/pre-publish-new/server_res/bin”
创建网站 目录 /www/wwwroot/bqrwl.cn
运行目录 /public
设置伪静态 thinkPHP
关闭防跨站
修改热更文件包
/www/wwwroot/bqrwl.cn/public/assetnt/android/zip/1.39.1.239178
package-1.39.1.237578-1.39.1.239178.zip
/www/wwwroot/bqrwl.cn/public/assetnt/ios/zip/1.39.1.239178
package-1.39.1.237578-1.39.1.239178.zip
内的 environment_serverlist_xml.pck 文件IP 注意对位 www.bqrwl.cn/////
替换进去 生成文件MD5 修改 package-1.39.1.237578-1.39.1.239178.txt MD5值
宝塔配置PM2管理器
启动文件
/home/root/pre-publish-new/server_res/gmald/src/app.js
启动游戏
cd /home/root/pre-publish-new/server_res
./run.sh
停止游戏
cd /home/root/pre-publish-new/server_res
./stop.sh
查看端口netstat -lntp
10001,18009
有这两个端口团本就启动成功了
启动团本服务1
cd /home/root/pre-publish-new/server_res/TCSRecordServer
./TCSRecordServer
启动团本服务2
cd /home/root/pre-publish-new/server_res/TeamCopyServer
./TeamCopyServer
——————————————————完美的分割线———————————————————
客户端修改IP
安卓
assetsupdateserver.json
smalicommgbasenetConstant.smali
smalicommgpaycb.smali
smalicommgpaynetb.smali
smalicommgpayuif.smali
smalicommgpayutilso.smali
苹果
Payload/test.app/test 搜索www.bqrwl.cn/// 5个ip自己对位替换
Payload/test.app/data/raw/updateserver.json修改热更ip
玩家注册: http://你的IP/index/Reg?agent=bqrwl1
玩家中心: http://你的IP/index/login.html
总后台地址
http://你的IP/admin/Index.html 验证码:abc
账号 dac123 密码 dac123
GM密码 bqrwl.cn
代理登录 http://你的IP/agent
后台登录的验证码是abc而不是随机生成那个
GM发货后台
http://你的IP/bqrht/gm.php
GM码:bqrwl.cn
玩家后台
http://你的IP/bqrht/index.php
宣传页:http://你的IP/syxc/game/index
=========================================================================
自己就是神 » 阿拉德4.6 商业端
常见问题FAQ
Warning: Invalid argument supplied for foreach() in D:\PHPCUSTOM\wwwroot\igod\wwwroot\wp-content\themes\huzao-child\parts\author-box.php on line 12