Pleyne Posted April 15, 2015 Posted April 15, 2015 When any of players press Exit Game > Yes, they get disconnected ("You have been disconnected...blablabla"), instead of quitting the game, where the error could be ( it's not client side(systems) - tested already ).
0 Pleyne Posted April 15, 2015 Author Posted April 15, 2015 Unfortunately, no, the problem is somewhere else : \
0 SweeTs Posted April 15, 2015 Posted April 15, 2015 Are you sure? Since Logout packet is fired while exit.
0 Tryskell Posted April 15, 2015 Posted April 15, 2015 Dunno your pack, but I will pretend it's aCis or at least L2J based. On L2PcInstance you got 2 methods, by default the client is also closed. Verify if you haven't occurences of logout(false) somewhere on your sources. At worst if you haven't those methods, try to check for uses of closeNetConnection(). /** * Manage Logout Task */ public void logout() { logout(true); } /** * Manage Logout Task * @param closeClient */ public void logout(boolean closeClient) { try { closeNetConnection(closeClient); } catch (Exception e) { _log.log(Level.WARNING, "Exception on logout(): " + e.getMessage(), e); } }
0 Pleyne Posted April 15, 2015 Author Posted April 15, 2015 Thanks! I've solved it, finally, it was not based on aCis ( it's h5 server ). Solved, can be closed, thank you again guys!
Question
Pleyne
When any of players press Exit Game > Yes, they get disconnected ("You have been disconnected...blablabla"), instead of quitting the game, where the error could be ( it's not client side(systems) - tested already ).
6 answers to this question
Recommended Posts