Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ivan-guerra/colorbot
A OSRS color bot
https://github.com/ivan-guerra/colorbot
colorbot osrs-bot
Last synced: 17 days ago
JSON representation
A OSRS color bot
- Host: GitHub
- URL: https://github.com/ivan-guerra/colorbot
- Owner: ivan-guerra
- License: unlicense
- Created: 2024-12-08T03:23:14.000Z (2 months ago)
- Default Branch: master
- Last Pushed: 2025-01-16T01:34:44.000Z (22 days ago)
- Last Synced: 2025-01-16T02:35:04.126Z (22 days ago)
- Topics: colorbot, osrs-bot
- Language: Rust
- Homepage:
- Size: 25.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# colorbot
A Old School Runescape colorbot utility.
### Requirements
`colorbot` only supports Linux. To build and run this utility, your system must
meet the following requirements:- rustc >= 1.82.0
- [xdotool][1]### Program Usage
`colorbot` is a command line utility. Below is the program usage:
```bash
A OSRS color botUsage: colorbot [OPTIONS]
Arguments:
<SCRIPT> path to bot scriptOptions:
-r, --runtime <RUNTIME>
script runtime in seconds [default: 3600]
-d, --mouse-deviation <MOUSE_DEVIATION>
determines the deviation of the mouse during pathing [default: 30]
-s, --mouse-speed <MOUSE_SPEED>
defines the speed of the mouse, lower means faster [default: 3]
-g, --debug
enable logging
-h, --help
Print help
-V, --version
Print version
````colorbot` has one required argument which is the path to a JSON file containing
mouse events. The event script must have the following format:```json
{
"events": [
{
"id": "event1",
"color": [1, 2, 3],
"delay_rng": [10, 20]
}
]
}
```The event script contains a top-level `events` array with one or more mouse
events. Each mouse event has three fields:- `id`: A string describing the event.
- `color`: A three element array containing the RGB color of the pixel to click
on.
- `delay_rng`: A two element array containing the minimum and maximum delay in
milliseconds the script will insert after the click is performed.Checkout the [scripts/](scripts/) directory for example scripts. Note, this
utility is meant to be used in conjunction with the RuneLite plugins Inventory
Tags, NPC Indicators, Object Markers, and Menu Entry Swapper. Checkout this
[blog post][2] for more information.[1]: https://www.semicomplete.com/projects/xdotool/
[2]: https://programmador.com/posts/2025/colorbot/