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.

entity.interact() bug

Featured Replies

It happened in DruidKillah, everything was OK before that, haven't changed ANYTHING in code.

 

It's spamming the tile under the player when have to pick-lock or open the doors

 

door.interact("Pick-lock");

 

As I said before, don't ask me, have I checked is it null or something, it was working great, now it doesn't.

 

I don't know really when it happened, some recent updates...

Thanks for posting. Let's please keep this topic related to interaction only.


Remove this:

camera.toEntity(door);

and try it again. InteractionEvent utilizes the camera if the entity is not visible within a certain range.

  • Author

I have no account :(, all rekt lately... Don't want to share source code with any customer, and also they have no accounts to lend

  • Author

 

 

Hello, i'm using your druidkillah in edgeville, sometimes it will randomly click on one location and will not stop clicking it. any idea why it would do this? Thanks

Next customer saying the same :/

I'm experiencing the same issue

Happens in some places more than others for some reason, but it's definitely triggered by calling interact() on a reachable object/entity

Note: It occurs seemingly at random; I have yet to find an accurate way to reproduce the bug

Edited by FrostBug

Was this an issue before or after InteractionEvent (it shouldnt have made any difference)?

  • Author

Hard to say is InteractionEvent affected this, but it haven't existed some time ago :(

I dont think it happened prior to 2.3.15; but it may also have been introduced later than that (2.3.17 maybe)

Works fine for me (Ardougne Druids door).

    @Override
    public int onLoop() throws InterruptedException {
        RS2Object door = getObjects().closest("Door");
        if(door != null){
            log(door.interact("Pick-lock"));
        }
        return 5000;
    }

Result:

 

[iNFO][bot #1][01/31 06:20:26 PM]: true
[iNFO][bot #1][01/31 06:20:32 PM]: true
[iNFO][bot #1][01/31 06:20:37 PM]: true

 

 

Please check your code.

 

 

I tried interacting with one of the smallest models in the game, a coin. It works in almost every single scenario, however it struggled at around 40 seconds.

 

https://www.youtube.com/watch?v=G51rmpxqk68

 

There should be no reason why it can't interact with an object as big as a door.

  • Author

It's actually visible for all members, so could @LeBron post some video of the bug? Maybe we could replicate it together :).

Guest
This topic is now closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.

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.