lewisgibson / monopoly-go-bot

Automate playing Monopoly Go! using Python and Bluestacks.
47 stars 12 forks source link

Randomly hits stuff #9

Open skasas0 opened 1 year ago

skasas0 commented 1 year ago

Not sure what screen size i should have it at but it randomly hits random stuff at times

skasas0 commented 1 year ago

For less errors att a push to hold option on go

eve-alt commented 1 year ago

The reason why it randomly hits stuff is because of pyautogui.locateOnScreen. I am currently trying to supply it images that I have captured myself instead of the images that came with the repo while also trying to tweak the value supplied into the confidence argument. It was able to determine the coords of the "go" button but most of the time it is recognizing the "x" at the multiplier button as the "advertisement-close" image.

morton1988 commented 9 months ago

The reason why it randomly hits stuff is because of pyautogui.locateOnScreen. I am currently trying to supply it images that I have captured myself instead of the images that came with the repo while also trying to tweak the value supplied into the confidence argument. It was able to determine the coords of the "go" button but most of the time it is recognizing the "x" at the multiplier button as the "advertisement-close" image.

did you get it going good in the end?