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.

lrdblk

Java Lifetime Sponsor
  • Joined

  • Last visited

  1. MBAM is for malware not viruses...
  2. just use onMessage to count the logs you chop
  3. I can look it over if you want. I don't have scriptwriter but i know some shit
  4. Im trying to write to a file using this code try { Files.write(Paths.get(ClassLoader.getSystemResource("output.txt").getPath()), username.getBytes(), StandardOpenOption.APPEND); }catch (IOException e){ printOut(e.getLocalizedMessage()); } But im getting this error Exception in thread "main" java.nio.file.InvalidPathException: Illegal char <:> at index 2: /C:/Users/stabo/IdeaProjects/ACC/out/production/ACC/output.txt at sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:182) at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:153) at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:77) at sun.nio.fs.WindowsPath.parse(WindowsPath.java:94) at sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:255) at java.nio.file.Paths.get(Paths.java:84) at main.Main.main(Main.java:25) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:147) Whats wrong with my path?
  5. Thanks! I don't have much experience with web stuff haha
  6. Can anyone help me click the reCaptcha anchor on the runescape account creation page? I'm using Selenium, here's my snippet WebDriver driver = new FirefoxDriver(); WebDriverWait wait = new WebDriverWait(driver, 40); wait.until(ExpectedConditions.elementToBeClickable(By.xpath("//*[@id=\"recaptcha-anchor\"]/div[5]"))); driver.findElement(By.xpath("//*[@id=\"recaptcha-anchor\"]/div[5]")).click(); I've also tried searching by ID and clicking but it still doesn't work. I've made sure to wait until the page is fully loaded as well
  7. gonna need to see the whole script then. there is a null somewhere in your script
  8. look at my example...
  9. try this Player mule = players.closest(myPlayer().getArea(10), "username"); if (mule != null){ if (mule.isVisible() && mule.interact("blablabla")){ log ("mule exists!"); }else{ getWalking().webWalk(mule.getPosition()); camera.toEntity(mule); } }else { log("Mule doesn't exist"); } post errors
  10. Post the whole script
  11. I made this snippet for my wood cutter. You can use the code to check how many people are surrounding any entity. First import import static java.lang.Math.toIntExact; Here is the snippet. e = the entity you are checking areaSize = the size of the area around the entity you want to check. private int peopleAroundEntity (Entity e, int areaSize){ return toIntExact(players.getAll().stream().filter(x -> e.getArea(areaSize).contains(x)).count()); } And this is how I used the snippet private Predicate<RS2Object> bestTree = tree -> tree != null && chopArea.contains(tree) && tree.getName().equalsIgnoreCase(treeType) && tree.hasAction("Chop down") && peopleAroundEntity(tree, 2) <= 3; java.util.List<RS2Object> tree = getObjects().getAll().stream().filter(bestTree).collect(Collectors.toList()); Then from there you can sort the list as you want. For this script, I have it sorted by distance tree.sort(Comparator.<RS2Object>comparingInt(a -> getMap().realDistance(a)) .thenComparingInt(b -> getMap().realDistance(b))); The whole script can be found on my github https://github.com/MeatRainbow/Wood_Chopper Hope this helps someone
  12. flagged IP meaning anyone who uses that IP is under additional scrutiny. They aren't just going to arbitrarily ban people but they will keep a closer watch. My IP was flagged, accounts were getting banned in days. Switched to a VPN and accounts started lasting much longer
  13. lol what's with you people not paying for shit? haha

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.