Thread: [PI] - Logout Issue

Results 1 to 6 of 6
  1. #1 [PI] - Logout Issue 
    Registered Member
    Join Date
    Jan 2013
    Posts
    19
    Thanks given
    0
    Thanks received
    1
    Rep Power
    11
    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
    Reply With Quote  
     

  2. #2  
    Father Of Lies


    Join Date
    May 2012
    Age
    26
    Posts
    1,216
    Thanks given
    267
    Thanks received
    289
    Rep Power
    242
    Are you deregistering the player as well as sending the logout packet?
    Reply With Quote  
     

  3. #3  
    Coding coding coding...

    Ivo's Avatar
    Join Date
    Mar 2008
    Age
    33
    Posts
    1,425
    Thanks given
    30
    Thanks received
    147
    Rep Power
    2017
    if its same for you, make sure you got this in logout method

    Code:
    			outStream.createFrame(109);
    			properLogout = true;
    and you have destruct method:

    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();
    	}
    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    Jan 2013
    Posts
    19
    Thanks given
    0
    Thanks received
    1
    Rep Power
    11
    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
    Reply With Quote  
     

  5. #5  
    Server Developer
    Argyros's Avatar
    Join Date
    Apr 2011
    Posts
    498
    Thanks given
    25
    Thanks received
    31
    Rep Power
    23
    Do you get any errors when logging out?
    Reply With Quote  
     

  6. #6  
    Registered Member
    Join Date
    Jan 2013
    Posts
    19
    Thanks given
    0
    Thanks received
    1
    Rep Power
    11
    no i dont get any errors?
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. Logout
    By kopjekoffiee in forum Help
    Replies: 2
    Last Post: 07-17-2011, 08:00 PM
  2. 474 Logout
    By James™ in forum Snippets
    Replies: 9
    Last Post: 09-10-2009, 07:59 PM
  3. New Logout X
    By Crash in forum Graphics
    Replies: 18
    Last Post: 09-05-2009, 12:29 AM
  4. [474] Logout Frame With Logout Timer!
    By digistr in forum Configuration
    Replies: 2
    Last Post: 07-27-2009, 01:59 PM
  5. Jar issue & Cache Issue
    By Chachi in forum Help
    Replies: 0
    Last Post: 06-19-2009, 02:40 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •