What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

EOTS Horde -- jumping from starting rock && spinning FIX

roguetexan

New Member
Joined
Mar 23, 2010
Messages
72
Reaction score
0
EOTS Horde -- jumping from starting rock && spinning FIX for BG Bot (beta)

This is for BG Bot beta.

I've had the same issue as others with my bots jumping incorrectly from the starting position in EOTS as well as the on again off again spinning wildly issue. The following "hack" solution fixes it for me-- both for starting the game and if you die and ghost up there, then get rezzed by the Spirit Healer.

If you incorporate this into the PULSE() of your CC at the beginning, plus add the WoWPoints and the subroutine. Probably can be tuned to be a little smoother, but it works for me great. Same idea should work for other entrances and spinning issue.

NOTE: any "buff" routine or other setup functions will not work with this while it is "holding" the bot from pathing incorrectly. You would have to explicitly call those routines in the "while" loop if you want them to run.

Code:
        private static WoWPoint point1 = new WoWPoint { X = 1831.52f, Y = 1551.03f, Z = 1256.217f };
        private static WoWPoint point2 = new WoWPoint { X = 1849.548f, Y = 1534.768f, Z = 1241.424f };
        private static WoWPoint point3 = new WoWPoint { X = 1846.201f, Y = 1514.293f, Z = 1226.463f };

        private static void WaitWhileMove()
        {
            Thread.Sleep(500);
            while (Me.IsMoving) 
                Thread.Sleep(750);
            WoWMovement.MoveStop();
            Thread.Sleep(500);
        }

        public override void Pulse()
        {
            //  should work for all BGs as long as the aura "Preparation" is on
            while ((Me.Auras.ContainsKey("Preparation")) && Me.Mounted)
            {
                 //  <  call buff routine or other setup routines here if needed>
                Thread.Sleep(3000);
                Navigator.Clear();  // this is needed because the bot can call a path in the short interval before the pulse starts...
            }

            if (point1.Distance(Me.Location) < 10 && Me.Mounted)
            {
                Log("Leave Rock");
                WoWMovement.ClickToMove(point1, 1);
                WaitWhileMove();
                WoWMovement.ClickToMove(point2, 1);
                WaitWhileMove();
                WoWMovement.ClickToMove(point3, 1);
                WaitWhileMove();
                Thread.Sleep(2000);
                WoWMovement.MoveStop();
                Navigator.Clear();  // failsafe...
            }

-------  REST OF YOUR PULSE CODE -------

}
 
Last edited:
Back
Top