golang游戏服务器 游戏服务器 golang游戏服务器

bobohume2018-11-07 19:17:40 • 11706 次点击    
这是一个分享于 2018-11-07 19:17:40 的项目,其中的信息可能已经有所发展或是发生改变。

goland 游戏服务器架构,mmo架构,ai行为树,配置data

设计之初,建立在actor模式下的;rpc,以及消息驱动,rpc无需注册,支持int,数据,struct(struct必须要注册结构题即可);sql封装简单的orm,具体看demo

websocket模式下,要在net,websocket注视掉如下代码:https://studygolang.com/articles/14842

1.配置golang的gopath和goroot

2.bin目录下的sxz_server.cfg配置数据库以及端口

3.数据库在sql文件目录下生产

4.win下执行build.bat,start.bat

5.linux下执行build.sh,start.sh

Latest commit to the undefined branch on unknown
Download as zip
授权协议:
开发语言:
go 查看源码»
11706 次点击  ∙  1 赞  
加入收藏 微博
4 回复  |  直到
l7l1l0l
l7l1l0l · #1 · 6年之前

并没有多少提交记录,有没有项目在使用?

bobohume
bobohume · #2 · 6年之前

有的,mmorpg在用,提交记录别太看,我会跟新稳定的上去

bobohume
bobohume · #3 · 6年之前

新增rpc支持struct和map,struct无需注册类型。各个服务器支持etcd服发现

bobohume
bobohume · #4 · 6年之前

去除 monitor,改成etcd生成workdid

添加一条新回复 (您需要 登录 后才能回复 没有账号 ?)
  • 请尽量让自己的回复能够对别人有帮助
  • 支持 Markdown 格式, **粗体**、~~删除线~~、`单行代码`
  • 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
  • 图片支持拖拽、截图粘贴等方式上传