Skip to content

Python bot that automatically detects and defeats snowmen in the Metin2 Online RPG using OpenCV, HSV filtering, state machines, multi-threaded architecture, Tesseract OCR and the Telegram API.

Notifications You must be signed in to change notification settings

peacefulbadger/Metin2-Bot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Metin2-Bot

This repo contains the code for Metin2 Online RPG bots - a personal project I did during the Christmas 2020 holidays!

An elaborate project summary can be found on my website.

Two bots were implemented:

  • Bravery Cape Bot

    • Prototype for interacting with the game UI
    • Sends key strokes and mouse presses to the game to automatically farm monsters for experience
    • Mostly an intermediate step for the Metin Farm Bot (see below)
  • Metin (Snowman) Farm Bot

    • Takes sreenshots of the game client and pre-processes them using HSV filters
    • Detects snowmen using a Haar feature-based Cascade Classifiers
    • Multi-threaded bot implementation as state machine to farm snowmen automatically
    • Remote monitoring through Telegram Bot implementation

    Demo GIF

About

Python bot that automatically detects and defeats snowmen in the Metin2 Online RPG using OpenCV, HSV filtering, state machines, multi-threaded architecture, Tesseract OCR and the Telegram API.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%