Jump to content

Recommended Posts

The bot tries to run to the very center of this object. But the object is large. That's why he hits the wall.
You can interact with this object even from a distance of 10 meters. But the bot rests on pixels, trying to get to the very center

// Go to Location, Target NPC , Turn Quest In. RunCode --- Manually Complete Quest - force complete, forcecomplete, Runcode

if (Quest.GetQuestCompleted())
{
wManager.Wow.Bot.Tasks.GoToTask.ToPosition(new Vector3(x, y, z));
}
var u = ObjectManager.GetNearestWoWUnit(ObjectManager.GetWoWUnitByEntry(XXXX));
if (u.IsValid)
{
    Interact.InteractGameObject(u.GetBaseAddress);
Lua.LuaDoString("QuestFrameCompleteQuestButton:Click();");
}

 

found such a way. I'll try a little later
I will try your method too

UPD
test
 

wManager.Wow.Helpers.Interact.InteractGameObject(ObjectManager.GetWoWGameObjectByEntry(176392).FirstOrDefault().GetBaseAddress);

     System.Threading.Thread.Sleep(1000);
     wManager.Wow.Helpers.Lua.LuaDoString("QuestFrameAcceptButton:Click();");
Thread.Sleep(1000);
 

 

wManager.Wow.Helpers.Interact.InteractGameObject(ObjectManager.GetWoWGameObjectByEntry(176392).FirstOrDefault().GetBaseAddress);

     System.Threading.Thread.Sleep(1000);
     wManager.Wow.Helpers.Lua.LuaDoString("QuestFrameCompleteQuestButton:Click();");
Thread.Sleep(1000);

1. Followpath to object
2. runcode : (pick up)
wManager.Wow.Helpers.Interact.InteractGameObject(ObjectManager.GetWoWGameObjectByEntry(176392).FirstOrDefault().GetBaseAddress);

     System.Threading.Thread.Sleep(1000);
     wManager.Wow.Helpers.Lua.LuaDoString("QuestFrameAcceptButton:Click();");
Thread.Sleep(1000);

3. pulse quest

4. Followpath to object

5. runcode : (turn in)
wManager.Wow.Helpers.Interact.InteractGameObject(ObjectManager.GetWoWGameObjectByEntry(176392).FirstOrDefault().GetBaseAddress);

     System.Threading.Thread.Sleep(1000);
     wManager.Wow.Helpers.Lua.LuaDoString("QuestFrameCompleteQuestButton:Click();");
Thread.Sleep(1000);

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...