This site uses cookies! Learn More

This site uses cookies!

By continuing to use this site, you agree to allow us to store cookies on your computer. :)

reapler

Elite user
  • Content count

    270
  • Joined

  • Last visited

5 Followers

About reapler

  • Rank
    Advanced Member

Recent Profile Visitors

1286 profile views
  1. SmoothMove

    I have uploaded a new version. If a problem encounters, please disable all other plugins, using a "xml" fightclass and try to reproduce it. Log, profile(if possible) and the exact & detailed steps about the occuring bug would be helpful to fix the problem.
  2. Hello, you can subscribe to the movement events to block the movement. It could look like this(not tested): //call at initialize public void SubscribeEvents() { MovementEvents.OnMovementPulse += MovementEventsOnOnMovementPulse; } //call at dispose public void UnSubscribeEvents() { MovementEvents.OnMovementPulse -= MovementEventsOnOnMovementPulse; } private void MovementEventsOnOnMovementPulse(List<Vector3> path, CancelEventArgs cancelEventArgs) { if (DestinationTmp != Vector3.Empty && path.LastOrDefault()?.Action != "custom" ) { cancelEventArgs.Cancel = true; } } public static Vector3 DestinationTmp = Vector3.Empty; public static void MoveTo(Vector3 destination) { List<Vector3> path = PathFinder.FindPath(ObjectManager.Me.Position, destination); var last = path.LastOrDefault(); if (last != null) last.Action = "custom"; DestinationTmp = MovementManager.CurrentPath.LastOrDefault() ?? ObjectManager.Me.Position; MovementManager.Go(path); } public static void GoBack() { List<Vector3> path = PathFinder.FindPath(ObjectManager.Me.Position, DestinationTmp); DestinationTmp = Vector3.Empty; MovementManager.Go(path); }
  3. SmoothMove

    This part should be fixed now. But it seems like the profile doesn't perceive that it has reached the destination and stuck. Probably an unlucky condition i guess. There's nothing more what i could do since the profile is not accessible. @camelot10 may hopefully expose the condition on https://wrobot.eu/files/file/1139-paid-pandaria-world-bosses/, dunno what's exactly wrong there.
  4. SmoothMove

    @KnightRyder The catchup should be fixed now with this: CurrentMoveTo = SmoothMove.Utilities.Math.NextVector( MovementManager.CurrentPath.FindIndex(i => i.X == vector3.X && i.Y == vector3.Y), MovementManager.CurrentPath, 1.2f ) ?? vector3; The other problem with the stuck, i've added the end point so it should hopefully continue with the next step.
  5. SmoothMove

    How high was your fps while it stutter? Very low values could cause this because it depends on the fps how fast the functions are executed in wow's main thread.
  6. SmoothMove

    @KnightRyder Thank you for your logs and did this stuck happen only with flying?
  7. SmoothMove

    Yes, it should work. Since it will just modify the path, nothing else on this version. But so far i can see, i guess the path is being altered somewhere and my mark disappears. This will result the path being smoothed a second, third or fourth time and causes stuttering movement: [D] 01:27:48 - [SmoothMove] Path count: 2284 [D] 01:27:48 - [SmoothMove] Stop Move @OnMovementStop [D] 01:27:48 - [SmoothMove] Stop Move @OnMovementStop [D] 01:27:48 - [SmoothMove] Stop Move @OnMoveToStop [D] 01:27:48 - [SmoothMove] Stop Move @OnMoveToStop [D] 01:27:49 - [SmoothMove] Stop Move @OnMoveToStop [D] 01:27:49 - [SmoothMove] Path count: 26304 [D] 01:27:49 - [SmoothMove] Stop Move @OnMovementStop [D] 01:27:49 - [SmoothMove] Stop Move @OnMovementStop [D] 01:27:49 - [SmoothMove] Stop Move @OnMoveToStop [D] 01:27:50 - [SmoothMove] Stop Move @OnMoveToStop [D] 01:27:50 - [SmoothMove] Stop Move @OnMoveToStop [D] 01:27:50 - [SmoothMove] Path count: 76292 [D] 01:27:50 - [SmoothMove] Stop Move @OnMovementStop [D] 01:27:50 - [SmoothMove] Stop Move @OnMovementStop [D] 01:27:50 - [SmoothMove] Stop Move @OnMoveToStop [D] 01:27:50 - [SmoothMove] Stop Move @OnMoveToStop [D] 01:27:51 - [SmoothMove] Stop Move @OnMoveToStop But i could need more information @KnightRyder, on how you reproduce this exactly and maybe monitor the debug log where this behavior happens. I uploaded a new version with a better logging for this.
  8. SmoothMove

    With stuck do you mean also stutter movement, or it doesn't move at all?
  9. SmoothMove

    I changed the behavior when to stop and start moving, maybe this will work now. If not please let me know and if possible a snippet from the profile would be helpful.
  10. SmoothMove

    @Steffen Which plugins, fightclass and product was used? Additionally a log would be also helpful if possible.
  11. SmoothMove

    Thanks for the feedback, i'll look later into it.
  12. SmoothMove

    It should now support also other versions. But everything above wotlk is downgraded, since the needed information / knowledge isn't available for me. This means it still smooths the paths but keyboard moving and strafe will not work on these.
  13. SmoothMove

    Thank you for your feedback, the second version had no check but i'm going to find offsets and hopefully make it available. The algorithm is currently specified to work with these min/max'ed settings, it may be possible in the future to improve it on sharp edges.
  14. Oh how awkward, i'm gonna update this if i've got time ;) some things have been changed and is going terribly wrong on 'different' API
  15. SmoothMove

    It would work partially. Since the face function itself is for 3.3.5a the click to move part would work fine if "Use keyboard moving" is disabled but i'm gonna finishing this first and release for other versions (1.12.1 / 2.4.3) if i've got time.