The OldSchool Runescape Computer Vision Bot
The OSRS Computer Vision Bot
docs/scenarios/
cd ~
git clone --depth 1 https://github.com/takelley1/OCVBot.git
cd OCVBot
python3 -m venv ocvbot_venv
source ./ocvbot_venv/bin/activate
pip3 install -r requirements.txt
credentials
directory called username.txt
and add
your account's username to it.echo "ThisIsMyUsername" > ./ocvbot/credentials/username.txt
credentials
directory called password.txt
and
and your account's password to it. Accounts with 2-factor authentication are
not supported.echo "ThisIsMySuperSecretPassword" > ./ocvbot/credentials/password.txt
ocvbot
directory, copy config.yaml.example
to config.yaml
.cp ./ocvbot/config.yaml.example ./ocvbot/config.yaml
Read and edit config.yaml
with your desired configuration settings.
Check docs/scenarios
for the proper client configuration
settings and information about each script.
Launch the OldSchool Runescape client. A wrapper script is provided in
the tools
directory.
./tools/osrs.sh
Adjust your client to match the screenshots in docs/scenarios
.
Make sure your character is in the correct starting position before running
the bot.
Start the bot.
python3 ./ocvbot/main.py
deactivate
.NOTE: You must activate the Python virtual environment every time you wish to run the bot! Run
cd ~/OCVBot && source ocvbot_venv/bin/activate
ocvbot/config.yaml
file. Please see the comments in that file for information
on how to configure each parameter.This bot was written for educational purposes only. I am not responsible for how you use this software.