November 23, 20187 yr 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)
November 24, 20187 yr 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; } };
November 28, 20187 yr Author 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
November 28, 20187 yr 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.
November 28, 20187 yr Author 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
May 11, 20197 yr Hello,have you resolved this problem? I meet the same problem and dont know how to resolve..
May 11, 20197 yr Author 29 minutes ago, gto102 said: Hello,have you resolved this problem? I meet the same problem and dont know how to resolve..
Create an account or sign in to comment