September 22, 20223 yr 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?
September 22, 20223 yr Hello, It's going to be complicated to solve this problem without having all the code. Do you run your code several times (several threads)? You stop it well (when the bot is stopped).
September 22, 20223 yr Author Just ran it in development tools window for clean test. Ingame it throws sometime 4-5 events for one ToGo point during usual questing or gathering or any else pathing.
September 22, 20223 yr 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.
Create an account or sign in to comment