pomelo
pomelo copied to clipboard
A fast,scalable,distributed game server framework for Node.js.
http://pomelo.netease.com/api.html 整个netease.com都无法访问了???
想了解架构
想了解它的架构,有没有人有资料可以分享的。
wadedeMBP:game-server wade$ pomelo start fs.js:135 throw new ERR_INVALID_CALLBACK(); ^ TypeError [ERR_INVALID_CALLBACK]: Callback must be a function at makeCallback (fs.js:135:11) at Object.mkdir (fs.js:711:16) at start (/usr/local/lib/node_modules/pomelo/bin/pomelo:347:8) at Command. (/usr/local/lib/node_modules/pomelo/bin/pomelo:65:5) at Command....
怎么两年没更新了
已经连接到服务器了,也发送数据了,服务器也接收到了,可android就是接收不到服务器返回的消息!!小伙伴有没有遇到,怎么解决的??
想做一个功能,就是当pomelo服务器被关闭后触发什么函数,让我能够将cache数据保存到数据库中,请问pomelo关闭后会触发哪个函数
Hi, Previously I was using socket-io in pomelo for my game. Now I am thinking of shifting to use web-socket in my current game. There are changes in node-modules and...
ERROR:"websocket send binary, data failed: "Error: This socket has" been ended by the other partyn at Socket.writeAfterFIN [as write]" Change pomelo node_modules\game-server\node_modules\pomelo\lib\common\service\sessionService.js 517 line Session.prototype.send = function(msg) { var WebSocket_OPEN=1;...
pomelo 的protobuf 好像只能对 webServer 和 gameServer 主动发送的消息进行压缩,不能对某个发送的返回消息进行压缩。 如 lordOfPomelo 的示例中:webServer 请求 ‘area.playerHandler.enterScene’ 的时候,可以在serverProtos.json 中对请求的参数 Entities 进行定义,以便protobuf 能够使用;但是不能对 ‘area.playerHandler.enterScene’ 中的回调函数里面返回的数据进行 protobuf 压缩。 请问我的理解是否正确?