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.

Select target

Featured Replies

Hello,

var listUnit = new List<WoWUnit>();
listUnit.AddRange(ObjectManager.GetWoWUnitHostile().Where(u => u.GetDistance2D <= 5).OrderBy(u => u.GetDistance));

foreach (var woWUnit in listUnit)

    Interact.InteractGameObject(woWUnit.GetBaseAddress, true);

 

The code select target, but char begin attack the "woWUnit" , how just select target without autoattack?

13 hours ago, 79135 said:

Hello,

var listUnit = new List<WoWUnit>();
listUnit.AddRange(ObjectManager.GetWoWUnitHostile().Where(u => u.GetDistance2D <= 5).OrderBy(u => u.GetDistance));

foreach (var woWUnit in listUnit)

    Interact.InteractGameObject(woWUnit.GetBaseAddress, true);

 

The code select target, but char begin attack the "woWUnit" , how just select target without autoattack?

ObjectManager.Me.Target = wowUnit.Guid;

  • Author
2 hours ago, Matenia said:

ObjectManager.Me.Target = wowUnit.Guid; 

unfortunately, this command also select a unit and attacks it... BTW Wow ver 3.3.5

5 minutes ago, 79135 said:

unfortunately, this command also select a unit and attacks it...

By itself, it absolutely does not start the fight. It only sets the target.
You can call Fight.StopFight() before and after. Why do you even need to target a unit?

  • Author
Just now, Matenia said:

By itself, it absolutely does not start the fight. It only sets the target.
You can call Fight.StopFight() before and after. Why do you even need to target a unit? 

For pickpocketing

  • Author
3 minutes ago, Matenia said:

By itself, it absolutely does not start the fight. It only sets the target.
You can call Fight.StopFight() before and after. Why do you even need to target a unit? 

I don't know why it happen, but char begin attack target even if I add Fight.StopFight() before and after.

  • Author

var unit = new WoWUnit(ObjectManager.GetObjectByGuid (17379391364021616671).GetBaseAddress);

Fight.StopFight();
ObjectManager.Me.Target = unit.Guid;  
Fight.StopFight();

If I use the code:

var unit = new WoWUnit(ObjectManager.GetObjectByGuid (17379391364021616671).GetBaseAddress);

wManager.Wow.Bot.Tasks.GoToTask.ToPosition(unit.Position); 
 

Work good, but don't select target. If use macro for select target after I get to the goal - it not always correctly selects the target

 

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.