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.

Problem with GoToTask.ToPositionAndIntecractWithNpc on TBC

Featured Replies

Hi,

I have noticed a problem recently with GoToTask.ToPositionAndIntecractWithNpc(...).

Sometimes, the bot will succesfully move to the NPC, but then fail to interact with it, despite being in interaction range.

It's very random and hard to reproduce. When that happens, GoToTask.ToPositionAndIntecractWithNpc returns false. The gossip option argument doesn't seem to make a difference. I've encountered this issue a few times on my private server, and others in the team have also encountered this issue on the Endless server. It does not happen on the WotLK expansion at all. It happens with our flightmaster plugin, but also with the quester (quests pickup for example).

Has anyone ever encountered this issue, and has any idea where it could come from?

Hi all,

I want to join to the victims of this problem. This one happening not very often. NPC window is not showing up at all (as if the bot never interacted with npc). Examples - pick up / turn in quests or discovering flight master. Even when my bot is played and I will click on npc bot refuses to pick up / turn in the quest at all. 

For me that was on TBC servers only too. 1 think I want to mention is that I tried to disable all my plugins, I am not using any addons. Tried to reset wrobot, relogger, PC... Nothing helped. 

i had this problem a few days ago, i fix it with this simple function.

public static void GoInteractwithNpc(Vector3 vector, int Npc, int GossipOption)
    {
        if (wManager.Wow.Bot.Tasks.GoToTask.ToPosition(vector))
        {
            Interact.InteractGameObject(ObjectManager.GetWoWUnitByEntry(Npc).First().GetBaseAddress);
        }
        Usefuls.SelectGossipOption(GossipOption);
    }

 

 

17 hours ago, Zer0 said:

bot will succesfully move to the NPC, but then fail to interact with it

usually a bot behaves like this when an NPC or game object is blacklisted

  • Author

@TheSmokie So far, it's been reported that the fix works. Thanks for that.

@Droidz I'm sure this is not a blacklist issue. I've had this issue randomly with test characters and empty profile. Unless I'm missing something, there's no way any NPC was blacklisted in those situations.
It seems to be a recent issue, I don't remember the bot having this problem before, but I could be wrong.
We have several testers working on both TBC and WotLK and the problem only has been reported with TBC. Never heard or seen that issue on WotLK.
I haven't tried to modify the interact distance. Unfortunately, the problem happens so rarely for me that it's impossible to test soundly. Also, I don't know if it helps, but when I've had this issue, I noticed the character was standing in interaction range (the NPC can be right-clicked for a gossip).
I've implemented Smokie's fix with a bool in return and now it seems to work. You can see the code here:
https://github.com/Wholesome-wRobot/Wholesome-TBC-FlightMaster/blob/master/Tools/WFMMoveInteract.cs

Hope it helps

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.