Jump to content

Spam click specific object


Recommended Posts

Is it possible to make the bot click an object very fast and multiple times?
I usually just use the regular harvest one but Ive found a spot where spam clicking the object is necessary, is this possible? mby via a plugin or mby in a quester profile?

Any assistance would be much appreciated!

Link to comment
Share on other sites

Just now, Droidz said:

Hello, in which circumstance? do you have object entry id, and what delay between two click?

Objectid is 218889, its a chest that spawns a mob when u loot it, but if you click it fast you can spawn 2-3 mobs. so as close to no delay between the clicks as possible.

Link to comment
Share on other sites

Try code like 

while (Conditions.InGameAndConnectedAndAliveAndProductStartedNotInPause && !Conditions.IsAttackedAndCannotIgnore)
{
    var o = wManager.Wow.ObjectManager.ObjectManager.GetNearestWoWGameObject(wManager.Wow.ObjectManager.ObjectManager.GetWoWGameObjectByEntry(218889));
    if (!o.IsValid)
        break;
    wManager.Wow.Helpers.Interact.InteractGameObject(o.GetBaseAddress);
    Thread.Sleep(100);
}

(use quest profile and overidepulse... quest type)

Link to comment
Share on other sites

2 hours ago, Droidz said:

Try code like 


while (Conditions.InGameAndConnectedAndAliveAndProductStartedNotInPause && !Conditions.IsAttackedAndCannotIgnore)
{
    var o = wManager.Wow.ObjectManager.ObjectManager.GetNearestWoWGameObject(wManager.Wow.ObjectManager.ObjectManager.GetWoWGameObjectByEntry(218889));
    if (!o.IsValid)
        break;
    wManager.Wow.Helpers.Interact.InteractGameObject(o.GetBaseAddress);
    Thread.Sleep(100);
}

(use quest profile and overidepulse... quest type)

Tried adding it, but it gives me compiler error on start

 

chest.xml

Link to comment
Share on other sites

11 minutes ago, sb360 said:

You can paste the code into the dev tools window and try it

___________________________________________

( robotManager.Helpful.Var.SetVar("dbgOutput", VALUE_HERE); )
dbgOutput = 
Execute time: 0

Is what it says when i try to run it while standing ontop of the chest, doesnt take any action though.

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