Cyrexxis / RokTracker

Open Source Rise of Kingdoms Stats Management Tool. Track TOP X Players of kingdom / alliance / honor leaderboard.
MIT License
47 stars 18 forks source link

Improve robustness against rally popups #16

Closed Cyrexxis closed 1 year ago

Cyrexxis commented 1 year ago

Is your feature request related to a problem? Please describe. Currently the scanner crashes when it can't read the governor id, this can happen for example if a barb fort rally get lauched in the moment when the scanner takes the screenshot

Describe the solution you'd like Check if the cast fails and if it does try taking the screenshot again after 1 sec (max 3 tries)

Original mention is in issue #12

Cyrexxis commented 1 year ago

This issue can be circumvented by disabling rally popups in the rok settings or being in no alliance with the scanner account. Because of that simple fix, I will close this issue.