Dobot is a bot designed for the game Dofus Retro (version 1.29). It utilizes image recognition using OpenCV and is intended for educational purposes only. It is important to note that Dobot is not designed to be an efficient or competitive bot. It is meant to serve as a learning tool for understanding image recognition techniques and game automation.
Using Dobot for any form of cheating, exploiting, or gaining an unfair advantage over other players is strictly discouraged and goes against the spirit of fair play in gaming. The developers and maintainers of this project do not endorse or encourage any illegal or unethical activities related to the usage of this bot.
Dobot is a unique bot for Dofus Retro, unlike other similar bots that replace the game client. Instead, Dobot runs alongside the game client, using OpenCV for image recognition to interact with the game interface. This approach allows for a safer and more transparent user experience, as it does not interfere with the game files or alter the game client.
For Dobot to function correctly, the game settings should meet the following criteria:
- Display style: classique (4/3)
- Tactical mode enabled
- Display coordinates on the map
- Display moves range
- Allow shortcuts
To add a new collect job in Dobot, follow these steps:
- Edit the
conf.json
file and refer to the existing job entries as examples. - Create a directory with the name of the job under
beacons/jobs
. - Add an
act.png
file to the newly created job directory, using the existing ones as a template. - To add a collectible resource to the job, simply add the
.png
file of the resource to the respective job directory.
Note: It is essential to use clear and distinct images for accurate image recognition.
To get started with Dobot, follow these steps:
- Clone this repository to your local machine.
git clone https://github.com/agiraude/dobot.git
- Ensure you have the necessary dependencies installed. You can find them in the
requirements.txt
file. You can install them usingpip
:
pip install -r requirements.txt
-
Configure the game settings to match the requirements mentioned above.
-
Edit the
conf.json
file to add your desired collect jobs following the guidelines outlined in the project overview. -
Run Dobot:
chmod +x start.sh && ./start.sh
Note: Running the bot while the game is active should be done with caution, and it is advisable to thoroughly review the game's terms of service and ensure compliance with the rules and regulations set forth by the game developers.
Dobot comes equipped with several powerful functionalities that enable it to perform various tasks autonomously within the game Dofus Retro (version 1.29). These functionalities are designed to simplify gameplay and provide convenience to the users. Here are the key features of Dobot:
Dobot allows the user to select a specific job and resource, enabling the bot to autonomously search for, approach, and farm the chosen resource. The bot utilizes image recognition and coordinates to locate the resource and efficiently gather it.
Dobot has the ability to handle basic fights within the game. Whether it's defending against monsters while farming or engaging in simple combat scenarios, the bot can use combat strategies to manage the encounters effectively.
The bot can navigate the game world autonomously by going to specified coordinates. By leveraging image recognition and in-game information, Dobot can move to designated points on the map, enabling seamless exploration and resource gathering.
Dobot introduces the concept of Routines, which are sequences of mouse clicks and actions recorded by the user. These Routines can be saved and later replayed by the bot. This feature streamlines repetitive tasks and provides users with the ability to automate complex actions easily.
The Farmer part of Dobot combines multiple functionalities to optimize resource gathering. It intelligently searches for the specified resource and, if the current map is devoid of the desired resource, follows a predefined routine to change maps and continue the search. Moreover, it can detect and engage resource protectors to ensure smooth farming operations.
Contributions to Dobot are welcome! If you find any issues, have suggestions for improvements, or would like to add new features, please feel free to submit a pull request. However, keep in mind the educational and non-competitive nature of this project.
This project is licensed under the MIT License, which means you are free to use, modify, and distribute the code for educational purposes, subject to the terms and conditions of the license.
Disclaimer: The use of Dobot is entirely at your own risk, and the developers shall not be held responsible for any consequences arising from its usage. Always use it responsibly and in compliance with the game's terms of service.