Skip to content

xandao-dev/flyff-bots

Repository files navigation


Flyff Bots

Flyff is a MMORPG game that I used to play when I was a kid. I always wanted to create a bot for it and here I am. This project is a set of bots that I created for Flyff. It has bot for farming and for upgrading your items.
⚠️ Windows only ⚠️

Explore the docs »
Report Bug · Request Feature

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Roadmap
  5. Contributing
  6. License
  7. Contact

About The Project

Foreground Vision Bot

See the Foreground Vision Bot guide here

Flyff bot

Awakening Bot

bot.mp4
awake.mp4

Features

Foreground Vision Bot

  • ⭐ Works very good ⭐
  • Track the monsters by it's names using computer vision (OpenCV)
  • Automatically attack the monsters and move to the next one
  • If no monsters are found, it will automatically run to find more monsters
  • Human-like mouse movement
  • GUI available, to watch the bot and configure it

Awakening Bot

  • ⭐ Works very good ⭐
  • Automatically awaken your items until you get the required stats
  • Works on background or foreground
  • Works using OCR

Foreground Farm

  • ⚠️ Does not work very well ⚠️
  • Farm bot that works on foreground
  • Works moving the mouse on the screen to see if it finds a monster
  • Works matching pixel colors

Recording Bot

  • ⚠️ Does not work very well ⚠️
  • It records your actions like moving, attacking, drinking potions and etc.
  • Generates a file that you can use to replay your actions
  • Works on background or foreground

Built With

  • Python3 - A general-purpose, high-level programming language
  • OpenCV - Open source computer vision library
  • pytesseract - Google's Tesseract OCR library
  • pyttsx3 - Speech synthesis library
  • numpy - Scientific computing package

Getting Started

To get a local copy up and running follow these simple steps.

Installation

  1. Clone the repo
git clone https://github.com/xandao-dev/flyff-bots.git
  1. Install dependencies
cd flyff-bots
python3 -m pip install -r requirements.txt

Common Issues

  1. import win32gui ImportError: DLL load failed: The specified module could not be found.
    • Install pywin32 from binaries for your python version

Usage

  • Run foreground vision bot

    1. Follow the configuration steps to configure the bot
    2. Run the bot: python3 foreground_vision_farm.py
  • Run awakening bot

    1. Open the game
    2. Run the bot: python3 background_awake.py
  • Run foreground farm

    1. Open the game
    2. Run the bot: python3 foreground_farm.py
  • Run recording bot

    1. Open the game
    2. Run the recorder: python3 recorder.py or python3 recorder_no_mouse.py
    3. Run the playback: python3 foreground_playback.py or python3 background_playback.py

Roadmap

See the open issues for a list of proposed features (and known issues).

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE for more information.

Free software =)

Contact

Alexandre Calil - Linkedin - [email protected]

Project Link: https://github.com/xandao-dev/flyff-bots