Skip to content

Advanced Metin2(Mobile2) fishing automation using Computer Vision (OpenCV) and AutoHotkey (AHK) for anti-cheat bypass and captcha solving.

Notifications You must be signed in to change notification settings

muhammetsimssek/Metin2-Auto-Fish-Bot-AI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Metin2 Auto Fish Bot AI 🎣🤖

An advanced automation system for Mobile2/Metin2 fishing mechanics. This bot uses Computer Vision (OpenCV) to detect fishing icons and AutoHotkey (AHK) for reliable DirectInput interactions. It includes a custom solver for in-game "hCaptcha" and "Not a Robot" verifications.

🚀 Features

  • Icon Detection: Real-time multi-scale template matching to detect the fish bubble.
  • Auto-Feeding: Automatically uses food/action keys every set interval.
  • hCaptcha Solver: Uses visual matching to identify and click the correct item in the mini-game puzzle.
  • Anti-Cheat Bypass:
    • Brightness Detection: Monitors screen darkening to detect and solve "Not a Robot" prompts.
    • AHK Integration: Uses AutoHotkey v2 for mouse and keyboard events to bypass standard library detection.
  • Failsafe System: Automatically restarts the fishing loop if no interaction is detected for 60 seconds.

🛠️ Prerequisites

  1. AutoHotkey v2: Must be installed at C:/Program Files/AutoHotkey/v2/AutoHotkey64.exe.
  2. Game Window: Ensure the game is running and visible. The bot targets specific coordinate regions for Mobile2.
  3. Window Mode The game must not be in full screen. Run it in windowed mode for the bot to function properly.

📦 Installation

  1. Clone the repository:

    git clone https://github.com/muhammetsimssek/Metin2-Auto-Fish-Bot-AI.git
    cd Metin2-Auto-Fish-Bot-AI
  2. Install dependencies:

    pip install -r requirements.txt

⚙️ Configuration & Setup

  • Fish Detection: Place the target fish icon image in fish/fish.png.
  • Item Puzzle: Place images of items that appear in the mini-game in the mini/ directory. The bot will try to match the screen against all files in this folder.
  • AutoHotkey Scripts: Custom .ahk scripts for Space, Clicks, and Skills are located in github/Binding.AHK2/.

🎮 Usage

  1. Open the game window.
  2. Run the script as Administrator:
    python main.py
  3. Press 'S' to start the bot.
  4. Press 'Q' to safely stop the bot.

Developed by Muhammet

About

Advanced Metin2(Mobile2) fishing automation using Computer Vision (OpenCV) and AutoHotkey (AHK) for anti-cheat bypass and captcha solving.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published