Jump to content
View in the app

A better way to browse. Learn more.

OSBot :: 2007 OSRS Botting

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Butters

Java Lifetime Sponsor
  • Joined

  • Last visited

Everything posted by Butters

  1. Butters replied to Butters's topic in Money Making
    Yes it is. I'm not really familiar with it. Does it have an extra bank or something?
  2. Can check while debugging in OSBots widget debugger
  3. Butters replied to AUSmadman's topic in Runescape
    PID as in Process Identifier?
  4. Hope that by now you understood conditional sleeps, so I won't say anything about that. I would recommend to rewrite your code from scratch and consider some things like not checking if you have law and water runes in two steps. This won't improve performance drastically, but will keep the code cleaner and easier to work with. e.g. private boolean hasRunes() { return inventory.contains("Law rune") && inventory.contains("Air rune"); } I would also rewrite this log("The telekinetic spell is selected"); mouse.move(418, 164); camera.moveYaw(186); camera.movePitch(67); To something like if the wine or counter or certain position is not visible, then and only then move the camera around. Would put this in the topmost code block whenever you are sure that you are in the right place. You can leave the mouse.move(418, 164); after you select the spell.
  5. You need to use Java 8 to run OSBot Newer versions won't do
  6. ListInteger doorIds = new ArrayList<>(); doorIds.add(1560); doorIds.add(1558); // I reckon better use positions (x, y) if (!map.canReach(SOME_POSITION_BEYOND_GATE) { RS2Object gate = objects.closest(f -> doorIds.constains(f.getId()) && f.hasAction("Open")); if (gate != null) { gate.interact("Open"); } } else { walking.webwalk(SOME_POSITION_BEYOND_GATE); } Didn't test it, but should do the trick
  7. Butters replied to RS123's topic in Scripting Help
    Replace conditional sleep with something like this new ConditionalSleep(5000 250) { @Override public boolean condition() throws InterruptedException { return inventory.isEmpty(); } }; And reading some examples/playing around would help. What's not working?
  8. Butters replied to RS123's topic in Scripting Help
    What errors are you getting? Easiest way to do it would be something like if (Banks.GRAND_EXCHANGE.constains(myPlayer()) { if (bank.isOpen) { bank.depositAll(); CONDITIONAL_SLEEP_UNTIL_INVENTORY_EMPTY // Search in forums for code to do this } else { try { bank.open(); } catch (Exception e) { } } } else { walking.webwalk(Banks.GRAND_EXCHANGE); } Didn't check code or syntax
  9. Actually 500 bucks sounds kinda ok or even cheap, regarding that you want an account manager. Also if the account manager scales easily with new scripts, then it's very fair.
  10. Seeing the list of stuff he did, a new break handler looks like a small fish in water Love the resizable support. Gonna test is for sure
  11. Butters replied to Chris's topic in Spam/Off Topic
    I do believe that Java is hated due to it being slow in the early days. Probably also due to Java applets (once those stopped being "groundbreaking"). Basically people think of Java as it was in the early days and compare it to new technologies.
  12. Well if speaking purely from a general perspective, as Explv said the "best language" is fairly subjective. If your goal is to eventually land a job, good thing to do would be to snoop around recruiting/CV sites see what's the most popular language in your country. Where I live, .NET (C#) is quite popular and doesn't take too much effort to land a junior position at a company with rather minimal skills. From there on you can gain experience by working in real life projects and from more experienced colleges.
  13. very very very nice! -Patched threading issue with script executor Can you elaborate on this?
  14. A few OSRS servers are down for maintenance today. This might be causing some connectivity issues.
  15. Would probably help if you shared the exact error you're getting
  16. As someone mentioned, try removing the old script from OSBot/Scripts. If there are two or more scripts with the same name (script name set in code, not .jar name) I think OSBot says "I ain't gonna put that in the script selector, cause I dunno which one to put in"
  17. Excatly this String[] itemsToKeep = new String[] { "Rune pickaxe", "Uncut sapphire" } // Etc if (inventory.isFull()) { inventory.dropAllExcept(itemsToKeep); } else { // Do mining } Can also write your own stuff for dropping. Like iterating though the inventory and checking items.
  18. if (!inventory.contains("Item name") { //walking.webwalk(Banks.FALADOR_EAST); /* RS2Object oakTree = objects.closest("Oak"); if (oakTree != null) oakTree.interact("Cut"); */ // etc etc etc } Hard to understand what you really need. I recommend reading a few of OSBot API tutorials here on OSBot. Some are very good
  19. I don't get what's wrong with !inventory.contains() ? If inventory contains some fancy item - do something, if it doesn't - do something else
  20. Just use inventory.isEmptyExcept(); And I strongly advise to use item names (Strings) and not id's for reasons like code clarity and for the fact that ids might change.
  21. Butters replied to Butters's topic in Money Making
    Just tested, all is well. The fountain on the east side, right? Not the one in the center of Varrock. Also, did you select the location in GUI and press start?
  22. Butters replied to Butters's topic in Money Making
    Cause you're too far away from the Fountain/pump or bank in your selected location. Web walking is not used here. Say if you're doing soft clay in Varrock East, need to be somewhere near Varrock east bank or the fountain.
  23. Butters replied to Butters's topic in Money Making
    Pushed version v1.2. Improved walking
  24. Butters replied to Butters's topic in Money Making
    Thanks for the heads up. Looking at it now. Shouldn't be happening "always" though

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.