Jump to content
  • 0

Server stuck problem.


leoadrian

Question

Im having problem like the title say server stuck and this it the error code:

 

Exception in thread "SelectorThread-49" java.lang.NullPointerException

        at com.l2dot.gameserver.network.L2GameClient.onForcedDisconnection(L2Gam

eClient.java:489)

        at com.l2jserver.mmocore.network.SelectorThread.readPacket(SelectorThrea

d.java:310)

        at com.l2jserver.mmocore.network.SelectorThread.run(SelectorThread.java:

169)

 

im not a big game programmer but i can see 2 kind of codes

 

at com.l2dot and at com.l2jserver i think l2jdot use the mmocore of l2jserver i have the sourse to compile if someone cant tellme what to change to fix my problem, i gone be greatfull ^^.

 

thanks for all ones that take time to read mi post. and try to help.

 

 

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

L2JDot isn't supported. Ask on their forum.

 

On topic you got a NPE (NullPointerException >> google it), basically at line 489 of L2GameClient.java, in onForcedDisconnection method.

 

The funny thing is error can be anywhere else, as there mustn't have NPE check.

 

The fact the mmocore is under L2J name doesn't mean it's the last one, or if it has been unmodified by Dot team.

Link to comment
Share on other sites

  • 0

Special tnx to this friend help to solution the problem here the solution:

 

Here it is:

 

    protected void onForcedDisconnection()
    {
	if (Config.DEBUG)
		_log.info("Client " + toString() + " disconnected abnormally.");
    	        if(activeChar == null) return;	
	if(activeChar.isInOlympiadMode())

	{
		Olympiad.processPlayer(activeChar);
	}

}

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


×
×
  • Create New...