Anti L2 Walker

Iniciado por Swarlog, Jun 25, 2025, 09:00 PM

Tema anterior - Siguiente tema

Swarlog

com/l2jfrozen/gameserver/network/clientpackets/MoveBackwardToLocation.java

import com.l2jfrozen.gameserver.thread.TaskPriority;
+import com.l2jfrozen.gameserver.network.SystemMessageId;
+import com.l2jfrozen.gameserver.util.IllegalPlayerAction;
+import com.l2jfrozen.gameserver.util.Util;


                                                if (Config.ENABLE_ALL_EXCEPTIONS)
                                                                e.printStackTrace();

                                                // Ignore for now
+                                          if (Config.L2WALKER_PROTEC)
+                                          {
+                                                          L2PcInstance activeChar = getClient().getActiveChar();
+                                                          activeChar.sendPacket(SystemMessageId.HACKING_TOOL);
+                                                          Util.handleIllegalPlayerAction(activeChar, "Player " + activeChar.getName() + " trying to use L2Walker!", IllegalPlayerAction.PUNISH_KICK);
+                                          }

com/l2jfrozen/Config.java

                public static boolean CHECK_SKILLS_ON_ENTER;
                public static boolean CHECK_NAME_ON_LOGIN;
+          public static boolean L2WALKER_PROTEC;

                                                CHECK_SKILLS_ON_ENTER = Boolean.parseBoolean(POtherSetting.getProperty("CheckSkillsOnEnter", "True"));
+
+                                          /** l2walker protection **/
+                                          L2WALKER_PROTEC = Boolean.parseBoolean(POtherSetting.getProperty("L2WalkerProtection", "False"));
+

gameserver/config/protected/other.propierts

#=================================#
# Bot Protection                                                                  #
#=================================#
+
+# L2WalkerProtection
+# True: protection from bots ON
+# False: protection from bots OFF
+L2WalkerProtection = False
+