Skip to content
This repository has been archived by the owner on Jun 3, 2024. It is now read-only.
Kellen Evoy edited this page Aug 17, 2022 · 17 revisions

What is OSRS Bot COLOR?

OSRS Bot COLOR is a desktop application that allows you to organize, control, and monitor color bots for Old School Runescape and private server variants. Additionally, it is designed in such a way that helps inexperienced programmers create their own bots using our custom libraries.

Why I built it

  • I wanted to get some hands-on experience making UIs with Python.
  • I enjoyed writing scripts for private servers for coding practice.
  • I got tired of using my scripts from the command line or IDE.
  • I wanted a GUI interface to change options for my bots on the fly.
  • I wanted a GUI interface to control the bots (pause/play/stop) and monitor their progress.
  • I wanted to build a library of functions that make it easy to create additional bots using advanced computer vision.
  • I think there are a lot of people who are interested in scripting, but lack coding experience - so I thought it would be cool to make a program that would cater to them.

What is a color bot?

A color bot is one of the simplest ways to implement automation in Old School Runescape. They've been around since Runescape's debut and are still popular today. They typically function based on static pixel coordinates and their color values. Changes in pixel colors can prompt the bot to perform certain actions.

For more, see the OSRS Wiki.

Pros:

  • They're easy to create. Even novice programmers will find that the creation of color-based scripts is intuitive.
  • They can be hard to detect when coded well. Color bots do not interact with the Runescape/Runelite client's code, so they cannot be affected by counter-injection methods .

Cons:

  • Color bots are prone to strange behaviour. Without careful design, they can lose their way and look very suspicious to nearby players.
  • They do not have access to the game's code (or Runelite's API), meaning they don't have access to the most accurate details of the game's state (E.g., exact location of NPCs, nearby players, items matching IDs, etc.). This makes extracting game information challenging.

Luckily, OSRS-Bot-COLOR was designed with the cons of color bots in mind. COLOR uses computer vision to compensate for the lack of access to game information (E.g., image recognition, optical character recognition, OpenCV, etc.). This means that even though we can't access Runelite data directly, we can still make use of various plugins by scanning the game client for certain visuals. For instance, for a combat bot, we can use NPC Indicators to tag the NPCs we'd like to attack with the blue outline -- then, our bot can identify the center pixel of each enclosed blue outline and decide which one to click.

cows

The color-separated image below is not exact, it's just an example.

contours

OCR can be used on the Opponent Information area of the screen to determine if a target has been defeated by checking if there is text present.

opponent information plugin

For more...

Check out other sections of the wiki!