Jump to content

Question

11 answers to this question

Recommended Posts

  • 0
Posted

Many thanks, as soon as I learn to add I will test <3

 

its the correct answer, you have to paralyze the character server side but without the frozen effect on the client side. In case speed is still an issue you should reduce the player's speed for that duration

  • 0
Posted

Your question makes new question...

The broadcast is fast or you can get many dropped items without 'delay' ?

  • 0
Posted (edited)

You should add a 'timer' when pick up detected..

 

L2PcInstance.java 

@@ -6892,6 +6892,18 @@
 					checkAndEquipArrows();
 			}
 		}
+
+		double speed = this.getStat().getMovementSpeedMultiplier();
+		int div = 800;
+		ThreadPoolManager.getInstance().scheduleAi(new Runnable()
+				{
+					@Override
+					public void run()
+					{
+						setIsParalyzed(false);
+					}
+				}, (int) (div/speed));
+				setIsParalyzed(true);
 		target = null;
 	}

Customize div to your value

Edited by melron
  • 0
Posted

You should add a 'timer' when pick up detected..

 

L2PcInstance.java 

@@ -6892,6 +6892,18 @@
 					checkAndEquipArrows();
 			}
 		}
+
+		double speed = this.getStat().getMovementSpeedMultiplier();
+		int div = 800;
+		ThreadPoolManager.getInstance().scheduleAi(new Runnable()
+				{
+					@Override
+					public void run()
+					{
+						setIsParalyzed(false);
+					}
+				}, (int) (div/speed));
+				setIsParalyzed(true);
 		target = null;
 	}

Customize div to your value

I love Bro, Working 100%

Guest
This topic is now closed to further replies.


×
×
  • Create New...