xAddytzu Posted May 5, 2009 Posted May 5, 2009 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)
uNiQue1337 Posted May 6, 2009 Posted May 6, 2009 So with this you can configure if you want people can move with keyboard cursors?
HammerV2 Posted May 6, 2009 Posted May 6, 2009 i thin, him talk about the movement of the player whit the keyboard arrows <- ->
Meikis Posted December 28, 2009 Posted December 28, 2009 Its same on all Datapacks?I mean like this config...
bauwbas Posted December 28, 2009 Posted December 28, 2009 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 :)
jaden Posted January 3, 2010 Posted January 3, 2010 thank you. i'll use it to disable keyboard movement since i use geodata and i dont like that kind of movement :)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now