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.

Flamezzz

Members
  • Joined

  • Last visited

Everything posted by Flamezzz

  1. Imo you should start by spending a week on building a global navigation system (teleports/spirit trees/fairy rings/etc). Once you have this, create abstract classes for dialogues and combat. Now for simplicity assume the user has everything in bank or inv. Once you have this adding new quests is just a matter of managing states, a few quest specific things and adding some edges to the GNS.
  2. Smth like this? inventory.dropForFilter(item -> item.getName().equals("Item Name") && inventory.getAmount("Item Name") > 10); 10 can obv be replaced with getAmount-5 before you use this statement if you want
  3. I'd use something like: if floor = 1 then attempt to click ladder wait for a small amount of time if moving/animating then wait a little longer (LocalWalker#waitUntilIdle() or smth similar) As Mysteryy points out you shouldn't use a while loop. You want to do 1 action each time the onLoop method executes.
  4. Or just: groundItems.filter(item -> item.getName().equals("Bucket")).size() == 10
  5. Well if it is any faster the speed improvement is negligible. The main advantage is that it's clean, and you can't really do anything wrong in this method as long as your filter is defined correctly (and of course interact works). In this case it doesn't really matter if you return a void or boolean, just did that because interact returns a boolean ^^
  6. You could use a filter, some info: http://osbot.org/forum/topic/71713-objectsgetint-int-and-grounditemsgetint-int-not-working/ What you're doing right now is get the closest sheep and then check if it meets a few requirements. You could do this using a filter like this (not tested): public boolean Shear() { if (myPlayer().isAnimating()) return true; Area SHEEP_PEN = new Area(3193, 3257, 3211, 3276); NPC sheep = getNpcs().closest( npc -> npc.getName().equals("Sheep") && SHEEP_PEN.contains(npc) && npc.hasAction("Shear")); return sheep != null && sheep.interact("Shear"); } You basically say give me the closest npc which: has the name "Sheep", is located in the SHEEP_PEN area and has an action "Shear". interact should then turn the camera if needed.
  7. Hi welcome and good luck! Your first script looks promising Alright, I briefly checked your script ;) First of all when you script it's important to use an IDE such as eclipse or IntelliJ IDEA. Using IntelliJ you can jump to the (decompiled) implementation of an API method, so you can actually see what it does. There's this line in your script: while (bank.isOpen()){ bank.close(); ... if we check the implementation, bank.close() already checks if the bank is open. I use this very often, perhaps it's useful for you as well to understand what exactly the api methods do. Arrays.asList(stairs.getDefinition().getActions()).contains("Climb-down") could be simplified into stairs.hasAction("Climb-down") You could also check out the doorHandler api, it most likely support gates. You specify what position you want to walk to and the doorhandler opens any doors/gates between the player and the target position. There are a lot of nested if statements :p I remember I did the same thing when I first started scripting. It's very difficult to debug, so you might want to avoid it ;)
  8. Can be done in advanced settings:
  9. The google web crawler? :p
  10. You probably want to use one of the client methods: http://osbot.org/api/org/osbot/rs07/api/Client.html like client#isLoggedIn() or client#getLoginState(). Hmm in the welcome screen you're already logged in since it activates when client.isLoggedIn() && widgets.isVisible(378); You could also check for that widget (or specific colors) yourself.
  11. I wasn't really serious, but this is great for my post count So if you wanna buy for 2/m add me Edit: this was not intended to boost my post count...
  12. 2 + fee and you go first, I don't trust cats
  13. 2.1 + fee Skype: flamezzztw2
  14. Flamezzz replied to zombie69's topic in Archive
    Not allowed
  15. I can sell you a $5 voucher for 2.5m 07gp. Skype: flamezzztw2
  16. There's a blacklist to prevent that. Apparently some people are willing to take the risks, let them :p
  17. So you just bother us with that... that... yeah I guess it's not that bad after all. Damn it.
  18. I think you get some issues with paypal when you receive too many gifts The gp is usually sold to very trusted people, who have been in the business for a long time.
  19. Well even if someone quits rs they can still sell the gp for $ to prevent paypal chargebacks. There are always risks involved when you buy an account, even when the email is changed and you know previous passwords etc. For goldfarmers its balancing the cost vs how much can you make with this account p/h, can I make profit after just a few days? For people actually playing the game and buying an account, and intending to keep the accounts longer, there's even a higher risk. I rather create my accounts myself and use services
  20. By using vouchers: http://osbot.org/forum/forum-227/announcement-44-voucher-guide-explanation/
  21. Order Form: Quests/Services you need: dragon slayer, fight arena, monkey maddness, fairy tale 1 Your Skype: flamezzztw2 Do you agree with my T.o.S: Yes
  22. Ye its the same ip. If you don't want a chain ban get a proxy for one.
  23. I can get you a $5 voucher for 2.3m. Skype: flamezzztw2

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.