Skip to content
This repository has been archived by the owner on Nov 22, 2021. It is now read-only.

Opens Options Menu #45

Closed
jeisonfura opened this issue Oct 1, 2021 · 17 comments
Closed

Opens Options Menu #45

jeisonfura opened this issue Oct 1, 2021 · 17 comments

Comments

@jeisonfura
Copy link

When switching to next task, it will open the options menu instead of home (I think it's supposed to click home).
Screenshot_2021-10-01-11-42-36

@tmarenko
Copy link
Owner

tmarenko commented Oct 1, 2021

Can you attach a log file for this issue?

@jeisonfura
Copy link
Author

2021-10-02 01:15:23,467 - DEBUG - game - Stage: TIMELINE BATTLE; stages: 10/10
2021-10-02 01:15:23,483 - INFO - timeline - 10 stages available.
2021-10-02 01:15:34,916 - ERROR - game - Failed to open Content Status board.
2021-10-02 01:15:44,466 - ERROR - timeline - Timeline Battle: can't find GET READY button.
2021-10-02 01:15:46,268 - DEBUG - notifications - After mission notifications was closed: False

In this example, it opens Content Status board and discovers timeline battle. Then it closes it. Then it opens options and gets stuck.

@tmarenko
Copy link
Owner

tmarenko commented Oct 2, 2021

From the log file I'm not sure what's causing the problem. Maybe you could do video recording?
For safe purposes I've added this d54b347
Bot would click on HOME button only if it's visible.

@jeisonfura
Copy link
Author

Does this help?

2021-10-02_10.51.49.mp4

@tmarenko
Copy link
Owner

tmarenko commented Oct 3, 2021

Sorry I can't view video file

@jeisonfura
Copy link
Author

I uploaded it to youtube: https://www.youtube.com/watch?v=oQtNWNuA4Rc

@tmarenko
Copy link
Owner

tmarenko commented Oct 4, 2021

Looks like false positive recognition for MAIN_MENU_AD_4
This should fix it: edd524f

@tmarenko
Copy link
Owner

tmarenko commented Oct 6, 2021

@jeisonfura
Copy link
Author

This still doesn't work.

@tmarenko
Copy link
Owner

tmarenko commented Oct 6, 2021

Do you have any logs or videos using new release with this problem?

@jeisonfura
Copy link
Author

Here's the 2nd video: https://www.youtube.com/watch?v=vWikAgYT5tw

@tmarenko
Copy link
Owner

tmarenko commented Oct 7, 2021

Can you attach full log file? I need to check initialization of emulator

@jeisonfura
Copy link
Author

2021-10-07 09:49:29,779 - INFO - updater - Loaded version: mff_auto=0.9.1, game=7.4.0, updater=1.1.0
2021-10-07 09:49:30,575 - INFO - updater - Current version 0.9.1 is up to date for Marvel Future Fight 7.4.0.
2021-10-07 09:49:31,825 - DEBUG - root - Creating 1 Tesseract API(s) with 'eng' language.
2021-10-07 09:49:32,132 - DEBUG - root - Creating 1 Tesseract API(s) with 'mff+eng' language.
2021-10-07 09:49:34,050 - DEBUG - root - NoxPlayer 7.0.1.0: found Close App shortcut at position 7
2021-10-07 09:49:34,052 - DEBUG - root - Initialized NoxPlayer object with name NoxPlayer version 7.0.1.0 and resolution (1788, 1006); main window: (46, 32, 1834, 1038), parent: (0, 0)
2021-10-07 09:49:34,055 - DEBUG - root - NoxPlayer 7.0.1.0: found Close App shortcut at position 7
2021-10-07 09:49:34,410 - DEBUG - queue_manager - Loading 6 items to queue list #1.
2021-10-07 09:49:34,461 - DEBUG - queue_manager - Loading 0 items to queue list #2.
2021-10-07 09:49:34,462 - DEBUG - queue_manager - Loading 0 items to queue list #3.
2021-10-07 09:49:34,462 - DEBUG - queue_manager - Loading 0 items to queue list #4.
2021-10-07 09:49:48,352 - DEBUG - queue_manager - Running queue.
2021-10-07 09:49:48,354 - DEBUG - queue_manager - Skipping queue item: GIANT BOSS RAID
2021-10-07 09:49:48,354 - DEBUG - queue_manager - Running WORLD BOSS with settings: {'mode': 'ULTIMATE', 'boss': 'TODAYS_BOSS', 'difficulty': 1, 'sync_character_and_ally_teams': False}
2021-10-07 09:49:53,339 - DEBUG - game - Stage: LEGENDARY BATTLE; stages: 5/5
2021-10-07 09:49:55,505 - DEBUG - game - Stage: DIMENSION MISSION; stages: 5/7
2021-10-07 09:49:55,716 - DEBUG - game - Stage: VEILED SECRET; stages: 4/4
2021-10-07 09:49:55,869 - DEBUG - game - Stage: MUTUAL ENEMY; stages: 2/2
2021-10-07 09:49:56,063 - DEBUG - game - Stage: STUPID X-MEN; stages: 6/6
2021-10-07 09:49:56,261 - DEBUG - game - Stage: THE BIG TWIN; stages: 6/6
2021-10-07 09:49:56,433 - DEBUG - game - Stage: TWISTED WORLD; stages: 6/6
2021-10-07 09:49:56,595 - DEBUG - game - Stage: THE FAULT; stages: 6/6
2021-10-07 09:49:56,796 - DEBUG - game - Stage: GOLDEN GODS; stages: 6/6
2021-10-07 09:49:56,965 - DEBUG - game - Stage: ALLIANCE BATTLE; stages: 1/1
2021-10-07 09:49:57,177 - DEBUG - game - Stage: TIMELINE BATTLE; stages: 10/10
2021-10-07 09:49:57,345 - DEBUG - game - Stage: WORLD BOSS; stages: 5/5
2021-10-07 09:49:58,848 - DEBUG - notifications - Closing ads menu.
2021-10-07 09:50:01,943 - DEBUG - queue_manager - Queue was forcibly stopped.
2021-10-07 09:50:01,978 - DEBUG - queue_manager - Queue completed.

@tmarenko
Copy link
Owner

tmarenko commented Oct 8, 2021

I couldn't reproduce this even with same resolution and settings:

2021-10-08 09:21:20,298 - DEBUG - root - Creating 1 Tesseract API(s) with 'eng' language.
2021-10-08 09:21:20,506 - DEBUG - root - Creating 1 Tesseract API(s) with 'mff+eng' language.
2021-10-08 09:21:20,835 - DEBUG - root - NoxPlayer 7.0.1.0: found Close App shortcut at position 8
2021-10-08 09:21:20,837 - DEBUG - root - Initialized NoxPlayer object with name NoxPlayer version 7.0.1.0 and resolution (1788, 1006); main window: (2, 32, 1790, 1038), parent: (94, 19)
2021-10-08 09:21:20,838 - DEBUG - root - NoxPlayer 7.0.1.0: found Close App shortcut at position 8

Is MAIN_MENU_AD_4 on screen: False (1792, 1040)

You could try to override text_threshold for MAIN_MENU_AD_4 in settings/ui_override.py.
Add this line at the end of the file:
MAIN_MENU_AD_4.text_threshold = 55
and try to change value 55 to 60 for example. Restart bot, check if it still opens menu. You can try different values (65, 70, etc.) until it will work for you.

@jeisonfura
Copy link
Author

I'll try that when I get time. It's weird, it worked fine for a while, and then one update it broke.

@jeisonfura
Copy link
Author

jeisonfura commented Oct 9, 2021

Changing text_threshhold to 60 worked. Thanks!

@jeisonfura
Copy link
Author

This is happening again. Was working fine yesterday and now it's broken again this morning.

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

No branches or pull requests

2 participants