r2-studio / robotmon-scripts

Run Javascript on Android. Screenshot, Touch, ...
Apache License 2.0
78 stars 66 forks source link

TsumBeta: Release v68 #529

Closed mcs closed 2 months ago

mcs commented 2 months ago

This fixes a script error when script wants to play another game immediately after it played one.

With commit c84b0885143d23e449d43239a5f67603b3fe8b49 page navigation became more object-orientated, but the navigation to "play game" did not reflect that change. Renaming "ProfilePage" to "ProfilePageJp" works with the new approach but breaks the old logic where at least one page key must exist per page name. This commit removes the last piece of the old page navigation logic.

This slipped through my testing because my values for "Wait time (min) before repeat" is at least once "1", so my script never started a new game immediately after another finished. Mea culpa 😞

@Sean-Hsueh please review and merge as this sadly crashes the script for all players who have autoplay active and all values for "Wait time (min) before repeat" higher than 1.

Sean-Hsueh commented 2 months ago

We receive some user feedbacking the same issue, thanks a lot for the fix 🫡

mcs commented 2 months ago

This closed #530