bsp;-u gopkg.in/vmihailenco/msgpack.v2
go get -u gopkg.in/natefinch/lumberjack.v2
运行GoWorld测试服务端和客户端
1. 启动MongoDB或者Redis作为数据库
2. 拷贝goworld.ini.sample为goworld.ini,并进行配置
编译并运行中心分发器(dispatcher)
make dispatcher
components/dispatcher/dispatcher
4. 编译并运行网关服务器(gate)
make gate
components/gate/gate -gid 1
5. 编译并运行测试逻辑服务器(test_game)
make test_game
examples/test_game/test_game -gid 1
6. 编译并运行测试游戏客户端(test_client)
make test_client
examples/test_client/test_client -N 500
还在开发阶段,更多内容有待补充,敬请关注 ……
QQ讨论群:662182346
|