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.

Changing attack style?

Featured Replies

Hi all. I'm trying to work out how to change attack style (e.g. from "Chop" to "Hack"). It seems that there should be a method in org.osbot.rs07.api.Combat such as 'setAttackStyle' - but this does not seem to be the case. Is there an equivalent method somewhere in the API that I am missing?

You should be able to get the button widget by the index of the attack style (eg. child Id 0 for accurate, child Id 3 for defensive), and then interact with the widget.

  • Author

You should be able to get the button widget by the index of the attack style (eg. child Id 0 for accurate, child Id 3 for defensive), and then interact with the widget.

 

Thanks FrostBug - your comment led me to org.osbot.rs07.api.Widgets which has the methods in to do what I need to do :)

Yes, you will have to find the widget and interact with it. You can use Configs to get the current attack style (index 43 - a value of 0 tells that the current style is the top left button, 1 is the top right button, 2 is the bottom right button and 3 is the bottom left button)

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

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.