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.

Are any of you use java reflection in your scripts?

Featured Replies

Do you use java reflection in your scripts?:doge:

Is is worth in coding scripts?:think:

or use lots of method to convert strings from file to generate different classes?

Edited by Pegasus

34 minutes ago, Pegasus said:

Do you use java reflection in your scripts?:doge:

Is is worth in coding scripts?:think:

or use lots of method to convert strings from file to generate different classes?

Reflection is blocked by default in OSBot scripts

Reflection has its uses if you're wanting to do stuff that is potentially risky (that Jagex could detect), such as force-selecting inventory items (like I did for my old Usain Bolter and Darter script when reflection worked), selecting magic spells, and if you can see how prayer works, you could even perhaps bump prayers about programatically.

"Convert strings from files to generate different classes", so essentially ClassReader/Loader? That's not really necessary when you could probably use serialization for whatever you are doing instead - or perhaps it can just be solved with simple file management? We would need more context on what you're trying to do.

4 hours ago, Alek said:

"Convert strings from files to generate different classes", so essentially ClassReader/Loader? That's not really necessary when you could probably use serialization for whatever you are doing instead - or perhaps it can just be solved with simple file management? We would need more context on what you're trying to do.

Would that also work for scripts on the SDN? 

11 hours ago, Canidae said:

Would that also work for scripts on the SDN? 

Serialization works for local scripts; not SDN. File management would work for both as long as you work in the OSBot data directory

Edited by FrostBug

Create an account or sign in to comment

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.