Skip 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.

Explv

Scripter II
  • Joined

  • Last visited

Everything posted by Explv

  1. import org.osbot.rs07.api.filter.Filter; import org.osbot.rs07.api.ui.RS2Widget; import org.osbot.rs07.api.ui.Tab; import org.osbot.rs07.event.Event; public final class ToggleShiftDropEvent extends Event { @Override public final int execute() throws InterruptedException { if (Tab.SETTINGS.isDisabled(getBot())) { setFailed(); } else if (getTabs().getOpen() != Tab.SETTINGS) { getTabs().open(Tab.SETTINGS); } else if(getShiftDropWidget() == null || !getShiftDropWidget().isVisible()) { getGameSettingsWidget().interact(); } else { boolean enabled = getSettings().isShiftDropActive(); if (getShiftDropWidget().interact()) { Sleep.sleepUntil(() -> getSettings().isShiftDropActive() != enabled, 3000); setFinished(); } } return random(100, 200); } private RS2Widget getShiftDropWidget() { return getWidgets().singleFilter(getWidgets().getAll(), new WidgetActionFilter("Toggle shift click to drop")); } private RS2Widget getGameSettingsWidget() { return getWidgets().singleFilter(getWidgets().getAll(), new WidgetActionFilter("Controls")); } } class WidgetActionFilter implements Filter<RS2Widget> { private final String action; WidgetActionFilter(final String action) { this.action = action; } @Override public boolean match(RS2Widget rs2Widget) { if (rs2Widget == null) { return false; } if (rs2Widget.getInteractActions() == null) { return false; } for (String action : rs2Widget.getInteractActions()) { if (this.action.equals(action)) { return true; } } return false; } }
  2. Yes, in your snippet you are sleeping for 0-100ms, not exactly long enough for the bank to open, especially if your player has to walk there first. If you use getBank().open() it will sleep until the bank is open, so something like this should work: if (!getBank().isOpen()) { getBank().open(); } else { getBank().depositAll(); } RS2Object is a subinterface of Entity, so what he wrote is fine:
  3. Use getBank().open()
  4. Yeah I know, I broke some stuff. I have already pushed a fix for it, the script should be working again now. However, enabling shift dropping does not work. I will try to get shift drop enabling working today, thanks
  5. The getMouse() methods make use of MouseEvent. If you need more customisation of the mouse movements then use a MouseEvent
  6. Done, it will be available when the SDN is next updated.
  7. Yep I will be adding 8qp I will add shift dropping now
  8. Edit: Nevermind @whipz What exactly are you trying to achieve here?
  9. I previously made a post in here ~7/8 months ago requesting user counts to be added for VIP scripts. We can currently see user counts for free scripts (in the script section) and premium scripts (on the sales page), but we cannot for VIP. I was hoping to get an update on whether this could be added? I believe @Alek previously said that this was planned for when the server side code was next touched. It could either be a public count or private on the sales page. Thanks
  10. Paths have to be in List format now iirc, you can change the output type on my map by clicking the cogwheel
  11. Explv replied to nyan's topic in Archive
    GL
  12. It would be helpful if you showed us the source code so we can tell you where you are going wrong. Also in the future please post in the Scripting Help section
  13. Yep, I removed the abyssal minigame code a while ago (can't remember why), but forgot to remove it from the quest options. So avoid this option for now.
  14. Why does it even matter? Just take the point you rightfully deserve and simmer down.
  15. Explv replied to Anne's topic in Spam/Off Topic
    Lmao
  16. No, only Alek afaik, and you cannot submit obfuscated code to the SDN as he reviews it.
  17. This is for local scripts. The source code of SDN scripts is not accessable to users.
  18. The principle is exactly the same is it not? Your original question was checking if the chatbox contained a trade message, and then acting upon it: https://osbot.org/forum/topic/116527-how-to-trade-other-players/ You then posted the same question again: https://osbot.org/forum/topic/116539-trading-players/ How is this question any different? You are checking the chatbox for a message "help me" instead of a trade message? Apply whatever logic you used for trading here as well. Also in the future post in the scripting help section: https://osbot.org/forum/forum/249-scripting-help/
  19. @olstan You have already posted this question twice in scripting help. If you want people to answer your question (which they already did), bump your original thread. Don't just keep posting again until someone spoon feeds you the solution.
  20. If you would like to assist me with identifying dungeons and other areas The first set of areas is around 2868, 4658, 0 (you can go there by typing the coordinates into the boxes at the top right). Move the map around and you will see a bunch of areas without names. The second set of areas is around 2875, 9452, 0 Thanks
  21. NEW UPDATE - Added map labels with the ability to toggle them on or off - Added search box for locations, the map will pan to them when selected - I have also added labels for some dungeons, I will add more when I figure out what they are
  22. NEW UPDATE - Updated map to latest revision - Map now also contains upper floors (press the +/- buttons in the navbar to go up or down) - Map also now contains dungeons, located very far North on the map, I will be adding a search bar so that these areas can be accessed easily Note: there are no location labels on the map currently, I will be adding those back shortly
  23. Coming soon: And also upper floors: http://i.imgur.com/jLX6NUk.mp4
  24. the end.
  25. Thanks, i'll investigate further

Account

Navigation

Search

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.