Topic: [Share]Noobisherror fix!
Hi all,I share mmcore NOOBISH ERROR dos program fix.
[You can turn off servers with that soft.]

This is fixed the core side:
Index: com.l2jserver.mmocore.network.SelectorThread.java
if (buf.position() == buf.limit())
{
- // should never happen
- System.err.println("POS ANTES SC.READ(): "+buf.position()+" limit: "+buf.limit());
- System.err.println("NOOBISH ERROR "+( buf == READ_BUFFER ? "READ_BUFFER" : "temp"));
- System.exit(0);
+ con.onForcedDisconnection();
+ this.closeConnectionImpl(con);
}
try
{
result = con.getSocketChannel().read(buf);
}
@@
else if (result == 0)
{
- System.err.println("POS ANTES SC.READ(): "+buf.position()+" limit: "+buf.limit());
- System.err.println("NOOBISH ERROR "+( buf == READ_BUFFER ? "READ_BUFFER" : "temp"));
- System.exit(0);
+ con.onForcedDisconnection();
+ this.closeConnectionImpl(con);
}