This PR fixes all the "stuck on logcat" issues I've found so far.
It rewrites the "Received values:" regex (RE_CALCY_IV) to actually work with all of outputs Calcy sends, except for one, in which it doesn't outputs any MainService/Received values on the logcat, which is why I had to add yet another regex (RE_SCAN_TOO_SOON) to catch it.
This will bring some benefits for badly configured waits as well or poor internet connections, as there are fallbacks taps for when rename_ok button on PoGo's modal doesn't work or delays a lot.
Also, a small test with 368 random pokemons returned no errors whatsoever and no halt of the whole renaming process (it actually halted on a random internet but RE_SCAN_TOO_SOON dealt with it like it's supposed to).
Some other low-priority stuff got fixed as well, like SpecialMove2.
This PR fixes all the "stuck on logcat" issues I've found so far.
It rewrites the "Received values:" regex (
RE_CALCY_IV
) to actually work with all of outputs Calcy sends, except for one, in which it doesn't outputs any MainService/Received values on the logcat, which is why I had to add yet another regex (RE_SCAN_TOO_SOON
) to catch it.This will bring some benefits for badly configured
waits
as well or poor internet connections, as there are fallbacks taps for when rename_ok button on PoGo's modal doesn't work or delays a lot.Also, a small test with 368 random pokemons returned no errors whatsoever and no halt of the whole renaming process (it actually halted on a random internet but
RE_SCAN_TOO_SOON
dealt with it like it's supposed to).Some other low-priority stuff got fixed as well, like SpecialMove2.