Jump to content

OnPathFinderFindPathResult


Weer36

Recommended Posts

I subscribe to subj event, and surprised for minumum 2 times calling it for simple path task wManager.Wow.Bot.Tasks.GoToTask.ToPosition(new Vector3(-5470.455, -2890.753, 350.0887, "None"));

[N] 06:56:21 - [Path-Finding] FindPath from -5466.455 ; -2879.753 ; 350.0887 ; "None" to -5470.455 ; -2890.753 ; 350.0887 ; "None" (Azeroth)
[N] 06:56:21 - [Path-Finding] Path Count: 3 (15.88784y, 111ms)
[D] 06:56:21 - [myDebug] OnPathFinderFindPathResult
[N] 06:56:21 - [Path-Finding] FindPath from -5466.455 ; -2879.753 ; 350.0887 ; "None" to -5470.455 ; -2890.753 ; 350.0887 ; "None" (Azeroth)
[N] 06:56:21 - [Path-Finding] Path Count: 3 (15.88784y, 0ms)
[D] 06:56:21 - [myDebug] OnPathFinderFindPathResult

Isn't should be once?

Link to comment
Share on other sites

When I run 

wManager.Wow.Bot.Tasks.GoToTask.ToPosition(new Vector3(-5470.455, -2890.753, 350.0887, "None"));

in dev tools I get only one pathfinder call.

If bot don't found path, in some case there can call pathfinder server several times.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...