mirror of
https://github.com/FlourishingWorld/hk4e.git
synced 2026-02-04 14:42:26 +08:00
cda96a81df6ada48509a34e43b061c9f446800cd
hk4e
hk4e game server
编译和运行环境
- Go >= 1.18
- Protoc >= 3.21
- Protoc Gen Go >= 1.28
- 首次需要安装工具
make dev_tool- 生成协议
make gen_natsrpc && make gen_proto- 生成配置表
make gen_csv
快速运行
第三方组件
- mongodb
- nats-server
- redis
服务器组件
- node 节点服务器 (仅单节点 有状态)
- dispatch 登录服务器 (可多节点 无状态)
- gate 网关服务器 (可多节点 有状态)
- fight 战斗服务器 (可多节点 有状态 非必要)
- pathfinding 寻路服务器 (可多节点 无状态 非必要)
- gs 游戏服务器 (可多节点 有状态)
- gm 游戏管理服务器 (仅单节点 无状态)
其它
- 配置运行时环境变量
GOLANG_PROTOBUF_REGISTRATION_CONFLICT=ignore
Description
Languages
Go
98.7%
HTML
0.8%
Makefile
0.3%
Shell
0.1%