Jump to content
Sign in to follow this  
blooper

Auto retaliate

Recommended Posts

No built-in methods. But you can create your own. This one avoids OSBot missclicks on low CPU PC's:

if(client.getConfig(172) == 1) { // If auto-retaliate is off
    // Open attack tab
    openTab(Tab.ATTACK);
    // Define area of retaliate button
    RectangleDestination retalitate = new RectangleDestination(new Rectangle(569, 358, 150, 46));
    // First move to auto-retaliate box
    client.moveMouseTo(retalitate, false, false, false);
    // Wait a bit
    sleep(random(300, 500)); 
    // Then click (this avoids missclicks by OSBot)
    client.moveMouseTo(retalitate, false, true, false);
}

Have fun!

Edited by SXForce
  • Like 1

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...