Jump to content

Recommended Posts

Cant Turn in Quests to stone object that are quite big, bot will keep runing into it

https://wowwiki.fandom.com/wiki/Elder_Mana'loa

https://wotlk-twinhead.twinstar.cz/?object=188419

https://db.darkwizard.pl/?object=187565

9 cze 2019 23H43.log.html

Edited by Jensen-
Link to comment
https://wrobot.eu/forums/topic/11373-cant-turn-in-quests/
Share on other sites

Thank you @thxgod1\

here @Jensen-, code for you're problem, Also more code you can use that i have made.

if (!Quest.HasQuest(Quest ID) && !(ObjectManager.Me.Position.DistanceTo2D(new Vector3(x, y, z)) < 20))
{
wManager.Wow.Bot.Tasks.GoToTask.ToPosition(new Vector3(x, y, z));
}
var u = ObjectManager.GetNearestWoWUnit(ObjectManager.GetWoWUnitByEntry(NPCID));
if (u.IsValid)
{
    Interact.InteractGameObject(u.GetBaseAddress);
    wManager.Wow.Helpers.Lua.RunMacroText("/script AcceptQuest();");
}
return true;
Link to comment
https://wrobot.eu/forums/topic/11373-cant-turn-in-quests/#findComment-54408
Share on other sites

8 hours ago, The Smokie. said:

Thank you @thxgod1\

here @Jensen-, code for you're problem, Also more code you can use that i have made.


if (!Quest.HasQuest(Quest ID) && !(ObjectManager.Me.Position.DistanceTo2D(new Vector3(x, y, z)) < 20))
{
wManager.Wow.Bot.Tasks.GoToTask.ToPosition(new Vector3(x, y, z));
}
var u = ObjectManager.GetNearestWoWUnit(ObjectManager.GetWoWUnitByEntry(NPCID));
if (u.IsValid)
{
    Interact.InteractGameObject(u.GetBaseAddress);
    wManager.Wow.Helpers.Lua.RunMacroText("/script AcceptQuest();");
}
return true;

Thanks got it working

Link to comment
https://wrobot.eu/forums/topic/11373-cant-turn-in-quests/#findComment-54427
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...