Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Index: java/com/l2jserver/gameserver/network/clientpackets/MoveBackwardToLocation.java
- ===================================================================
- --- java/com/l2jserver/gameserver/network/clientpackets/MoveBackwardToLocation.java (revision 4652)
- +++ java/com/l2jserver/gameserver/network/clientpackets/MoveBackwardToLocation.java (working copy)
- @@ -112,10 +112,13 @@
- return;
- }
- - if (_moveMovement == 0 && Config.GEODATA < 1) // cursor movement without geodata is disabled
- + if (_moveMovement == 0 && (Config.DISALLOW_KEYBOARD_MOVE || Config.GEODATA < 1) && !activeChar.isGM() && !activeChar.isFlyingMounted())
- + /** Deedlit: the following check is commented out, to solve possibility to go through closed doors by players, by repeatedly trying to
- + * move character using eg. arrow keys on the keyboard. Dont use that for flying transforms, as it will be hard to control char */
- {
- activeChar.sendPacket(ActionFailed.STATIC_PACKET);
- - }
- + return;
- + }
- else
- {
- double dx = _targetX - _curX;
- Index: java/config/General.properties
- ===================================================================
- --- java/config/General.properties (revision 4652)
- +++ java/config/General.properties (working copy)
- @@ -869,6 +869,10 @@
- # balanced in the teleport to the arena
- HBCEFairPlay = True
- +# Disallow movements using keyboard for players not being in flying transform state.
- +# Helps with few cheats like using oly doors for unfair fight, passing through closed doors,
- +# using mounts to go pass gates, wall etc...
- +DisableKeyboardMovement = True
- # ---------------------------------------------------------------------------
- # Developer Settings
- # ---------------------------------------------------------------------------
- @@ -898,4 +902,7 @@
- # Don't load spawntable.
- # Default: False
- -AltDevNoSpawns = False
- \ No newline at end of file
- +AltDevNoSpawns = False
- +
- +# Community Server communication debugging on or off
- +CSPacketHandlerDebug = False
- \ No newline at end of file
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement