Topic: [Share]KeyboardMovement
Index: config/options.properties
===================================================================@@ -126,2 +126,5 @@
# Ban the player if he is definitely using a client emulator (L2W, L2Divine, L2NET, etc)
AutoBanClientEmulators = true
+
+# Allow keyboard movement? (Cursor and W,A,S,D Keys)
+AllowKeyboardMovement = trueIndex: java\net\sf\l2j\gameserver\clientpackets\MoveBackwardToLocation.java
===================================================================@@ -96,5 +96,5 @@
}
- if (_moveMovement == 0 && Config.GEODATA < 1) // cursor movement without geodata is disabled
+ if (_moveMovement == 0 && !Config.ALLOW_KEYBOARD_MOVEMENT)
{
activeChar.sendPacket(new ActionFailed());
}Index: java\net\sf\l2j\Config.java
===================================================================@@ -1340,4 +1340,5 @@
public static boolean BAN_CLIENT_EMULATORS;
public static String HTM_ENCODING;
+ public static boolean ALLOW_KEYBOARD_MOVEMENT;//************************************************************************************************
@@ -1374,4 +1375,5 @@
BAN_CLIENT_EMULATORS = Boolean.parseBoolean(optionsSettings.getProperty("AutoBanClientEmulators", "false"));
HTM_ENCODING = optionsSettings.getProperty("HtmEncoding", "UTF-8");
+ ALLOW_KEYBOARD_MOVEMENT = Boolean.parseBoolean(optionsSettings.getProperty("AllowKeyboardMovement", "false"));
}
catch (Exception e)
