Jump to content

Door closing too fast in quest profile


Recommended Posts

So I have a dung profile, but there is a door at the entrance, and sometimes it closes too fast for bot to path through, this is what I have atm.
RunCode > wManager.wManagerSetting.CurrentSetting.ListHarvest.Add(183450);
Pulse > path1

Is there any way to make it open the door again, if it closes too fast?

Link to comment
Share on other sites

Interact.InteractGameObject(ObjectManager.GetWoWGameObjectByEntry(183450).FirstOrDefault().GetBaseAddress); Something like that I think.

 

Or wManager.Wow.Bot.Tasks.GoToTask.ToPositionAndIntecractWithGameObject(position vector, 183450);

Link to comment
Share on other sites

2 hours ago, sb360 said:

Interact.InteractGameObject(ObjectManager.GetWoWGameObjectByEntry(183450).FirstOrDefault().GetBaseAddress); Something like that I think.

 

Or wManager.Wow.Bot.Tasks.GoToTask.ToPositionAndIntecractWithGameObject(position vector, 183450);

The problem is, it can open the door just fine with the code i already have, but the questbot goes to next step, and sometimes it is not fast enough to move through the door before it closes again, and it just continues to pulse the path and keeps running into the door

Link to comment
Share on other sites

1) Move to the door
2) Use the door
3) Custom move to the position behind the door
4) Check if you are not behind the door (your coordinates)
If you are not, repeat.

In code it should be like:
While (not behind the door)

{
Move to the door
Use it
Move behind it

}

Link to comment
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...