osrs-cli
A command line tool for doing lookups and calculations related to Oldschool RuneScape. Features include:
- Calculate drop rate
- Calculate XP to a level
- Hiscores lookups
- And more!
This tool is intended for people who are already familiar and comfortable with the command line. If you aren't, then you're probably better off using the wiki and other web-based tools.
Installation
Examples
Here are some simple examples. For more detail, see the user guide on the website.
Hiscore lookup
osrs hiscore <username>
Calculate drop rate
> osrs calc drop --probability 1/5000 --kills 1000
18.1286% chance of ≥1 successes in 1000 attempts
Calculate XP to a level
osrs calc xp --from-xp 100000 --to-lvl 80
osrs calc xp --from-lvl 50 --to-lvl 60
Calculate spicy stew boosts
> osrs calc stew --doses 25 --boost 3
+------------+-------+-------+-------+-------+-------+
| Doses/Stew | ≥+1 | ≥+2 | ≥+3 | ≥+4 | ≥+5 |
+------------+-------+-------+-------+-------+-------+
| 1 | 99.9% | 0.0% | 0.0% | 0.0% | 0.0% |
| 2 | 99.6% | 96.8% | 79.9% | 0.0% | 0.0% |
| 3 | 98.7% | 96.1% | 90.0% | 76.8% | 50.0% |
+------------+-------+-------+-------+-------+-------+
Search the wiki
osrs wiki shark
osrs wiki smithing
Ping a world
osrs ping 450
Bug Reports/Feature Requests
Found a bug or have a suggestion for a new feature? Submit an issue on this repo.
Development
Interested in contributing? Here's some basic steps for setup:
CLI
The CLI is written entirely in Rust.
Required tools:
Website
The website is HTML/CSS, compiled using the 11ty framework.
Change files and you should see the site refresh in your browser.