Jump to content

Ventoc

Members
  • Posts

    3
  • Joined

  • Last visited

  • Feedback

    0%

About Ventoc

Profile Information

  • Gender
    Not Telling

Ventoc's Achievements

Newbie

Newbie (1/16)

0

Reputation

  1. archid suck oloi to lene
  2. client.closeNow(); and close client too
  3. Index: /trunk/L2JVentic-Game/java/net/sf/l2j/gameserver/network/L2GamePacketHandler.java =================================================================== --- /trunk/L2JVentic-Game/java/net/sf/l2j/gameserver/network/L2GamePacketHandler.java (revision 2) +++ /trunk/L2JVentic-Game/java/net/sf/l2j/gameserver/network/L2GamePacketHandler.java (revision 6) @@ -23,12 +23,10 @@ import net.sf.l2j.Config; +import net.sf.l2j.gameserver.GmListTable; +import net.sf.l2j.gameserver.LoginServerThread; import net.sf.l2j.gameserver.ThreadPoolManager; -import net.sf.l2j.gameserver.LoginServerThread; -import net.sf.l2j.gameserver.GmListTable; -import java.util.concurrent.locks.*; import net.sf.l2j.gameserver.clientpackets.*; +import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance; import net.sf.l2j.gameserver.network.L2GameClient.GameClientState; -import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance; -import net.sf.l2j.gameserver.Actionlock; import net.sf.l2j.util.Util; @@ -76,5 +74,5 @@ else { - printDebug(opcode, buf, state, client); + client.closeNow(); } break; @@ -104,5 +102,7 @@ break; default: - printDebug(opcode, buf, state, client); + System.out.println("The following IP adress is using some hacking tool.Please Ban Him!(Case 1 Authenticated!) ("+ client.toString() +")"); + System.out.println("Unknown Packet: "+Integer.toHexString(opcode)+" on State: "+state.name()+" Client: "+client.toString()); + client.closeNow(); break; } @@ -659,4 +659,5 @@ if (Config.PACKET_HANDLER_DEBUG) _log.warning("Client: "+client.toString()+" sent a 0xd0 without the second opcode."); + client.closeNow(); break; } @@ -805,5 +806,7 @@ break; default: - printDebugDoubleOpcode(opcode, id2, buf, state, client); + System.out.println("The following IP adress is using some hacking tool.Please Ban Him!(Case 2 InGame) ("+ client.toString() +")"); + System.out.println("Unknown Packet: "+Integer.toHexString(opcode)+" on State: "+state.name()+" Client: "+client.toString()); + client.closeNow(); break; } @@ -813,5 +816,7 @@ break;*/ default: - printDebug(opcode, buf, state, client); + System.out.println("The following IP adress is using some hacking tool.Please Ban Him!(Case 3 Unknow) ("+ client.toString() +")"); + System.out.println("Unknown Packet: "+Integer.toHexString(opcode)+" on State: "+state.name()+" Client: "+client.toString()); + client.closeNow(); break; } try auto :)
×
×
  • 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