Are you deregistering the player as well as sending the logout packet?
|
For some reason when a player logs out his/her characters stays there in-game, and if they log back in you cant see them moving, animating, etc... I dont know what i did for this to happen PLEASE HELP
Are you deregistering the player as well as sending the logout packet?
if its same for you, make sure you got this in logout method
and you have destruct method:Code:outStream.createFrame(109); properLogout = true;
Code:@Override public void destruct() { if (session == null) return; PlayerSave.saveGame(this); HostList.getHostList().remove(session); disconnected = true; session.close(); session = null; inStream = null; outStream = null; isActive = false; super.destruct(); }
Im not sure what happened I made no changes to anything related to the logout. It just randomly started happening and yes ive got that in logout
Do you get any errors when logging out?
no i dont get any errors?
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |