Skip to content
View in the app

A better way to browse. Learn more.

WRobot

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Improving tank(Too)Far()

Featured Replies

Basicly currently the problem is that it follows tank in combat and all if going too far doing fine but if tank goes out of line of sight (behind tree, hill or something) it'll just stand there like mushroom in shit. Any ideas how to improve this? For some reason with MovementManager.MoveTo(tank) it requires straight line to the target without anything on its way

 

        #region Tank too far
        bool tankfar()
        {
            WoWPlayer tank = getTanks().First();
            while (tank.GetDistance > 15)
            {
                MovementManager.MoveTo(tank);
            }
            MovementManager.StopMove();
            return false;
        }
        #endregion

 

Hello,

To stop to go to tank if it is out of view you can use this code:

        #region Tank too far
        bool tankfar()
        {
            WoWPlayer tank = getTanks().First();
            while (tank.IsValid && tank.GetDistance > 15 && !wManager.Wow.Helpers.TraceLine.TraceLineGo(tank.Position))
            {
				MovementManager.MoveTo(tank);
				System.Threading.Thread.Sleep(50);
            }
            MovementManager.StopMove();
            return false;
        }
        #endregion

 

To generate path and go to tank you can use code like this:

        #region Tank too far
        bool tankfar()
        {
            WoWPlayer tank = getTanks().First();
            if (tank.IsValid && tank.GetDistance > 15)
            {
                wManager.Wow.Bot.Tasks.GoToTask.ToPositionAndIntecractWith(new WoWUnit(tank.GetBaseAddress), -1, false, context => Conditions.InGameAndConnectedAndAliveAndProductStartedNotInPause && tank.GetDistance > 15);
            }
            MovementManager.StopMove();
            return false;
        }
        #endregion

 

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.