parsiad / nexus-autodl

Nexus AutoDL is an autoclicker (a.k.a., autodownloader, bot) that helps automate downloading mods from Nexus Mods
https://parsiad.ca/nexus-autodl
MIT License
179 stars 23 forks source link

Mouse position issue #1

Closed xChaosityx closed 1 year ago

xChaosityx commented 2 years ago

OS: Windows 10 Display resolution: 1920 x 1080 Refresh rate: 60 Monitors: 3 (All 1920 x 1080)

I'm having an issue where sometimes the program will get stuck on trying to click on "Choose download type" in the download page Instead of clicking slow download or click here and will seemingly hang forever until I restart the program, this seems to happen randomly.

I was able to "Fix" the issue by placing the wabbajack program GUI half way between my monitors so that the "Choose download type" text was not visible on my primary monitor, Since it only seems to be able to view my primary monitor and not my side monitors.

xChaosityx commented 2 years ago

Update: A mod named MCM helper caused it to hang, It was trying to click on MCM helper forever

parsiad commented 2 years ago

Thank you for your bug report. Can you provide a lossless (e.g., PNG) screenshot of the screen it has issues with? It will help with debugging.

xChaosityx commented 2 years ago

image

parsiad commented 2 years ago

It tries to click on the Wabbajack window?

xChaosityx commented 2 years ago

No, when Wabbajack automatically opens a nexus mods download page, it scrolls down the page to where you can click "Slow download" and "Fast download" Sometimes it will get stuck on trying to click on "Choose download type"

I would assume your using some form of image recognition, If that's the case I believe it needs to be edited to require more of an exact match before it tries to click, Or after each time it tries to click, it scans again and tries to click any other matches it finds

parsiad commented 2 years ago

To clarify, I was asking if you could share a screenshot of the page it gets stuck on (not the Wabbajack page). Can I trouble you for that? It is likely rendered differently on your computer and it would help in making the image detection more robust.

I would assume your using some form of image recognition

Correct. You can look at the source code (it's very short) if you are curious.

xChaosityx commented 2 years ago

Ah my bad! I attached an image of what it got stuck on image

parsiad commented 1 year ago

This may have been fixed by #6. Please download the binary and let me know if it works. I will close the issue for now, but feel free to reopen it if not.