Jump to content

Recommended Posts

Posted

It's Walker protection ( if u run L2Walker u get auto-kick)

 

No need changes in client side...

Run on server side...

 

Tested with L2Walker 2.17d... Worked well...

 

Screen:

antibot02.jpg

 

### Eclipse Workspace Patch 1.0
#P L2_GameServer
Index: java/com/l2jserver/gameserver/network/clientpackets/MoveBackwardToLocation.java
===================================================================
--- java/com/l2jserver/gameserver/network/clientpackets/MoveBackwardToLocation.java	(revisão 4083)
+++ java/com/l2jserver/gameserver/network/clientpackets/MoveBackwardToLocation.java	(cópia de trabalho)
@@ -23,6 +23,9 @@
import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;
import com.l2jserver.gameserver.network.serverpackets.ActionFailed;
import com.l2jserver.gameserver.network.serverpackets.PartyMemberPosition;
+import com.l2jserver.gameserver.network.SystemMessageId;
+import com.l2jserver.gameserver.util.IllegalPlayerAction;
+import com.l2jserver.gameserver.util.Util;


/**
@@ -72,6 +75,12 @@
		catch (BufferUnderflowException e)
		{
			// ignore for now
+			if (Config.ALLOW_L2WALKER_PROTECTION)
+			{
+				L2PcInstance activeChar = getClient().getActiveChar();
+				activeChar.sendPacket(SystemMessageId.HACKING_TOOL);
+				Util.handleIllegalPlayerAction(activeChar, "Player " + activeChar.getName() + " Tried to Use L2Walker And Got Kicked", IllegalPlayerAction.PUNISH_KICK);
+			}
		}
	}

Index: java/config/General.properties
===================================================================
--- java/config/General.properties	(revisão 4083)
+++ java/config/General.properties	(cópia de trabalho)
@@ -605,6 +605,10 @@
# ---------------------------------------------------------------------------
# Punishment
# ---------------------------------------------------------------------------
+# L2Walker ( Bot ) Protection Enabled? 
+# Recomended is True ( Official = False )
+L2WalkerProtection = True
+
# Player punishment for illegal actions:
# 1 - broadcast warning to gms only
# 2 - kick player(default)
Index: java/com/l2jserver/Config.java
===================================================================
--- java/com/l2jserver/Config.java	(revisão 4083)
+++ java/com/l2jserver/Config.java	(cópia de trabalho)
@@ -535,6 +535,7 @@
	public static int RIFT_ENTER_COST_HERO;
	public static int DEFAULT_PUNISH;
	public static int DEFAULT_PUNISH_PARAM;
+	public static boolean ALLOW_L2WALKER_PROTECTION;
	public static boolean ONLY_GM_ITEMS_FREE;
	public static boolean JAIL_IS_PVP;
	public static boolean JAIL_DISABLE_CHAT;
@@ -1761,6 +1762,7 @@
					RIFT_ENTER_COST_HERO = Integer.parseInt(General.getProperty("HeroCost", "33"));
					DEFAULT_PUNISH = Integer.parseInt(General.getProperty("DefaultPunish", "2"));
					DEFAULT_PUNISH_PARAM = Integer.parseInt(General.getProperty("DefaultPunishParam", "0"));
+					ALLOW_L2WALKER_PROTECTION = Boolean.parseBoolean(General.getProperty("L2WalkerProtection", "True"));
					ONLY_GM_ITEMS_FREE = Boolean.parseBoolean(General.getProperty("OnlyGMItemsFree", "True"));
					JAIL_IS_PVP = Boolean.parseBoolean(General.getProperty("JailIsPvp", "False"));
					JAIL_DISABLE_CHAT = Boolean.parseBoolean(General.getProperty("JailDisableChat", "True"));

 

 

Credits: L2jforum

 

 

Guest
This topic is now closed to further replies.
×
×
  • Create New...