This autonavigator automatically set's cursor on position of detected zombies and then you can click to shoot.
Dataset - https://universe.roboflow.com/test-o0ilg/zombie-rush
You can use autolabel.py
to autolabel images at the images
folder and then upload them to roboflow, with the labels.txt
file copied there.
P - Pause
R - Resume
F - Save screenshot to images
folder for dataset
Follow this command order in conda in order to install everything as I did
- Create conda environment
conda create -n autonavigator python=3.10
conda activate autonavigator
- Install cudatoolkit and cudnn
conda install -c conda-forge cudatoolkit=11.2 cudnn=8.1.0
- Install pytorch with cuda
pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu126
- Open project folder
cd /d /path/to/folder
- Install packages from
requirements.txt
pip install -r requirements.txt
- Open bot folder
cd bot
- Start bot using raw command or using
start.bat
if you are on Windows
python.exe .\main.py --device=0 --weights .\weights\yolov8_zombie_m_v3.pt
Windows
start.bat
- You can tune DXCam to wait for last frame available, and not spam grab. Or maybe use other libraries
- Export yolo model using TensorRT to optimize it's execution on GPU
- Add images to dataset and train yolo model on it to make detection more accurate
Andrew Wong for RobloxBot - bot that collects coins in Murder Mystery 2, used as a base, check it out