-
Member
Botty - Free and Opensource Pixelbot
GitHub - aeon0/botty: D2R Pixel Bot
Best pixel bot as we speak. Stable, lots of features, and the best thing about it: open source and free for you to adapt and extend however you like! Get your python skills dialed in
Builds:
- Hammerdin (Tele + Walking)
- Sorc
- Warcry Barb (Tele + Walking)
- Trapsin (Tele + Walking)
- Its easy to implement new builds or adjust current ones.
Bosses:
- Pindle
- Eldritch + Shenk
- Travincal
- Nihlathak
Other Features:
- Per Item pickit (no mod needed)
- Auto pot + chicken / configurable belt management
- Shopper for claws and gloves
- Live discord messages about drops and statistics, gold stashing in all tabs
Join the Discord community: Botty
Last edited by aeon0; 12-15-2021 at 01:43 PM.
-
Originally Posted by
aeon0
Here you go guys, enjoy:
GitHub - aeon0/botty: D2R Pixel Bot
Python/Opencv pixel bot. Probably the best one among the pixel bots out there right now and its free and open source.
Has all the features you need. Sorc, Hdin, Pindle, Eldtrich, Shenk, Stashing, Healing, Chicken, Merc revive, ...
thx for bot i have question, i have old monitor and i play on 1680x1050 resolution ;d
# TODO: roi is with respect to 1920x1080
roi = [550, 100, 1000, 800]
why roi have 4 value ? any hint what i need to change for my resolution ? thx
-
Member
That will not work sorry. Adapting to another resolution will be quite a bit of work.
1) Adaptin all the screen coordinates in the ui.ini file
2) Recreating all the templates in the assets folder (but might get away by resizing with respect to the new size)
3) Adapting all the hardcoded values (where I put e.g. this comment)...
The 4 values for rois (region of interest) are [x, y, width, height] with (x, y) being the top left corner (fromat opencv is using for all mask params). The comment is there because on another resolution such a region of intereset will most probably have to be adjusted.
All of this could maybe be adapted if 1920x1080 is set as the "base resolution". And every such value gets a scale param which can be adapted. But that of course only works if everything scales statically. I think e.g. on the hero selection screen the left and right bars stay the same width but only come closer together on lower resolutions.
-
Post Thanks / Like - 1 Thanks
Dymon (1 members gave Thanks to aeon0 for this useful post)
-
Member
so this will work online as well?
-
Member
Originally Posted by
d2rbaba
so this will work online as well?
I can neither confirm nor deny the above statement.
-
Member
noob question: wheres the run.exe? lol
-
Member
-
Member
Hey there,
since the latest update (0.4.1) as soon as i press f11 the program closes with the following error: [2021-11-27 04:24:00,419] ERROR Could not find top left corner of window to set offset, shutting down
RUNTIME ERROR:
Traceback (most recent call last):
File "C:\Users\user\AppData\Local\Temp\ONE005~1\run.py", line 93, in <module>
File "C:\Users\user\AppData\Local\Temp\ONE005~1\run.py", line 79, in main
File "C:\Users\user\AppData\Local\Temp\ONE005~1\run.py", line 21, in run_bot
File "C:\Users\user\AppData\Local\Temp\ONE005~1\screen.py", line 44, in __init__
RuntimeError: Could not determine window offset
-
Member
Originally Posted by
misir
Hey there,
since the latest update (0.4.1) as soon as i press f11 the program closes with the following error: [2021-11-27 04:24:00,419] ERROR Could not find top left corner of window to set offset, shutting down
RUNTIME ERROR:
Traceback (most recent call last):
File "C:\Users\user\AppData\Local\Temp\ONE005~1\run.py", line 93, in <module>
File "C:\Users\user\AppData\Local\Temp\ONE005~1\run.py", line 79, in main
File "C:\Users\user\AppData\Local\Temp\ONE005~1\run.py", line 21, in run_bot
File "C:\Users\user\AppData\Local\Temp\ONE005~1\screen.py", line 44, in __init__
RuntimeError: Could not determine window offset
Botty now automatically checks your window offset (or detects that you run fullscreen). But in order to do that it needs to see your d2r window.
Run .exe -> move to your d2r window -> go to hero selection -> Only then start botty (default key is f11)
-
Banned
Can anyone point me in the direct to get this working online? Don't see the point in using it offline when you can just use a character editor.
-
Member
Originally Posted by
guessagains
Can anyone point me in the direct to get this working online? Don't see the point in using it offline when you can just use a character editor.
Would also like to know
-
Member
Originally Posted by
bjna
Would also like to know
Check changelog :
Fix game creation bug which somehow let's you create online games (#121) . aeon0/botty@469b8d5 . GitHub
Line 99 in game.ini change go_btn=800,940,320,100 to go_btn=640,920,320,100
also bot is bannable in online game, do not attempt
-
Member
great project, working good
Last edited by homaek; 12-02-2021 at 09:50 AM.
-
Member
Last edited by bjna; 12-02-2021 at 05:45 PM.
-
Member
Originally Posted by
franklin01
Its only for educationnal reasons ofc... this works but only for one game, after game 1 its back to the same problem...
Edit: It works... now the issue is 50% of the time while remaking the game.. the bot click on ''lobby'' literally 3 milimeters to the right of where it needs to click...how do i fix this?
Edit2: Actually its not even on the restarts... sometimes it clicks on lobby, sometimes it clicks on play... cant run more then 3 games without it happening...any fix?
Last edited by bjna; 12-02-2021 at 08:17 PM.