(Warning) You are solely responsible for any disadvantages resulting from using this program.
I stumbled upon the existence of a bot while wandering the internet. It's not a bot spreading through dark paths, but a bot proudly uploaded to GitHub, so I'll share how to use it.
In my personal opinion, it doesn't seem very dangerous because it's an operation method similar to manual operation using image analysis. If you check the actual source, it does not contain any libraries that can be recognized as malicious code.
If you're feeling uneasy, I recommend not touching it.
I will assume that those who do not need this explanation are users who are well aware of how to use Anaconda.
Miniconda – Conda documentation
You can download the installation file suitable for your operating system. Most people who play Diablo 2 Resurrected are expected to use Windows 64-bit.
It is recommended to add the path as an environment variable for easy building later.
This is the current BOTTY GitHub URL.
GitHub – aeon0/botty: D2R Pixel Bot
I don't know how long it will be shared, but it seems that it is currently being shared without any restrictions.
The creator states that it is provided for informational or educational purposes only.
If you know well, you can install it using git's clone function, or if you don't know, just download it using Download ZIP.
The following files are included. Unzip it to a suitable path.
If you don't have Visual Studio Code, please install it first.
Visual Studio Code – Code Editing. Redefined
Run VS Code and select the path where you unzipped at File > Open Folder...
It's successful if it's displayed as follows on the left.
Run PowerShell or Command Prompt through Terminal > New Terminal.
It's successful if the terminal window opens at the bottom as follows.
If you enter .\run.bat, the following menu will appear. Let's select number 1 first. If the library is updated later, you can select menu number 2 to update it.
The libraries required for bot code compilation are automatically downloaded and installed. If you don't see this screen, check the path settings of conda, etc.
When I checked, it also installs Tesseract, which is an open source OCR (Optical Character Recognition) engine.
You can create a custom.ini file in the config folder and write it as follows. It takes precedence over the param.ini file.
The param.ini file may change whenever a new version is released, so it is better to set your own settings separately in the custom.ini file.
(Additional content) It is automatically created in the botty_v0.6.7-dev/config folder when compiled, and you can modify it in the same way.
You can run it directly in debug mode by selecting menu number 4 without compiling separately. At this time, you are not running the exe file, but running the Python code.
The following menu appears when executed. Let's press f11 to run the bot.
Detailed explanations of other menus are omitted.
You can see that the bot is running well by logging.
I tried playing with an offline character. It analyzes the image by taking snapshots of the Diablo window.
It seems that several machine learning technologies have been applied, as it searches for objects with probabilities as well as OCR.
If you want to compile to a Windows executable (exe) file, select number 3 from the menu.
Compilation takes a little time, and it is successful when the following message appears at the end.
The capacity of the exe executable file created in the botty_v0.6.7-dev folder as a result of compilation is quite large, but there is nothing to suspect. This is because many libraries are included in one file.
Running the main.exe file in the botty_v0.6.7-dev folder works the same.
I have collected the methods I took when the installation did not work well. Troubleshooting methods may vary depending on the bot program version.
If pyinstaller is missing when compiling, an error will occur. It is a library that creates exe executable files. It seems that it should have been installed automatically when installing the compilation environment, but in my case, it was not installed because an error occurred in the middle, so I installed it separately.
You can install it using the following command.
pip install pyinstaller
0