Commit Graph

371 Commits

Author SHA1 Message Date
LmeSzinc
0237064dd0 Fix: Renew timer in interval_is_reached() only 2023-10-19 02:07:36 +08:00
LmeSzinc
cfd8c1d4f1 Add: Add rogue task to scheduler and prefer occurrence 2023-10-19 01:04:30 +08:00
LmeSzinc
ce09d1ff22 Add: Rogue settings 2023-10-18 23:41:49 +08:00
LmeSzinc
8da4644e13 Add: Enter rogue 2023-10-18 21:19:09 +08:00
LmeSzinc
084ada106f Merge branch 'master' into dev
# Conflicts:
#	dev_tools/keyword_extract.py
2023-10-17 19:01:09 +08:00
LmeSzinc
a38f0d25e9 Opt: Do Freebies before DataUpdate 2023-10-17 13:59:18 +08:00
LmeSzinc
73cf96b418 Opt: Release resources during wait 2023-10-17 13:57:03 +08:00
X-Zero-L
315bc261bb
Add: Get Support Reward Everyday (#155)
* Add: Get Support Reward Everyday

* Upd: i18n

* Upd: Instead of using ocr, use template matching

* fix bug

* fix:  remove debug img

* Upd: Character (#157)

* Upd: character

* Upd: Character

---------

Co-authored-by: LmeSzinc <lmeszincsales@gmail.com>
2023-10-16 12:24:52 +08:00
LmeSzinc
9ec0f9ded0 Merge branch 'bug_fix' into dev 2023-10-15 02:51:51 +08:00
LmeSzinc
4434e12bbe Upd: [EN] Assignment navs without event 2023-10-15 02:18:27 +08:00
LmeSzinc
7f6bc78ccc Merge branch 'master' into dev 2023-10-14 18:42:55 +08:00
X-Zero-L
5178dedb5b
Upd: Character (#157)
* Upd: character

* Upd: Character
2023-10-11 20:54:40 +08:00
Zebartin
5f00339af2
Opt: Detailed shadow name in configs (#142) 2023-10-09 11:36:56 +08:00
Zebartin
e48eb27fbc Add: Ocr and select rogue event options 2023-10-07 21:55:58 +08:00
LmeSzinc
f78049b155 Fix: Remove semicolon in ocr results 2023-10-06 23:11:58 +08:00
LmeSzinc
bc53c9c37a Opt: RoguePath_DomainStrategy follow display name 2023-10-06 18:02:34 +08:00
LmeSzinc
62150e60b9 Opt: Choose the first event for now 2023-10-05 02:04:08 +08:00
LmeSzinc
edd7618131 Add: match_multi_template() 2023-10-04 11:04:51 +08:00
LmeSzinc
31515678bc Add: Rogue routes 2023-10-02 16:32:53 +08:00
LmeSzinc
f2e99a5db6 Add: Simple markdown table generator 2023-10-02 16:32:53 +08:00
LmeSzinc
4cac7d07db Fix: Start/stop emulator in path with space 2023-10-01 17:37:58 +08:00
LmeSzinc
da314d31d5 Fix: Value typo at DaysAgo 2023-10-01 01:56:03 +08:00
LmeSzinc
77c394fe18 Fix: [ALAS] Update check fallback to classic git pull if git-over-cdn fails 2023-10-01 01:54:53 +08:00
LmeSzinc
c74c8729f0 Fix: Revised serial should starts with 127 2023-10-01 01:50:44 +08:00
LmeSzinc
3eec7ef0da Fix: Dont call BattlePass if it's already leveled max 2023-09-27 23:28:05 +08:00
LmeSzinc
28081361d9
Merge pull request #113 from Zebartin/dev
Add: Event assignments (Space Station Task Force)
2023-09-27 22:38:21 +08:00
LmeSzinc
2973feca2f Add: Update state of Complete_Echo_of_War_1_times 2023-09-27 11:52:39 +08:00
Zebartin
4481da676c Fix: keyword_class in draggable list 2023-09-27 10:53:37 +08:00
LmeSzinc
fe73e8879c Fix: handle duration OCR error "Oh" 2023-09-27 03:14:51 +08:00
LmeSzinc
05096c9105 Fix: Sync dungeon names from Dungeon.Name to all 2023-09-27 02:26:03 +08:00
LmeSzinc
0ab9fc2c2e Add: Echo of War settings 2023-09-27 02:26:03 +08:00
AkagiYui
dff1b14706
Fix: Text mistake (#114)
* Fix: Text mistake

* Fix: Text mistake
2023-09-27 02:23:33 +08:00
Zebartin
2c31967195 Fix: Config for event assignments
https://github.com/LmeSzinc/StarRailCopilot/pull/113#discussion_r1336990868
2023-09-26 21:07:51 +08:00
Zebartin
0adca58643 Fix: keywords and configs in es 2023-09-26 16:04:54 +08:00
Zebartin
81d785852d Add: Support for event assignments 2023-09-26 15:12:12 +08:00
Zebartin
ad86cc6f6c Add: Config for event assignments 2023-09-26 15:12:12 +08:00
LmeSzinc
c824a4b3a7 Fix: Handle random directory without "Count" subdirectory in user assist 2023-09-26 01:04:19 +08:00
LmeSzinc
cfc5f9455e Add: Spanish on webui 2023-09-25 23:25:22 +08:00
LmeSzinc
907f2303e9 Add: Spanish keywords 2023-09-25 23:24:40 +08:00
PizzaG0d
df0080119e
Update es-ES.json 2023-09-25 15:03:10 +02:00
PizzaG0d
8ee2083a01
Merge branch 'LmeSzinc:master' into master 2023-09-24 21:48:19 +02:00
PizzaG0d
2338e296bd added Spanish language to SRC 2023-09-24 21:41:38 +02:00
LmeSzinc
8f25862b77 Fix: Empty items are displayed on dashboard 2023-09-24 17:06:41 +08:00
LmeSzinc
7a8f9f129e Add: Task to update dashboard 2023-09-24 17:06:41 +08:00
LmeSzinc
d494eb8bdf Add: Set achievable to quests can be done in Himeko trial 2023-09-24 07:05:59 +08:00
LmeSzinc
dc7ea27191 Add: Help text of Complete_Forgotten_Hall_1_time 2023-09-23 19:39:53 +08:00
LmeSzinc
fd84240d38 Opt: Enable daily tasks by default 2023-09-23 01:38:01 +08:00
LmeSzinc
759c81b072 Opt: Do Assignment first then Dungeon 2023-09-22 03:28:21 +08:00
LmeSzinc
5358c5ff2e Upd: [ALAS] Sync Filter.load() 2023-09-21 21:34:50 +08:00
LmeSzinc
07ef351ed7 Fix: Handle OCR error of "20h." 2023-09-20 13:35:27 +08:00
X-Zero-L
5e48c1bd74
Upd: character (#98)
Co-authored-by: LmeSzinc <lmeszincsales@gmail.com>
2023-09-20 13:35:15 +08:00
LmeSzinc
a800bdb214 Fix: Retry when joystick contact lost 2023-09-20 01:20:52 +08:00
LmeSzinc
0279a8dc4d Fix: Get SimUni points at double event 2023-09-17 09:34:17 +08:00
LmeSzinc
1f47d63af8 Fix: Assignment duration and name OCR 2023-09-17 08:09:00 +08:00
LmeSzinc
194e4df4fe Refactor: Game server configuration and timezones 2023-09-16 03:50:58 +08:00
LmeSzinc
b2a86fe792 Fix: [EN] Assignment name in multiple rows 2023-09-16 01:37:06 +08:00
LmeSzinc
37e29838c5 Refactor: Get in-game language from plane name 2023-09-15 13:29:22 +08:00
LmeSzinc
2854a9eea8 Fix: Add setting In-game Text Language 2023-09-13 04:25:02 +08:00
LmeSzinc
76127b90e7
Merge pull request #90 from LmeSzinc/dev
Bug fix
2023-09-13 02:24:06 +08:00
LmeSzinc
29568c770c Fix: Uninstall registry pointed non-exists directory (#88) 2023-09-13 02:22:43 +08:00
Zebartin
0a32329664
Fix: Assignments missing groups (#89) 2023-09-12 18:36:24 +08:00
LmeSzinc
b734e1c407 Fix: Template name at config add 2023-09-11 23:49:20 +08:00
LmeSzinc
c41210d6fb Opt: Hide Rogue task on GUI 2023-09-11 23:34:54 +08:00
LmeSzinc
66837083c2 Opt: DungeonDaily_StagnantShadow default to Stagnant_Shadow_Quanta 2023-09-11 19:21:00 +08:00
LmeSzinc
fb6b11d154 Fix: Use The_Hunt instead of Hunt 2023-09-11 02:32:33 +08:00
LmeSzinc
269f704abd Fix: Handle OCR error on bleesings 2023-09-11 01:04:33 +08:00
LmeSzinc
c83edea596 Opt: Re-arrgange simuni settings 2023-09-10 23:52:53 +08:00
LmeSzinc
e8a38bc1e1
Merge pull request #58 from 5upernova-heng/add/rouge_buff_selector
Add: rogue buff selector
2023-09-10 22:43:22 +08:00
LmeSzinc
f85be40c98 Fix: import BoxedResult 2023-09-10 19:23:27 +08:00
LmeSzinc
04e9e39384 Fix: console_hdlr imports 2023-09-10 18:14:40 +08:00
LmeSzinc
bdbbc68777 Add: Use GitOverCdn at GUI update check 2023-09-10 18:00:47 +08:00
LmeSzinc
3f2847960f Fix: webui.config.DeployConfig caught setattr from father class 2023-09-10 14:52:37 +08:00
LmeSzinc
49f4b9618e Add: AppAsarUpdate and GitOverCdn 2023-09-10 02:10:57 +08:00
LmeSzinc
3397869195 Add: Replace Alas with SRC on frontend 2023-09-10 01:55:14 +08:00
LmeSzinc
9bb71b653a Fix: Chinese encoding on stderr 2023-09-10 01:53:34 +08:00
LmeSzinc
0067e343b2 Upd: [ALAS] installer 2023-09-09 18:36:14 +08:00
LmeSzinc
f7bc6980f9 Opt: Set rec_batch_num=1 for faster ocr 2023-09-08 23:00:56 +08:00
LmeSzinc
16f4f061c1 Refactor: Migrate to pponnxcr 2023-09-08 22:23:57 +08:00
Hengyu
4b1e61d14b Merge remote-tracking branch 'upstream/dev' into add/rouge_buff_selector
# Conflicts:
#	module/config/argument/argument.yaml
#	module/config/config_generated.py
2023-08-31 14:33:55 +08:00
LmeSzinc
51e49e2077 Add: Link task BattlePass to Dungeon, Assignment, DailyQuest 2023-08-31 01:06:24 +08:00
LmeSzinc
5d3efe1d44 Fix: Dashboard is not updated during continuous value set 2023-08-30 19:30:54 +08:00
LmeSzinc
92bbb9204a Upd: Set maximum trailblaze power to 240 2023-08-30 19:14:14 +08:00
X-Zero-L
6124447a83
Upd: character and i18n (#71)
* Upd: character and i18n

* Upd: i18n

* Fix bug

* Fix bug

* Fix bug

* Fix: bug

* Upd: convert

* Fix bug

* Modify the order
2023-08-30 18:46:18 +08:00
LmeSzinc
246c039dc8 Add: Assigment and Sim.Uni. in dashboard 2023-08-30 00:49:46 +08:00
LmeSzinc
a087189e54 Add: Dashboard on GUI 2023-08-30 00:45:28 +08:00
LmeSzinc
9e2445d5b1 Fix: Typo in DungeonDaily_StagnantShadow (fixed #68) 2023-08-29 03:03:45 +08:00
Hengyu
2465401d31 Merge remote-tracking branch 'upstream/dev' into add/rouge_buff_selector
# Conflicts:
#	module/config/argument/argument.yaml
#	module/config/config_generated.py
2023-08-28 19:50:20 +08:00
LmeSzinc
665c112330 Add: Stored trailblaze power 2023-08-28 01:12:10 +08:00
LmeSzinc
51348e7e30 Fix: [ALAS] Revise serial as fool-proof 2023-08-28 00:04:37 +08:00
LmeSzinc
e4e5d8d558 Opt: [ALAS] Turn type lock to type state 2023-08-27 23:09:21 +08:00
LmeSzinc
197bfa9613 Opt: Move assignment duration to the last 2023-08-27 17:44:22 +08:00
Hengyu
9a17af2d12 Merge remote-tracking branch 'upstream/dev' into add/rouge_buff_selector
# Conflicts:
#	module/config/argument/argument.yaml
2023-08-27 17:38:33 +08:00
LmeSzinc
b5030e0ab1 Add: Link task Assignment with daily tasks 2023-08-27 17:27:47 +08:00
LmeSzinc
b303341297 Add: [ALAS][TW] Standardize zh-TW translation 2023-08-27 17:18:42 +08:00
LmeSzinc
a5e2eb0004 Refactor: Link task dungeon with daily quests 2023-08-27 17:13:05 +08:00
LmeSzinc
4719d3da60 Add: [ALAS] stored and state widgets 2023-08-27 17:02:11 +08:00
Hengyu
97ff1c8554 Add: unrecorded preset option 2023-08-23 03:00:45 +08:00
LmeSzinc
76318175e8 Add: [ALAS] Timer.set_current() 2023-08-21 01:26:18 +08:00
LmeSzinc
0be028427b Refactor: [ALAS] Minitouch multi-finger support 2023-08-21 01:25:21 +08:00
LmeSzinc
bc9642772f Add: Dungeon at double relic event 2023-08-21 01:14:40 +08:00
LmeSzinc
adefd5a956 Fix: [ALAS] Raise error if app_keep_alive is enabled in MuMu 12 2023-08-21 00:40:40 +08:00
Hengyu
5dfe509f38 Add: i18n for zh-TW and en-US 2023-08-20 23:23:24 +08:00
Hengyu
03caaa2855 Add: rogue bonus (Blessings of Trailblaze) 2023-08-14 15:12:02 +08:00
Hengyu
d6bdc286ca Upd: reformat code, extract RogueSelector 2023-08-13 01:30:56 +08:00
Hengyu
16a88bb164 Upd: add MultiLangFilter 2023-08-11 02:43:06 +08:00
X-Zero-L
7815697329
Upd: Character (#57)
* Upd: Character

* Upd: i18n

* Upd: Character
2023-08-10 18:06:21 +08:00
Hengyu
17debdfb5e Add: rogue buff selector 2023-08-10 17:46:18 +08:00
LmeSzinc
e41d5b4ae4 Fix: insight_row() early stopped on empty list 2023-08-03 00:51:58 +08:00
LmeSzinc
fc91221240 Fix: No orientation handle in MaaTouch 2023-08-03 00:51:21 +08:00
Hengyu
28d5c43602
Add: battle pass recognition (#49)
* Add: battle pass mission recognition

* Fix: typo

* Add: version mission recognition

* Fix: typo

* Upd: remove version mission

* Upd: keep ui of version quest
2023-08-02 19:07:46 +08:00
LmeSzinc
9f0528299f Add: [ALAS] Utility func image_paste() and get_bbox_reversed() 2023-07-30 19:35:05 +08:00
LmeSzinc
1536ff0ad3 Fix: Ignore "!" while matching keywords 2023-07-30 17:18:19 +08:00
X-Zero-L
845767d71c
Upd: Character (#50)
* Upd: Character

* Upd: i18n
2023-07-30 17:16:21 +08:00
X-Zero-L
b2ab868351
Add: character and combat support (#38)
* Add: combat support

* Fix: team_set logic when using support in combat

* Add: Support character selection

* Upd: optimize support character get logic

* Fix: bug in get_character_by_name

* Upd: use keywords to generate support config

* Fix: Correct comment language to English

* Fix: Remove debug statements

* Upd: Improve UI icons and positioning

* Upd: Refactor support

* Upd: character keyword extract

* Upd:Character icon

* Upd: Character icon

* Upd: Character icon

* Upd: Optimize the parameter in SupportListScroll

* Upd: Refactor support

* Fix: Bug in Dungeon

* Fix: Corrected comments in Combat and Support

* Upd: Modified parameter

* Refactor: Support logic

* Refactor: Support logic

* Refactor: Support logic

* Upd: Character icon

* Upd: Character icon

* Refactor: Support logic

* Refactor: Support logic
2023-07-24 18:15:22 +08:00
Zebartin
1c304f2baa Fix: Duration ocr & late stop in assignment 2023-07-11 11:50:15 +08:00
LmeSzinc
d9f9b43b6f Add: Dungeon at double calyx event 2023-07-10 23:45:33 +08:00
LmeSzinc
f12e18107f Refactor: Remove use_fast parameter 2023-07-10 22:24:24 +08:00
Zebartin
cfdb09f7c3 Opt: delay battle pass to next version if possible 2023-07-09 17:29:38 +08:00
LmeSzinc
95c7b6dd53 Opt: Faster UI navigation to forgotten hall 2023-07-06 22:41:16 +08:00
LmeSzinc
53d6bd818f Add: Plane switchings in page_map 2023-07-02 15:33:30 +08:00
LmeSzinc
0c290239a1 Fix: Ocr.lang should be lazy loaded 2023-07-02 15:30:47 +08:00
LmeSzinc
a2e2221829 Add: [ALAS] Returns in Scroll.set() 2023-07-02 15:28:28 +08:00
LmeSzinc
b1048748d0 Fix: [ALAS] Handle None in interval_clear() 2023-07-02 15:20:25 +08:00
LmeSzinc
a078c14f25 Fix: [ALAS] Remove the use of np.float 2023-07-02 15:20:24 +08:00
Hengyu
8c38c05696 Upd: limit load_rows interval to 1 second & not load at first iteration 2023-07-01 23:06:46 +08:00
Hengyu
c0c3218389 Upd: put load_rows in the loop when select_row 2023-06-30 16:45:46 +08:00
Hengyu
30433ac4f6 Upd: put insight_rows in the loop when select_row 2023-06-30 12:56:20 +08:00
Hengyu
127306a019 Add: forgotten hall stage goto 2023-06-30 00:32:33 +08:00
Hengyu
4f8c1f89c3 Add: dungeon goto forgotten hall 2023-06-29 12:56:05 +08:00
LmeSzinc
a745c6607d Fix: Clicking None in select_row() if keyword2button() failed 2023-06-28 02:27:20 +08:00
LmeSzinc
8bdb9a4e77 Opt: Readable dungeon names 2023-06-28 01:17:24 +08:00
Zebartin
7d5bacdbc4 Fix: Friendlier config & details in assignment
- https://github.com/LmeSzinc/StarRailCopilot/pull/23#pullrequestreview-1496702101
- https://github.com/LmeSzinc/StarRailCopilot/pull/23#discussion_r1240852168
2023-06-26 00:07:52 +08:00
Zebartin
47578306cb Fix: Help text & details of assignment
- https://github.com/LmeSzinc/StarRailCopilot/pull/23#discussion_r1235492724
- https://github.com/LmeSzinc/StarRailCopilot/pull/23#discussion_r1235495266
- https://github.com/LmeSzinc/StarRailCopilot/pull/23#discussion_r1235497216
- https://github.com/LmeSzinc/StarRailCopilot/pull/23#discussion_r1235500507
2023-06-21 22:08:57 +08:00
Zebartin
ba3931e7a4 FIx: Scheduler priority of assignment task 2023-06-20 21:30:47 +08:00
Zebartin
c77f1a30b3 Add: Config of Assignment 2023-06-20 21:30:47 +08:00
Zebartin
346e7a1578 Add: Task assignment 2023-06-20 21:30:47 +08:00
Hengyu
9edd120538
Add: Battle Pass Claim Rewards (#13)
* Add: Battle Pass Claim Rewards

* Upd: comments of public methods

* Fix: Break half way if not waiting for animation change finish

* Fix: set dataclass repr to false

* Add: Tasks BattlePass

* Upd: break get_rewards into two loops
2023-06-19 21:57:19 +08:00
LmeSzinc
4bbe4fb08e Fix: Restart at 04:00 2023-06-19 03:30:53 +08:00
LmeSzinc
639d16e8a1 Fix: App control via ADB for all (#18) 2023-06-19 03:26:59 +08:00
LmeSzinc
74562d03e4 Add: Task DailyQuest 2023-06-18 18:41:58 +08:00
LmeSzinc
826127fefd Doc: Add help text of the default serial of MuMu 12 2023-06-18 01:43:16 +08:00
LmeSzinc
7e30ba8d9f Add: Task dungeon 2023-06-18 01:09:09 +08:00
LmeSzinc
1f8a9383f7 Add: Alas scheduler 2023-06-18 01:07:39 +08:00
LmeSzinc
9928d5b4cc Add: GUI options in task Dungeon 2023-06-18 00:24:00 +08:00
LmeSzinc
1a564b4e8e Sync: [ALAS] List tasks instead of collapsing them in submodules 2023-06-17 23:11:57 +08:00
LmeSzinc
b29d6fcc61 Opt: Move gui backend to port 22367 and clean up configs 2023-06-17 22:41:56 +08:00
LmeSzinc
6d3f34ef48 Fix: OCR_TRAILBLAZE_POWER length varies by value 2023-06-17 16:19:13 +08:00
LmeSzinc
fc1e1b4971 Add: Combat module 2023-06-17 04:28:51 +08:00
LmeSzinc
8080250a49 Add: Get trailblaze power before and after combat 2023-06-17 01:07:47 +08:00
LmeSzinc
f517481e5b Opt: Use scrcpy screenshot and maatouch clicks 2023-06-16 21:43:11 +08:00
LmeSzinc
30958a36f9 Fix: Typo in enlarge_canvas() 2023-06-15 13:14:37 +08:00
LmeSzinc
71b02ae767 Add: Goto dungeon from page_guide 2023-06-15 00:15:14 +08:00
LmeSzinc
533c6f961f Opt: Faster OCR on rectangle images 2023-06-14 03:26:48 +08:00
LmeSzinc
765eeb5472 Add: Check combat auto and 2X speed 2023-06-13 11:36:54 +08:00
LmeSzinc
c567a773e3 Add: Extract keywords of dungeon list 2023-06-13 00:44:40 +08:00
LmeSzinc
26dc151503 Add: Support BlueStacks Hyper-V Android 11 (Rvc64) 2023-06-13 00:24:52 +08:00
Hengyu
012fffbb31
Add: daily_request_recognition; get_daily_rewards (#3)
* Add: daily_request_recognition; get_daily_rewards

* Fix: typo

* Fix: typo

* Upd: delete eval; use one loop to handle 5 active point rewards;

* Upd: change DAILY_QUEST_GOTO/REWARD pattern; update swipe private method name; extract keyword compare method

* Upd: move warning to single page recognition

* Upd: merge from main

* Add: methods that load daily quests keywords from QuestData.json

* Upd: avoid read TextMap twice

* Upd: revert Keyword.find method

* Add: preprocess of keyword extract; after_process of daily quest ocr

* Upd: move assets to daily/reward

* Upd: simplify ocr result replacement
2023-06-13 00:24:38 +08:00
Driver-C
f12f40643b
Add: Synthesize consumables (#2) 2023-06-12 03:20:12 +08:00
LmeSzinc
35f5d24877 Add: Switching dungeon nav 2023-05-31 02:20:45 +08:00
LmeSzinc
eaaaa7e320 Chore: Remove the use of np.int 2023-05-30 10:27:24 +08:00
LmeSzinc
02b9c96e7b Add: Switching dungeon tabs 2023-05-23 01:00:20 +08:00
LmeSzinc
baaca91568 Fix: Handle bugs in adbutils>=1.0 2023-05-23 00:08:00 +08:00
LmeSzinc
8c60400772 Fix: Prevent MaaTouch stream from being deleted 2023-05-23 00:07:12 +08:00
LmeSzinc
50e0ddb954 Add: Keyword extract 2023-05-22 22:10:22 +08:00
LmeSzinc
36d898b038 Add: Merge multi-line OCR results 2023-05-21 15:40:36 +08:00
LmeSzinc
1e47a1f621 Add: OCR model and downgrade to py3.10
since onnxruntime doesn't support 3.11 yet
2023-05-21 09:26:58 +08:00
LmeSzinc
82d013ed59 Add: UI switches and login 2023-05-18 00:44:43 +08:00
LmeSzinc
a0ee78cdf3 Add: Button match and module base 2023-05-17 02:54:03 +08:00
LmeSzinc
00fcba432a Fix: Compatible with old and new adbutils 2023-05-16 23:39:18 +08:00
LmeSzinc
6495ca32fd Upd: ALAS framework updates 2023-05-16 20:55:05 +08:00
LmeSzinc
c24f2a0488 Add ALAS framework 2023-05-14 15:48:34 +08:00