Jump to content
  • 0

Something Wrong With Packets


Question

Posted

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

  • 0
Posted

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
Posted

Thanks! I've solved it, finally, it was not based on aCis ( it's h5 server ). Solved, can be closed, thank you again guys!

Guest
This topic is now closed to further replies.


×
×
  • Create New...