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.

FrostBug

Scripter III
  • Joined

  • Last visited

Everything posted by FrostBug

  1. IDK what you did to make Java fk up; but the reason for logging out is always noted in the client console.
  2. You never stop posting, do you?
  3. It can mean any of 3 things.. 1. You haven't set up the equipment configurations for all enemies (brothers and tunnel creeps) 2. One or more number values are invalid and cannot be parsed as a number (eg. food count, kc count, etc.) 3. You're using one or more weapons of unknown weapon-class; tho this should be unlikely since I believe I have all weapon classes added. It's probably the first; even tho the OP clearly states that you must set up the equipment for every enemy type Starting trial now EDIT: Auth system seems to be down atm; but will add it as soon as it's up again.
  4. Either. As long as you're calling exchangeContext on your Inventory instance
  5. That's going to give you a NullPointerException, though. You have to do an exchangeContext first (MethodProvider#exchangeContext).
  6. myPlayer() is also defined in MethodProvider. Since your Inventory class here does not extend anything, there are no methods beyond the ones you've defined in the class yourself. You have to either pass a reference to your Script instance, and call the MethodProvider methods thru that; or create a new instance of whatever API classes you need, and exchange contexts with them.
  7. getInventory is a method defined in MethodProvider. The Script class inherits from MethodProvider, and that's why you can use it from classes that extend Script. This class does not have any definition of that method, so you cannot use it here. To use it, you should have a reference to the Script instance.
  8. You should be able to use it just fine; tho it might not be organized optimally (Will be in an "Empty" defined slot, I reckon)
  9. Here you go There's a little guide in the first post
  10. Typecasting the selected item should work fine
  11. You never set the JFrame to be visible Also, EXIT_ON_CLOSE is probably not the default action you want, since this will close the entire osbot client as well
  12. Sorry about your loss Works with image tags on the forums as well , dynamically updating when it loads, so the image always displays the latest data
  13. Well, you can easily debug it. int totalListeners = bot.getMouseListeners().size(); If this is constantly increasing, then you have a memory leak
  14. Well, onPaint is called 60 times per second (or 30, I don't remember). The bot holds a collection of MouseListeners. Each time you register a listener, it's added to this collection. Registering 60 new mouse listeners per second is not only a fairly critical memory leak; but will increase your CPU usage over time, since every single mouse event has to be processed by the constantly growing number of listeners ;o. I'm fairly surprised if you've been able to run it for ~30 minutes without seeing poor performance
  15. Hmm, that's quite unfortunate. Looking thru the related code and your log, I can't really piece together a logical explanation :| Could it be that the world was under DDoS attack? In the first place I find it odd that your client could disconnect, even with the falling rocks in the tunnels, as well as the anti-stuck events. Sorry for your loss; I'll keep snooping around to see if I can pinpoint the cause
  16. You wat? Just making sure here; but you should under no circumstance register the event listener in onPaint :E
  17. Drop by the chatbox if you want help
  18. Your ammo wasn't equipped when you hit "Refresh equipment" during script setup. Make sure they are next time Killcount is configurable. Yes, It'll go to the bank and log out if you run out of iban charges
  19. I'm afraid having the ring as part of your gear setup isn't supported at the moment. Started
  20. Started I typically set trial length based on join date. 24 hours is the max length
  21. The pin random is handled by the client; the only advice I can give is to ensure the pin you've set in your profile is correct. As for clan wars; try to disable roof rendering in your game settings

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.