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.

OSBot 2.3.36 - Widget optimisations

Featured Replies

  • Developer

Dear community,

With the new widget system affecting a large area of our code it was inevitable there would occur performance issues. I have profiled the bot and applied a first set of optimisations. I know there are more optimisations to be done on the new system, but this should already make a big difference.

Scripts might spike a little cpu usage on start up when the system caches some data. If you still experience issues with performance, please report in detail so I can investigate and optimise further. Your help is appreciated.

I will upload the javadocs shortly after.

Sincerely,

The OSBot team

Edit:

API java docs have been updated. A packaged version of the docs to use in your IDE's can be found here: https://osbot.org/api/javadocs.zip

Works better now thanks! smile.png

 

Yep, 100x better, definitely usable now!

 

Edit: Seems turning on "Low CPU" in the menu makes the script nearly unable to do basic dialogue (didn't test interactions). This was with the Customs Officer on Karamja, would move the move a few pixels at the time and lag. Without "Low CPU" enabled it works like a charm though!

Edited by dudeami

"With the new widget system affecting a large area of our code it was inevitable there would occur be performance issues"

 

10/10 would read again, amazing!

  • Author
  • Developer

Yep, 100x better, definitely usable now!

 

Edit: Seems turning on "Low CPU" in the menu makes the script nearly unable to do basic dialogue (didn't test interactions). This was with the Customs Officer on Karamja, would move the move a few pixels at the time and lag. Without "Low CPU" enabled it works like a charm though!

Yes dialogues require some optimisations with the new widget system. They will get optimised during this or next week.

On another note, API javadocs have been updated.

[ERROR][Bot #1][03/05 10:47:33 AM]: Error in script executor!
java.lang.NullPointerException
	at org.osbot.rs07.api.Widgets.get(nj:204)
	at org.osbot.rs07.api.DepositBox.close(do:115)

Getting this error while it tries to close the deposit box interface.

Edited by iJodix

Some scripts are still not running properly. KWarriors for example wont eat.

 

Nice updates Though.

Appears bank.close() doesn't do anything, just idles for a while then script continues (without the bank having been closed). Other banking features seem to be working fine though.

Guest
This topic is now closed to further replies.

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.