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.

Kenneh

Members
  • Joined

  • Last visited

Everything posted by Kenneh

  1. Yeah, I don't have a shot at this one.
  2. To be fair that's extremely easy to do and it makes me wonder why something like this hasn't already been implemented.
  3. and ordinal()
  4. if it's an enum, you can loop thru it like this for(AntiBan antiban : AntiBan.values()) { script.bot.getAntiBan().unregisterBehaviour(antiban); }
  5. A free trial of a woodcutter?
  6. Kenneh replied to Kenneh's topic in Projects
    There is only one class that even uses a GUI builder and it's not even implemented yet and you had to pick that out. It's a c# program my friend made that is being ported over and I just can't be bothered to make the gui by hand.
  7. Kenneh posted a topic in Projects
    This app is compiled with Java 8. If you wish to run it, you need to install java 8 from here! Kenneh's RuneScape Loader This loader was made for ease of use when playing RuneScape. This client does not break the rules and does not have any illegal tools. It simply allows you to choose what game mode you want to play when it launches. Click the corresponding button to play that mode. There is a TrayIcon that will appear in your task bar once you start the client. Right clicking it will give options such as screenshot, a stats checker, and a ge item checker. The screenshot function can also be used by pressing f12. By default, screenshots upload to imgur and the link will get pasted to your clipboard. ## How to get the loader Navigate to https://github.com/kennehisftw/runescape-loader/releases/ Credits: Sven Olderaan (Crystal Mare) for assisting me with the Imgur api and allowing the integration of RuneLog.
  8. Kenneh replied to Jack's topic in Snippets
    I'll post another way in a bit.
  9. Kenneh replied to Jack's topic in Snippets
    No it's not. Your script instance will always be null. You'd have to instantiate the class to use it since the method is public and not static. It WOULD be perfectly functional if you passed and assigned the script instance in the class constructor.
  10. Kenneh replied to Jack's topic in Snippets
    I really hope this is a joke. You spelled snippets wrong, you have a null script instance and the code is just laughable. PS: If something looks overly complicated, there's probably an easier way to do it.
  11. Kenneh replied to a post in a topic in Snippets
    God, osbot 2 is worse than I thought. Not a huge improvement.
  12. ssf is still a thing? I thought the admins told you no
  13. There are some good 1150 boards out there.
  14. shit/10. Don't go with old technology. Get an i7-4k series. Save yourself some hassle.
  15. Kenneh replied to Scotty's topic in Spam/Off Topic
    You don't even have a signature.
  16. don't care I don't have either pips
  17. It's an 8mb file, so it might take some time on slower connections.
  18. Cleaner, easier to understand, not making un-needed objects. etc. The second method is cooler, but keep in mind it's more resource heavy.
  19. excuse syntax errors, I don't have the client downloaded. private NPC getClosestNPC(String name, String action) { // not as pretty but less heavy method NPC closest = null; double lowest = Double.MAX_VALUE; for(NPC npc : getNpcs().getAll()) { final List<String> actions = Arrays.asList(npc.getDefinition().getActions()); final double distance = npc.getPosition().distance(myPosition()); if(actions.contains(action) && distance < lowest) { closest = npc; lowest = distance; } } return closest; } private NPC closestNPC(final String name, final String action) { // much prettier but more resourceful. final Filter<NPC> filter = new Filter<NPC>() { @Override public boolean accept(NPC npc) { return Arrays.asList(npc.getDefinition().getActions()).contains(action); } }; final List<NPC> filtered = new ArrayList<>(); for(NPC npc : getNpcs().getAll()) { if(filter.accept(npc)) filtered.add(npc); } final Comparator<NPC> comparator = new Comparator<NPC>() { @Override public int compare(NPC o1, NPC o2) { return o1.getPosition().distance(myPosition()) - o2.getPosition().distance(myPosition()); } }; Collections.sort(filtered, comparator); return filtered.size() > 0 ? filtered.get(0) : null; }
  20. Quick look at the v2 api would show that you need to do for(NPC npc : getNpcs().getAll()) { } http://osbot.org/osbot2_api/org/osbot/rs07/api/NPCS.html#getAll()
  21. This post literally gave me cancer.
  22. Download the jar and see for yourself. I like this one better, but it's a 20mb gif XD
  23. I'm sure it'l suffice instead of re-creating the bounds for an object.
  24. graphics2D.draw(npc.getPosition().getPolygon(bot)); ?

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.