My game has 2 players.
Sometimes when PlayerA disconnected PlayerB cannot recieve USER_EXIT_ROOM event of PlayerA.
My client has USER_EXIT_ROOM listener.
Code: Select all
sfs.addEventListener(SFSEvent.USER_EXIT_ROOM, onUserLeaveRoom);
I added a log function to onUserLeaveRoom function for checking if client has recieved other player exit the game room. Not recieved this log somesites so that i though that player cannot recieve USER_EXIT_ROOM event.
When I check the server logs, i saw that, but server cannot recieve USER_EXIT_ROOM log from other player.
Code: Select all
28 Jun 2016 | 04:43:47,897 | INFO | SFSWorker:Sys:1 | v2.api.SFSApi | | User disconnected: { Zone: TavlaZone }, ( User Name: PlayerA, Id: 237715, Priv: 0, Sess: 18.113.15.114:56520 ) , SessionLen: 796003, Type: Flash
This is happening sometimes, generally server recieves the log, can you help me please?
Best Regards,