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.

Bad dinterract npc distance

Featured Replies

Hello, after next 2-3 updates bot bad interact to npc sometimes   with code example:
<QuestsSorted Action="RunCode" NameClass="wManager.Wow.Bot.Tasks.GoToTask.ToPositionAndIntecractWithNpc(new Vector3(-8867.79, 673.673, 97.90384), 6740, 1, false);" />

in warmane max distance to interract 5.5 meters  , warmane all ok. But in another server max distance to interract npc is 4 meters .... and he stuck again and again  in 4.5 meters of npc....."  you need to be closer to interact with that target  "

Please   take interract distance to npc max 3 meters for good working on all servers

if (GoToTask.ToPosition(Vector3 position, float precision, bool skipIfCannotMakePath, BooleanDelegate conditionExit)
Interact.InteractGameObject(ulong baseAddress, bool stopMove, bool skipWaitTime, bool leftClick);

For example:

var mob = ObjectManager.GetNearestWoWUnit(ObjectManager.GetWoWUnitByEntry(12345));

if (GoToTask.ToPosition(new Vector3(0, 0, 0, "None"), 3.5f))
{
Interact.InteractGameObject(mob.GetBaseAddress, true);
// your actions
}

Where "3.5f" -  distance to interract


More information:

 

  • Author
33 minutes ago, sith500 said:

if (GoToTask.ToPosition(Vector3 position, float precision, bool skipIfCannotMakePath, BooleanDelegate conditionExit)
Interact.InteractGameObject(ulong baseAddress, bool stopMove, bool skipWaitTime, bool leftClick);

For example:


var mob = ObjectManager.GetNearestWoWUnit(ObjectManager.GetWoWUnitByEntry(12345));

if (GoToTask.ToPosition(new Vector3(0, 0, 0, "None"), 2f))
{
Interact.InteractGameObject(mob.GetBaseAddress, true);
// your actions
}

Where "2f" -  distance to interract


More information:

 

thanks but is hard, this problem starts after 2-3 lasts updates....maybe return system of interract old?*

  • Author
4 minutes ago, sith500 said:

Write all your code that you run through "RunCode"

 <QuestsSorted Action="RunCode" NameClass="wManager.Wow.Bot.Tasks.GoToTask.ToPositionAndIntecractWithNpc(new Vector3(-8847.28, 569.955, 94.68758), 4981, 1, false);" />
    <QuestsSorted Action="Wait" NameClass="2000" />
    <QuestsSorted Action="RunLuaCode" NameClass="BuyMerchantItem (5, 8)" />


or standart   gototown   , same problem

34 minutes ago, zatvorgt said:

1,

After interaction, you need to click on the button to open the trading window? Try this:
 

var mob = ObjectManager.GetNearestWoWUnit(ObjectManager.GetWoWUnitByEntry(4981));

if (GoToTask.ToPosition(new Vector3(-8847.28, 569.955, 94.68758), 2f)
{
	Interact.InteractGameObject(mob.GetBaseAddress, true);
  	Thread.Sleep(Usefuls.Latency + 500);
	Lua.LuaDoString("GossipTitleButton1:Click()");
	Thread.Sleep(Usefuls.Latency + 1000);
	Lua.LuaDoString("BuyMerchantItem(5, 8)");
}

I recommend doing this step go like "pulse", not "Runcode". Tell me the id of your item.

  • 3 weeks later...
  • Author
1 minute ago, Droidz said:

Hello, wait next update and use this:


        wManager.Wow.ObjectManager.WoWUnit.MaxInteractDistance = 50.0f;
        wManager.Wow.ObjectManager.WoWUnit.MinInteractDistance = 4.3f;

 

Thank you much!!!!!!!

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.