steve1316 / granblue-automation-pyautogui

Educational application aimed at automating user-defined workflows for the mobile game, "Granblue Fantasy", using a variety of CV technologies in the backend such as OpenCV, PyAutoGUI and EasyOCR and a frontend coded in Typescript.
https://github.com/steve1316/granblue-automation-pyautogui/wiki
121 stars 36 forks source link

The bot feels slow #64

Closed pakulu closed 3 years ago

pakulu commented 3 years ago

Hey! First of all congratulations on your work so far, I'm honestly impressed at all the things your program does. I ran into a few odd happenings so far on my test runs that I wonder if only are happening to me or you just happened to overlook them; I'll try to explain -When selecting a summon and party it repeats the same route over and over, wasting some precious seconds. If party 2-2 runs angel halo with a misc tab summon 100 times it feels redundant to have the cursor going over it the 100 times. Given granblues own option to remember said parties surely this could be shortened. -While this is probably an issue on my side, having rather weak hardware, feels like it takes forever when doing OCR tasks (such as summon selection, making joining busy raids such as ubaha normal almost impossible) Wondering if there's anything I could change to help with this?

steve1316 commented 3 years ago

Thank you for bringing this to my attention. Implemented your feedback and also added another time-saving feature by completely skipping checks for AP/EP if you already have that option turned on in-game and also turned on hiding the auto-restore notification. This may require you to delete your config.ini and running the application again to regenerate it.

As for the OCR being slow, it is dependent on hardware (CPU mainly). I find that the bot is way faster on my Android phone than on my PC as there is no need to wait for a cursor to be moved.