Do wszystkich posiadaczy serverów l2j Interlude prosze uważać pojawił sie nowy hack który umożliwia na niezabezpieczonym serverze zdalne jego wyłączenie: http://www.maxcheaters.com/forum/index.php?topic=106582.60 w tym topicu jest podane jest równieżrozwiązanie.
ale dostanie sie do mmocore gdzie nigdy wczesniej sie nie interesowalem tym zajelo troche czasu, w zasadzie zeby to poprawic wystarczy zakomentowac jedna linijke.
Cytat: stanus · ale dostanie sie do mmocore gdzie nigdy wczesniej sie nie interesowalem tym zajelo troche czasu, w zasadzie zeby to poprawic wystarczy zakomentowac jedna linijke.
wow, sciagniecie zamiast source code serwera sciagniecie mmocore - ale mi duzo roznic.
Re: [Share]NOOBISH ERROR « Reply #69 on: December 14, 2009, 10:02:50 PM » Reply with quoteQuote 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) Smiley
ale mozna to zabezpieczyc tylko poprzez zakomentowanie tej linijki System.exit(0); i to wystarczy, z doświadczenia już wiem ze to dziala i jesli zrobisz takie zmiany dostaniesz na konsole ip tego który próbował zamknąć server. na l2jfree trzeba edytować mmocore nie wiem jak jest na innych pakach