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.

ItemDefinition - IsMembers, IsTradeable, and forName

Featured Replies

1. A description of the suggestion

Add two fields - IsMembers and IsTradeable, and one static method forName(String s) to the ItemDefinition class

2. How will this suggestion impact scripters and/or botters?

Allow for more betterer scripts

3. Post any examples such as code or pictures to supplement your description (optional)

jw.ax(Z) identified as isMembersOnly

I don't know the obfuscated fieldname for IsTradeable, however according to
https://github.com/RuneStar/client/blob/master/updater-mapper-standard/src/main/java/org/runestar/client/updater/mapper/std/classes/ItemDefinition.kt#L47
the field should be the second boolean field in the jw (ItemDefinition) class.

For the forName method, ItemDefinitions are stored in the ItemDefinition class as a <Int, ItemDefinition> Map. This can simply be added as

map.values().stream().filter(f -> f.getName().equals(ITEM_NAME)).findFirst().orElse(null);

 

Edited by NoxMerc

  • Author

Updated to include forName() method to complement the forId() method.

  • Author
8 hours ago, Patrick said:

We are planning on adding those, and more in the near future :)

Beautiful, cheers mate     ?

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.