Weer36 3 Posted September 22, 2022 Share Posted September 22, 2022 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 More sharing options...
Droidz 2737 Posted September 22, 2022 Share Posted September 22, 2022 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). Link to comment Share on other sites More sharing options...
Weer36 3 Posted September 22, 2022 Author Share Posted September 22, 2022 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. Link to comment Share on other sites More sharing options...
Droidz 2737 Posted September 22, 2022 Share Posted September 22, 2022 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 More sharing options...
Weer36 3 Posted September 22, 2022 Author Share Posted September 22, 2022 Yeap, with other charachter's position it runs once o_O. Ok nvm then Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now