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.

[2.4.9] Interaction issue (control panel shows 2.4.12, but downloads 2.4.9)

Featured Replies

  • Developer

1. A description of the issue


Interactionevent not interacting with an object.


Object is off the screen, interactionevent turns around the camera then stays like that forever.


It happends on almost every single object on every agility course atm.


 


This bug also was reports on my blast furnace script and on my fishing scripts.


Those are 3 objects in a row at 1 agility course:



6755300f40bcf87a4c04db7b5e47938f.png


40e0afc34a2790d4bf23c6c00825c68c.png


0b2e2cd862b37ee00dbed5aa1f1a6a8f.png



 


2. Are you receiving any errors in the client canvas or the logger?


None


 


3. How can you replicate the issue?


Here is the code I'm using:



InteractionEvent ie = new InteractionEvent(object, action);
ie.setOperateCamera(true);
ie.setWalkTo(true);
Settings.status = "Interacting with " + object.getName();
script.execute(ie);

//conditional sleep

if (ie.hasFinished() && !ie.hasFailed()) {
//conditional sleep
}

4. Has this issue persisted through multiple versions? If so, how far back?


2.4.9


I haven't really touched any of the core InteractionEvent code since 2.4.8. The only thing which was changed was the issue with inventory destinations while an interface was open (such as Bank). I'm still testing and will keep you posted.

 

Also, operate camera and walking are true by default so you don't need to set them. If you would like you could do something like this:
 

execute(new InteractionEvent(getWidgets().get(100, 0), "")).hasFinished();

Let me know how 2.4.12 is working for you.

this happended to me for the first time. i walked away and it fixed itself. I didnt think it was a bug but i was confused. It didnt happen in .12

 

ill let you know if i experience it again

 

it is still happening in version .12

 

idk why its getting stuck but what i know that moving you player or pausing and resuming the script fixes the problem.

It's problem with visibility. If the target you are trying to interact with is just outside of the boundary of the screen, it will freeze, not move. I have debugged it yesterday, was wondering why no one posted this yet. I assumed there's no point in posting since @Alek doesn't seem to care about suggestions, so I'd assume everything else too

 

how to recreate: Make an interaction with an object, move the camera so it's not visible, but just barely, then start the script. Happens to me with NPCs all the time. If you change camera rotation a little bit, it will interact.

 

how to fix: Check visibility of the object correctly. It seems not to change camera rotation nor walk to target when it's supposed to.

Edited by Nitrousek

It's problem with visibility. If the target you are trying to interact with is just outside of the boundary of the screen, it will freeze, not move. I have debugged it yesterday, was wondering why no one posted this yet. I assumed there's no point in posting since @Alek doesn't seem to care about suggestions, so I'd assume everything else too

 

how to recreate: Make an interaction with an object, move the camera so it's not visible, but just barely, then start the script. Happens to me with NPCs all the time. If you change camera rotation a little bit, it will interact.

 

how to fix: Check visibility of the object correctly.

naw dude thats not what im getting. With khal and i we have our entity out in the open and for some reason it just wont move uless we manually do something for it to work. i just had it happen to me and i left it alone.

 

frozed until it logged out

it logged out

thread dead

logged in

and worked fine again.

[WARN][Bot #1][11/28 02:53:33 PM]: Event executor is taking too long to suspend; terminating now...
[WARN][Bot #1][11/28 02:53:38 PM]: Script executor is taking too long to suspend; restarting now...
[ERROR][Bot #1][11/28 02:53:38 PM]: Error in bot executor!
java.lang.ThreadDeath
	at java.lang.Thread.stop(Unknown Source)
	at org.osbot.rs07.event.ScriptExecutor.restart(kj:552)
	at org.osbot.rs07.event.ScriptExecutor.suspend(kj:471)
	at org.osbot.rs07.event.RandomExecutor.run(an:47)
	at java.lang.Thread.run(Unknown Source)
[INFO][Bot #1][11/28 02:53:38 PM]: Started random solver : Auto Login
[INFO][Bot #1][11/28 02:53:44 PM]: Random solver exited : Auto Login
[INFO][Bot #1][11/28 02:53:48 PM]: Started random solver : Welcome Screen
[INFO][Bot #1][11/28 02:53:51 PM]: Random solver exited : Welcome Screen
[INFO][Bot #1][11/28 02:56:06 PM]: Time to drop inventory

It's problem with visibility. If the target you are trying to interact with is just outside of the boundary of the screen, it will freeze, not move. I have debugged it yesterday, was wondering why no one posted this yet. I assumed there's no point in posting since @Alek doesn't seem to care about suggestions, so I'd assume everything else too

 

I really didn't need the commentary.

 

28f471e39328a79ba0bd6c4a1e7ed477.png

 

 

The archive goes about a year back bud.

I really didn't need the commentary.

 

 

The archive goes about a year back bud.

 

That's the thing, my topic is NOT in the achieve. It's not there, nor is it in my threads.

 

It says you moved it to achieve, but it disappeared.

 

naw dude thats not what im getting. With khal and i we have our entity out in the open and for some reason it just wont move uless we manually do something for it to work. i just had it happen to me and i left it alone.

 

frozed until it logged out

it logged out

thread dead

logged in

and worked fine again.

[WARN][Bot #1][11/28 02:53:33 PM]: Event executor is taking too long to suspend; terminating now...
[WARN][Bot #1][11/28 02:53:38 PM]: Script executor is taking too long to suspend; restarting now...
[ERROR][Bot #1][11/28 02:53:38 PM]: Error in bot executor!
java.lang.ThreadDeath
	at java.lang.Thread.stop(Unknown Source)
	at org.osbot.rs07.event.ScriptExecutor.restart(kj:552)
	at org.osbot.rs07.event.ScriptExecutor.suspend(kj:471)
	at org.osbot.rs07.event.RandomExecutor.run(an:47)
	at java.lang.Thread.run(Unknown Source)
[INFO][Bot #1][11/28 02:53:38 PM]: Started random solver : Auto Login
[INFO][Bot #1][11/28 02:53:44 PM]: Random solver exited : Auto Login
[INFO][Bot #1][11/28 02:53:48 PM]: Started random solver : Welcome Screen
[INFO][Bot #1][11/28 02:53:51 PM]: Random solver exited : Welcome Screen
[INFO][Bot #1][11/28 02:56:06 PM]: Time to drop inventory

 

Hmm,

That's definitely the problem that I have, and I did debug it thoroughly, so that's kinda strange.

Edited by Nitrousek

You probably answered to my topic without accepting it, thus it's not even visible for me what you wrote in there.

 

 

 

Can confirm this is still an issue in the .12 version as Nitroseuk said also to do with visibility.

 

Replicate using Khaleesi's code.

Edited by Extreme Scripts

Try 2.4.13

 

Edit: Alright no responses so I guess this is working flawlessly. I won't be on for about a week.

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.