1

Topic: [Share]Noobisherror fix!

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

http://img262.imageshack.us/img262/9021/noobish.th.png

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

http://www.hopzones.net/hopzones_banner.gif

2

Re: [Share]Noobisherror fix!

These information were really nice, I really appreciate you. I hope that many people will really like all these information. Now any one can easily fix their error.

Thumbs up Thumbs down

3

Re: [Share]Noobisherror fix!

My great thanks to this post. Your work is really appreciating. I like the information. By this core side code it is very easy to fix error.
I am sure many people will like these code and find very useful

Thumbs up Thumbs down