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.

How come my bot is still spamming the entity?

Featured Replies

I'm just following Explv's introduction for making a simple woodcutting bot.
I'm following exactly what he's doing, but my bot is still spamming an entity when it's interacting with it.

I assume it's outdated, or maybe I'm missing something here. If someone could help me, that would be great, thanks!

onLoop method:

    @Override
    public int onLoop() throws InterruptedException {


        Entity tree = getObjects().closest("Tree");
        if (tree != null && tree.interact("Chop down")) {
            new ConditionalSleep(5000) {
                @Override
                public boolean condition() {
                    return myPlayer().isAnimating() || !tree.exists();
                }
            }.sleep();
        }

        return 0;
    }

 

2 hours ago, 3picide said:

I'm just following Explv's introduction for making a simple woodcutting bot.
I'm following exactly what he's doing, but my bot is still spamming an entity when it's interacting with it.

I assume it's outdated, or maybe I'm missing something here. If someone could help me, that would be great, thanks!

onLoop method:

    @Override
    public int onLoop() throws InterruptedException {


        Entity tree = getObjects().closest("Tree");
        if (tree != null && tree.interact("Chop down")) {
            new ConditionalSleep(5000) {
                @Override
                public boolean condition() {
                    return myPlayer().isAnimating() || !tree.exists();
                }
            }.sleep();
        }

        return 0;
    }

 

You'll want to check this out: 

I also made a YouTube video about this a while back:

 

 

15 minutes ago, ExtraBotz said:

You'll want to check this out: 

I also made a YouTube video about this a while back:

 

 

can we get a part 2 pls 

  • Author
8 hours ago, ExtraBotz said:

You'll want to check this out: 

I also made a YouTube video about this a while back:

 

 

 

8 hours ago, Gunman said:

@3picide Your player is animating when chopping so it breaks out of the sleep every single time

Thanks guys, I really appreciate it!

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

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.