letiennam29
letiennam29
@bnoordhuis tks very much!!
i have the same problem.
tks all! :)
tks @wuxian, i've pass error. Because I Add user to channel wrong sid(sid of server connector). before: var serverId = app.get('serverId').split('-')[2]; channel.add(player_id, serverId ); correct: var serverId = app.get('serverId'); channel.add(player_id,...
tks @impcyber and @TrailMa . Actually, i want a way comunication the area together. From area to another area.
@impcyber correct problem i need AreaManager(area pool), but I don't know how to create and use. Can you tell me about the sample area manager?
I have found what I needed. Call to from area to another area using: https://github.com/NetEase/pomelo-rpc#clientrpcinvokeserverid-msg-cb
thank you very much @impcyber !
you try again: cd C:\Users\Thada npm cache clear npm install pomelo -g
If you want to sync data session to another server so call method pushAll or push. EG: ``` session.bind(player_id); session.set('player_id', player_id); /*sesssion close*/ session.on('closed', on_user_leave.bind(null, self.app)); /*push all session*/ session.pushAll();...