Egoistically / ALAuto

Azur Lane bot based on azurlane-auto. Discord: https://discord.gg/vCFxDen.
Do What The F*ck You Want To Public License
106 stars 43 forks source link

Slow operation, no retry after failing to find specified map #21

Closed teammate165 closed 5 years ago

teammate165 commented 5 years ago

Hi I've managed to get the bot working and noticed that it's operating speed is painfully slow (specifically scanning mob ships which takes roughly 5s), is this a hardware-based problem or is this intended speed? I'm running i5-3550, 8GB DDR3, RX 580 4GB, Windows 10 (version 1903).

Edit 1: I noticed after 2 runs, the bot somehow goes searching for the map I specified (3-4) after having already started map clear, this is really confusing and when returning to the world map, the bot doesn't seem to try looking for the map again. https://imgur.com/krEuBce

Edit 2: Would it be possible to make this work on smaller resolutions? This would reduce the chances of misclicks and disrupting the bot's operation, I highly doubt this is the culprit of said issue in Edit 1.

Other than that the bot works flawlessly, thank you very much for making this.

Egoistically commented 5 years ago
teammate165 commented 5 years ago

About the malfunction, yes after a restart everything works normal again.

Is it possible to use an algorithm and recalculate the tap coordinates for smaller/larger resolutions (given the same aspect ratio such as 16:9)?

Egoistically commented 5 years ago

Yes it would be possible, would be a pain nonetheless. If anyone wants to code it I will be very thankful to them, but I'd rather focus on other stuff.

teammate165 commented 5 years ago

Thanks for the response, I'll close this issue now.