Hello!
I don't quite understand if it's a bug or not ...
Sometimes when a bot makes a quest with a click on an object, for example, a portal click from city 1 to city 2, it sometimes ignores the "Is complete condition" and continues to run somewhere further.
For example:
Quest: PortalFromDalaranToExodar.
The code for this quest (only 1 line):
wManager.Wow.Bot.Tasks.GoToTask.ToPositionAndIntecractWithGameObject(new Vector3(5699.33, 735.217, 641.767), 191007);
return true;
Is complete condition for this quest:
return !ObjectManager.Me.IsAlliance || Usefuls.MapZoneName == "The Exodar";
"Not required in quest log" set to true.
But, as soon as bot crosses the portal and finds himself in the Exodar - he continues to run along some coordinate! It seems this is the coordinate of Dalaran portal to Exodar, but at this moment the bot is "blind" and does not see that it is already in the Exodar!
I tried adding Thread.Sleep after the interact with portal code, but the bot still sometimes ignores Is complete condition ...
How can I fix this? Thanks for the answers, if someone understood me and knows what can be done.