Jump to content
  • 0

Server stuck problem.


Question

Posted

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.

 

 

4 answers to this question

Recommended Posts

  • 0
Posted

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.

  • 0
Posted

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);
	}

}

Guest
This topic is now closed to further replies.


×
×
  • Create New...