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.

Explv

Scripter II
  • Joined

  • Last visited

Everything posted by Explv

  1. I think saving/loading is broken at the moment, will take a look at fixing it this weekend
  2. I might find some way to do it I'll take a look. If not I'll probably update my tut island script to include a parameter that closes the client when the script finishes, as I would be able to detect that. Edit: nevermind I have thought of a very simple way of doing this. It will require the manager to close the OSBot client after each script finishes however. I will implement this, along with the scheduling this weekend.
  3. I will be adding a scheduler at some point to start scripts at specific times. I can probably modify my tut island to achieve the second one, however to do it for other scripts would require modification of the source code. I'll think about adding the third one.
  4. Thanks for the report i'll take a look when I get home
  5. Use Filters to filter npcs: Filter class: http://osbot.org/api/org/osbot/rs07/api/filter/Filter.html Filter API: http://osbot.org/api/org/osbot/rs07/api/filter/FilterAPI.html Example usage: List<NPC> fishingSpots = getNpcs().filter(getNpcs().getAll(), new Filter....);There is also a .singleFilter method that will return a single NPC
  6. To put it very simply, you can't make API calls before onStart() is called, because context has not yet been exchanged with your script
  7. Try moving that line into getState() (or remove it)
  8. Nope, you'll have to do it yourself
  9. I have added a show/hide button to the paint, it will be displayed when the SDN is next updated.
  10. Sorry I don't understand what you mean
  11. Sure I'll add a show/hide button
  12. Recent updates now available: Improved stability of firemaking, added new firemaking locations Improved stability of agility Now drops gems as well as ores when mining in drop mode Added paint Fixed arrow shaft fletching, added javelin shaft fletching Fixed crafting level up where level up dialogue not continued Fixed agility banking Fixed Tutorial Island not completing first dialog Fixed clay & coal mining where it banks after 1 "ore" Fixed shrimp fishing
  13. 100% Support Either this or change the rules
  14. Issue resolved, user had space after passwords, I will add some more error checking to try and help future users
  15. I have pushed a fix for arrow shaft fletching, it will be available when the SDN is next updated.
  16. Yes, you press the save button at the top right
  17. I have pushed some changes to improve firemaking, I have also added some new locations, the full list is now: Grand Exchange Lumbridge Varrock West Falador East Draynor Al Kharid Edgeville Seers' Village Varrock East Yanille If you would like me to add any more locations let me know. You will be able to use the latest firemaking when the SDN is updated, I will post again when it is available. Thanks
  18. Explv replied to Explv's topic in Others
    No thanks, sorry
  19. If I understand you correctly, you are trying to write a method that gets all the fighters that have any of the initials in a String, and the same Combat style, and you want to remove those from the barracks and return them as a new list? If so, why not get rid of all those Lists and just use an iterator: private List<Fighter> callFighters(String initial, Combat combat) { String upperCaseInitial = initial.toUpperCase(); List<Fighter> calledFighters = new ArrayList<>(); for (Iterator<Fighter> fighterIterator = barracks.iterator(); fighterIterator.hasNext();) { Fighter fighter = fighterIterator.next(); if (upperCaseInitial.contains(Character.toString(fighter.getInitial())) && fighter.getCombatStyle() == combat) { calledFighters.add(fighter); fighterIterator.remove(); } } return calledFighters; }
  20. I'm pretty sure the built in solver does the same thing as your code, have you tested this with the same random events that the built in solver doesn't work for? Did you file a bug report detailing the case where it didn't work so that the devs can fix it?
  21. Have you updated to the latest version? 5.1 I added a fix for this
  22. Why would you sort the Areas to determine if you are in the closest bank? Just loop over the Area[]... if you are in one of the Areas, guess what? You are in the closest bank. To walk to the closest bank you can just call getWalking().webWalk(bankAreas)
  23. All you need to do is check if any of the Areas in the Area[] contain your Position. I'll give you a hint, you might want to use a for loop: https://docs.oracle.com/javase/tutorial/java/nutsandbolts/for.html
  24. Consider reading this tutorial on Arrays: https://docs.oracle.com/javase/tutorial/java/nutsandbolts/arrays.html

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.