Jump to content

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
https://wrobot.eu/forums/topic/9846-spam-click-specific-object/
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.

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)

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

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.

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