Zer0 148 Posted November 20, 2020 Share Posted November 20, 2020 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? Energia 1 Link to comment https://wrobot.eu/forums/topic/12679-problem-with-gototasktopositionandintecractwithnpc-on-tbc/ Share on other sites More sharing options...
Energia 20 Posted November 20, 2020 Share Posted November 20, 2020 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. Zer0 1 Link to comment https://wrobot.eu/forums/topic/12679-problem-with-gototasktopositionandintecractwithnpc-on-tbc/#findComment-60596 Share on other sites More sharing options...
TheSmokie 242 Posted November 20, 2020 Share Posted November 20, 2020 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); } Link to comment https://wrobot.eu/forums/topic/12679-problem-with-gototasktopositionandintecractwithnpc-on-tbc/#findComment-60597 Share on other sites More sharing options...
Zer0 148 Posted November 20, 2020 Author Share Posted November 20, 2020 Thanks, I'll give it a try. Link to comment https://wrobot.eu/forums/topic/12679-problem-with-gototasktopositionandintecractwithnpc-on-tbc/#findComment-60598 Share on other sites More sharing options...
TheSmokie 242 Posted November 20, 2020 Share Posted November 20, 2020 Note: if it runs to cast, you can set a Thread.Sleep Link to comment https://wrobot.eu/forums/topic/12679-problem-with-gototasktopositionandintecractwithnpc-on-tbc/#findComment-60599 Share on other sites More sharing options...
Pudge 24 Posted November 21, 2020 Share Posted November 21, 2020 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 Link to comment https://wrobot.eu/forums/topic/12679-problem-with-gototasktopositionandintecractwithnpc-on-tbc/#findComment-60601 Share on other sites More sharing options...
Droidz 2739 Posted November 21, 2020 Share Posted November 21, 2020 Hi, yes next time that you get this problem check if NPC is not blacklisted (use radar3d with option to see blacklist enabled). It is recent problem for all? only in Wotlk? you have try to put bigger interact distance? Link to comment https://wrobot.eu/forums/topic/12679-problem-with-gototasktopositionandintecractwithnpc-on-tbc/#findComment-60607 Share on other sites More sharing options...
Zer0 148 Posted November 21, 2020 Author Share Posted November 21, 2020 @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 Link to comment https://wrobot.eu/forums/topic/12679-problem-with-gototasktopositionandintecractwithnpc-on-tbc/#findComment-60610 Share on other sites More sharing options...
TheSmokie 242 Posted November 21, 2020 Share Posted November 21, 2020 I’m glad I could help ! ? Link to comment https://wrobot.eu/forums/topic/12679-problem-with-gototasktopositionandintecractwithnpc-on-tbc/#findComment-60611 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now