注册登录后全站资源免费查看下载
您需要 登录 才可以下载或查看,没有账号?立即注册
×
本游戏经过测试,在腾讯轻量云完美测试运行。幽冥传奇系列手游【三职业美杜莎传奇】详细搭建教程。

详细信息:视频教程:有
搭建难度:★★★☆☆
源码大小:1.60G
是否支持双端:安卓端+PC微端
游戏截图:






源码下载地址:
搭建教程:服务端搭建:
我测试搭建的系统为:windows server 2012 64位 配置2H2G
1.在服务器面板放通安全组(或者叫防火墙)
- # 放通1-65535的TCP端口
- 1-65535
复制代码2.自行在服务器上自己下载个百度云网盘,下个解压软件,下载游戏源码并解压。游戏源码需要搭建在D盘,阿里云腾讯云装的windows系统都只有C盘,因此小伙伴们先对照这篇文章给自己服务器硬盘分个区:
3.安装环境: - 来到路径:D:\YMCQ\环境先手动安装以下环境。(全部装默认路径)
- N++ Setup_v7.7.1.0.exe
- 必备环境.exe
复制代码4.修改服务端IP:
- D:\YMCQ\www\args.php
- D:\YMCQ\www\api\notice.php
- D:\YMCQ\build_pub\Server1\LogicServer\crossserver.txt
- D:\YMCQ\build_pub\Server1\DBServer\crossserver.txt
- D:\YMCQ\build_pub\Server2\LogicServer\crossserver.txt
- D:\YMCQ\build_pub\Server2\DBServer\crossserver.txt
- D:\YMCQ\build_pub\Server999\LogicServer\crossserver.txt
- D:\YMCQ\build_pub\Server999\DBServer\crossserver.txt
复制代码- 搜索IP192.168.1.111替换成自己服务器的IP地址,选择替换所有打开文件,然后保存即可。

一共是16项,每个都要替换,不然玩不了!!!
5.启动服务端:
- [1]启动数据
- [2]启动服务
- [3]启动一区
- [4]启动二区
- [5]启动跨服
复制代码
(游戏启动成功截图,加载了排行榜就说明大区启动结束)
客户端搭建:
安卓端修改:首先确定自己电脑的JAVA JDK环境是否安装正常。
6.使用压缩软件打开美杜莎客户端.apk找到以下路径,单独把下列的.lua文件解压出来,使用Notepad++打开,搜索192.168.1.111替换成自己服务器IP
- assets\data\scripts\platform\platform_adapter.lua
- assets\data\scripts\platform\windows\platform_adapter.lua
复制代码- 最后把改好的2个.lua拖拽回压缩包,使用apktool单独签个名就完成了。
PC微端修改:7.首先把pc微端.zip解压到自己电脑的D盘根目录下。然后找到以下路径文件,使用Notepad++打开: - D:\ym\assets\scripts\platform\platform_adapter.lua
- D:\ym\assets\scripts\platform\windows\platform_adapter.lua
复制代码- 搜索IP192.168.1.111替换成自己服务器的IP,保存即可 非常简单。
- 运行微端D:\ym\bin\client.exe

(运行成功截图)
GM后台地址:
- GM后台:http://ip:88/admin
- GM码:west2.cn
- 运营后台:http://ip:88/gameback
- 账号:admin
- 密码:lai123456
复制代码 其他修改:
- 上线赠送VIP,元宝,绑定元宝和金币的设置教程(非数据库修改)
- 修改每个server下面的DefaultConfig.lua文件
- \build_pub\Server1\LogicServer\data\config\ActorEvent\DefaultConfig.lua
- \build_pub\Server2\LogicServer\data\config\ActorEvent\DefaultConfig.lua
- \build_pub\Server999\LogicServer\data\config\ActorEvent\DefaultConfig.lua
- 开服时间设置
- \build_pub\Server1\LogicServer\LogicServer.txt
- \build_pub\Server2\LogicServer\LogicServer.txt
复制代码
结束语:
现在所有的功能都搞好了,如果您觉得不错,还请支持一下哦~
|