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.

Kill mobs that in range, until there are no units left

Featured Replies

Hello, is there any easy way to tell bot run to a specific place, for example followpath1 , Grind mobs that are in range you set (wManager.wManagerSetting.CurrentSetting.SearchRadius = 50;)
And use IsComplete condition something like there are no mobs left in that spot. so i can use another followpath and run to another spot to grind mobs.

Hi,

no tested but you can try code like this:

using System.Collections.Generic;
using robotManager.Helpful;
using wManager.Wow.Bot.States;
using wManager.Wow.Class;
using wManager.Wow.ObjectManager;

public class QuestGrindingNearestMobs : QuestClass
{
    public Vector3 HotSpots = new Vector3(1, 2, 3);
    public float RadiusGrinderZone = 50;
    public string NameQuest = "QuestGrindingNearestMobs";

    private wManager.Wow.Bot.States.GrindingNearestMobs _grinder;
    private wManager.Wow.Bot.States.MovementLoop _movement;

    public QuestGrindingNearestMobs()
    {
        _grinder = new wManager.Wow.Bot.States.GrindingNearestMobs { Priority = 2, CenterGinderZone = HotSpots, RadiusGrinderZone = RadiusGrinderZone };
        _movement = new wManager.Wow.Bot.States.MovementLoop { PathLoop = new List<Vector3>() { HotSpots } };
        Name = NameQuest;
    }

    public override bool Pulse()
    {
        Logging.Status = "Quester > Grinder nearest mobs for \"" + Name + "\"";

        if (_grinder.NeedToRun)
            _grinder.Run();
        else if (_movement.NeedToRun)
        {
            _movement.Run();
        }

        return true;
    }

    public override bool IsComplete()
    {
        return !_grinder.NeedToRun && ObjectManager.Me.Position.DistanceTo(HotSpots) <= RadiusGrinderZone;
    }

    public override bool HasQuest()
    {
        return !IsComplete();
    }
}

 

  • Author

[E] 17:00:54.044 - Compilator Error :
c:\WRobotTBC\Data\temp\du5kpjxc.0.cs(30,34) : error CS1513: ожидалась }
c:\WRobotTBC\Data\temp\du5kpjxc.0.cs(73,1) : error CS1022: Ожидалось определение типа или пространства имен, либо признак конца файла

Where to check whats wrong, cause i dont have any files in my temp folder named du5kpjxc etc : ) I'm kinda far from programming,

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.