Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automation #2

Open
9 of 17 tasks
HenryQuan opened this issue Nov 19, 2020 · 2 comments
Open
9 of 17 tasks

Automation #2

HenryQuan opened this issue Nov 19, 2020 · 2 comments
Assignees

Comments

@HenryQuan
Copy link
Member

HenryQuan commented Nov 19, 2020

TODO

  • Detect board when it is complete blacked out
    • Go to every orb and hold until it is read
  • Detect whether orbs are interactable
    • Detect battle (battle xx / xx) and wait for 1.5s
    • Detect empty tiles and wait for 1.5s or 3 cycles
    • When more than half the board is not readable (try again)
  • Support more orbs
  • Support different game ratio (need more testing)
    • Currently, only 2:1 is supported
    • There are 16:9 and also 3:2 available
    • The new iPad UI is also different
    • Template should be the same but not sure if it matters
  • Mac OS uses retina and the point location can be a bit different
  • Enter dungeons automatically
    • Pick the right dungeon
    • Choose my own leader
    • Enter the dungeon
  • Battle counter
    • Count battle from 0
    • Detect boss battle
    • Detect OK button (clear or game over)
  • Stop when out of stamina
  • Quit dungeon and avoid using magic stones
    • Still need to make sure touches are working
  • Fix touch issues with pyautogui
    • Sometimes, it doesn't click or mouse down
  • Use skill 1 to 6 (for 周回)
  • Detect board location
    • This is important when porting to Android
    • Can use the heart icon to determine the location
  • Faster screenshot
  • ~~~無限回廊三回まわる~~~
    • Pick the dungeon
    • Choose my own leader
    • Enter the dungeon
    • Count battle from 0 to 50
    • Clear the dungeon
    • Quit the dungeon
    • Do this 3 times
  • Normal dungeons
    • The program is running for a few hours and has cleared many normal dungeons one by one
  • Battle detector not working all the time
    • This should be the first thing to check
    • Continue can be very dangerous sometimes
  • Detect board size based on a single orb size
    • Board size can change during a battle, rare but possible
@HenryQuan HenryQuan self-assigned this Nov 19, 2020
@HenryQuan HenryQuan assigned codythecoder and unassigned HenryQuan Jan 4, 2021
@HenryQuan HenryQuan self-assigned this Jun 2, 2021
@HenryQuan HenryQuan removed their assignment Jun 30, 2021
@HenryQuan
Copy link
Member Author

This will be moved soon.

@HenryQuan HenryQuan transferred this issue from pazusoba/core Jul 25, 2021
@HenryQuan HenryQuan changed the title V3 - Automation Automation Jul 25, 2021
@HenryQuan HenryQuan reopened this Jul 25, 2021
@HenryQuan
Copy link
Member Author

Migration completed

@HenryQuan HenryQuan self-assigned this Jul 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants