r2-studio / robotmon-scripts

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

Receive Hearts One By One Function Not Working on NOX or Different Android Devices #512

Closed edstewbob closed 5 months ago

edstewbob commented 6 months ago

On Pixel 4 Android 13 I installed the current Robotmon and script release 65 with settings including Receive All Hearts, Receive Hearts One By One, and Auto Send Hearts along with other settings I had been using successfully for months on script 58 on a 32 bit NOX 7 setup. Everything works fine on release 65 except Receive Hearts One By One. The Mailbox is opened which has a large list of hearts to check and receive the 200 coin gift if received within 1 hour of receipt. Instead of receiving the gifts one by one the window is just closed and the game proceeds leaving me to pause the game and manually receive the inbox hearts and coins. I tried the same thing on a Samsung Tablet running Android 14 with the same results. If I turn off Receive Hearts One By One and leave Receive All Hearts on, the claim all hearts function does empty the inbox of hearts but the 200 coin bonus is not received for each entry and the sender of the heart does not receive a heart in return at that time. With large inbox counts of 50-100 per hour this represents a significant amount of additional coins that may be lost without manually receiving the inbox entries one by one within the hour.

mcs commented 6 months ago

Hello, do you use "Special Screen Ratio" and do you start the script after the game has been fully started? If so, could you please upload a short video with open log window and enabled additional debug logs which demonstrates the issue? Debug logs can be enabled within the hidden devloper options.

edstewbob commented 6 months ago

I don't use Special Screen Ratio and I always start the script before the game is started and the script starts the execution of the game. Attached are my settings, Screenshot_20240226-234036 Screenshot_20240226-234048 Screenshot_20240226-234057

edstewbob commented 6 months ago

In the above settings I did activate Receive All Hearts and disabled Receive Hearts One By One that is currently running on the Samsung tablet so that the Inbox doesn't get backed up but when they are both activated the issue occurs.

mcs commented 6 months ago

Thank you for the feedback. Could you please post a full screenshot of the game itself created by your phone? I need to check the black bars above and below the game screen. Ideally there is no phone info bar at the top of buttons at the button when you create the screenshot, just the full screen exclusively the game (Robotmon icons on the top are okay, too).

On Tue, Feb 27, 2024, 06:09 Doggywalker29 @.***> wrote:

In the above settings I did activate Receive All Hearts and disabled Receive Hearts One By One that is currently running on the Samsung tablet so that the Inbox doesn't get backed up but when they are both activated the issue occurs.

— Reply to this email directly, view it on GitHub https://github.com/r2-studio/robotmon-scripts/issues/512#issuecomment-1965796962, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAIC225M4UU4GES3WL4CCTYVVS67AVCNFSM6AAAAABD3ILVXOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNRVG44TMOJWGI . You are receiving this because you commented.Message ID: @.***>

edstewbob commented 6 months ago

I am attaching a few shots of the game in progress and a picture of the Inbox contents where Close is selected instead of selecting claim one be one to send back hearts one by one. This run has Receive Hearts One By One selected but not Receive All Hearts and you can see the Inbox beginning to build up. Screenshot_20240227_121449_TsumTsum Screenshot_20240227_121100_TsumTsum Screenshot_20240227_120849_TsumTsum Screenshot_20240227_121536_TsumTsum Screenshot_20240227_121606_TsumTsum Screenshot_20240227_121553_TsumTsum Screenshot_20240227_121545_TsumTsum

mcs commented 6 months ago

Thanks again for the additional screenshots. I now realize that I never had any ads in my mailbox due to my location which would have made testing and reproducing the issue quite hard. But finally I could make it look like on your screenshot by "moving to Los Angeles".

What worked immediately for me as a quick solution was enbling this setting: grafik

Regarding ad detection and handling, I might change the detection in a later version as v66 is already submitted as Pull Request #513.

edstewbob commented 6 months ago

Awesome! That works fine. Thank you very much for your quick solution! The reason I think we didn't see it on an older version is that it is running in NOX on a PC and that never gets the option to view an add to win rubies.

Sean-Hsueh commented 5 months ago

Closing the case as it is resolved :)