Jump to content

Spam click specific object


prestonjacobs
 Share

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...