hectorgimenez / koolo Goto Github PK
View Code? Open in Web Editor NEWDiablo II Resurrected bot written in Go
License: MIT License
Diablo II Resurrected bot written in Go
License: MIT License
Hello,
I just wanted to report the problem I'm having.
When I set the runs to be "andariel" and "mephisto".
Instead of Catacomb Level 2, Inner Cloister is selected and then waypoint_discover.go is triggered.
Same goes for Act 3. Goes to Travincal instead of Durance Level 2
This is what I got from the log
2023-10-11T23:31:02.310+0300 DEBUG ui/template_finder.go:130 Color matching operation {"score": 76.69376693766937}
2023-10-11T23:31:02.310+0300 INFO action/waypoint.go:99 Traversing areas to reach destination {"areas": [32,33,34,35]}
2023-10-11T23:31:03.737+0300 DEBUG internal/bot.go:85 Loading screen detected, waiting until loading screen is gone
2023-10-11T23:31:03.900+0300 DEBUG internal/bot.go:92 Load completed, continuing execution
2023-10-11T23:31:03.900+0300 DEBUG action/buff.go:44 Buffing...
2023-10-11T23:31:06.499+0300 DEBUG action/move.go:39 Already in area {"area": 33}
2023-10-11T23:31:06.499+0300 INFO action/waypoint_discover.go:13 Trying to autodiscover Waypoint for current area {"area": 33}
2023-10-11T23:31:06.500+0300 INFO action/waypoint_discover.go:30 Waypoint not found :( {"area": 33}
Could it be due to the color matching operation?
Hello, thank you VERY MUCH for working and improving this amazing thing.
I'm very happy that the tombs, stony tomb, and overall new locations where added.
just a quick observation:
in current
andariel.go (lines 26 27)
a.builder.WayPoint(area.CatacombsLevel3),
a.builder.WayPoint(area.CatacombsLevel4),
while they are supposed to be:
a.builder.MoveToArea(area.CatacombsLevel3),
a.builder.MoveToArea(area.CatacombsLevel4),
2nd.
diablo.go
still not working properly for me unfortunately...slow tele to cs from river waypoint - which is fine, just in other places she can go straight to the place she needs to go much faster with certainty. And then in cs sorc wasting time on seals casting teleport on seals instead of clicking on them, then finally after a minute of casting teleport in 1 place in the air close to the seal, she finally presses seal only to skip (ignore) seal defender..., and tele away further to a next seal...) (all monster ignore is turned off in config...)
fixing this cs script would be BIG...
3rd.
Character can stuck in stony_tomb.
If the map is spawning with a CLOSED DOOR and there is a mob behind it, character is getting stuck in front of the closed door attacking the mob hiding behind it which is not in a direct line of a spell trajectory (OBSTACLE on the way). She keep casting casting and casting into the wall (closed door)...instead of making step - telestomping the mob she's trying to attack...
and the Most Important :) 4rd...
this version is CRASHING for me...in random places at random times...it just stoping working with an error leaving character on a battlefield uncontrolled....working working working game after game after game...then suddenly...BOOM, error+crash. :(
here is the log...
DEBUG action/stash.go:28 Checking for items to stash...
DEBUG action/stash.go:30 No items to stash...
DEBUG health/belt_manager.go:53 Belt Status Health: 4/4 healing, 4/4 mana, 1/8 rejuv.
DEBUG internal/bot.go:83 Loading screen detected, waiting until loading screen is gone
DEBUG internal/bot.go:89 Load completed, continuing execution
DEBUG health/belt_manager.go:32 Using HealingPotion potion on Mercenary [Column: 1]. HP: 70
DEBUG character/blizzard_sorceress.go:66 Monster detected close to the player, casting Blizzard over it
FATAL internal/single_supervisor.go:43 Panic detected, Koolo will exit {"panic": "runtime error: index out of range [19] with length 18"}
github.com/hectorgimenez/koolo/internal.(*SinglePlayerSupervisor).Start.func1
C:/Users/xxx/8/internal/single_supervisor.go:43
runtime.gopanic
C:/Program Files/Go/src/runtime/panic.go:914
runtime.goPanicIndex
C:/Program Files/Go/src/runtime/panic.go:114
github.com/hectorgimenez/koolo/internal/action/step.(*AttackStep).ensureEnemyIsInRange
C:/Users/xxx/8/internal/action/step/attack.go:158
github.com/hectorgimenez/koolo/internal/action/step.(*AttackStep).Run
C:/Users/xxx/8/internal/action/step/attack.go:97
github.com/hectorgimenez/koolo/internal/action.(*DynamicAction).NextStep
C:/Users/xxx/8/internal/action/action_dynamic.go:47
github.com/hectorgimenez/koolo/internal.(*Bot).Run
C:/Users/xxx/8/internal/bot.go:102
github.com/hectorgimenez/koolo/internal.(*SinglePlayerSupervisor).Start
C:/Users/xxx/8/internal/single_supervisor.go:70
main.main.func2
C:/Users/xxx/8/cmd/koolo/main.go:96
golang.org/x/sync/errgroup.(*Group).Go.func1
C:/Users/xxx/go/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:75
I can't recall the previous version crashing...
second crash:
DEBUG action/clear_area.go:19 Clearing area... {"monsterID": 45}
FATAL internal/single_supervisor.go:43 Panic detected, Koolo will exit {"panic": "runtime error: index out of range [24] with length 9"}
github.com/hectorgimenez/koolo/internal.(*SinglePlayerSupervisor).Start.func1
C:/Users/xxx/8/internal/single_supervisor.go:43
runtime.gopanic
C:/Program Files/Go/src/runtime/panic.go:914
runtime.goPanicIndex
C:/Program Files/Go/src/runtime/panic.go:114
github.com/hectorgimenez/koolo/internal/action/step.(*AttackStep).ensureEnemyIsInRange
C:/Users/xxx/8/internal/action/step/attack.go:158
github.com/hectorgimenez/koolo/internal/action/step.(*AttackStep).Run
C:/Users/xxx/8/internal/action/step/attack.go:97
github.com/hectorgimenez/koolo/internal/action.(*DynamicAction).NextStep
C:/Users/xxx/8/internal/action/action_dynamic.go:47
github.com/hectorgimenez/koolo/internal.(*Bot).Run
C:/Users/xxx/8/internal/bot.go:102
github.com/hectorgimenez/koolo/internal.(*SinglePlayerSupervisor).Start
C:/Users/xxx/8/internal/single_supervisor.go:70
main.main.func2
C:/Users/xxx/8/cmd/koolo/main.go:96
golang.org/x/sync/errgroup.(*Group).Go.func1
C:/Users/xxx/go/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:75
exit status 1
Doesn't seem to be activating all things to summon Diablo. I managed to capture a video of it happening
https://youtu.be/Q_1iUXbtT6Y?si=tsOAU9qEJOwBDhZb
I start the bot then immediately move my mouse off the VM screen
Edit: after reviewing the video it looks like it just missed killing Lord De Sais...
Edit 2: After it fully uploaded and I can view in 1080p it looks like it missed the first seal boss
When running Eldritch it thinks I am missing the Frigid Highlands waypoint, so it teleports or walks to Eldritch instead of using the waypoint. When it gets there it tries to trigger the waypoint so it definitely thinks I don't have it.
Anyone else have this issue? All other runs I've tried work fine, both with sorceress or hammerdin without teleport.
Version
I'm running the latest version [v0.3.2] and have not compiled it from source.
My best guess:
Seems odd that it's just this Waypoint, so maybe the coordinates of that first row of waypoints isn't quite right?
Looking at my logs below, the color matching operating score of 76.42276422764228 is also what shows up when leveling, i.e. time to find Baal for the first time, it doesn't have the waypoint, and returns that number.
So it seems like it is correctly matching a waypoint, but one that is blank. So it's possible matching the wrong waypoint or something?
Happy to be pointed in the right direction of the code to try and test myself.
Log Extract
From back in December but issue still exists on a newer install.
2023-12-14T22:49:02.051+1300 DEBUG action/stash.go:28 Checking for items to stash...
2023-12-14T22:49:02.052+1300 DEBUG action/stash.go:30 No items to stash...
2023-12-14T22:49:08.345+1300 DEBUG ui/template_finder.go:130 Color matching operation {"score": 73.98373983739837}
2023-12-14T22:49:08.346+1300 DEBUG ui/template_finder.go:130 Color matching operation {"score": 76.42276422764228}
2023-12-14T22:49:08.346+1300 INFO action/waypoint.go:99 Traversing areas to reach destination {"areas": [109,110,111]}
Hi hectorgimenez,
When I select "terror zone" it does not do the terror zone. Help
Thanks for your hard work, just what i needed! Some minor stuff/improvements:
cheers
2023-12-28T18:23:00.132+0100 WARN internal/single_supervisor.go:72 Game finished with errors, reason: unrecoverable error occurred, game can not continue: attempt limit reached on step: InteractEntranceStep: area 41 not found. Game total time: 69.30s
github.com/hectorgimenez/koolo/internal.(*SinglePlayerSupervisor).Start
github.com/hectorgimenez/koolo/internal/single_supervisor.go:72
main.main.func2
./main.go:91
golang.org/x/sync/errgroup.(*Group).Go.func1
golang.org/x/[email protected]/errgroup/errgroup.go:75
And it leave the game
Any Idea?
Hi, im using the release version, but i want to test the main branch. I have been trying to build for several days, and used google for help. But now i am stuck. I tihink i managed to create the environment and set the paths correct in system settings. But when i run build.bat, i get this:
C:\Users\m\Downloads\koolo-main\koolo>build.bat
Start building Koolo
Cleaning up previous artifacts...
Building Koolo binary...
C:\Program Files (x86)\Go\pkg\tool\windows_386\link.exe: running g++ failed: exit status 1
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/opencv/build/install/x64/mingw/staticlib\libopencv_stereo470.a when searching for -lopencv_stereo470
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lopencv_stereo470
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/opencv/build/install/x64/mingw/staticlib\libopencv_tracking470.a when searching for -lopencv_tracking470
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lopencv_tracking470
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/opencv/build/install/x64/mingw/staticlib\libopencv_superres470.a when searching for -lopencv_superres470
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lopencv_superres470
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/opencv/build/install/x64/mingw/staticlib\libopencv_stitching470.a when searching for -lopencv_stitching470
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lopencv_stitching470
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/opencv/build/install/x64/mingw/staticlib\libopencv_optflow470.a when searching for -lopencv_optflow470
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lopencv_optflow470
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/opencv/build/install/x64/mingw/staticlib\libopencv_gapi470.a when searching for -lopencv_gapi470
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lopencv_gapi470
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/opencv/build/install/x64/mingw/staticlib\libopencv_face470.a when searching for -lopencv_face470
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lopencv_face470
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/opencv/build/install/x64/mingw/staticlib\libopencv_dpm470.a when searching for -lopencv_dpm470
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lopencv_dpm470
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/opencv/build/install/x64/mingw/staticlib\libopencv_dnn_objdetect470.a when searching for -lopencv_dnn_objdetect470
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lopencv_dnn_objdetect470
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/opencv/build/install/x64/mingw/staticlib\libopencv_ccalib470.a when searching for -lopencv_ccalib470
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lopencv_ccalib470
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/opencv/build/install/x64/mingw/staticlib\libopencv_bioinspired470.a when searching for -lopencv_bioinspired470
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lopencv_bioinspired470
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/opencv/build/install/x64/mingw/staticlib\libopencv_bgsegm470.a when searching for -lopencv_bgsegm470
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lopencv_bgsegm470
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/opencv/build/install/x64/mingw/staticlib\libopencv_aruco470.a when searching for -lopencv_aruco470
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lopencv_aruco470
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/opencv/build/install/x64/mingw/staticlib\libopencv_xobjdetect470.a when searching for -lopencv_xobjdetect470
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lopencv_xobjdetect470
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/opencv/build/install/x64/mingw/staticlib\libopencv_ximgproc470.a when searching for -lopencv_ximgproc470
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lopencv_ximgproc470
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/opencv/build/install/x64/mingw/staticlib\libopencv_xfeatures2d470.a when searching for -lopencv_xfeatures2d470
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lopencv_xfeatures2d470
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/opencv/build/install/x64/mingw/staticlib\libopencv_videostab470.a when searching for -lopencv_videostab470
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lopencv_videostab470
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/opencv/build/install/x64/mingw/staticlib\libopencv_video470.a when searching for -lopencv_video470
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lopencv_video470
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/opencv/build/install/x64/mingw/staticlib\libopencv_structured_light470.a when searching for -lopencv_structured_light470
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lopencv_structured_light470
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/opencv/build/install/x64/mingw/staticlib\libopencv_shape470.a when searching for -lopencv_shape470
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lopencv_shape470
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/opencv/build/install/x64/mingw/staticlib\libopencv_rgbd470.a when searching for -lopencv_rgbd470
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lopencv_rgbd470
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/opencv/build/install/x64/mingw/staticlib\libopencv_rapid470.a when searching for -lopencv_rapid470
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lopencv_rapid470
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/opencv/build/install/x64/mingw/staticlib\libopencv_objdetect470.a when searching for -lopencv_objdetect470
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lopencv_objdetect470
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/opencv/build/install/x64/mingw/staticlib\libopencv_mcc470.a when searching for -lopencv_mcc470
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lopencv_mcc470
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/opencv/build/install/x64/mingw/staticlib\libopencv_highgui470.a when searching for -lopencv_highgui470
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lopencv_highgui470
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/opencv/build/install/x64/mingw/staticlib\libopencv_datasets470.a when searching for -lopencv_datasets470
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lopencv_datasets470
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/opencv/build/install/x64/mingw/staticlib\libopencv_calib3d470.a when searching for -lopencv_calib3d470
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lopencv_calib3d470
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/opencv/build/install/x64/mingw/staticlib\libopencv_videoio470.a when searching for -lopencv_videoio470
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lopencv_videoio470
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/opencv/build/install/x64/mingw/staticlib\libopencv_text470.a when searching for -lopencv_text470
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lopencv_text470
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/opencv/build/install/x64/mingw/staticlib\libopencv_line_descriptor470.a when searching for -lopencv_line_descriptor470
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lopencv_line_descriptor470
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/opencv/build/install/x64/mingw/staticlib\libopencv_imgcodecs470.a when searching for -lopencv_imgcodecs470
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lopencv_imgcodecs470
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/opencv/build/install/x64/mingw/staticlib\libopencv_img_hash470.a when searching for -lopencv_img_hash470
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lopencv_img_hash470
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/opencv/build/install/x64/mingw/staticlib\libopencv_hfs470.a when searching for -lopencv_hfs470
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lopencv_hfs470
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/opencv/build/install/x64/mingw/staticlib\libopencv_fuzzy470.a when searching for -lopencv_fuzzy470
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lopencv_fuzzy470
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/opencv/build/install/x64/mingw/staticlib\libopencv_features2d470.a when searching for -lopencv_features2d470
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lopencv_features2d470
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/opencv/build/install/x64/mingw/staticlib\libopencv_dnn_superres470.a when searching for -lopencv_dnn_superres470
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lopencv_dnn_superres470
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/opencv/build/install/x64/mingw/staticlib\libopencv_dnn470.a when searching for -lopencv_dnn470
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lopencv_dnn470
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/opencv/build/install/x64/mingw/staticlib\libopencv_xphoto470.a when searching for -lopencv_xphoto470
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lopencv_xphoto470
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/opencv/build/install/x64/mingw/staticlib\libopencv_wechat_qrcode470.a when searching for -lopencv_wechat_qrcode470
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lopencv_wechat_qrcode470
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/opencv/build/install/x64/mingw/staticlib\libopencv_surface_matching470.a when searching for -lopencv_surface_matching470
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lopencv_surface_matching470
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/opencv/build/install/x64/mingw/staticlib\libopencv_reg470.a when searching for -lopencv_reg470
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lopencv_reg470
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/opencv/build/install/x64/mingw/staticlib\libopencv_quality470.a when searching for -lopencv_quality470
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lopencv_quality470
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/opencv/build/install/x64/mingw/staticlib\libopencv_plot470.a when searching for -lopencv_plot470
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lopencv_plot470
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/opencv/build/install/x64/mingw/staticlib\libopencv_photo470.a when searching for -lopencv_photo470
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lopencv_photo470
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/opencv/build/install/x64/mingw/staticlib\libopencv_phase_unwrapping470.a when searching for -lopencv_phase_unwrapping470
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lopencv_phase_unwrapping470
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/opencv/build/install/x64/mingw/staticlib\libopencv_ml470.a when searching for -lopencv_ml470
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lopencv_ml470
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/opencv/build/install/x64/mingw/staticlib\libopencv_intensity_transform470.a when searching for -lopencv_intensity_transform470
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lopencv_intensity_transform470
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/opencv/build/install/x64/mingw/staticlib\libopencv_imgproc470.a when searching for -lopencv_imgproc470
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lopencv_imgproc470
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/opencv/build/install/x64/mingw/staticlib\libopencv_flann470.a when searching for -lopencv_flann470
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lopencv_flann470
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/opencv/build/install/x64/mingw/staticlib\libopencv_core470.a when searching for -lopencv_core470
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lopencv_core470
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/opencv/build/install/x64/mingw/staticlib\libade.a when searching for -lade
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lade
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/opencv/build/install/x64/mingw/staticlib\libquirc.a when searching for -lquirc
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lquirc
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/opencv/build/install/x64/mingw/staticlib\liblibprotobuf.a when searching for -llibprotobuf
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -llibprotobuf
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/opencv/build/install/x64/mingw/staticlib\libIlmImf.a when searching for -lIlmImf
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lIlmImf
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/opencv/build/install/x64/mingw/staticlib\liblibpng.a when searching for -llibpng
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -llibpng
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/opencv/build/install/x64/mingw/staticlib\liblibopenjp2.a when searching for -llibopenjp2
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -llibopenjp2
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/opencv/build/install/x64/mingw/staticlib\liblibwebp.a when searching for -llibwebp
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -llibwebp
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/opencv/build/install/x64/mingw/staticlib\liblibtiff.a when searching for -llibtiff
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -llibtiff
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/opencv/build/install/x64/mingw/staticlib\liblibjpeg-turbo.a when searching for -llibjpeg-turbo
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -llibjpeg-turbo
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/opencv/build/install/x64/mingw/staticlib\libzlib.a when searching for -lzlib
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lzlib
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib\libkernel32.a when searching for -lkernel32
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lkernel32
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib\libgdi32.a when searching for -lgdi32
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lgdi32
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib\libwinspool.a when searching for -lwinspool
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lwinspool
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib\libshell32.a when searching for -lshell32
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lshell32
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib\libole32.a when searching for -lole32
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lole32
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib\liboleaut32.a when searching for -loleaut32
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -loleaut32
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib\libuuid.a when searching for -luuid
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -luuid
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib\libcomdlg32.a when searching for -lcomdlg32
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lcomdlg32
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib\libadvapi32.a when searching for -ladvapi32
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -ladvapi32
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib\libuser32.a when searching for -luser32
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -luser32
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib\libgdi32.a when searching for -lgdi32
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lgdi32
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/lib\libuser32.a when searching for -luser32
C:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -luser32
collect2.exe: error: ld returned 1 exit status
Error occurred #1.
It seems like it doesnt find the mingw64 folder. Does the folder structure for mingw64 have to be in a particular way for the build to work?
I've been playing around with the leveling part of the bot. I made a paladin and let the bot take him from Act 1 Normal to Hell Baal. I was actually surprised of how well it worked.
Major bugs:
The max game time config causes the leveling to stop.
Act 2: Bot doesn't combine the staff parts after getting them. It cannot enter the Palace because of that.
Act 2: Bot doesn't talk to Jerhyn after killing Duriel. It can't get to act 3 because of that.
Act 3: Repairing equipment and buying more keys doesn't work because Hratli is still at the pier.
Act 5: When the bot thaws Anya it TP's back to town before the animation is finished. It cannot get the scroll because of that.
Act 5: After killing the Ancients the bot doesn't wait long enough when opening the gate to Baal. It tries to go in and when it can't it logs out.
Minor bugs:
Act 5: Bot attacks towers instead of doors at Frigid Highlands, Arreat Plateau and Frozen Tundra. This makes getting trough these zones very difficult at some points without teleport.
Act 2: Bot doesn't clear the room where the Horadic staff is inserted. This usually causes the bot to log out before getting to Duriel because it's health drops below chicken value.
I would also add this to the Readme: You should level your character to level 6 so the bot can start using holy fire. Bot isn't good at melee attacks so it takes a long time for it to get there by itself. NOTE: Don't put any points to skills or attributes, instead let the bot do it itself.
Hey,
Was checking the new main branch and noticed:
internal\character\paladin_leveling.go:24:15: undefined: skill.PaladinTree
Took a peek at d2go repo and it seems to be missing too.
Hello,
Great work here!
Looking at the companion functionality it made me thinking why not to implement a "follower" functionality which will be a simplified version of the companion.
The use case is when you have D2R in e.g. virtual machines and you want your other accounts to follow you. This could be a party with you main character being a blizz sorc but other accounts are a summoner(s) and paladins.
The minimal implementation is just to follow your leader, changing the areas as well. A little bit more advanced could be joining the game, entering a portal, using a portal to enter a city. In the most advanced case an attack sequence can be added, but that's probably not important. As long as e.g. a summoner and a pala follows you it's enough.
This functionality will be useful for people who want to plain in a solo party or during new ladders.
Regards
I have everything running, but on 1280x720 when viewing tabs and making vendor purchases everything is slightly off (by about 2 vertical grid squares)
For isntance in stash it misses the gold button to the left by about 1 inch, the tabs in the stash by about 1 inch and then going to malah it misses clicking her. When we buy off Atma in act 1, it says buying Health Pots, but it selects the stamina pot in the top left.
Any suggestions? My monitor is 2560x1440 and im not touching anything once the game starts.
I could make a video if that's easier.
Bot will randomly grab an item and hold it and do nothing except move the mouse around the screen.
Hyper-V vm my mouse starts the bot then I immediately remove it from the VM screen and never place it back unless I need to interrupt the bot to either fix this issue or start it again from crash. I'm including a youtube video clip of it happening. You can see the sorc orb weapon on the mouse moving around doing nothing.
Thank you for further improvements. Thank you for looking into cta and buffing improvements.
There is a problem with a new added "buffing" system in - 7fee717
Character - sorceress.
She has CallToArms OnSwap.
On her way to an objective she can randomly stop during teleporting, in the middle of location where she is not supposed to, then select frothen armor and start casting it 10x times or so (freezing in one place), after that, character switching back to teleport and proceed to the final destination point.
Such behaviour was never observed in a "previous main build version"
Could you look into this please?
thank you :)
P.S. I'm not experiencing any difficulties with waypoint menu.
Character can select all the acts, wps with 100% success...
I've used up all of my day to run the program, but I ended up failing. I installed Diablo 2 LOD, but the version was 1.14b, is this an issue?? I don't even know what options I should put into something like I should put an option to run koolo-map.exe. I read and read the manual you wrote nearly 100 times, but I couldn't solve it, so I wrote so much.
Whenever I try to use the koolo.exe it will flash then nothing?
Do I need to edit d2.install.reg
to change the empty install path it has to my LoD directory, or do I install it as-is? I wasn't clear on this from the instructions.
func VendorRefill
!b.shouldVisitVendor(d)
the "Filling TP Tome..." is printed in the cmd, but the bot isnt buying them which results in "Cant do this/..." after he finishes an area and try's to tp home
OK I got it working I had to copy my d2 LOD folder from host pc where it worked fine but mouse didn't work with 6 monitors to my hyper V VM where the bot is running mostly fine.
Few things from an end-user's perspective about setup that is kind of tech savvy but not really...
Few things in game that seem confusing to me idk maybe I misconfigured but the bot will buy potions even if my belt is full (with proper potions in spots per config). It also may be worth noting somewhere that the bot will spam buy potions / keys each vendor visit if you do not have the belt setup properly per the config and a slot reserved in your inventory for a key and then just sell them back to the vendor.
These are just suggestions coming from someone who is your typical end user that would have made things make a little more sense to me I'm by no means complaining and just making suggestions that may help the next person save some time. Super happy with the bot now that I got it working and thank you so much for your hard work on this!
bot starts fine and enters game and will run andarial but when the run is over the bot will try to stash item and leave the stash screen and run around and quit the game then re-enter and do the same thing on a loop. also unable to use merchant correctly. i thought it might be the resolution and and dpi and scaling settings but after trying every combination i get the same results. this was not an issue with the previous build.
Rare jewels and rare circlets break the bot when enabling the default nip setting in rare.nip
I keep running into the issue where the bot would always point to the last bottom slot in the last column of npcs in attempt to buy super potions but buy mana pots correctly. Even though it's says it's buying super healing potions, it's just clicking on the bottom last slot where it's empty for both Act 1 and Act 2.
Should be: Purchased SuperHealingPotion [X:9 Y:6]
Having problems running prepare_env.bat
Tons of issues but it mostly seems to be opencv? Just to make sure, but when I Edit the 'Path' variable I just add 'C:\Users\Matt\Desktop\bot\mingw64\bin'. I added it to User and System variables just to be sure. I usually figure this stuff out but I'm stuck...
Thank you in advance!
I do not speak English well. Understand me
Although my development skills are beginner,
I created a shopbot
ShouldItemIt == true -> I want to know the tab location of the shop
Now I don't know the location of the shop's tab, so I'm forced to use tab2.
func (a Shopbot) BuildActions() []action.Action {
actions := []action.Action{
a.builder.WayPoint(area.DuranceOfHateLevel2),
a.builder.WayPoint(area.KurastDocks),
action.NewChain(func(d data.Data) []action.Action {
return a.builder.ShopbotNPC()
}),
}
return actions
}
func (b *Builder) ShopbotNPC() []Action {
return []Action{
b.ShopbotSearchAndBuy(),
}
}
func (b *Builder) ShopbotSearchAndBuy() *Chain {
return NewChain(func(d data.Data) []Action {
openShopStep := step.KeySequence("home", "down", "enter")
vendorNPC := town.GetTownByArea(d.PlayerUnit.Area).RefillNPC()
// Jamella trade button is the first one
if vendorNPC == npc.Jamella {
openShopStep = step.KeySequence("home", "enter")
}
return []Action{b.InteractNPC(vendorNPC,
openShopStep,
step.Wait(time.Second),
step.SyncStep(func(d data.Data) error {
switchTab(2)
helper.Sleep(500)
for _, i := range d.Items.ByLocation(item.LocationVendor) {
if !b.ShouldItemIt(i) || i.IsPotion() {
continue
}
if !(strings.Contains(string(i.Name), string("Scepter")) || strings.Contains(string(i.Name), string("Wand"))) {
continue
}
/*
screenPos := ui.GetScreenCoordsForItem(i)
for tabIdx := 1; tabIdx < 5; tabIdx++ {
switchTab(tabIdx)
helper.Sleep(600)
hid.MovePointer(screenPos.X, screenPos.Y)
helper.Sleep(600)
b.logger.Debug(fmt.Sprintf("Item org : [%d], hover: [%d]", i.UnitID, d.HoverData.UnitID))
fmt.Println(d.HoverData)
if i.UnitID == d.HoverData.UnitID {
b.logger.Debug(fmt.Sprintf("TabIdx [%d]", tabIdx))
b.logger.Debug(fmt.Sprintf("Item org : [%d], hover: [%d]", i.UnitID, d.HoverData.UnitID))
break
}
}
*/
if b.BuyItem(i) {
b.logger.Debug(fmt.Sprintf("Item %s [%d] buy", i.Name, i.Quality))
break
}
break
}
return nil
}),
step.KeySequence("esc"),
)}
})
}
func (b *Builder) ShouldItemIt(i data.Item) bool {
return itemfilter.Evaluate(i, config.Config.Runtime.Rules)
}
func (b *Builder) BuyItem(i data.Item) bool {
helper.Sleep(500)
screenPos := ui.GetScreenCoordsForItem(i)
hid.MovePointer(screenPos.X, screenPos.Y)
helper.Sleep(500)
hid.Click(hid.RightButton)
helper.Sleep(900)
b.logger.Debug(fmt.Sprintf("Purchased %s [X:%d Y:%d]", i.Name, i.Position.X, i.Position.Y))
return true
}
I will be in game, start bot and then it seems to click in 3 spots and that's it.
Few questions:
I managed to figure out how to use the latest via dev instructions and ran a cow level attempt. Few things I noticed:
I let the bot run for a few hours and came back to it trying to pick up gold on the ground and its inv was full of gold. The runs I'm doing are: runs: [pit, diablo, baal, stony_tomb] and it doesn't appear to be stashing gold
Fails to open the secret cow level. Gets the leg and runs to Akara, then buys a stamina potion or tp scroll and exits the game.
Hi, I configured the bot properly and after creating the game it says "fetching map data...." and then koolo shuts down. No other logs...
Blizz sorc was having issues where once baal was dead she'd go to talk to Malah then the bot would stop / close. I removed baal and added nihlathak but it appears no matter what if it involves A5 and Malah the bot crashes
2023-10-06T14:36:44.265-0500 FATAL internal/single_supervisor.go:43 Panic detected, Koolo will exit {"panic": "Error occurred calculating path, destination point outside current level and matching level not found"}
github.com/hectorgimenez/koolo/internal.(*SinglePlayerSupervisor).Start.func1
github.com/hectorgimenez/koolo/internal/single_supervisor.go:43
runtime.gopanic
runtime/panic.go:914
github.com/hectorgimenez/koolo/internal/pather.GetPath
github.com/hectorgimenez/koolo/internal/pather/path_finder.go:28
github.com/hectorgimenez/koolo/internal/action/step.(*MoveToStep).Run
github.com/hectorgimenez/koolo/internal/action/step/move_to.go:117
github.com/hectorgimenez/koolo/internal/action.(*StepChainAction).NextStep
github.com/hectorgimenez/koolo/internal/action/action_step_chain.go:45
github.com/hectorgimenez/koolo/internal/action.(*Chain).NextStep
github.com/hectorgimenez/koolo/internal/action/action_chain.go:43
github.com/hectorgimenez/koolo/internal/action.(*Chain).NextStep
github.com/hectorgimenez/koolo/internal/action/action_chain.go:43
github.com/hectorgimenez/koolo/internal/action.(*Chain).NextStep
github.com/hectorgimenez/koolo/internal/action/action_chain.go:43
github.com/hectorgimenez/koolo/internal.(*Bot).Run
github.com/hectorgimenez/koolo/internal/bot.go:102
github.com/hectorgimenez/koolo/internal.(*SinglePlayerSupervisor).Start
github.com/hectorgimenez/koolo/internal/single_supervisor.go:70
main.main.func2
./main.go:96
golang.org/x/sync/errgroup.(*Group).Go.func1
golang.org/x/[email protected]/errgroup/errgroup.go:75
Having an issue with pickit still picking up items I've commented out.
I commented out everything which I'm not interested in which is basically all magic /rare items and most of the set/unique/white items. Only looking for a handful of items basically just to see what I can find. I noticed the bot is still picking up any and every rare/magic item it finds regardless of the nip files.
Also when it picks up a bunch of items and the inventory gets full it'll just sit there casting telekinesis until the game time runs out.
Hello, been a long time, happy to see this is going strong! Here I am with some work for you :)
sometimes, on rare occasions , character forced to leave the game by any reason with the switched from the main first to 2nd weapon slot ACTIVE (when he was trying to give BO to himself). (weapon with call to arms is ACTIVE)
In a new next created games character proceed to go with game routine thinking that now this 2nd slot with CTA is a main one (first) and the actual battle first slot is the 2nd now.
Character is SWITCHING to cast BO from the CTA slot and trying to cast BO from the 1st battle slot now which is ACTIVE (where he dose not have CTA but his fighting weapons). and when fails switching to back to CTA (2nd) slot (which he thinks is the 1st now- which is actually 2nd with cta).
Suggested behaviour: Implement status force cheek: at the START of the game (in town) check which slot is active (1st or 2nd) if 2nd is ON detected - switch to 1st (press w) then continue with routine.
-----------------------------------------------------------------------Also, not important stuff, read only If you have time to read:
could you please give a quick help, with a CUSTOM script I'm trying to figure out?
What I'm trying to do:
I need the main character at the start of the game go to the location - waypoint (River of flame), make him PRESS THERE a BUTTON on a keyboard (NUMPAD1 for example) then wait there for about 30 seconds, and then go on with the rest of the runs. :)
func (m Getbo) BuildActions() []action.Action {
return []action.Action{
m.builder.WayPoint(area.RiverOfFlame), // Moving to starting point (RiverOfFlame))
hid.PressKey("NUMPAD1"), //Pressing a button on a keyboard
m.builder.Wait(time.Second*10),
}
func (m Getbo) BuildActions() []action.Action {
return []action.Action{
m.builder.WayPoint(area.RiverOfFlame), // Moving to starting point (RiverOfFlame))
-----------------wait for th river of flame waypoint location is LOADED------------------
------------IN THIS LINE I need to press a BUTTON after character is LOADED on the river wp-----------(SEND a keypress)
m.builder.Wait(time.Second*10),
}
problem, if I add :
hid.PressKey("NUMPAD1"),
it doesn't work in this condition. and giving me an ERROR.
It must be implemented somehow with another way :)
please?
Thank you.
Also, I liked the changed behaviour in CS and interaction with the seals. Now character is trying to clear around and only after that trying to press the seal, - working much better! Good job. (sometimes still misses seal defender thou (Lord de Seis) :( )
And, now we have one more problem with cs run: STORM CASTERS.
Sometimes, one of them or several flying off the map screen (into the burning lava), hiding behind walls, staying UNREACHABLE and unkillable for any spells that are casting :)
Character can't get aware of the situation and keeps attacking, attacking and attacking aaaand attacking hopelessly, because STORM CASTER no matter what wont move from the taken Invincible position he is occupying... (
And forcing character to get stuck in a very long attacking loop keeping him firing his spells into the wall without any hope. (Thinking his attacking storm caster)
how to solve:
ignore class type - storm caster completely, EXCEPT! unique seal defender...which is one of them unfortunately,
or
make a counter - monster type - storm caster then - after x failed attacks - ignore and skip target + move on. :)
Was running fine for a week. Paused and shut down this morning to check stash. Then tried to run the bot up again to no prevail.
Right click Koolo.exe run as administrator and it opens for a millisecond then automatically closes the CMD. Please help!
I've noticed stats on the picket aren't followed at all? I've turned off low stat items but yet he keeps stashing them xD
it attacks monsters through walls
town route, should sell items then buy pots and stuff
after 25+ runs it finally done den and instantly failed, its not traversing areas, i tried giving it wps but wont even go to one before to get wps.
time=2024-02-25T17:49:03.157-08:00 level=INFO msg="Diablo II: Resurrected window detected, offsetX: 576 offsetY: 276. Game Area Size X: 1281 Y: 721"
time=2024-02-25T17:49:05.810-08:00 level=DEBUG msg="Fetching map data..."
time=2024-02-25T17:49:10.770-08:00 level=DEBUG msg="Fetch completed" ms=4960
time=2024-02-25T17:49:10.771-08:00 level=INFO msg="Starting Game #1. Run list: Leveling"
time=2024-02-25T17:49:10.772-08:00 level=INFO msg="Running: Leveling"
time=2024-02-25T17:49:11.890-08:00 level=DEBUG msg="Checking for character corpse..."
time=2024-02-25T17:49:11.891-08:00 level=DEBUG msg="Character corpse not found :D"
time=2024-02-25T17:49:11.892-08:00 level=DEBUG msg="Checking for items to identify..."
time=2024-02-25T17:49:11.893-08:00 level=DEBUG msg="No items to identify..."
time=2024-02-25T17:49:11.893-08:00 level=DEBUG msg="Checking for items to stash..."
time=2024-02-25T17:49:11.894-08:00 level=DEBUG msg="No items to stash..."
time=2024-02-25T17:49:11.894-08:00 level=DEBUG msg="Belt Status Health: 2/2 healing, 6/6 mana, 0/0 rejuv."
time=2024-02-25T17:49:11.894-08:00 level=DEBUG msg="Checking for items to stash..."
time=2024-02-25T17:49:11.894-08:00 level=DEBUG msg="No items to stash..."
time=2024-02-25T17:49:14.062-08:00 level=INFO msg="Current life is 63%, healing on NPC"
time=2024-02-25T17:49:20.870-08:00 level=INFO msg="Starting Countess run"
time=2024-02-25T17:49:25.903-08:00 level=INFO msg="Traversing areas to reach destination" areas="[5 6]"
time=2024-02-25T17:49:27.060-08:00 level=DEBUG msg="Destination area not found" area=6
time=2024-02-25T17:49:27.165-08:00 level=WARN msg="Game finished with errors, reason: unrecoverable error occurred, game can not continue: attempt limit reached on step: InteractEntranceStep: area 6 not found. Game total time: 16.35s"
time=2024-02-25T17:49:30.375-08:00 level=INFO msg="Shutting down..."
time=2024-02-25T17:49:38.443-08:00 level=DEBUG msg="Restoring game memory..."
I can not find the koolo.exe
where can I find it ?
How can I use Act 5 merc
Hello,
I encounter this problem quite often and wanted to report it.
Here is the stack trace I get
2023-10-16T08:12:24.838+0300 DEBUG action/clear_level.go:123 Next room is not walkable, skipping it.
2023-10-16T08:12:27.151+0300 DEBUG action/clear_level.go:123 Next room is not walkable, skipping it.
2023-10-16T08:12:45.667+0300 FATAL internal/single_supervisor.go:43 Panic detected, Koolo will exit {"panic": "runtime error: index out of range [320] with length 320"}
github.com/hectorgimenez/koolo/internal.(*SinglePlayerSupervisor).Start.func1
github.com/hectorgimenez/koolo/internal/single_supervisor.go:43
runtime.gopanic
runtime/panic.go:914
runtime.goPanicIndex
runtime/panic.go:114
github.com/hectorgimenez/koolo/internal/pather.World.SetTile
github.com/hectorgimenez/koolo/internal/pather/path_finding_tools.go:33
github.com/hectorgimenez/koolo/internal/pather.GetPath
github.com/hectorgimenez/koolo/internal/pather/path_finder.go:123
github.com/hectorgimenez/koolo/internal/action.(*Builder).ClearArea.func1
github.com/hectorgimenez/koolo/internal/action/clear_level.go:73
github.com/hectorgimenez/koolo/internal/action.(*Chain).NextStep
github.com/hectorgimenez/koolo/internal/action/action_chain.go:34
github.com/hectorgimenez/koolo/internal.(*Bot).Run
github.com/hectorgimenez/koolo/internal/bot.go:110
github.com/hectorgimenez/koolo/internal.(*SinglePlayerSupervisor).Start
github.com/hectorgimenez/koolo/internal/single_supervisor.go:70
main.main.func2
./main.go:96
golang.org/x/sync/errgroup.(*Group).Go.func1
golang.org/x/sync@v0.4.0/errgroup/errgroup.go:75
Hello,
I have downloaded and followed all instructions to use koolo bot. When I run the koolo.exe and check the log file, I am seeing this error.
2023-12-26T21:44:20.846-0500 DEBUG ui/template_finder.go:37 Loading templates...
2023-12-26T21:44:20.864-0500 DEBUG ui/template_finder.go:73 Found a total of 70 templates, loaded in 16ms
2023-12-26T21:44:22.094-0500 INFO internal/supervisor.go:115 Diablo II: Resurrected window detected, offsetX: -31999 offsetY: -32000. Game Area Size X: 34168 Y: 33147
2023-12-26T21:44:22.094-0500 DEBUG run/run.go:45 Fetching map data...
No matter what I do, it seems like it cannot find the map data, even though the koolo-map exe is in the folder. I have downloaded LODPatch_113c and it works fine, I set the file location of LODPatch_113c in my config file as stated in the instructions.
Any idea why I cannot run the bot?
Thank you very much for you time and help
Bot has item stuck in hand and waves it around forever sometimes during runs
It constantly happens, both the game and koolo would crash.
If I manually stop koolo at around 70~80 runs and start it again, then they won't crash, so I think it's koolo, not the game, or my OS/VM/hardware.
I'm doing only pindleskin runs with blizzard sor BTW, VM is on Proxmox VE with GPU passthrough, if that matters.
Hello are there any ways to NOT open any chest in cows and LK? I never have keys and there are no options to turn off this option. It will keep trying to open a lock chest before ending the game.
bot auto starts the game and when it reaches the character screen it is in the offline tab and when i stop or pause the bot and try to switch to online tab it says cannot connect to server
Any name I enter results in a error "configuration with that name already exists" in the new GUI
Hi, I think the koolo.exe is runnning properly, but my character just standing in town doing nothing. the log is like below
2023-08-22T15:44:35.732+0800 INFO internal/supervisor.go:114 Diablo II: Resurrected window detected, offsetX: 640 offsetY: 291. Game Area Size X: 638 Y: 455
2023-08-22T15:44:35.737+0800 INFO internal/supervisor.go:132 Starting Game #1. Run list: Pindleskin, Andariel, Mephisto, Summoner
2023-08-22T15:44:35.737+0800 DEBUG internal/bot.go:46 Fetching map data...
2023-08-22T15:44:36.895+0800 DEBUG internal/bot.go:48 Fetch completed {"ms": 1157}
2023-08-22T15:44:36.895+0800 INFO internal/bot.go:54 Running: Pindleskin
2023-08-22T15:44:36.927+0800 DEBUG action/recover_corpse.go:13 Checking for character corpse...
2023-08-22T15:44:36.927+0800 DEBUG action/recover_corpse.go:38 Character corpse not found :D
2023-08-22T15:44:36.927+0800 DEBUG action/identify.go:19 Checking for items to identify...
2023-08-22T15:44:36.927+0800 DEBUG action/identify.go:21 No items to identify...
2023-08-22T15:44:36.927+0800 DEBUG action/stash.go:27 Checking for items to stash...
2023-08-22T15:44:36.927+0800 INFO action/stash.go:33 Stashing items...
2023-08-22T15:45:42.478+0800 INFO internal/supervisor.go:32 Shutting down NOW
Hello,Need some help configure Koolo
Please
Interesting bot, try to use.
Try to start but get this error.
Please help me.
`# gocv.io/x/gocv
..\go\pkg\mod\gocv.io\x\[email protected]\calib3d_string.go:3:9: undefined: CalibFlag
..\go\pkg\mod\gocv.io\x\[email protected]\calib3d_string.go:29:9: undefined: CalibCBFlag
..\go\pkg\mod\gocv.io\x\[email protected]\core_string.go:3:9: undefined: MatType
..\go\pkg\mod\gocv.io\x\[email protected]\core_string.go:57:9: undefined: CompareType
..\go\pkg\mod\gocv.io\x\[email protected]\core_string.go:75:9: undefined: CovarFlags
..\go\pkg\mod\gocv.io\x\[email protected]\core_string.go:93:9: undefined: DftFlags
..\go\pkg\mod\gocv.io\x\[email protected]\core_string.go:113:9: undefined: RotateFlag
..\go\pkg\mod\gocv.io\x\[email protected]\core_string.go:125:9: undefined: KMeansFlags
..\go\pkg\mod\gocv.io\x\[email protected]\core_string.go:137:9: undefined: NormType
..\go\pkg\mod\gocv.io\x\[email protected]\core_string.go:159:9: undefined: TermCriteriaType
..\go\pkg\mod\gocv.io\x\[email protected]\core_string.go:159:9: too many errors
..\go\pkg\mod\github.com\robotn\[email protected]\event.go:51:10: undefined: addEvent
..\go\pkg\mod\github.com\robotn\[email protected]\event.go:62:7: undefined: Start
..\go\pkg\mod\github.com\robotn\[email protected]\event.go:75:18: undefined: KeyHold
..\go\pkg\mod\github.com\robotn\[email protected]\event.go:83:18: undefined: KeyUp
..\go\pkg\mod\github.com\robotn\[email protected]\event.go:95:22: undefined: KeyUp
..\go\pkg\mod\github.com\robotn\[email protected]\event.go:96:4: undefined: End
..\go\pkg\mod\github.com\robotn\[email protected]\event.go:113:7: undefined: Start
..\go\pkg\mod\github.com\robotn\[email protected]\event.go:121:17: undefined: MouseMove
..\go\pkg\mod\github.com\robotn\[email protected]\event.go:128:22: undefined: MouseDown
..\go\pkg\mod\github.com\robotn\[email protected]\event.go:129:4: undefined: End
..\go\pkg\mod\github.com\robotn\[email protected]\event.go:129:4: too many errors
..\go\pkg\mod\github.com\go-vgo\[email protected]\img.go:92:40: undefined: Bitmap
..\go\pkg\mod\github.com\go-vgo\[email protected]\img.go:107:38: undefined: Bitmap
..\go\pkg\mod\github.com\go-vgo\[email protected]\img.go:137:20: undefined: Bitmap
..\go\pkg\mod\github.com\go-vgo\[email protected]\screen.go:26:28: undefined: Rect
..\go\pkg\mod\github.com\go-vgo\[email protected]\robotgo_fn_v1.go:9:2: undefined: Move
..\go\pkg\mod\github.com\go-vgo\[email protected]\robotgo_fn_v1.go:17:2: undefined: Toggle
..\go\pkg\mod\github.com\go-vgo\[email protected]\robotgo_fn_v1.go:18:2: undefined: MilliSleep
..\go\pkg\mod\github.com\go-vgo\[email protected]\robotgo_fn_v1.go:20:2: undefined: MoveSmooth
..\go\pkg\mod\github.com\go-vgo\[email protected]\robotgo_fn_v1.go:21:2: undefined: Toggle
..\go\pkg\mod\github.com\go-vgo\[email protected]\robotgo_fn_v1.go:29:9: undefined: MoveSmooth
..\go\pkg\mod\github.com\go-vgo\[email protected]\robotgo_fn_v1.go:29:9: too many errors
`
Hi,
I am having difficulties when pulled latest changes
I was able build and configure the app ( created a character from the UI )
The issue is when I click the start button, it never goes to online on the main screen
It stays on Connecting to Battle.net
The config.yaml is configured like this
username: '[email protected]' # Battle.net username (required for multiclient only)
password: 'secret-p@ss' # Battle.net pwd (required for multiclient only)
realm: 'eu.actual.battle.net' # (required for multiclient only)
I noticed that now the D2R.exe is called like this
cmd := exec.Command(config.Koolo.D2RPath+"\\D2R.exe", "-username", username, "-password", password, "-address", realm)
Then I called manually D2R.exe
C:\Games\Diablo II Resurrected>D2R.exe -username [email protected] -password secret-p@ss -address eu.actual.battle.net
Again it stays on Connecting to Battle.net
and eventually goes to Offline
When I select the Online
tab at some point I get
An issue occurred while communicating with the game servers. Please check that you are connected to the internet and try again
Obviously I am, since I am able to connect when I launch the game from the Battle.net app
I even tried setting this
Any thoughts or suggestions?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.