blooper Posted September 10, 2013 Share Posted September 10, 2013 Are there any inbuilt methods for handling auto-retliate? I want to toggle it on and off at certain times but can't for the life of me find anything in the API. Link to comment Share on other sites More sharing options...
SXForce Posted September 10, 2013 Share Posted September 10, 2013 (edited) 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 September 10, 2013 by SXForce 1 Link to comment Share on other sites More sharing options...