Jump to content

Recommended Posts

  • 5 months later...
Posted

for l2j can be something like that, or you can make own flood protector:

 

Index: java/com/l2jserver/gameserver/network/clientpackets/MoveBackwardToLocation.java
===================================================================
--- java/com/l2jserver/gameserver/network/clientpackets/MoveBackwardToLocation.java	(revision 3701)
+++ java/com/l2jserver/gameserver/network/clientpackets/MoveBackwardToLocation.java	(working copy)
@@ -82,6 +82,10 @@
		L2PcInstance activeChar = getClient().getActiveChar();
		if (activeChar == null)
			return;
+		
+		if (!activeChar.getFloodProtectors().getServerBypass().tryPerformAction("protected_packets"))
+			return;
+		
		// Correcting targetZ from floor level to head level (?)
		// Client is giving floor level as targetZ but that floor level doesn't
		// match our current geodata and teleport coords as good as head level! 

working
  • 2 months later...

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...