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.

d0wngrade

Members
  • Joined

  • Last visited

  1. d0wngrade changed their profile photo
  2. d0wngrade posted a topic in Introductions
    New to the forum here, but I have been using OSBot for awhile. I'm a developer so I've been writing personal scripts and tinkering with it, which is very simple with OSBot. Just saying hello to the community! 😁
  3. Just found this post which is exactly what I was looking for, so I guess there was no point in this post. Sorry!
  4. Okay cool, thanks. I felt like I was using the wrong one but I think I'm good. I can access the getMethods() method but I can't figure out how to communicate back to the main loop. This is pretty much what I'm working with: public class GUI extends JFrame { private JPanel panel; // other GUI objects // I passed the Bot object from the main loop (which I assumed you meant) public GUI(Bot b) { setDefaultCloseOperation(EXIT_ON_CLOSE); // more GUI stuff // b.getMethods()... } } I guess I could work from there and stay inside the GUI class but that doesn't feel right... So how could I send, for example, a checkbox's isSelected() value back to the onStart() method? Like: private boolean VARIABLE1; @Override public void onStart() { GUI g = new GUI(getBot()); g.setVisible(true); while(g.isVisible()) {} // I've heard about this style of waiting being bad, but this was the only one I tried that just worked. VARIABLE1 = g.checkbox.isSelected(); // This is what I was getting at, I don't know if this would even be the best way to go about it. } I think that's the best way I can describe it, but I can't figure out how to implement that specific functionality.
  5. Hey, so this is my first post here so... But for my question, I know on some scripts like AIO Miner (by krapstaunosi) when you start the script is has "options" for the user to set. It has like mining site locations and ore type. I was wondering what I had to do to get that same effect. Is it just a Swing UI? If so, how can I make my Swing UI interact with my script? Thanks!

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.