{"id":15108637,"url":"https://github.com/ylmbtm/gameproject3","last_synced_at":"2025-05-14T12:10:02.704Z","repository":{"id":37665305,"uuid":"94722275","full_name":"ylmbtm/GameProject3","owner":"ylmbtm","description":"游戏服务器框架，网络层分别用SocketAPI、Boost Asio、Libuv三种方式实现， 框架内使用共享内存，无锁队列，对象池，内存池来提高服务器性能。还包含一个不断完善的Unity 3D客户端，客户端含大量完整资源，坐骑，宠物，伙伴，装备, 这些均己实现上阵和穿戴, 并可进入副本战斗，多人玩法也己实现, 持续开发中。","archived":false,"fork":false,"pushed_at":"2025-04-28T07:26:07.000Z","size":95257,"stargazers_count":1490,"open_issues_count":2,"forks_count":495,"subscribers_count":64,"default_branch":"master","last_synced_at":"2025-04-28T08:29:47.298Z","etag":null,"topics":["game","game-development","game-engine","game-framework","game-programming","game-server","gamedev","games","gameserver","libuv","mmorpg","multiplayer","rpg","server","unity"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ylmbtm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"custom":["https://wx3.sinaimg.cn/mw1024/79045675gy1gf2d1urmrcj20jg0qodh6.jpg"]}},"created_at":"2017-06-19T00:52:15.000Z","updated_at":"2025-04-28T07:26:11.000Z","dependencies_parsed_at":"2025-04-11T05:09:15.310Z","dependency_job_id":"3a972fcb-6e91-49f9-9426-62f4a98f0b2b","html_url":"https://github.com/ylmbtm/GameProject3","commit_stats":{"total_commits":477,"total_committers":4,"mean_commits":119.25,"dds":"0.014675052410901501","last_synced_commit":"356ff268130006d20022e3f0944ad6d36e4c47bb"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ylmbtm%2FGameProject3","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ylmbtm%2FGameProject3/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ylmbtm%2FGameProject3/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ylmbtm%2FGameProject3/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ylmbtm","download_url":"https://codeload.github.com/ylmbtm/GameProject3/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254140760,"owners_count":22021219,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["game","game-development","game-engine","game-framework","game-programming","game-server","gamedev","games","gameserver","libuv","mmorpg","multiplayer","rpg","server","unity"],"created_at":"2024-09-25T22:20:35.426Z","updated_at":"2025-05-14T12:10:02.682Z","avatar_url":"https://github.com/ylmbtm.png","language":"C++","readme":"Game Engine Frame\n===============\n跨平台的多进程游戏服务器框架，网络层分别使用SocketApi, Boost Asio, Libuv三种方式实现， \n框架内使用共享内存，无锁队列，对象池，内存池来提高服务器性能。\n\n还有一个不断完善的Demo客户端，游戏包含大量完整资源，坐骑，宠物，伙伴，装备, 这些均可上阵和穿戴, 并可进入副本战斗，多人玩法也己实现,\nDemo客户端地址:https://github.com/ylmbtm/DemoClient\n\n #### 服务器部署启动说明\n ##### 1.编译\n\tWindows: 用VisualStudio2017以上版本打开打开解决方案直接进行编译。\n\tLinux  : 执行buildall.sh脚本进行编译  \n##### 2.安装mysql\n\t在机器上安装mysql数据,推荐版mysql5.7版, 安装完成之后，如果不想改配制文件,新建用户root,密码设为123456 (配制文件默认如此)。\n\t然后工程里找到db_create.sql文件，在数据库中执行这个文件，这样完成数据库表就创建。\n##### 3.启动服务器\n\t在完成上面两步这后， 在\\Server目录下有一个StartServer.bat文件，执行bat文件， 然后按提示操作。\n\n#### 服务器角色说明\n\t登录服务器(LoginServer)  说明 : 接受玩家的登录连接， 处理登录请求消息。\n\t账号服务器(AccountServer)说明 : 处理账号登录的验证，新账号的创建，账号的数据库保存。\n\t中心服务器(CenterServer) 说明 : 用于跨服活动， 跨服战需求。\n\t逻辑服务器(LogicServer)  说明 : 处理玩家角色的逻辑数据，处理玩家角色的一般逻辑功能。\n\t游戏服务器(GameServer)   说明 : 处理玩家移动同步，技能，buff等作战功能。\n\t数据服务器(DBServer)     说明 : 作为逻辑服和mysql数据库之间的代理服务器，负责定期将玩家的数据写入数据库。\n\t网关服务器(ProxyServer)  说明 : 作为客户端和逻辑服，战场服之间的中转服务器，主要负责消息的转发。\n\t日志服务器(LogServer)    说明 : 日志服务器 主要负责逻辑服运营日志的写入mysql数据库。\n\t监视服务器(WatchServer)  说明 : 主要负责接受WEB后台的控制命令， 控制服务器。\n\n#### 文档与教程\n1.群友 Binaryhobart(450282550) 提供的视频搭建教程 [教程地址](https://www.bilibili.com/video/BV1k5411s7Vf?from=search\u0026seid=3304544258866101487)\n\ngitee地址: https://gitee.com/ylmbtm/GameProject3\n\n交流QQ群 : 962315897\n公众号:![public1](https://github.com/ylmbtm/resource/blob/master/20210818175029.png)\n![public1](https://wx1.sinaimg.cn/mw2000/002dp2Ulgy1gvofyue87sj6065065wf602.jpg)\n\n\n#### 体验客户端效果(群文件中有全部客户端代码及资源)\n![login1](https://github.com/ylmbtm/resource/blob/master/01.png)\n![login2](https://github.com/ylmbtm/resource/blob/master/02.png)\n![login3](https://github.com/ylmbtm/resource/blob/master/03.png)\n![login4](https://github.com/ylmbtm/resource/blob/master/04.png)\n\n\n","funding_links":["https://wx3.sinaimg.cn/mw1024/79045675gy1gf2d1urmrcj20jg0qodh6.jpg"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fylmbtm%2Fgameproject3","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fylmbtm%2Fgameproject3","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fylmbtm%2Fgameproject3/lists"}