Jump to content

[Share]KeyboardMovement


Recommended Posts

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 = true

Index: 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)

Link to comment
Share on other sites

  • 7 months later...

Yes its movement with keyboard arrows. But... its very lame, becouse if you press left or right arrow character do very huge circle...:s but its no matter, important that you can walk with arrows :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.




×
×
  • 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