Closed RomeoAlphaEkko closed 2 years ago
The issues you suggested are not errors, There's no problem with the program. if you wanna fix it, you can capture the greyed out section(reroll) and then add some code
ex)
while` not onscreen("./captures/greyed reroll.png") click_to("./captures/reroll.png")
I wanted to tell you. This is not an error and it is not necessary But it seems necessary for the program to work more precisely :D
Just to add- if my memory serves me correctly, this Imagesearch library (or OpenCV?) only uses the grayscale image. So, the colour version and grayscale version (or tinted version) will effectively be the same to the computer. It's a bit of a weird side effect, but not unexpected behaviour.
It's definitely wasteful to reroll on a full bench, but it would be quite the task to scan every bench spot and get it accurately.
yes, my tries worked out that it ignores color, did some short tries on the 10er gold markers on the left but didnt work so far as a "stop" signal
First thank you,
i recognized 2 issues:
he seems to like to try to buy and/or reroll when he is out of money (0g)
„same“ trying to buy issue if he has gold buy the bench is full![greyed reroll](https://user-images.githubusercontent.com/89660477/148697512-7f45edbb-b179-4aa2-b7cf-a8bd7e25d1c1.png)