Skip to content

feijoes/dokkan_eza_bot

Repository files navigation

Dokkan Battle EZA Farming Bot

Dokkan Battle Auto-Play Script

ONLY WORKS ON GLOBAL (for now)

Introduction

The Dokkan Battle EZA Farming Bot is a Python script designed to automate the process of farming the Extreme Z-Awakening levels in Dragon Ball Z Dokkan Battle. The script runs on your computer and interacts with the game on your phone.

If you encounter any errors or have any doubts, feel free to create an issue or contact me at pcaladomoura@gmail.com or on Discord at feijao6054.

Features

  • Automated farming of Extreme Z-Awakening levels in Dokkan Battle.
  • It identifies buttons and actions using images, so it can adapt to different screen sizes and resolutions.
  • Can swipe bettwen eza

Tip: If the bot doesn’t seem to be working correctly, particularly if it's failing to detect buttons or actions in the game, try replacing the images in the script with screenshots from your own game setup. These images are used to identify in-game elements, and if your screen layout differs, custom screenshots may improve accuracy.

Requirements

  1. You need an Android device with USB debugging enabled. This allows the script to communicate with the phone via a USB cable.

  2. Get you phone in developers options and enable the options:

    • Dont lock screen: This prevents the screen from locking to ensure uninterrupted gameplay.
    • USB Debbuging
  3. Your computer should have Python 3.x installed. You can download it from the official Python website.

  4. Install tesseract in your computer (required for Normal mode, optional for INF mode)

Usage

WARNING the normal mode maybe outdate, use the Infinite Mode for now

All EZAs (level 31)

  1. Launch the Dokkan Battle app on your Android device and go to eza section
  2. Scroll down to the bottom of the EZA events, as the bot will change EZA events by swiping upwards.
  3. Open a terminal or command prompt in the project directory.
  4. install the requirements
pip install -r requirements.txt

And run

python main.py

Infinite Mode

  1. Launch the Dokkan Battle app on your Android device and go to eza section
  2. Select the EZA you want to farm infinitely
  3. Open a terminal or command prompt in the project directory.
  4. install the requirements
pip install -r requirements.txt

And run

python main.py inf

Special Argument: --nolost

If you want the script to continue farming even when you lose a battle (e.g., due to bad rotations), you can use the --nolost argument. This allows the script to retry automatically without interruption. However, use this option carefully because the script will run indefinitely.

Example:

python main.py inf --nolost

Disclaimer

This project is intended for educational and personal use only. The use of automation bots in games may violate the game's terms of service, and using this script may carry the risk of account suspension or banning. The developer of this project is not responsible for any consequences resulting from the use of this bot.

Contributing

Contributions to this project are welcome! If you encounter any issues, have suggestions for improvements, or want to add new features, feel free to open an issue or submit a pull request.