Code Monkey home page Code Monkey logo

ssbagun / gameproject3 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ylmbtm/gameproject3

0.0 1.0 0.0 75.59 MB

跨平台的游戏服务器框架,支持多进程分布式部署,支持Lua脚本,还包含一个资源丰富U3D体验客户端,持续开发中。

C# 28.11% ShaderLab 0.64% JavaScript 0.07% HLSL 0.05% Smalltalk 0.02% XSLT 0.49% Batchfile 0.03% Lua 1.33% Python 0.08% Makefile 0.06% C 4.36% C++ 63.78% Pascal 0.19% Shell 0.04% Objective-C 0.66% TSQL 0.09%

gameproject3's Introduction

Game Engine Frame

跨平台的多进程游戏服务器框架,支持windows(iocp)和linux(epoll)。

ServerEngine有三个版本:
ServerEgine: 基于Socket API实现。
ServerEgine_asio: 基于boost的库ASIO实现。
ServerEgine_libuv: 基于开源的网络库libuv实现。

email : [email protected] QQ群 : 45139128

在群文件中有Demo客户端代码和资源.

1.服务器基本结构

结构

2.服务器功能说明

1.登录服务器(LoginServer)

说明: 接受玩家的登录连接, 处理登录请求消息

2.账号服务器(AccountServer)

说明: 处理账号登录的验证,新账号的创建,账号的数据库保存

3.中心服务器(CenterServer)

说明: 用于跨服活动, 跨服战需求

4.逻辑服务器(LogicServer)

说明: 处理玩家角色的逻辑数据,处理玩家角色的一般逻辑功能。

5.战斗/副本/战场/服务器(GameServer)

说明: 战场服务器, 副本,大世界,战斗的支持服务器, 处理玩家移动同步,技能,buff等作战功能。

6.DB服务器(DBServer)

说明: 作为逻辑服和mysql数据库之间的代理服务器,负责定期将玩家的数据写入数据库。

7.网关服务器(ProxyServer)

说明: 作为客户端和逻辑服,战场服之间的中转服务器,主要负责消息的转发。

8.日志服务器(LogServer)

说明: 日志服务器 主要负责逻辑服运营日志的写入mysql数据库。

9.监视服务器(WatchServer)

说明: 主要负责接受WEB后台的控制命令, 启动服务器, 关闭服务器,监视服务器状态,  更新服务器程序和配制。

3.体验客户端效果(加群可以获取全部客户端代码及资源)

login1 login2 login3 login4 login5

gameproject3's People

Contributors

ylmbtm avatar qq587282 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.