카테고리
Diablo2 Resurrected

Diablo2 Resurrected Auto Hunting Pixel Autobot (D2R BOTTY Pixel Bot)

(Warning) Any disadvantages arising from the use of this program are at their own risk.

I accidentally discovered the existence of bots while wandering the internet. It is not a bot that spreads through the dark path, but a bot that has been proudly uploaded to GitHub, so I will share how to use it.

In my personal opinion, it doesn't look too dangerous because it's a manual-like manipulation method using image analysis. If you check the actual source, it doesn't contain any libraries that could be recognized as malicious code.

If you are anxious, we recommend that you do not even touch it.

Install Miniconda

For those who do not need this explanation, I will assume that you are familiar enough with how to use anaconda.

Miniconda – Conda documentation

Just download the installation file for your operating system. Diablo 2 Resurrection players are expected to use Windows 64-bit most of the time.

D2R BOTTY Pixel Bot

It is recommended to add the path as an environment variable for easier building later.

D2R BOTTY Pixel Bot

Bot download

This is the currently uploaded BOTTY Github URL.

GitHub – aeon0/botty: D2R Pixel Bot

I don't know how long it will be shared, but for now, it seems that sharing is taking place without any restrictions.

the producerFor informational or educational purposesIt is stated that it is provided only as

If you know it well, you can install it using the clone function of git, or if you don't know, just download it using the Download ZIP.

D2R BOTTY Pixel Bot

The following files are included. Unzip it to a suitable path.

D2R BOTTY Pixel Bot

Running in Visual Studio Code

If you do not have Visual Studio Code, please install it first.

Visual Studio Code - Code Editing. Redefined

Run VS Code File > Open Folder…at Choose the unzipped pathdo.

D2R BOTTY Pixel Bot

Success if you see something like this on the left:

D2R BOTTY Pixel Bot

Terminal > New TerminalthroughPowerShell or Command PromptRun .

D2R BOTTY Pixel Bot

Success is when a terminal window opens as follows at the bottom.

D2R BOTTY Pixel Bot

Install Python Compilation Environment

Type .\run.batThe following menu will appear. If the library is updated later, you can also update it by selecting menu number 2.

D2R BOTTY Pixel Bot

Libraries required to compile the bot code are automatically downloaded and installed. If you do not see a screen like this, please check the path setting of conda.

D2R BOTTY Pixel Bot

I checked and it also installs Tesseract, which is an open source OCR (Optical Character Recognition) engine.

D2R BOTTY Pixel Bot

Custom.ini file settings

You can create a custom.ini file directly in the config folder and write it like this: It takes precedence over the param.ini file.

D2R BOTTY Pixel Bot

Since the param.ini file can be changed whenever a new version is released, it is recommended to set your own settings separately in the custom.ini file.

(Add content) After compiling, it is automatically created in the botty_v0.6.7-dev/config folder. You can modify it in the same way.

Run the bot

Even if you do not compile, if you select menu 4, it will be executed in debug mode immediately. In this case, you are running the Python code, not the exe file.

D2R BOTTY Pixel Bot

When executed, the following menu is displayed. Let's press f11 to launch the bot.

D2R BOTTY Pixel Bot

Detailed descriptions of other menus are omitted.

When the bot is running, it takes a log and you can see that it is running fine.

D2R BOTTY Pixel Bot

Tried playing as an offline character. This is a method that analyzes the image while taking a snapshot of the window where Diablo is running.

D2R BOTTY Pixel Bot

OCR, of course, seems to have applied several machine learning techniques as it finds objects with probability.

D2R BOTTY Pixel Bot

Compile and run Python code

If you want to compile as a Windows executable file (exe), select No. 3 from the menu.

D2R BOTTY Pixel Bot

It takes some time to start compiling, but it is successful when the following message is displayed at the end.

D2R BOTTY Pixel Bot

The capacity of the exe executable created in the botty_v0.6.7-dev folder as a result of compilation is quite large, but there is no doubt about it. So many libraries are all in one file.

D2R BOTTY Pixel Bot

If you run the main.exe file in the botty_v0.6.7-dev folder, it works the same.

If it doesn't go well

If the installation does not work well, I tried to collect the measures taken. Actions may vary depending on the bot program version.

Install pyinstaller

When I compile, I get an error if pyinstaller does not exist. This is a library that creates an exe executable file. It should have been installed automatically when installing the compilation environment.

You can install it using the following command.

pip install pyinstaller

Modify the environment.yml file

In my case, the first bot execution failed. So, I deleted the following part from the environment.yml file, removed the C:\Users\user account\miniconda3\envs\botty folder, and ran Install Env 1 again, and it worked normally.

D2R BOTTY Pixel Bot

Change game options

