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.

Carrera

Members
  • Joined

  • Last visited

  1. Thanks for the suggestion but restarting didn't help. This is what it looks like: https://i.gyazo.com/f698448f2b3d6be2ee8f56fdbab62251.mp4 I'm confused why it does that, the id of the grey rock is clearly incorrect and yet it still clicks it. I've also tried playing with the reaction time, same problem on 300ms..
  2. I'm working on my first script at the moment, which is a miner. Now I'm facing the first problem, the bot sometimes clicks a rock which is already mined (it's grey). I can't figure out why, since a grey rock has a different id. I then tried to add an additional check, to only mine if originalModelColors != null. Since a grey rock does not have originalModelColors. But this didn't help either. I'm using mirror client. import org.osbot.rs07.api.map.Position; import org.osbot.rs07.api.model.Entity; import org.osbot.rs07.script.Script; import org.osbot.rs07.script.ScriptManifest; @ScriptManifest(author = "Me", info = "Test", logo = "", name = "Example Script", version = 1) public class ExampleScript extends Script { private static final int IRON_ORE = 11365; private boolean dropping = false; @Override public void onStart() { log("Starting the script."); } @Override public int onLoop() throws InterruptedException { log("loop start"); Entity iron = objects.closest(IRON_ORE); if (iron != null) { if (!myPlayer().isAnimating()) { if (iron.getDefinition().getOriginalModelColors() != null) iron.interact("Mine"); sleep(random(2597, 3969)); } } else { return 600; } return 0; } @Override public void onExit() { log("Exiting the script."); } }
  3. Refreshing the scripts fixed it, thank you!
  4. Thanks but I already had it open. It's showing some logs but none of my script. Gif
  5. I just started writing my first script and followed @Token's tutorial part 1 (see below) This is my script so far, just logs for now to test if it works. import org.osbot.rs07.script.Script; import org.osbot.rs07.script.ScriptManifest; @ScriptManifest(author = "Me", info = "Test", logo = "", name = "Example Script", version = 1) public class ExampleScript extends Script { @Override public void onStart() { log("Starting the script."); } @Override public int onLoop() throws InterruptedException { log("loop"); return random(200, 300); } @Override public void onExit() { log("Exiting the script."); } } I can build the jar and run it in osbot. But nothing is being printed in the console. Does anyone have an idea what could be the issue?

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.