A simple bot for RuneScape using YoloV5 object detection, image detection, and keyboard & mouse controls.
pip install -r requirements.txt
Once you have ran the RS-BT.exe file, or the main.py file, you should see a window as such:
From here, press the "Woodcutting"
button to activate the woodcutting bot. A console should appear and output details about the bot.
The bot works in 3 main 'steps'. Note you should move to an area with several trees before running the bot.
The bot will search for trees and click on a detected tree. Once the cutting period is over, the bot will search for another tree. If no other trees are found, see #3.
Once your inventory is full, the bot will drop all wood logs as if it were a human. Once no more logs are detected in the inventory, the bot will go back to step #1.
If the bot does not detect any trees, it will first try moving around, followed by moving the in-game camera if movement does not work.
Once activated, the bot should automatically tab into RuneScape, if open, or print a message in the console informing you that RuneScape is not open. To turn off the bot, simply hold the "=" key for a few seconds, or close the console.
(Note if you tab back into the main program screen, it may stop responding. However, the bot will continue to run normally as long as you do not terminate the program.)
There are several measures in place to prevent bot detection, and the account used to test the bot has not been banned after ~1month of use, however there is still not a 100% guarantee that your Jagex account will not be banned.
- There are random actions, such as moving the camera in game, that occur occasionally to simulate a human player.
- Every so often, the bot will print out a message to simulate a human player.
- Nearly all delays are randomized and humanized.
- Mouse movement is humanized with the pyHM python library.
A simple Mining Bot
A simple Fishing Bot
A way for the bot to deposit materials and move around the map.
Special thanks to Kian Brose and Ben Johnson on youtube for botting tips and practices.