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.

Combat Stance changing

Featured Replies

I was wondering if anyone knows if combat stances are implemented anywhere in the API?

 

I'm looking to create a combat script that levels attack/strength/defence evenly up to 30.

For example, levels 1-10 attack then switches to strength 1-10 etc.

Was just curious if there was a better way to do this other than through widgets...

 

Here is the code I made to solve the issue...

 

 

Edited by EsotericRS

Look into configs. Every time you change an attack style your config #'s will change. You can do this by going into the OSbot clients Settings<Options<Debug<Configs. Personally haven't used configs yet but i'd imagine you can do something along the lines of this (Don't copy & paste these config #s are made up)

if(getConfigs == 123 && getSkills.getStatic(Skill.ATTACK) == 10) {

change attack style code here, maybe use widgets for this may be easier way.. 

}

 

  • Author
30 minutes ago, Imthabawse said:

Look into configs. Every time you change an attack style your config #'s will change. You can do this by going into the OSbot clients Settings<Options<Debug<Configs. Personally haven't used configs yet but i'd imagine you can do something along the lines of this (Don't copy & paste these config #s are made up)

if(getConfigs == 123 && getSkills.getStatic(Skill.ATTACK) == 10) {

change attack style code here, maybe use widgets for this may be easier way.. 

}

 

Thanks a lot for this. Got me down the right path. If anyone else is interested there is a detailed explanation into this in this guide under 'Configs'.

 

 

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.