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.

How can I target monster by WoWObject.GetBaseAddress

Featured Replies

When i use the code:

WoWObject obj1= wManager.Wow.ObjectManager.ObjectManager.GetNearestWoWUnit(wManager.Wow.ObjectManager.ObjectManager.GetObjectWoWUnit());
              uint address = obj1.GetBaseAddress;

"wManager.Wow.Helpers.Interact.InteractGameObject(address, true, true);"  

The bot Target  the  monster then  autoattack.

How can  i target the monster  but not attack , just target the enemy. What api shoud i use.

  • Author
15 hours ago, Matenia said:

Depending on what you want to do, it should also be possible to do:


ObjectManager.Me.Target = obj1.Guid;

 

I have tested this methord, bot can target then move and attack the obj.  I  just want target the obj whithout attack, have any other methord i can target the obj?

5 hours ago, jeste309 said:

I have tested this methord, bot can target then move and attack the obj.  I  just want target the obj whithout attack, have any other methord i can target the obj?

This method ONLY sets the target. If you have your bot set to grind and you are targeting the type of mob that you've set as a target, the bot might decide for itself to "start a fight". 
Try doing whatever you're doing in a quester or call Fight.StopFight() right after.

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.