Commit Graph

256 Commits

Author SHA1 Message Date
LmeSzinc
312cc6f617 Add: Detect domain exit and go 2023-10-05 03:30:40 +08:00
LmeSzinc
0dbdd27f9b Add: Simple rogue event handler 2023-10-04 11:06:28 +08:00
LmeSzinc
9b6b9edde8 Merge branch 'master' into dev 2023-10-04 02:26:10 +08:00
Zebartin
77fb8f9026 Fix: Check DungeonDouble before combat 2023-10-03 20:06:44 +08:00
LmeSzinc
d1abb19982 Add: is_map_loading() 2023-10-03 06:03:53 +08:00
Zebartin
f01d2a5648 Fix: OCR of double event 2023-10-02 12:28:51 +08:00
LmeSzinc
fdcd2feb47 Add: Handle rogue reward 2023-10-01 16:24:00 +08:00
LmeSzinc
826d92e40e Add: page_rogue 2023-09-29 18:28:23 +08:00
Zebartin
f791265a4b Fix: Ensure exiting assignment report 2023-09-28 17:35:25 +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
Zebartin
cb1dac5955 Fix: ASSIGNMENT_STARTED_CHECK 2023-09-27 13:53:15 +08:00
LmeSzinc
96b6bdadf0 Add: Task Echo of War 2023-09-27 03:14:12 +08:00
Zebartin
818b196e45 Fix: Remove unused OCR asset 2023-09-26 23:01:13 +08:00
Zebartin
a6a6b70c87 Fix: Use match instead of ocr for assignment group 2023-09-26 22:35:55 +08:00
Zebartin
aad72ea533 Fix: EMPTY_SLOT search & undispatched if event 2023-09-26 21:08:17 +08:00
Zebartin
17fc2979ea Fix: Remove ambiguous REPORT and LOCKED 2023-09-26 19:44:06 +08:00
Zebartin
81d785852d Add: Support for event assignments 2023-09-26 15:12:12 +08:00
Zebartin
b92ae0a143 Fix: Use ocr to check assignment groups instead 2023-09-26 15:12:12 +08:00
LmeSzinc
05072925d5 Fix: Start running at Himeko trial (#107) 2023-09-25 12:23:59 +08:00
LmeSzinc
6e00043526 Fix: Handle starting from trial and rogue 2023-09-24 17:43:43 +08:00
LmeSzinc
7a8f9f129e Add: Task to update dashboard 2023-09-24 17:06:41 +08:00
LmeSzinc
6eb9317ac4 Add: Use skills in combat 2023-09-24 04:20:45 +08:00
LmeSzinc
1dcaf5355d Add: UI switching to Himeko trial 2023-09-24 04:20:45 +08:00
LmeSzinc
2c35abc3f6 Refactor: Faster switch to forgotten hall 2023-09-23 01:30:36 +08:00
LmeSzinc
85fbaae4ac Refactor: forgotten_hall.team as standalone file 2023-09-22 23:06:57 +08:00
LmeSzinc
920537a3de Del: Replace EXIT_CONFIRM with enlarged POPUP_*.SEARCH 2023-09-22 22:02:46 +08:00
LmeSzinc
478f187295 Del: Replace EXIT_DUNGEON with MAP_EXIT 2023-09-22 21:43:06 +08:00
LmeSzinc
d3239ac3e5 Fix: Consider abyssal map as page_main 2023-09-22 12:35:38 +08:00
LmeSzinc
ca2d7b4fb5 Opt: Remove "+200Activity" and "Progress0/1" in daily quest OCR 2023-09-20 13:35:27 +08:00
LmeSzinc
0279a8dc4d Fix: Get SimUni points at double event 2023-09-17 09:34:17 +08:00
LmeSzinc
d0cba894e0 Upd: Language irrelevant assets for base/popup 2023-09-17 05:00:16 +08:00
LmeSzinc
b4fb7256b0 Upd: Language irravalent assets for assignment/claim 2023-09-16 01:08:26 +08:00
LmeSzinc
37e29838c5 Refactor: Get in-game language from plane name 2023-09-15 13:29:22 +08:00
LmeSzinc
b29e95c1ea Fix: Handle slow game startup and game died during startup (#61) 2023-09-13 01:37:06 +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
3ac9e264e6 Fix: OCR_ASSIGNMENT_LIMIT 2023-09-03 00:29:01 +08:00
Hengyu
8ef055626a Add: obtain item popup method 2023-08-31 15:54:52 +08:00
Hengyu
26eba79c3c Upd: CHECK_BLESSING & PAGE_CHOOSE_BUFF 2023-08-31 15:30:48 +08:00
Zebartin
c9111273b8 Fix: Change of assignment ui in ver 1.3 2023-08-31 14:42:33 +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
6c6296651f Upd: DUNGEON_COMBAT_INTERACT 2023-08-30 19:24:15 +08:00
LmeSzinc
65527f8100 Upd: Dungeon ui assets 2023-08-30 19:11:21 +08:00
X-Zero-L
7df2c76dbe
Upd: ui assets (#74)
* Upd: ui assets

* Upd: ui assets

* Fix bug

* Upd: assignment assets
2023-08-30 18:55:39 +08:00
LmeSzinc
246c039dc8 Add: Assigment and Sim.Uni. in dashboard 2023-08-30 00:49:46 +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
Hengyu
97ff1c8554 Add: unrecorded preset option 2023-08-23 03:00:45 +08:00
Hengyu
8c0ea40c76 Fix: adjust blessing ocr area 2023-08-23 01:59:22 +08:00
LmeSzinc
bc9642772f Add: Dungeon at double relic event 2023-08-21 01:14:40 +08:00
Hengyu
415694ec37 Upd: blessing ocr template 2023-08-21 00:09:21 +08:00
Hengyu
9228b200a5 Upd: assets and Ocr to fit in English ui 2023-08-20 23:53:25 +08:00
Hengyu
19497ebb6a Add: event page 2023-08-18 12:07:02 +08:00
Hengyu
5a06402d43 Upd: use combination instead of inheritance in RogueSelector 2023-08-15 04:16:21 +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
039eca2de9 Add: choose curio 2023-08-12 15:15:25 +08:00
Hengyu
14bf3c81b4 Fix: miss judge choose blessing page sometimes;
Add wait until blessing stable function;
2023-08-11 17:37:55 +08:00
Hengyu
958ffb6dbf Upd: count blessing number before recognition 2023-08-11 01:16:25 +08:00
Hengyu
17debdfb5e Add: rogue buff selector 2023-08-10 17:46:18 +08:00
LmeSzinc
bfae03bc19 Add: Set map rotation 2023-08-06 22:19:10 +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
3a372146de Fix: Handle default state of SALVAGE button 2023-07-24 23:53:59 +08:00
LmeSzinc
3f0bdb6aa3 Fix: Handle missing EFFECT_NOTIFICATION when entering forgotten hall 2023-07-24 23:37:22 +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
LmeSzinc
0bd94ebecc Upd: ENTRANCE_CHECKED in forgotten hall 2023-07-20 15:33:59 +08:00
Hengyu
2ffc19f45b Upd: DUNGEON_ENTER_CHECKED.png 2023-07-20 13:43:34 +08:00
LmeSzinc
4440523d67 Fix: Handle USER_AGREEMENT_ACCEPT at login 2023-07-19 13:34:46 +08:00
LmeSzinc
54cd0f7c90 Opt: Faster relic salvage 2023-07-15 01:26:00 +08:00
Hengyu
211314aaa1
Add: salvage relic (#40)
* Add: ItemUI

* Add: Salvage relic

* Upd: reuse CONFIRM_POPUP

* Add: wait_until_tab_loaded

* Add: wait_until_tab_loaded

* Fix: Return to item page when finish salvaging

* Add: Salvage relics to daily quest

* Fix typo

* Add: all item tabs' navigation

* Upd: remove unused asset

* Upd: remove item tab keywords' underscore
2023-07-14 12:35:56 +08:00
LmeSzinc
d9f9b43b6f Add: Dungeon at double calyx event 2023-07-10 23:45:33 +08:00
Zebartin
cfdb09f7c3 Opt: delay battle pass to next version if possible 2023-07-09 17:29:38 +08:00
Hengyu
e9a02da75b
Add: Use techniques (#36)
* Add: Use techniques

* Add: Use technique to daily quests task

* Upd: change to use control module

* Upd: handle dungeon popup

* Upd: Make UseTechniqueUI extends from MapControlJoystick & ForgottenUI

* Upd: move _enter_forgotten_hall_dungeon() to ForgottenHallUI; extract choose first character method
2023-07-06 00:15:16 +08:00
LmeSzinc
32f83acafb Add: Switching plane floors 2023-07-02 19:43:40 +08:00
LmeSzinc
53d6bd818f Add: Plane switchings in page_map 2023-07-02 15:33:30 +08:00
LmeSzinc
cb7386374d Add: UI swiches to page_map 2023-07-02 00:02:01 +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
2ae3dac16d Add: Map buttons and technique points 2023-06-28 02:27:19 +08:00
LmeSzinc
d18d318c9e Add: Enter Cavern of Corrosion 2023-06-27 23:52:53 +08:00
LmeSzinc
d1307fdb65 Upd: Handle double reward banner of simulated universe 2023-06-26 19:30:58 +08:00
LmeSzinc
a27c6015b8
Merge pull request #23 from Zebartin/assignment
Assignment
2023-06-26 18:32:51 +08:00
Driver-C
ab7351ab2c
Add: Daily synthesize material (#27) 2023-06-23 22:31:00 +08:00
Hengyu
e1954801db
Opt: not go to rewards page if battle pass level is not upgraded (#25) 2023-06-23 09:40:42 +08:00
Zebartin
e5c57dc9b0 Fix: Character selecting in assignment
- https://github.com/LmeSzinc/StarRailCopilot/pull/23#discussion_r1235537186
- https://github.com/LmeSzinc/StarRailCopilot/pull/23#discussion_r1235549827
2023-06-22 13:51:50 +08:00
LmeSzinc
812088d522
Merge pull request #22 from Driver-C/update/synthesize_optimization
Upd: synthesize optimization
2023-06-21 01:07:16 +08:00
Zebartin
346e7a1578 Add: Task assignment 2023-06-20 21:30:47 +08:00
Driver-C
962ac2d947 Upd: Standardize image path 2023-06-19 23:41:59 +08:00
Driver-C
f160949d15 Upd: synthesize consumables optimization 2023-06-19 23:12:36 +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
Driver-C
9b05002be6
Add: Daily task 'Consumable usage' (#14) 2023-06-19 17:55:46 +08:00
Driver-C
4512aeffa7
Upd: Standardize the directory structure related to the synthesis of consumables (#15) 2023-06-17 22:39:43 +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
173485b2f7 Add: Prepare combat team 2023-06-16 22:31:53 +08:00
LmeSzinc
cec7d1886c Add: Set combat waves 2023-06-15 22:12:47 +08:00
LmeSzinc
c793a6ad3d Opt: Faster camera module 2023-06-15 01:26:28 +08:00
LmeSzinc
71b02ae767 Add: Goto dungeon from page_guide 2023-06-15 00:15:14 +08:00
LmeSzinc
765eeb5472 Add: Check combat auto and 2X speed 2023-06-13 11:36:54 +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
Hengyu
77c0e5044c Fix: take picture method 2023-06-08 13:24:51 +08:00
Driver-C
880b254d89 Fix: Resolve the issue of image changes for GET_REWARD 2023-06-08 12:46:26 +08:00
Hengyu
27c08df0ca
Add: take picture method (#1)
* Add: take picture method

* Upd: CAMERA_CHECK & TAKE_PICTURE template

* Upt: use OCR to detect whether picture was taken

* Upd: move camera to daily; use match template instead of OCR

* Upd: break process into two loops;
2023-05-29 23:08:22 +08:00
LmeSzinc
02b9c96e7b Add: Switching dungeon tabs 2023-05-23 01:00:20 +08:00
LmeSzinc
2fbb3c6d0d Fix: Handle monthly card popups 2023-05-21 09:38:41 +08:00
LmeSzinc
82d013ed59 Add: UI switches and login 2023-05-18 00:44:43 +08:00