Skip 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.

Vilius

Scripter II
  • Joined

  • Last visited

Everything posted by Vilius

  1. Look at the api page at the top if the forums, look in the tutorial section I have a tutorial about the APIs documentation. Plus if you know oop look at my guide about tasks or someone elses taks tutorials. Because Apeacs tutorial is a bit outdated :\ Goodluck :p
  2. Wrong bot lad
  3. The issue is that you are creating the inoderoutefinder every time you walk. You need to make one only onStart() once. Then maybe add it to your class that contains your variables public class test extends Script{ INodeRouteFinder nrf; public void onStart(){ nrf = INodeRouteFinder.createAdvanced(); } }
  4. The spam is real as always..
  5. Please provide a portfolio for people interested to see and evaluate your work
  6. Upload to imgur and use the direct link, osbot doesnt allow people to upload images directly to the site. Let me know if you need more help :p
  7. Man, this bloke @ProjectPact is making top notch scripts, who knew 99 cooking was so easy :p Much luv
  8. Wrong section mate. That would be really easy. Run to ores -> take them -> run to bank -> bank -> repeat :p
  9. Great script, would recommend mah boi @ProjectPact Much luv
  10. And there is your problem, man, think about the boolean logic, you want it to say got and need to get at the same time, ofc it will do the first one. You need to have something like getInventory().contains("berries") && configstuff. -_-
  11. Wew 9 months of combat training Just do some drugs or some shit or just don't show up, run away to Lithuania, well accept you
  12. I fixed it already without the need of OCR and OCR has issues too, not all words are correct and need to be rewritten. plus cba to format it
  13. I'm sorry, but its an image, I can't do anything about it. I know how to paste without the white stoof too :p
  14. Found on the /r/2007scape subreddit Fixed the white
  15. Vilius replied to Thebots's topic in Archive
    TrustMyBet might do it, he did my fcape :p
  16. The gui looks like its from 1999
  17. import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.net.URL; public class Price { private static final String BASE = "https://api.rsbuddy.com/grandExchange?a=guidePrice&i="; public int getOverallPrice(int itemID) throws IOException { return this.parse(itemID, "overall"); } public int getBuyingPrice(int itemID) throws IOException { return this.parse(itemID, "buying"); } public int getSellingPrice(int itemID) throws IOException { return this.parse(itemID, "selling"); } private int parse(int itemID, String choice) throws IOException { String line; URL url = new URL("https://api.rsbuddy.com/grandExchange?a=guidePrice&i=" + itemID); BufferedReader file = new BufferedReader(new InputStreamReader(url.openStream())); String price = null; while ((line = file.readLine()) != null) { if (!line.contains("{")) continue; price = line.trim(); } price = choice.equals("buying") ? price.substring(price.indexOf(",") + 10, this.nthOccurrence(price, ',', 1)).trim() : (choice.equals("selling") ? price.substring(this.nthOccurrence(price, ',', 2) + 11, price.indexOf("sellingQuantity") - 2).trim() : price.substring(price.indexOf(":") + 1, price.indexOf(",")).trim()); file.close(); return Integer.parseInt(price); } private int nthOccurrence(String str, char c, int n) { int pos = str.indexOf(c, 0); while (n-- > 0 && pos != -1) { pos = str.indexOf(c, pos + 1); } return pos; } } Then you use it like so: public class Main extends Script{ Price price = Price(); int priceOfItem; public void onStart(){ priceOfItem = price.getSellingPrice(ITEMID); } }
  18. Lmao new "cpu". OT. Download jarfix and run it. That should fix your issue
  19. grats, making bonk stealing them robes
  20. Oh wow, this code repetition
  21. nice bytes u got there
  22. From what I understand you just want to block the input from the user? If so, then this is useless to you, you need to do it like this: getBot().disableHumanInput(true); And I think BotMouseListener is used for internal use only.
  23. Make a class which would implement MouseListener, add all the default methods and use them to your liking. Then create a new object of your class and simply add it to your script like this: //your mouse object Mouse mouseObject = new Mouse(); public void onStart(){ getBot().addMouseListener(mouseObject); } Here are some snippets on how to hide your paint if you want:
  24. Someone should see a doctor, salt levels in the blood is too high, might mean kidney failure

Account

Navigation

Search

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.