go get -u github.com/xiaonanln/go-xnsyncutil/xnsyncutil
go get -u github.com/xiaonanln/goTimer
go get -u github.com/xiaonanln/typeconv
go get -u golang.org/x/net/context
go get -u github.com/Sirupsen/logrus
go get -u github.com/garyburd/redigo/redis
go get -u github.com/google/btree
go get -u github.com/pkg/errors
go get -u gopkg.in/eapache/queue.v1
go get -u gopkg.in/ini.v1
go get -u gopkg.in/mgo.v2
go get -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