Skip to content

skythebro/FishBotDNA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fishbot

An automation script for a fishing mini--game, featuring a Tkinter-based UI for easy calibration.

What's New

  • Improved Performance: The screen capture and image processing loops have been optimized for faster, more reliable execution.
  • Enhanced Detection: Contour detection algorithms have been refined for more accurate fish and UI element tracking.
  • Streamlined GUI: The user interface has been updated for a more intuitive and responsive experience.
  • Code Refactor: The entire codebase has been refactored for better readability, maintainability, and performance.

Features

  • Automates casting, bite detection, fish fighting, and reward collection.
  • Calibration UI for capturing pixels, ROIs, and HSV color ranges.
  • Diagnostic snapshot mode for verifying color masks and coordinates.
  • Supports multiple fishing spot profiles through fishbot_config.json.

Requirements

  • Windows 10/11 with Python 3.9 or newer.
  • Dependencies listed in requirements.txt.

Easy Installation

For users who prefer not to set up a Python environment, a pre-packaged executable is available in the releases section. Simply download the fishbot.zip file, extract it, and run fishbot.exe.

Manual Installation

# Create and activate a virtual environment
python -m venv .venv
.\.venv\Scripts\Activate.ps1

# Install dependencies
pip install --upgrade pip
pip install -r requirements.txt

Configuration

All settings are managed in fishbot_config.json.

Recommended Workflow:

  1. Launch the setup UI for your desired location:
    python fishbot.py --setup --location "Sewer"
  2. Use the UI to set the reel pixel, bite indicator, ROIs, and color ranges.
  3. Save the configuration directly from the UI.

Usage

Run Continuously:

python fishbot.py --location "Sewer"

Press Ctrl+C in the console to stop.

Run a Single Cycle:

python fishbot.py --once --location "Sewer"

Diagnostic Snapshot:

python fishbot.py --snapshot snapshot.png --location "Sewer"

Disclaimer

This script is for educational purposes only. Automating games may violate their terms of service. Use at your own risk.

About

Fishing bot for Duet Night Abyss

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages