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) Quote
uNiQue1337 Posted May 6, 2009 Posted May 6, 2009 So with this you can configure if you want people can move with keyboard cursors? Quote
HammerV2 Posted May 6, 2009 Posted May 6, 2009 i thin, him talk about the movement of the player whit the keyboard arrows <- -> Quote
Meikis Posted December 28, 2009 Posted December 28, 2009 Its same on all Datapacks?I mean like this config... Quote
Levi4than Posted December 28, 2009 Posted December 28, 2009 i think its something like CS movement!! Quote
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 :) Quote
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 :) Quote
Meikis Posted January 3, 2010 Posted January 3, 2010 For what source is it? Cant apply to Oneo... Quote
Recommended Posts
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.