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.

Missing types in the API

Featured Replies

1. OSBot Version (do NOT put "current version", be specific) 2.4.66

2. A description of the issue. Include relevant logs.

 

The new prefetchRequirements method in WebWalkEvent returns an instance of a obfuscated object. I noticed it when trying to use scripts compiled against earlier versions of the client, when there have been no changes in the relevant classes. It returned various types (obfuscated) such as IPB6, fc, currently returns an IA object. Even though I don't use this object anywhere in my scripts, simply calling the method without storing the result will throw a java.lang.NoSuchMethodError. 

[ERROR][Bot #1][06/11 12:22:15 PM]: Error in bot executor!
java.lang.NoSuchMethodError: org.osbot.rs07.event.WebWalkEvent.prefetchRequirements(Lorg/osbot/rs07/script/MethodProvider;)Lorg/osbot/fc;
at api.b.J(dd:23)
at e.CON.G(yc:52)
at api.Nul.J(pc:40)
at c.cOn.onLoop(xc:471)
at org.osbot.rs07.event.ScriptExecutor$InternalExecutor.run(zl:34)
at java.lang.Thread.run(Unknown Source)

It isn't a problem for local scripts as I can just recompile the script with the latest version of OSBot, but the SDN scripts break every time the stable version changes and can only be fixed by pushing an update so they get recompiled.

 

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

4. How can you replicate the issue? ^

5. Has this issue persisted through multiple versions? If so, how far back? Since .61 dev version

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.