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.

Explv

Scripter II
  • Joined

  • Last visited

Everything posted by Explv

  1. I guess it is to add an element of randomness.
  2. If you want to walk a single tile away you need to create a custom WalkingEvent and set the min distance threshold to 0: WalkingEvent walkingEvent = new WalkingEvent(position); walkingEvent.setMinDistanceThreshold(0); execute(walkingEvent); By default (using getWalking().walk()) it won't walk unless the destination tile is >= 3 tiles away:
  3. I have also added the Relleka agility course, this will be available when the SDN is next updated.
  4. Just pushed some agility fixes and speed improvements, I tested an account 1-40 agility and on the other courses, so it should hopefully work well now. It will be available when the SDN is next updated
  5. More fixes coming in next update: Fixed delay at end of Gnome Stronghold agility course Fixed not completing dialog at door to Gnome Stronghold on first time entering
  6. I'll take a look at rune mysteries soon. I'm testing out agility now, running an account from 1-40 and will see if any issues arise
  7. Pushed a fix, along with some enhancements, it will now use any empty box and should also be generally more robust. It will be available when the SDN is next updated. I haven't tested using the break handler, I will investigate it. I'll test tut island out again today and see if I can find those issues
  8. Pushed a fix, it will be available when the SDN is next updated
  9. I'll take a look
  10. Explv replied to Explv's topic in Tutorials
    You're welcome Congrats on writing your first script!
  11. Do not use ColorPicker. And I already have a snippet in the snippets section:
  12. What do you mean it doesn't exist? You can have whatever file extension you want... You can make a file called hello.void if you want.
  13. I still don't understand what you are asking. A .list file is just a .txt file, so just make a file on unix with the .list extension?
  14. What do you mean a .list file? Sorry not too familiar with windows Just make a file with the .list extension?
  15. There's an apostrophe in ain't, and there should be a question mark after hood. And I thought this was RuneScape, not some biker gang, kinda cringe. Also:
  16. Is the equipment tab open while you are getting these errors?
  17. An Item is not an Entity: Only RS2Objects, Characters, GroundDecoration, GroundItem... etc are What you should be doing instead is calling the castSpell() method, and then interacting with the appropriate inventory item
  18. I'm pretty sure ConditionalSleep just stores the time it begins executing, and uses that to calculate the elapsed time. So to answer your question, yes.
  19. Please don't spread completely false information.
  20. Sorry, previous answer was completely wrong, not sure why I wrote that, try storing the seagull in a global variable, and checking like this: private NPC seagull; @Override public final int onLoop() throws InterruptedException { if (seagull == null || !myPlayer().isInteracting(seagull)) { attackNpc(); } return random(100,300); } And of course assign seagull in your attackNPC method
  21. ---- see below ----
  22. States are unnecessary and messy, cleanest way is: if not attacking seagull: attack seagull else: relax That's pretty good, but: You don't need to check if the seagull is visible and call camera.ToEntity You should be checking if your player is already attacking a seagull before calling attackNpc, not in attackNpc You should null check seagull, just in case there aren't any, as your code currently will throw a NullPointerException It would be cleaner to filter a seagull that isn't under attack in the closest method(), rather than after You should check the the "Attack" interaction is successful before sleeping. Your condition in the ConditonalSleep is incorrect. You should check whether your player is interacting with the seagull, or the seagull is not attackable. Take a look at the isAttackable() method for NPCs, it will perform all the checks such as exists, not under attack and has health > 0 for you. NPC seagull = getNpcs().closest(npc -> npc.getName().equals("Seagull") && npc.isAttackable()); if (seagull != null && seagull.interact("Attack")) { new ConditionalSleep(5000) { @Override public boolean condition() { return myPlayer().isInteracting(seagull) || !seagull.isAttackable(); } }.sleep(); }

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.