A lightweight desktop client & toolkit for writing, controlling and monitoring color-based automation scripts.
This is a slight rebrand to the new name: OS Bot COLOR.
Full Changelog: https://github.com/kelltom/OS-Bot-COLOR/compare/v0.6.0-alpha...v0.7.0-alpha
NOTE: If you are upgrading to this version, please reinstall dependencies with pip install -r requirements.txt
.
This update introduces a bunch of QoL improvements. Behind the scenes, we've cleaned up the Sprite Scraper to use an official API instead of scraping HTML, and OCR has received some reliability enhancements.
On the surface, the UI has seen some long-awaited improvements, such as scrollable frames, tooltips, and better fonts.
Full Changelog: https://github.com/kelltom/OSRS-Bot-COLOR/compare/v0.5.1-alpha...v0.6.0-alpha
This update fixes an issue involving the game_launcher
utility attempting to launch new versions of RuneLite with deprecated arguments.
Full Changelog: https://github.com/kelltom/OSRS-Bot-COLOR/compare/v0.5.0-alpha...v0.5.1-alpha
This update addresses RuneLite update 1.9.11.2, which introduces the Profile Manager feature. The game_launcher
utility can now launch RuneLite using this new manager, as well as the legacy method.
Some significant changes were made to the structure of this file, and how the utility is used. Scripts that offer a custom-launch tool will need to be revised.
Example usage:
import utilities.game_launcher as launcher
...
# Example usage for OSRS, using Profile Manager
# Launch the game
launcher.launch_runelite(
properties_path=<path_to_properties_file>,
game_title=self.game_title,
use_profile_manager=True,
profile_name="OSBCCombat", # Supply a profile name if you'd like to save it to the Profile Manager
callback=self.log_msg,
)
In this example, we are loading a typical .properties
file into RuneLite's Profile Manager, where it will exist as OSBCCombat
. This is useful for those who want to swap between bots that require custom settings. You won't need to launch via OSBC every time you change scripts; instead, you can just swap the profile from this menu.
Alternatively, you can choose not to provide a name, and it will be saved as a temp
profile instead.
Full Changelog: https://github.com/kelltom/OSRS-Bot-COLOR/compare/v0.4.1-alpha...v0.5.0-alpha
This update fixes an issue with the Sprite Scraper that was improperly cropping images for image search usage in bank interfaces. This update also improves that algorithm by adding padding to the bank image to better cover its containing bank slot.
Full Changelog: https://github.com/kelltom/OSRS-Bot-COLOR/compare/v0.4.0-alpha...v0.4.1-alpha
For those who are upgrading to this release, be sure to run pip install -r requirements.txt
to update dependencies.
This update will not have side effects on your existing scripts. It is safe to merge.
We have a fancy new Sprite Scraper feature (thanks to @oliverpatrick for the initial legwork). You can use the main menu GUI to launch the Sprite Scraper interface to easily download images from the OSRS Wiki!
NOTE: This feature does not work well with IPv6. If you are having issues, simply disable IPv6 on your computer.
You can also use this utility directly from your scripts. This allows you to share scripts with others without having to bundle images with them!
scraper = SpriteScraper()
scraper.search_and_download(
search_string = "molten glass, bucket of sand",
image_type = 1,
destination = imsearch.BOT_IMAGES.joinpath("bank"),
notify_callback = self.log_msg,
)
Lastly, an experimental patch has been added as a workaround for the issue where OCR fails within right-click menus.
Full Changelog: https://github.com/kelltom/OSRS-Bot-COLOR/compare/v0.3.8-alpha...v0.4.0-alpha
Full Changelog: https://github.com/kelltom/OSRS-Bot-COLOR/compare/v0.3.7-alpha...v0.3.8-alpha
This update offers a small (but significant) bug fix involving the self.stop()
function, as well as a potential fix for the false-positive keylogger flagging some users have reported from Windows Defender. FYI, antivirus was being triggered by OSBC's new settings
feature, which allows users to record custom key binds for starting/stopping bots.
Full Changelog: https://github.com/kelltom/OSRS-Bot-COLOR/compare/v0.3.6-alpha...v0.3.7-alpha
This update adds a few QoL features!
There is now a settings window that lets you change the key bind for starting/stopping bots!
All bots now have a camera movement function:
# Rotate camera 180 degrees to the left, and 90 degrees up
self.move_camera(horizontal = -180, vertical = 90):
You can now reliably check if a mouse click had a red X
:
if self.mouse.click(check_red_click=True):
print("The click had a red X")
Some improvements were made to the Morg API
utility:
# You can check the most recent message in the chat box
print(f"Latest chat message: {api.get_latest_chat_message()}")
# You can also check if you have an item equipped, and its quantity
print(f"Is bronze axe equipped?: {api.get_is_item_equipped(ids.BRONZE_AXE)}")
print(f"How many bronze arrows equipped?: {api.get_equipped_item_quantity(ids.BRONZE_ARROW)}")
Full Changelog: https://github.com/kelltom/OSRS-Bot-COLOR/compare/v0.3.5-alpha...v0.3.6-alpha
Some type annotation inconsistencies were fixed which could have caused some runtime errors for some people. This fix is safe to pull into projects with custom scripts. If you aren't having issues with your current build, you can ignore this update.
Full Changelog: https://github.com/kelltom/OSRS-Bot-COLOR/compare/v0.3.4-alpha...v0.3.5-alpha