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.
Here are some simple examples. For more detail, see the user guide on the website.
osrs hiscore <username>
> osrs calc drop --probability 1/5000 --kills 1000
18.1286% chance of ≥1 successes in 1000 attempts
osrs calc xp --from-xp 100000 --to-lvl 80
osrs calc xp --from-lvl 50 --to-lvl 60
> 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% |
+------------+-------+-------+-------+-------+-------+
osrs wiki shark
osrs wiki smithing
osrs ping 450
Found a bug or have a suggestion for a new feature? Submit an issue on this repo.
Interested in contributing? Here's some basic steps for setup:
The CLI is written entirely in Rust.
Required tools:
cargo run -- help # Run any command
cargo test # Run unit testsThe website is HTML/CSS, compiled using the 11ty framework.
cd website
mise run startChange files and you should see the site refresh in your browser.