Jump to content

Butters

Lifetime Sponsor
  • Posts

    650
  • Joined

  • Last visited

  • Feedback

    100%

Everything posted by Butters

  1. As I think you wanna play legit and just need auto potion drinking then it's easy. "Pseudo" non tested code below int prayerPointThreshold = 10; String prayerPotName = "Prayer potion"; public int onLoop() { if (skills.getDynamic(Skill.PRAYER) <= prayerPointThreshold && inventory.contains(prayerPotName)) { inventory.interact("Drink", prayerPotName); new ConditionalSleep(5000, 250) { public boolean evaluate() { return skills.getDynamic(Skill.PRAYER) > prayerPointThreshold; } } } } Use proper potion names (can't remember how they are called) and dunno if the conditional sleep syntax is correct. Otherwise should work.
  2. Having trouble writing code itself or making it compile and etc while using tools you're not used to?
  3. As this is planned beforehand, maybe possible to know the approx time when it will go live?
  4. You're giving way too little info. Was it a private script and were you required to enter your login info in order to use the script? What makes you say that it has something to do with the script.
  5. RS2Widget bondScreen = s.widgets.getWidgetContainingText("Redeem Old School Bonds"); if (bondScreen != null && bondScreen.isVisible()) { RS2Widget days14 = s.widgets.getWidgetContainingText("14 days"); RS2Widget confirmButton = s.widgets.getWidgetContainingText("___", "Confirm"); if (confirmButton != null && confirmButton.isVisible()) { if (confirmButton.getMessage().equals("___")) { if (days14 != null) { WidgetDestination widgetDestinationDays14 = new WidgetDestination(s.getBot(), days14); if (s.getMouse().click((MouseDestination) widgetDestinationDays14)) { Utils.condSleep(8000, 250, () -> confirmButton.getMessage().equals("Confirm")); } } } else { if (s.getMouse().click((MouseDestination) new RectangleDestination(s.getBot(), 326, 267, 8, 8))) { Utils.condSleep(50000, 250, () -> s.getDialogues().inDialogue() && s.getDialogues().isPendingContinuation()); } if (s.getDialogues().isPendingContinuation()) { s.getDialogues().clickContinue(); } hopWorld(s.p2pWorld); } } } Clean this up and enjoy
  6. Weekly rs updates. Wait till hooks are updated or worst case scenario will need to update OSBot client. No need to ping mods/devs
  7. If you just want to POST/GET, the Java URL class is more than enough for simple stuff. Dunno what's getting you blocked.
  8. roughly 6 hours if suciding
  9. Butters

    SWT GUI

    SWT is some sort of fancy library? OSBot doesn't allow external dependencies in scripts. You can copy paste the source code of your dependency into the script though. Though would recommend just using normal swing.
  10. Honestly, I think your cowhide looters will get banned in like 5-6 hours. Bans are crazy these days. Well try it out and you'll see, but don't expect anything good.
  11. If you'll be a good boy this year, might try to put it on SDN
  12. It helps a bit, dunno by how much though. Try it out and share your findings. Usually what really eats cpu is loading osbot and in many cases using webwalking in script. Keep in mind that using lowcpu usually calls for scripts sometimes working sluggishly and some minor issues if scripts aren't written with failsafes. Might be just cause system is usually laggy though
  13. Well clearly something is horribly wrong. What does the later part say (not just the start)? A typical and easy issue might be out of ram.
  14. Last or almost last post that Lemons made. Try his solution
  15. Lol same here word by word. Didn't watch the latest season so that I can watch everything from season 1 again when the final season comes out Hoped that the final will be this year though.
  16. Butters

    OSBot 2.4.160

    Plz share And thanks for the useful updates
  17. Try issuing java -version in command line. If as Explv said it's java 9, then you need to downgrade to java 8
  18. Was more or less decent a good year ago, became a lil worse about 10 months ago, and starting 2018 it became hell Still ok if you're botting carefully and not too much. gg Jagex
  19. Long overdue, should help make OSBot more appealing! Don't want to be an ass, but maybe then update premium script rules
×
×
  • Create New...