Skip to content
This repository has been archived by the owner on Dec 10, 2017. It is now read-only.

Quests #198

Closed
mrmin123 opened this issue Jul 16, 2016 · 1 comment
Closed

Quests #198

mrmin123 opened this issue Jul 16, 2016 · 1 comment
Assignees

Comments

@mrmin123
Copy link
Owner

They changed the fonts and icons again. Quests module is once again broken!

Going to try and fix this in a more future-proof method this time around.

@mrmin123
Copy link
Owner Author

mrmin123 commented Jul 17, 2016

New quests module:

Instead of using individual screen captures for each of the desired quests, the Quests module now uses defined regions and OCR to read the individual resource rewards to ID quests. This system is much more flexible to changes in the kancolle quests screen, as new images do not have to be re-generated each time the screen receives a change. It is now very easy to add and remove quests supported by kancolle-auto, as well.

Performance improvement is probably good to minimal: kancolle-auto no longer has to loop through and do an image search for every quest it is looking for, instead looping through potentially valid quests on-screen (max of 5) and checking against its stored list of quests' reward values. This second method does involve 4 OCR reads per quest (max of 20). Ultimately this means that the speed of going through the quests pages is dependent on the number of valid quests to be checked present on the screen, and independent of the number of quests that sikuli-auto is tracking, which I consider to be a win.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant