zatvorgt 5 Posted November 23, 2018 Share Posted November 23, 2018 Hello , much dungeons dont have system to enter in dungeon after to die, i need to resolve this with movement manager , exist code to check if corpse in dungeon? my code is not work This code need to work after i to die ....but path finder conflict.. wManager.Events.MovementEvents.OnMoveToLoop += () => { if ( ObjectManager.Me.Position.DistanceTo2D(new Vector3(-3077.433, 4942.94, -101.0476)) < 510 && !ObjectManager.Me.IsAlive && wManager.Wow.Helpers.Usefuls.ContinentId == (int)wManager.Wow.Enums.ContinentId.Expansion01) { var enterdungeon = new Vector3(-3077.433, 4942.94, -101.0476); while (ObjectManager.Me.Position.DistanceTo(enterdungeon) > 5) { MovementManager.Go(PathFinder.FindPath(enterdungeon), false); Thread.Sleep(10000); } ObjectManager.Me.Rotation = 5f; wManager.Wow.Helpers.Move.Forward(Move.MoveAction.PressKey, 5000); //for enter dungeon } }; and i have this cycle [N] 15:05:35 - [Path-Finding] Path Count: 2 (21,78443y, 0ms) [N] 15:05:45 - [Path-Finding] FindPath from -3099,044 ; 4940,529 ; -99,73226 ; "None" to -3077,433 ; 4942,94 ; -101,0476 ; "None" (Expansion01) [N] 15:05:45 - [Path-Finding] Path Count: 2 (21,78443y, 0ms) [N] 15:05:55 - [Path-Finding] FindPath from -3099,044 ; 4940,529 ; -99,73226 ; "None" to -3077,433 ; 4942,94 ; -101,0476 ; "None" (Expansion01) [N] 15:05:55 - [Path-Finding] Path Count: 2 (21,78443y, 0ms) [N] 15:06:05 - [Path-Finding] FindPath from -3099,044 ; 4940,529 ; -99,73226 ; "None" to -3077,433 ; 4942,94 ; -101,0476 ; "None" (Expansion01) [N] 15:06:05 - [Path-Finding] Path Count: 2 (21,78443y, 0ms) [N] 15:06:15 - [Path-Finding] FindPath from -3099,044 ; 4940,529 ; -99,73226 ; "None" to -3077,433 ; 4942,94 ; -101,0476 ; "None" (Expansion01) [N] 15:06:15 - [Path-Finding] Path Count: 2 (21,78443y, 0ms) [N] 15:06:25 - [Path-Finding] FindPath from -3099,044 ; 4940,529 ; -99,73226 ; "None" to -3077,433 ; 4942,94 ; -101,0476 ; "None" (Expansion01) [N] 15:06:25 - [Path-Finding] Path Count: 2 (21,78443y, 0ms) [N] 15:06:35 - [Path-Finding] FindPath from -3099,044 ; 4940,529 ; -99,73226 ; "None" to -3077,433 ; 4942,94 ; -101,0476 ; "None" (Expansion01) Link to comment https://wrobot.eu/forums/topic/10422-enter-in-dungeon-after-die/ Share on other sites More sharing options...
zatvorgt 5 Posted November 24, 2018 Author Share Posted November 24, 2018 any idea?* Link to comment https://wrobot.eu/forums/topic/10422-enter-in-dungeon-after-die/#findComment-49502 Share on other sites More sharing options...
Droidz 2738 Posted November 24, 2018 Share Posted November 24, 2018 Hello, try code like wManager.Events.MovementEvents.OnMoveToPulse += (point, cancelable) => { if (point.DistanceTo2D(new Vector3(-3077.433, 4942.94, -101.0476)) < 1.5 && !ObjectManager.Me.IsAlive && wManager.Wow.Helpers.Usefuls.ContinentId == (int)wManager.Wow.Enums.ContinentId.Expansion01) { var enterdungeon = new Vector3(-3077.433, 4942.94, -101.0476); point.X = enterdungeon.X; point.Y = enterdungeon.Y; point.Z = enterdungeon.Z; } }; Link to comment https://wrobot.eu/forums/topic/10422-enter-in-dungeon-after-die/#findComment-49507 Share on other sites More sharing options...
zatvorgt 5 Posted November 24, 2018 Author Share Posted November 24, 2018 thanks will test Link to comment https://wrobot.eu/forums/topic/10422-enter-in-dungeon-after-die/#findComment-49509 Share on other sites More sharing options...
zatvorgt 5 Posted November 28, 2018 Author Share Posted November 28, 2018 On 11/24/2018 at 5:55 PM, Droidz said: Hello, try code like wManager.Events.MovementEvents.OnMoveToPulse += (point, cancelable) => { if (point.DistanceTo2D(new Vector3(-3077.433, 4942.94, -101.0476)) < 1.5 && !ObjectManager.Me.IsAlive && wManager.Wow.Helpers.Usefuls.ContinentId == (int)wManager.Wow.Enums.ContinentId.Expansion01) { var enterdungeon = new Vector3(-3077.433, 4942.94, -101.0476); point.X = enterdungeon.X; point.Y = enterdungeon.Y; point.Z = enterdungeon.Z; } }; not work ....bot run without pathfinder ..... need to create path for new vector Link to comment https://wrobot.eu/forums/topic/10422-enter-in-dungeon-after-die/#findComment-49591 Share on other sites More sharing options...
Matenia 628 Posted November 28, 2018 Share Posted November 28, 2018 The code droidz posted is only for when you're dead and standing RIGHT on the spot before the dungeon. Then it will walk you into the dungeon from that point on. So you need to change the coordinates correctly and it will work. Link to comment https://wrobot.eu/forums/topic/10422-enter-in-dungeon-after-die/#findComment-49592 Share on other sites More sharing options...
zatvorgt 5 Posted November 28, 2018 Author Share Posted November 28, 2018 31 minutes ago, Matenia said: The code droidz posted is only for when you're dead and standing RIGHT on the spot before the dungeon. Then it will walk you into the dungeon from that point on. So you need to change the coordinates correctly and it will work. is good , but bot after die in dungeon - teleporting on spirit healer ,after need code(with pathfinder) to run of spirit healer to enter dungeon Link to comment https://wrobot.eu/forums/topic/10422-enter-in-dungeon-after-die/#findComment-49593 Share on other sites More sharing options...
gto102 0 Posted May 11, 2019 Share Posted May 11, 2019 Hello,have you resolved this problem? I meet the same problem and dont know how to resolve.. Link to comment https://wrobot.eu/forums/topic/10422-enter-in-dungeon-after-die/#findComment-53513 Share on other sites More sharing options...
zatvorgt 5 Posted May 11, 2019 Author Share Posted May 11, 2019 29 minutes ago, gto102 said: Hello,have you resolved this problem? I meet the same problem and dont know how to resolve.. Link to comment https://wrobot.eu/forums/topic/10422-enter-in-dungeon-after-die/#findComment-53515 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