It is said to work only when the resolution is set to 1280×720 in windowed mode. When you run the bot, it seems to configure itself and restart it. And for image character recognition, it is mandatory to set the English version.

D2R BOTTY Pixel Bot

Executable file provided

For those who want to use it more complete by modifying their own code, I introduced a method of compiling directly, but if all of these are difficult, download the executable file and run it.

Releases · aeon0/botty

Just download the file in Assets.

D2R BOTTY Pixel Bot

I haven't done much, so if you have any questions, please contact the creator's github.

And again, problems may occur when using online, so please use it for educational purposes or just for fun offline.

There are still some clumsy issues, but we look forward to continuing development.

thank you

There are 24 replies on this post.

There were people who sold this for a fee, but it was a program that was distributed for free.

from discord import Webhook, RequestsWebhookAdapter, Color, InvalidArgument
ImportError: cannot import name ‘RequestsWebhookAdapter’ from ‘discord’ (C:\miniconda3\envs\botty
\lib\site-packages\discord\__init__.py)
What should I do if this happens?

It doesn't compile properly, so why? I did the same, but it doesn't work. Are there any more essential programs that I need to install?

They say it's all over and they make mail.exe. They don't hunt... I want to know how to set up or auto-hunt

I get the error below when I run it..Do you know anything??
from discord import Webhook, RequestsWebhookAdapter, Color, InvalidArgument
ImportError: cannot import name ‘RequestsWebhookAdapter’ from ‘discord’ (C:\Users\PC19027\miniconda3\envs\botty\lib\site-packages\discord\__init__.py)

When I run the bot, the menu does not appear and an error appears. Can you tell me what's wrong?
File “C:\Program Files (x86)\botty-master\src\screen.py”, line 4, in
File “C:\Program Files (x86)\botty-master\src\utils\misc.py”, line 11, in
from pyparsing import Regex
ModuleNotFoundError: No module named ‘pyparsing’

When I input .\run.bat, I can't input \ and I keep writing backslashes;;;
It's blocked there and I've been wandering around for an hour.

I don't know if this will help, but it's the same function as \ and | (backslash).
In the input method, it is a Korean input method, so if \ is displayed, it is an English input method | Since the key value recognized by the computer is the same, the result value is the same no matter how it is displayed.

When I click compile 3 times, I get this...

Building version: 0.8.1-dev
'pyinstaller' is not an internal or external command, operable program, or
It is not a batch file.
'pyinstaller' is not an internal or external command, operable program, or
It is not a batch file.
The specified path could not be found.
Traceback (most recent call last):
File “D:\d2r\botty-master\build.py”, line 84, in
with open(f”{botty_dir}/config/custom.ini”, “w”) as f:
FileNotFoundError: [Errno 2] No such file or directory: ‘botty_v0.8.1-dev/config/custom.ini’

If you run it 4 times
Traceback (most recent call last):
File “D:\d2r\botty-master\src\main.py”, line 7, in
import screen
File “D:\d2r\botty-master\src\screen.py”, line 4, in
from utils.misc import WindowSpec, find_d2r_window, wait
File “D:\d2r\botty-master\src\utils\misc.py”, line 11, in
from pyparsing import Regex
ModuleNotFoundError: No module named ‘pyparsing’
It came out like this, and it was installed by doing this pip install pyparsing, but the same comes out...

Type 1, 2, 3, 4 or 5 then press ENTER:4
Traceback (most recent call last):
File “C:\Users\MH\Downloads\botty-master\src\main.py”, line 7, in
import screen
File “C:\Users\MH\Downloads\botty-master\src\screen.py”, line 4, in
from utils.misc import WindowSpec, find_d2r_window, wait
File “C:\Users\MH\Downloads\botty-master\src\utils\misc.py”, line 11, in
from pyparsing import Regex
ModuleNotFoundError: No module named ‘pyparsing’

Please tell me how to solve the error

Type 1, 2, 3, 4 or 5 then press ENTER:4
Traceback (most recent call last):
File “D:\Diablo II Resurrected\botty-0.8.1\src\main.py”, line 2, in
import keyboard
ModuleNotFoundError: No module named ‘keyboard’
Error method please

The first character works fine, but I can't get into the other characters.
What should I do if I want to run other characters on the same account>>

after the “Type 1, 2, 3, 4 or 5 then press ENTER: ” no mater what i try to execute a window pops up and immediately closes down..
same thing id i try to run any of the utilities in the botty-master folder.
tried it on both of my computers, one windows 11 and one windows 10, same thing…

Can't you help me so that I can do only Diaron?

If you have any saved, please share.

If you can help, please contact me and leave a comment. I will give you a reward.

Leave a Reply

Your email address will not be published. Required fields are marked *

en_USEnglish