Jump to content
  • 0

L2 Archid Problem


Question

Posted

Hello People!

I have problem. When i log in game in console is show me this.

Exception in thread "SelectorThread-52" java.lang.NullPointerException
       at com.l2jarchid.gameserver.network.ArchidGamePacketHandler.getPacket(Ar
chidGamePacketHandler.java:85)
       at com.l2jarchid.gameserver.network.ArchidGamePacketHandler.handlePacket
(ArchidGamePacketHandler.java:68)
       at com.l2jarchid.gameserver.network.ArchidGamePacketHandler.handlePacket
(ArchidGamePacketHandler.java:44)
       at org.mmocore.network.SelectorThread.parseClientPacket(SelectorThread.j
ava:419)
       at org.mmocore.network.SelectorThread.tryReadPacket(SelectorThread.java:
360)
       at org.mmocore.network.SelectorThread.readPacket(SelectorThread.java:294
)
       at org.mmocore.network.SelectorThread.run(SelectorThread.java:176)

How to repair???

13 answers to this question

Recommended Posts

  • 0
Posted

i am sorry i dont know rev this pack  :-\

ArchidGamePacketHandler.java

line 85

else

printDebug(opcode, buf, state, client);

 

return packet.clonePacket();

}

 

line 68

}

return getPacket(state, opcode, buf ,client);

}

 

line 44

/**

* @author Setekh

*/

public class ArchidGamePacketHandler implements IPacketHandler<L2GameClient>, IClientFactory<L2GameClient>, IMMOExecutor<L2GameClient>

{

 

SelectorThread.java

line 294

// only reachable if MAX_READ_PER_PASS has been reached

// check if there are some more bytes in buffer

// and allocate/compact to prevent content lose.

if (buf.remaining() > 0)

 

line 176

case SelectionKey.OP_WRITE:

{

writePacket(key, con);

break;

}

  • 0
Posted

i am sorry i dont know rev this pack  :-\

ArchidGamePacketHandler.java

SelectorThread.java

line 176

thats a null pointer :P not a array exception.

 

Anyway make sure the packet that ist being cloned is not null, archid's dummy packets are set as null :P

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock