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.

Precise

Java Lifetime Sponsor
  • Joined

  • Last visited

Everything posted by Precise

  1. ok nice, glad it worked
  2. you said you had defined a list of items, maybe store a property of that item whether they are stackable or not? or you could check the noted id since a stackable item shouldn't have a noted id. ( i think returns -1 last time i checked).
  3. this is what i used in an NMZ script: public int getCurrentDrinkLevel() { RS2Widget widget = script.getWidgets().get(202, 1, 9); if(widget != null && widget.isVisible() && widget.getMessage() != null) return Integer.parseInt(widget.getMessage().replace(",", "")); return 0; }
  4. he spent that much time on the forum everyday, he'll be back vading lol
  5. here is what it could look like: if(!getInventory().isFull()) { //Chop if(!myPlayer().isAnimating() && !myPlayer().isMoving()) { if(TREE_AREA.contains(myPlayer())) { Entity tree = getObjects().closest(AREA_HERE, TREE_NAME); if (tree != null) { if(tree.interact("CHOP??")) add sleep here } } } }
  6. yes there is a methods for it, but then it will do nothing if the entity is not in the area. you want to filter out the ones like i have above
  7. RS2Object tree = getObjects().closest(AREA_HERE, TREE_NAME HERE); check out the api here for more options: http://osbot.org/api/org/osbot/rs07/api/EntityAPI.html
  8. interaction event spam clicks and other weird behavior, example would be dropping a full inventory of fish with .interact() and you'll see the difference with normal vs. low cpu
  9. low cpu mode helps a lot too, but may cause issues with some scripts so use it carefully
  10. it's resolved, just needed to save :P
  11. what lol add my skype, probably save more time: precise.scripting no need since onLoop throws Interrupted Exception
  12. could you show what is on these lines?
  13. to save time, which line does the unhandled exception occur at?
  14. this
  15. if you are purchasing a private scripts make sure to get a quote for everything you want otherwise this will happen. It isn't the clients fault since it isn't supposed to handle every situation when you can't break before breaking, this is for the scripter to implement.
  16. this is a script related issue, not a client issue.
  17. this can be handled by the script. just check how much time left before break, like if < 2 minutes, walk to safe area and wait. The client cannot be responsible for this and must be handled by the script.
  18. yes you made a new instance of it, but that is all. you need to call the sleep method otherwise it won't sleep. that is what i have experienced.
  19. you need to call new ConditionalSleep(.....).sleep(); otherwise it won't sleep. what is b? would be easier to see all the code. precise.
  20. http://osbot.org/api/org/osbot/rs07/api/Bank.html#enableMode-org.osbot.rs07.api.Bank.BankMode-
  21. i'd say the elite, and don't get a scuf
  22. Precise replied to Booleans YAY's topic in Scripting Help
    getSettings().setRunning(true);
  23. ! Basically means NOT, like !Inventory.isEmpty() means NOT empty.
  24. Ok so, when you call: Entity tree = objects.closest("Tree"); You're getting the closest object which matches the name "Tree" and that only. So you could get a tree which is closest to you, but isn't in the area, and so it won't click it. The code i posted finds the closest object using a filter and only gets objects which have the name "Tree" AND are in the area you specified. let me know if i wasn't clear. Edit: here is another example of how you can write it, might be easier to understand: RS2Object tree = getObjects().closest(new Filter<RS2Object>() { @[member=Override] public boolean match(RS2Object o) { if(o != null && o.getName().equals("TREE_NAME") && AREA_HERE.contains(o)) { return true; } return false; } }); Precise.

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.