传奇传世复古资源的暂存站!

传世手游源码android_ios编译教程完整版

8.5玩家评分(1人评分)
下载后可评
介绍 评论 失效链接反馈

# MirWorld

#### 介绍
# 传奇世界

#### 软件架构

软件架构说明
远程测试服地址
```47.75.161.201```

Mysql数据库
```默认账号root```
```默认密码123456```

##### 第一次拉取git 需要拉去子模块
```git submodule update --init --recursive```
##### 以后更新用
```git pull && git submodule foreach --recursive git pull```

#### 安装教程

1. xxxx
2. xxxx
3. xxxx

#### 使用说明

1. xxxx
2. xxxx
3. xxxx

#### 参与贡献

1. Fork 本仓库
2. 新建 Feat_xxx 分支
3. 提交代码
4. 新建 Pull Request

#### 码云特技

1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md
2. 码云官方博客 [blog.gitee.com](https://blog.gitee.com)
3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解码云上的优秀开源项目
4. [GVP](https://gitee.com/gvp) 全称是码云最有价值开源项目,是码云综合评定出的优秀开源项目
5. 码云官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help)
6. 码云封面人物是一档用来展示码云会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)

 

本项目客戶端是基于cocos2d-x v3.9+lua版本开发的
后台开发: PHP
服务端开发: C++
cocos相关历史版本下载地址:
https://github.com/fusijie/Cocos-Resource
https://github.com/cocos2d/cocos2d-x/releases

客户端编译脚本目录:client/build
客户端工程编译目录:client/frameworks/runtime-src
客户端C++源文件:client/frameworks/runtime-src/Classes
客户端美术素材目录:client/kuniu/res
客户端lua脚本目录:client/kuniu/src
客户端地图文件目录:client/kuniu/res/mapnew
服务端脚本文件:server/publish
server/sbin/scripts
服务端数据库文件:erver/dbx
Android打包:
Android打包工程支持android studio,也支持Eclipse!
在client/frameworks/runtime-src目录内自由选择!
建议使用Eclipse,工程内已经有现成的脚本,原项目组就是用的Eclipse编译Android!
NDK默认用android-ndk-r10c,如果出现版本不兼容请使用低版本如:r9d,千万不要使用高版本的NDK!
打开以下bat文件,修改里面相关路径等,依次运行即可!
1. build_c++.bat
2. build_patch.bat
3. build_apk.bat
iOS打包:
ios直接使用xcode打开
client/frameworks/runtime-src/proj.ios_mac/cqsj.xcodeproj工程文件进行编译,记得一定要提前下载好cocos2dx库文件并导入!
编译的过程如果出现库文件报错,请按照下列方法解决:
xcode 10 'string' file not found C++头文件缺失问题
将对应文件拷贝到Xcode10对应目录下
真机:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/c++
模拟器:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/include/c++
Xcode9 C++头文件github链接:https://github.com/DeCori/Xcode9-cpp
1. 编译的时候如果出现unexpected service error: The Xcode build system has crashed. Please close and reopen your workspace.
请按照以下步骤进行修复:
2. 删除DerivedData
3. 设置:File -> Workspace Settings -> Build System -> Legacy Build Sysem
3. 关闭xcode重新打开
服务器部署说明:
先编译libevent库,然后编译WorldEngine、WorldFrame
server/world/build
再编译CenterServer、DirServer、GameGateway、ListenServer、NameServer、SessionServer。
/MirWorldServerSrc/server/server/build
最后运行脚本:
server/sbin

 

评论

发表评论必须先登陆, 您可以 登陆 或者 注册新账号 !


在线咨询: 问题反馈
客服QQ:174666394

有问题请留言,看到后及时答复