it sends a packet which has nothing to read, but l2j didn't expect this to happen and make a System.exit to it.
Simply... it sends a 0 value (emtpy packet or so) ,so in the mmocore it displays ...
else if (result == 0)
{
// read interest but nothing to read? wtf?
System.out.println("NOOBISHT ERROR 2 THE MISSION");
System.exit(0);
}
and now... here's the simple -beep-in' fix:
1. Just delete the ELSE IF <- you will cry if you do like most kids
2. Make it not to close.. simply remove it and replace by this..
else if (result == 0)
{
// read interest but nothing to read? wtf?
System.out.println("MMOCore: Nothing to read.");
System.out.println("Trying not to close the server...");
//System.exit(0);
System.out.println("MMOCore Sender IP: "+ con.getSocketChannel().socket().getInetAddress().getHostAddress());
con.onForcedDisconnection();
this.closeConnectionImpl(con);
}
easy fix, huh?
its just that kids has no brains.. thanks and fixed on eminence since it started (1st noemver)
afto pou to bazo