1
I Use This!
Activity Not Available

Project Summary

什么是KBEngine?

KBEngine: 我正在开发的个人项目。 KBEngine包含了基于linux操作系统的服务器端和封装了强大的开源渲染引擎ogre的客户端。

服务器端分为: dbmgr: 这个程序主要是用来处理游戏的数据库部分,它封装了mysql++,能够很方便的完成各种数据库操作。

baseappmgr: 主要是用来负责处理所有的baseapp的工作分配, 以及整个游戏的entityID分配等等。服务器上会有一个或者多个baseapp,主要看使用者如何配置。

cellappmgr: 负责所有cellapp的工作分配,包括负载均衡处理。服务器上会有一个或者多个cellapp,主要看使用者如何配置。

loginapp: 它只处理client的登录排队与检查帐号, 帐号合法就会从baseappmgr得到一个baseapp的地址发给客户端,然后就与客户端断开 连接。

baseapp: baseappmgr将一个client分配给它之后, 它才接受某个帐号登陆, 登陆后就会将client分配到一个合适的cellapp,一个帐号登陆到baseapp之后就不会再改变,这个baseapp会一直维护这个帐号,直到与他断开连接。当然baseapp还会处理很多的东西,例如:entity需要存储到数据库的数据会定时给dbmgr处理, 备份entity cell部分的相关数据,space系统调度等等。客户端与服务器的通讯 只能通过baseapp来完成。

cellapp: 一个cellapp负责处理一个或者多个space,当某个space消耗达到cellapp快无法承受时, 服务器会让比较轻松的cellapp与它一起分担消耗, 也就是说也会出现多个cellapp维护一个space。整个游戏的逻辑部分也在cellapp, 包括aoi等等。

客户端: 客户端封装了开源的渲染引擎ogre来实现图形表现部分, 其他部分也没什么好说的。

脚本: 使用python,和bw一样的用户编程环境。

上面各个部分说的不是特别的清楚, 但他们大概是这样工作的, 目前我已经完成了服务器 client(部分框架), loginapp, dbmgr, baseappmgr, baseapp(部分框架)。 在继续写的过程中可能会涉及到更多的东西。 KBEngine这套模式是根据bigworld使用经验来写的,bigworld我已经用了3年了,我觉得他的模式很不错,所以我决定自己 去尝试实现, 虽然任务艰难, 我还是要前进:)

希望能够让服务器全部运作起来, 到那时再考虑如何开源, 如何让朋友们参与进来。

Tags

kbengine kebiao liquidx mmorpg

In a Nutshell, kbengine...

 No code available to analyze

Open Hub computes statistics on FOSS projects by examining source code and commit history in source code management systems. This project has no code locations, and so Open Hub cannot perform this analysis

Is this project's source code hosted in a publicly available repository? Do you know the URL? If you do, click the button below and tell us so that Open Hub can generate statistics! It's fast and easy - try it and see!

Add a code location

Artistic License/GPL
Permitted

Commercial Use

Modify

Distribute

Forbidden

Use Trademarks

Hold Liable

Required

State Changes

These details are provided for information only. No information here is legal advice and should not be used as such.

All Licenses

This Project has No vulnerabilities Reported Against it

Did You Know...

  • ...
    Black Duck offers a free trial so you can discover if there are open source vulnerabilities in your code
  • ...
    check out hot projects on the Open Hub
  • ...
    nearly 1 in 3 companies have no process for identifying, tracking, or remediating known open source vulnerabilities
  • ...
    learn about Open Hub updates and features on the Open Hub blog

 No code available to analyze

Open Hub computes statistics on FOSS projects by examining source code and commit history in source code management systems. This project has no code locations, and so Open Hub cannot perform this analysis

Is this project's source code hosted in a publicly available repository? Do you know the URL? If you do, click the button below and tell us so that Open Hub can generate statistics! It's fast and easy - try it and see!

Add a code location

Community Rating

Be the first to rate this project
Click to add your rating
   Spinner
Review this Project!
Sample ohloh analysis