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.

Auto Ranged Combat [Experimental:WIP]

Featured Replies

This is an experimental combat script that was birthed from my process of becoming familiar with the OSBot API. I plan on re-gutting the script once again to make it more clean and possibly run faster, but that work will not be happening for a while. I've got every intention to add a standard script GUI and better organization of item looting (based on item values or user-set priorities). So those are new features to come before I consider making a proper public release. There are plenty of other ideas I have for auto ranged related things, because of my intense interest in the skill, and so I also plan to be integrating a more wholesome spectrum of ranged combat capability, after the main combat concept is in proper order.

This script should be handled only by those who know how to properly debug and modify/create a functional script. Since there is NO GUI:

You have to change the variables inside of the script to run this as you would prefer. With that in mind: consider how tedious that would be. If your in-game character is of a lower combat level and their hitpoints are below 50, then this script is already in a practical setting. The hitpoints range that the script is currently set to eat at is randomly between: 16 to 24 HP. So in order to change this variable, you will have to go within the taskHandler() function (it is generally referred to as the getState() function), and change the if statements within that function. Food support is easy to add to. Just look for the variable int[] food and add the item ID's of choice. To make your ID the highest priority for the script to select (if available in inventory), then make sure your custom ID is at the first index of the array. 

Just look around the script to see if you would want to use this, and how to use it, and give me some feedback afterwards!

 

Supported features:

Can use arrows up to steel. Can use iron knives as the only knife type currently. Certain variables in looting and ammo equipment change if you have a Ava's accumulator or attractor equipped.

Take Note:
You can add your own ammo variables easily. This script will not (re)equip a bow for you. IF YOUR CHARACTER RUNS OUT OF ARROWS/KNIVES, THE SCRIPT WILL NOT KNOW THIS. There will be some quick fixes soon to take care of these issues. If you actually want to use this for training then equip a ring of life (failsafe) and lots of ammo.


This early release is not intended for running the script with total confidence. There are possible bugs and obvious bugs. They may not happen often, but they will happen. This release is intended for: a) study and b) constructive feedback.

Thank you.

pastebin.com/Fi7ZdaEY

FIRST POST! WOOT WOOT - Seriously tho, very nice. Will use this to figure some things out myself! Mighty fine work tho!

  • Author

If anyone would like to use code from this script, or contribute code, then by all means go ahead. Please let me know either here or personally though (when you use any code I've written), because I will always feel that in all fairness what we take, we should also give back in some way. Users of the script can always give back to the scripters by taking a moment to give constructive feedback. It really proves your own commitment to working with quality content, and it will always be a win-win for the scripters and general users. 

From this day on: I will be working on the next phase of the combat system. I don't think I really have to get into specifics for one to figure out what exactly that is. It is an auto ranged script after all. Edit: This might not be done for a while, due to other worldly duties. However I've been working on multiple script projects lately - all of which are coming together nicely. More updates and new content to come; currently only on my Pastebin.

Thanks!

p.s. I've edited the available copy of the script on the Pastebin, since yesterday. So if you received this content before-hand, you ought to re-copy the small update.

Edited by cloudbuster

Guest
This topic is now closed to further replies.

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.