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.

Jammer

Members
  • Joined

  • Last visited

Everything posted by Jammer

  1. Go with this option. Compare the dynamic level and the static level of a skill to see if you should pot or not. if((getSkills().getDynamic(Skill.STRENGTH) - getSkills().getStatic(Skill.STRENGTH)) < minDiff) { //pot }
  2. Jammer replied to CcozyD's topic in Botting & Bans
    Combat is generally easier to get away with. How long do you bot per day?
  3. Jammer replied to Jammer's topic in Scripting Help
    It's really strange because calling gui.getLocationName directly without the use of getLocation() doesn't return null. I'll just use apaec's solution which is cleaner than what I thought of. Thanks for the help guys.
  4. Jammer replied to Jammer's topic in Scripting Help
    Okay, it's solved now that I get the location directly through the gui as apaec suggested but I'm still curious why it didn't work from start. this is basically what it looked like: public class GUI { JRadioButton rdbtnFalador; private JFrame frame; public String getLocationName() { return rdbtnFalador.isSelected() ? "Falador" : "Varrock"; } //more variables public void dispose() { frame.dispose(); } public void initialize() { frame = new JFrame(); //initialized the buttons and more } } public class Main { GUI gui = new GUI(); public Location getLocation() { for(Location loc : Location.values()) { if(loc.getName().equals(gui.getLocationName())) { return loc; } } return null; } public Static Location chosenLocation; public static boolean shouldProgressive; public void onStart() { gui.initialize(); while(!gui.hasStarted) { //sleep } chosenLocation = getLocation(); shouldProgressive = gui.getShouldProgressive; //This worked fine among other variables that were called directly through the gui instance gui.dispose(); } } So it's not a matter of storing the variables or anything. Here is the thing: getLocation() returns null when the JRadioButton is not static.
  5. Jammer replied to Jammer's topic in Scripting Help
    Nah, I've instantiated it in the initialize() which initializes the jframe. I put the object reference in the top so I could make a simple getter. private JRadioButton rdbtnFalador; public getLocation(){ if(rdbtnFalador.isSelected() { //blabla } } public void initialize() { rdbtnFalador = new JRadioButton; } I also use call the getlocation method after initialize so the button is instantiated. It works when the button is static but not when it isn't, why is that? edit: and also, is there a better way of keeping your object references for the jFrame and such than having them outside the "initialize" method?
  6. Jammer posted a topic in Scripting Help
    So I've been getting a null pointer exception for the last hour and I couldn't understand what it was. After som testing I realised what it was and now I have some questions. This is what's in the gui class: JRadioButton rdbtnVarrock; public String getLocationName() { if(rdbtnVarrock.isSelected()) { return "Varrock"; } else { return "Falador"; } } This is in the main class: public Location getLocation() { for(Location loc : Location.values()) { if(loc.getName().equals(gui.getLocationName())) { return loc; } } return null; } What I've realised is that if the radiobutton isn't static i get a null pointer exception. I've also noticed that for example here where I call a gui method directly without the use of a method inside main it works. shouldProgressive = gui.shouldProgressiveMode(); I can't recall having seen this problem earlier. Is this some fundamental shit I've missed?
  7. You can buy a voucher. It's more expensive than buying with paypal for example though.
  8. Jammer replied to H0rn's topic in Runescape
    Now is the perfect time for the brain meme.
  9. Jammer replied to Prolax's topic in Spam/Off Topic
    You should diversify your portfolio.
  10. All my scripts are working as well, it isn't osbot
  11. Jammer replied to Alek's topic in Releases
    Great stuff
  12. Just appeal on the website and hope for the best.
  13. @FrostBug could I have a trial? Would love to test it out.
  14. @purplewatilla is an avid advocate for cryptos.
  15. inb4 "gearing.osbot is my skype" @gearing
  16. It isn’t too bad at all really. People who aren’t that trusted who level accounts to sell could buy acccounts like this to sell it easier once finished. I really think trusted users should start selling fresh accs for an extra fee.
  17. If you need it fletching xp there are plenty of other faster ways. You're gonna get flax from zulrah later on anyway.
  18. Ye, if you're only gonna sip absorption potions and flick you should just use a mouse recorder.
  19. Good job, just don’t overextend.
  20. Jammer replied to fast pker's topic in General Help
    This
  21. Suppose I have these three classes: Main (exchangesContext with BankTask), BankTask , Data (Data class contains methods which require api access) Let's say the BankTask needs to use some methods from the Data class. I realised that I need to call exchangeContext inside BankTask aswell but there's obviously no onStart method there. Should I let the Data class accept MethodProvider in its constructor instead or is it possible or even preferable to use exchangeContext in such cases?
  22. @Explv Btw guys. Suppose I have these three classes: Main (exchangesContext with BankTask), BankTask , Data (Data class contains methods which require api access) Let's say the BankTask needs to use some methods from the Data class. I realised that I need to call exchangeContext inside BankTask aswell but there's obviously no onStart method there. Should I let the Data class accept MethodProvider in the constructor instead or is it possible or even preferable to use exchangeContext in such cases?
  23. Yh, make an instance of ActionStates in your main class. And exchangeContext in your onstart method. ActionStates ActionStates = new ActionStates(); public void onStart() { ActionStates.exchangeContext(getbot()); }
  24. Jammer replied to ukasz's topic in Price Check
    Could make it into a zulrah acc tho.

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.