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.

Token

Scripter III
  • Joined

  • Last visited

Everything posted by Token

  1. Token replied to Token's topic in Others
    The client is not functional right now because of the update 2 hours ago, webwalking will not work until it gets fixed
  2. Token replied to Token's topic in Others
    Yes
  3. Token replied to Token's topic in Others
    Does it not complete the dialogue?
  4. Token replied to Token's topic in Others
    It doesn't get any stats, it's just a questing script
  5. Token replied to Token's topic in Others
    Authed At which parts of what quest
  6. Just post your whole source code, I doubt there is anything wrong with the code above
  7. Then canReach may not be good enough either, just insert a max distance of 8 or so to your tree as condition
  8. Yes it is a problem in the CHOP case as I stated. Invoking interact() on an Entity will create a default InteractionEvent instance which will walk to that Entity if it's too far. InteractionEvent will create a WalkingEvent instance and set it as its child. This WalkingEvent instance will create a LocalPathFinder instance that will generate a path to the closest position from which the target of the InteractionEvent can be accessed. The problem in here is that LocalPathFinder will only generate paths to tiles that are on map, which results in this weird behavior depending on how the current region loaded. Those entities that are not on minimap cannot be walked to, but they are not null so your bot will be stuck there trying to find a path to it. case CHOP: Entity treeToChop = objects.closest(tree); GroundItem birdNest = groundItems.closest("Bird nest"); treeToChop.interact("Chop down"); StatusUpdate = "Chopping " + tree + " logs"; new ConditionalSleep(10000) { public boolean condition() throws InterruptedException { return !treeToChop.exists(); } }.sleep(); if (birdNest != null && pickupBirdsNests == true) { birdNest.interact("Take"); } break; Adjusted some code in there. You already null check the tree in your getState() so the if is redundant. There are many ways to check to check if you can walk to that specific Entity, easiest would be private State getState() { Entity treeToChop = objects.closest(tree); if (inventory.isFull() && powerChop == false) return State.BANK; if(inventory.isFull() && powerChop == true) return State.POWERCHOP; if (treeToChop != null && map.canReach(treeToChop)) return State.CHOP; else return State.WALK; } You can also go with LocalPathFinder lpf = new LocalPathFinder(bot); lpf.findPath(tree); And use lpf.foundPath() As condition to verify if you can walk to your tree. tree.getPosition().isOnMiniMap(bot) Is good but not perfect, it leaves out the 1 in a million case where trees are arranged in such way that the tree is on minimap, but there is no tile on minimap from which you can access it
  9. Token replied to Token's topic in Others
    24 hours
  10. Token replied to Token's topic in Others
    Starting the script while certain quests are in progress is not supported on all quests yet, it is not able to continue on RFD Pirate Subquest from stage 40, only maybe if it's interrupted before stage 30
  11. You missed the case where you are outside the bank but there are no nearby trees, using areas or any other predefined sets of data is generally not a good idea. Remove the areas in your logic and it should look like this private State getState() { Entity treeToChop = objects.closest(tree); if (inventory.isFull() && powerChop == false) return State.BANK; if(inventory.isFull() && powerChop == true) return State.POWERCHOP; if (treeToChop != null) return State.CHOP; else return State.WALK; } And a state that doesn't do anything at all is just bad practice, simply returning from the current loop iteration without performing any actions will yield the same result. PS: you also have the case where you are at the desired location to chop trees but all tree instances are depleted, but since you know the destination you can add this condition to your states Edit: You should post the case CHOP as the error is definitely there
  12. Token replied to Token's topic in Others
    Authed
  13. phishers started fishing http://osbot.org/forum/topic/106610-phishers-too-greedy-to-buy-windows/
  14. Scripters average $11,800 per month
  15. Token replied to Token's topic in Others
    Did you start the script at stage 40?
  16. Token replied to Token's topic in Others
    Did it get stuck because of equipment weight?
  17. Token replied to Token's topic in Others
    Create a gear preset and load the gear while you have a spell selected on autocast in game, the selected spell will be displayed on the GUI with the other gear components. Only the 16 elemental spells are supported, and it will only take runes for quests that contain combat.
  18. Token replied to Token's topic in Others
    I'll post the change log if there's any update, except for bug fixes
  19. Token replied to Token's topic in Others
    Idk... I haven't personally been banned
  20. Token replied to Token's topic in Others
    Yes
  21. Token replied to Token's topic in Others
    Authed
  22. Token replied to Token's topic in Others
    Idk
  23. Token replied to Token's topic in Others
    Doing previously started quests is not fully supported on every quest, as stated in the instructions, RFD Pirate Subquest cannot continue because the underwater area is not accessible to the webwalker yet

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.