@@ -341,7 +341,10 @@ public static void HandleMonsterMove(Packet packet)
341341 public static void PrintComputedSplineMovementParams ( Packet packet , double distance , PacketMonsterMove monsterMove , params object [ ] indexes )
342342 {
343343 packet . AddValue ( "Computed Distance" , distance , indexes ) ;
344- packet . AddValue ( "Computed Speed" , ( distance / monsterMove . MoveTime ) * 1000 , indexes ) ;
344+ var speed = packet . AddValue ( "Computed Speed" , distance / monsterMove . MoveTime * 1000 , indexes ) ;
345+ if ( speed > 51 )
346+ packet . AddValue ( "Unlimited Speed" , 1 , indexes ) ;
347+
345348 if ( monsterMove . Jump != null && monsterMove . Flags . HasAnyFlag ( UniversalSplineFlag . Parabolic ) )
346349 PrintComputedSplineMovementJumpHeight ( packet , monsterMove . MoveTime - monsterMove . Jump . StartTime , monsterMove . Jump . Gravity , indexes ) ;
347350 else if ( monsterMove . SpellEffect != null && monsterMove . SpellEffect . JumpGravity > 0 )
@@ -377,6 +380,10 @@ static double ComputeFallElevation(double timePassed, double startVelocity, doub
377380
378381 packet . AddValue ( "Computed Jump Height" , height , indexes ) ;
379382 packet . AddValue ( "Computed Jump Height (with default gravity)" , heightWithDefaultGravity , indexes ) ;
383+
384+ const double logHeightDelta = 0.01 ;
385+ if ( Math . Abs ( height - heightWithDefaultGravity ) > logHeightDelta )
386+ packet . AddValue ( height > heightWithDefaultGravity ? "Min Height" : "Max Height" , height , indexes ) ;
380387 }
381388
382389 private static void ReadSplineMovement510 ( Packet packet , Vector3 pos )
0 commit comments