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.

Botre

Members
  • Joined

  • Last visited

Everything posted by Botre

  1. There's probably a config for that tho
  2. ultrarekt
  3. for (int i = 0; i < alist.toArray().length; i++) { log(alist.toArray()[i]); } http://crunchify.com/how-to-iterate-through-java-list-4-way-to-iterate-through-loop/
  4. I have gotten from 1 to 99 fletching with less than 200K TWICE now. - Make arrow shafts until you can string maple longs. - String maple longs until you can afford buying overnight supplies for stringing mage longs. - String mage longs until 99 (always keep a couple of thousand maple long supplies in the bank in case the magic long(u) market gets dry) 1-99 took me 2-3 weeks and got me 10-17M in profits. I'm actually bored of fletching now :x
  5. for(Node n : nodes) { loop(); return n.loop(); } This will call loop() twice. Probably not what you want Not sure why you are using reflection to add the nodes though, but I'm also not sure why you shouldn't I will notify fixthissite of this thread :x
  6. Because 500 timer snippets just isn't enough already. Uses the Duration class introduced in Java 8. Implementation example: Timer t = new Timer(); t.duration().getSeconds(); Source: import java.time.Duration; import java.time.Instant; /** * Created by Bjorn on 6/05/2015. */ public class Timer { private Instant start; private static final String formatter = "%02d"; public Timer() { reset(); } public void reset() { start = Instant.now(); } public Duration duration() { return Duration.between(start, Instant.now()); } @Override public String toString() { Duration duration = duration(); return String.format(formatter, duration.toHours()) + ":" + String.format(formatter, duration.toMinutes() % 60) + ":" + String.format(formatter, duration.getSeconds() % 60); } } Duration class tease:
  7. Thanks for the feedback! (updated)
  8. Total level and/or total experience points = probably a more accurate of ingame experience anyways :p
  9. You could just use the account's total level instead as a way to measure in-game experience. (I doubt what you are asking for will be added, for privacy reasons)
  10. Image comparison algorithms rarely if ever require you to store the image on disk :p You do realize that there are more than 450 different clues right? Most of them visually very similar too. Even if you are just doing one tier, say easy clues, then you better come up with a really efficient algorithm :p If you are just capturing images to be able to statically link a scroll ID to a specific clue, I really wouldn't recommend doing that, Jagex could break your script in less than 10 seconds (this actually happened last year-ish). Image comparison for maps + OCR for text-based clues = thumbs up.
  11. My question isn't "why are you analyzing the image?" but rather: "why are you writing the image to the disk (ImageIO.write) to analyze it?".
  12. Your dir checking might be the issue. I know why you want to analyze the image, but why do you need to write it to disk for that?
  13. How are you checking if the image was written? Also why do you need to write it at all in the first place ? Oo
  14. But... you basically have full control over the visibility of that interface, just don't close it until your screenshot is ready :p
  15. Which widget/data do you need?
  16. mean median mode range package org.bjornkrols.math; import java.util.*; /** * Created by Bjorn on 5/05/2015. */ public final class Statistics { private Statistics() { // This class should never be instantiated. // Do not delete or make accessible. } /** * @return The average value. */ public static double mean(int... n) { double total = 0; for (int i : n) total += i; return total / n.length; } /** * @return Midpoint between the lowest and highest value of the set. */ public static double median(int... n) { Arrays.sort(n); int length = n.length; int center = n[length / 2]; return length % 2 == 0 ? mean(n[(length / 2) - 1], center) : center; } /** * @return The most frequently occurring value(s) of the set. */ public static List<Integer> mode(int... n) { Map<Integer, Integer> occurrence = new HashMap<Integer, Integer>(n.length); int maximum = 0; List<Integer> maximumElements = new ArrayList<Integer>(); for (int i : n) { Integer o = occurrence.get(i); if (o == null) occurrence.put(i, o = 1); else occurrence.put(i, o += 1); if (o > maximum) { maximum = o; maximumElements.clear(); maximumElements.add(i); } else if (o == maximum) maximumElements.add(i); } return maximumElements; } /** * @return The span of values over which the data set occurs. */ public static int range(int... n) { int minimum = Integer.MAX_VALUE; int maximum = Integer.MIN_VALUE; for (int i : n) { if (i < minimum) minimum = i; if (i > maximum) maximum = i; } return maximum - minimum; } }
  17. Auto Responder or Auto Hopper ...
  18. I know they start with the same letter but... ... scripters and slaves aren't quite the same thing, sorry for the misunderstanding.
  19. Make sure you start the mirror while not logged in + try premium scripts most free ones are outdated
  20. Botre replied to TheRealJok3y's topic in Runescape
    yes
  21. You code amigo, post it. You code amigo, post it.
  22. Botre replied to 2007's topic in Spam/Off Topic
    2511
  23. ...
  24. You should probably move on and start using the Java filter :x

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.