-
Notifications
You must be signed in to change notification settings - Fork 141
About
OSRS Bot COLOR (OSBC) 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.
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.
- They're easy to create. Even novice programmers will find that the creation of color-based scripts is intuitive.
- They're good programming practice.
- 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.
- 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. OSBC uses computer vision to compensate for the lack of access to game information (E.g., image searching, optical character recognition, color isolation, 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, as we would with our eyes.
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.
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.
Fishing spots can be found by searching for the fish icon provided by the Fishing RuneLite plugin.
These are just a few examples of how OSBC can leverage computer vision to make up for the lack of access to game information.