【阿拉德之怒之新·勇士阿拉德最终版】站长推荐经典横版格斗闯关动作手游-2023年5月16日最新打包Linux服务端源码视频架设教程-全功能管理后台-已对接好内充-新GM授权后台-安卓苹果IOS双端版本!
【阿拉德之怒之新·勇士阿拉德最终版】站长推荐经典横版格斗闯关动作手游-2023年5月16日最新打包Linux服务端源码视频架设教程-全功能管理后台-已对接好内充-新GM授权后台-安卓苹果IOS双端版本!
https://www.ixigua.com/7227861625317884451?utm_source=xiguastudio
上面视频教程链接如果失效,请在源码包内观看超清视频教程!
上面视频教程链接如果失效,请在源码包内观看超清视频教程!
上面视频教程链接如果失效,请在源码包内观看超清视频教程!


























































测试系统:centos 7.6
--------------------------------------------------------------------------------------------
教程演示虚拟机地址:43.139.129.244 外网和局域网类似
组队 PK需要放行UDP端口(在服务器控制面板,安全组里面放行。不是在宝塔放行)
安全组放行规则
TCP:1-65535
UDP:1-65535安装宝塔直接运行命令即可。
yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh
输入y回车确认安装
输入n回车取消开启SSL安装环境
nginx1.20
MySQL5.6
PHP7.1(安装sg11和Redis扩展)
PM2管理器1、宝塔放行端口:1:65535
或单独打开 自行抓包
关闭防火墙
systemctl stop firewalld
systemctl disable firewalld防火墙不关闭也行
PS:如果使用腾讯云或阿里云记得把控制台的端口也打开
2、上传syymwcom.tar.gz到服务器根目录(根目录不是root目录!!使用WinSCP或其他工具上传数据,也可以直接宝塔传!!)
解压syymwcom.tar.gz
cd /
tar zxvf syymwcom.tar.gz给予 777权限
chmod -R 777 /root/
chmod -R 777 /www/wwwroot/3.环境配置
添加libmysqlclient.so软链接
ln -s /www/server/mysql/lib/libmysqlclient.so /usr/lib64/libmysqlclient.so
ldconfig安装gcc5.2环境
cd /root
wget --no-check-certificate https://copr.fedoraproject.org/coprs/hhorak/devtoolset-4-rebuild-bootstrap/repo/epel-6/hhorak-devtoolset-4-rebuild-bootstrap-epel-6.repo -O /etc/yum.repos.d/devtoolset-4.repo上面是一条命令!!!全部复制粘贴!
yum install compat-libgmp-4.3.1-1.sl7.x86_64.rpm -y
yum install compat-libmpfr-2.4.1-1.sl7.x86_64.rpm -y
yum install devtoolset-4-gcc devtoolset-4-gcc-c++ devtoolset-4-binutils -y
scl enable devtoolset-4 bash
修改root目录的.bashrc文件,添加如下内容:
source /opt/rh/devtoolset-4/enable4、设置数据库密码为:syymw.com(在宝塔直接设置,修改后点下 从服务器获取看看改成功没!提示数据库密码错误就在改一次,直到能获取到0个)
先修改配置吧!
修改数据库配置文件 为 “数据库配置.txt” 内的内容
重启数据库
修改数据库 搜索:43.139.129.244
\root\sql\demoald.sql 的 IP命令行输入
cd /root
./sk数据库创建结束。可以通过宝塔查看是否创建成功。(数据库 - 点击 从服务器获取 获取到11个就正确的)
运行后为了安全可以把 sk 文件删除
6、搭建网站
新建一个网站-你的ip:端口 或域名:端口
有端口就添加端口这里的端口:8 (你也可以用其他的端口,不过就需要对应客户端都改)
网站目录设置/www/wwwroot/game
运行目录 /public
设置伪静态 thinkPHP
关闭防跨站--------------------------------------
7、服务端和网站修改 43.139.129.244修改为你的IP服务端修改:
/root/platform/Config/UdpServer.xml
/root/platform/CenterServer/CenterServer.cfg
/root/platform/RelayServer/RelayServer.cfg
/root/platform/RelayServer1/RelayServer.cfg
/root/platform/UdpConnServer/UdpConnServer.cfg
/root/platform/UdpConnServer1/UdpConnServer.cfg
/root/s1/AdminServer/AdminServer.cfg
/root/s1/AdminServer/NetAddress.xml
/root/s1/Config/UdpServer.xml到此算服务端就可以了
7、启动游戏服务
宝塔配置PM2管理器
启动文件
/www/wwwroot/gmald/src/app.jsPS:PM2添加项目出错解决方法
更换Node版本为v16以上游戏总是掉线的解决办法:
PM2添加的项目内存 加大启动游戏
启动platform服务
cd /root/platform
./run.sh启动一区
cd /root/s1
./run.sh关闭游戏
关闭platform服务
cd /root/platform
./stop.sh关闭一区
cd /root/s1
./stop.sh启动后可以通过
端口查看命令 netstat -lntp8、客户端修改
安卓:改 “www.ymui.cn”
assets/updateserver.json
assets/bin/Data/Managed/Assembly-CSharp.dll苹果:改 “www1.syymw.com” 位数不够补正斜杠“/”位数超出用同位数域名代替!
服务端加了端口,客户端也要同步服务端端口
\Payload\hiycald.app\Data\Raw\updateserver.json
\Payload\hiycald.app\Data\Managed\Metadata\global-metadata.dat注册账号
邀请码:syymwcom总后台:
http://ip:8/admin/Login.html
账号:syymw666
密码:dac123GM后台:
http://ip:8/gmht/gm.php
GM码:syymw.com
1. 本站所有资源来源于用户上传和网络,如有侵权请联系站长!
2. 分享目的仅供大家学习和交流,您必须在下载后24小时内删除!
3. 不得使用于非法商业用途,不得违反国家法律。否则后果自负!
4. 本站提供的源码、模板、插件等等其他资源,都不包含技术服务请大家谅解!
5. 如有链接无法下载、失效或广告,请联系管理员处理!
6. 本站资源售价只是赞助,收取费用仅维持本站的日常运营所需!
7. 如遇到加密压缩包,请使用WINRAR解压,如遇到无法解压的请联系管理员!
8. 精力有限,不少源码未能详细测试(解密),不能分辨部分源码是病毒还是误报,所以没有进行任何修改,大家使用前请进行甄别!
教热门 » 【阿拉德之怒之新·勇士阿拉德最终版】站长推荐经典横版格斗闯关动作手游-2023年5月16日最新打包Linux服务端源码视频架设教程-全功能管理后台-已对接好内充-新GM授权后台-安卓苹果IOS双端版本!