Commit Graph

261 Commits

Author SHA1 Message Date
LmeSzinc
5d6768ba80 Upd: Full template of CLICK_PRESERVATION 2024-01-01 21:47:37 +08:00
LmeSzinc
a24fa14550 Upd: REWARD_RED_DOT 2024-01-01 21:29:22 +08:00
LmeSzinc
23f9cb7d52 Upd: CLICK_ELATION (#252) 2023-12-30 23:22:42 +08:00
LmeSzinc
bf01958a7d Upd: PAGE_CHOOSE_CURIO 2023-12-28 02:56:29 +08:00
LmeSzinc
a6d995b164 Upd: OCR_WEEKLY_POINT 2023-12-28 01:22:40 +08:00
LmeSzinc
281d7490d1
Merge pull request #235 from X-Zero-L/character
Upd: Character
2023-12-28 01:11:33 +08:00
LmeSzinc
5e52459263 Fix: Switch rogue theme 2023-12-28 00:50:31 +08:00
LmeSzinc
4c65635530 Fix: Refactor team select as having 9 teams now 2023-12-27 23:46:28 +08:00
Zero
32acdec15a
Merge branch 'dev' into character 2023-12-27 22:24:37 +08:00
X-Zero-L
c42108f9ae Upd: ocr_world asset 2023-12-27 22:15:49 +08:00
LmeSzinc
6fe3c28fca Fix: Select team characters in forgotten hall 2023-12-27 21:40:38 +08:00
LmeSzinc
696a04e9ac Fix: Teleport to forgotten hall 2023-12-27 21:01:45 +08:00
X-Zero-L
12997ca421 Upd: rogue assets 2023-12-27 19:46:04 +08:00
LmeSzinc
ff60964a0d Add: Dialogue clicker 2023-12-27 00:56:24 +08:00
LmeSzinc
f75818511e Add: TELEPORT_RIGHT for event teleport confirm 2023-12-25 20:33:02 +08:00
Hengyu
8cab5e0626 Fix: change to match template on detecting whether curio is selected 2023-12-22 02:44:38 +08:00
LmeSzinc
986a90c18a
Merge pull request #198 from Yinhaoran1128/dev
Upd: Use DraggableList to rewrite choose rogue path and add propagation in rogue
2023-12-11 01:03:31 +08:00
LmeSzinc
bc6624ef05 Add: Store immersifiers 2023-12-09 01:32:33 +08:00
Yinhr
93400b525e Upd: click left/right to wrong path 2023-11-29 16:28:33 +08:00
LmeSzinc
fb80418348 Merge branch 'master' into dev 2023-11-24 02:53:29 +08:00
Yinhr
3635bbca12
Fix: enter forgottenhall if seats are full (#204)
* Fix: enter forgottenhall if seats are full

* Fix: Delete the test image

* Fix: choose characters in forgotten

* Fix: delete test function
2023-11-23 12:37:46 +08:00
LmeSzinc
b542c2a656 Merge branch 'master' into dev 2023-11-17 22:25:25 +08:00
LmeSzinc
5eba06cd0e Upd: Battle pass loaded checkers 2023-11-17 22:20:02 +08:00
Zebartin
10e4f49d90 Fix: OCR_LEVEL in BattlePass 2023-11-17 19:03:34 +08:00
LmeSzinc
2f0626c0a0 Merge branch 'master' into dev 2023-11-16 13:39:06 +08:00
LmeSzinc
449bbec727 Upd: Characters in forgotten hall team 2023-11-15 19:22:24 +08:00
LmeSzinc
407e874608 Upd: BATTLE_PASS_NOTIFICATION 2023-11-15 18:46:58 +08:00
LmeSzinc
725c78212e Add: Detect trailblazers 2023-11-10 23:35:53 +08:00
LmeSzinc
e3c65ffa46 Add: Switch to ranged characters 2023-11-10 23:08:02 +08:00
LmeSzinc
6b212a1c69 Merge branch 'bug_fix' into dev
# Conflicts:
#	module/base/button.py
#	tasks/base/popup.py
#	tasks/freebies/support_reward.py
2023-11-07 13:55:56 +08:00
LmeSzinc
e1468db85d Fix: Handle reward on complex background 2023-11-07 13:36:40 +08:00
LmeSzinc
145a2862b8 Fix: Search for double remains 2023-11-03 21:13:26 +08:00
LmeSzinc
4e779f5dda Fix: Search for double remains 2023-11-03 15:32:52 +08:00
LmeSzinc
afa94986bc Merge branch 'bug_fix' into dev
# Conflicts:
#	tasks/base/popup.py
#	tasks/base/ui.py
#	tasks/dungeon/state.py
#	tasks/dungeon/ui.py
2023-11-03 01:36:05 +08:00
LmeSzinc
e5c02fd381 Opt: Enter dungeon from map if possible 2023-11-02 18:56:20 +08:00
LmeSzinc
a1a1142651 Refactor: Abstract DungeonState class to be shared in rogue 2023-11-02 04:08:26 +08:00
LmeSzinc
e1a6b8760f Refactor: Abstract DungeonState class to be shared in rogue 2023-11-02 03:56:01 +08:00
LmeSzinc
25e7b1876c Add: is_map_loading() 2023-10-30 02:21:28 +08:00
LmeSzinc
0af1805ddb Merge branch 'master' into dev 2023-10-27 17:00:34 +08:00
Hengyu
1cd3e7fde8 Fix: larger REGULAR_GACHA_CHECK.SEARCH & REGULAR_GACHA_CLICK.SEARCH 2023-10-27 16:48:48 +08:00
LmeSzinc
98fb6ea07b Add: Detect and switch characters 2023-10-23 02:24:46 +08:00
LmeSzinc
f383a041d0 Fix: Blessing obtained and lost 2023-10-23 02:19:54 +08:00
LmeSzinc
c0e255e4cc Fix: BLESSING_LOST.2, lost 2 blessings 2023-10-21 02:09:13 +08:00
LmeSzinc
9a113a7b9b Add: claim immersifier rewards 2023-10-20 21:57:32 +08:00
LmeSzinc
fe39645e59 Refactor: Move assets to tasks/rogue/weekly 2023-10-20 03:03:27 +08:00
LmeSzinc
c004af5346 Add: Rogue stop condition: weekly_point_reward 2023-10-19 02:14:29 +08:00
LmeSzinc
0951ba6e9e Add: Check if team prepared 2023-10-19 00:07:17 +08:00
LmeSzinc
6c9678cf87 Fix: Handle blessing randomized by curio 2023-10-18 21:28:17 +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
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
d22efbdf53 Add: Select rogue path (#145) 2023-10-15 04:21:10 +08:00
LmeSzinc
16b8dc4a1d Add: Claim weekly rogue rewards (#147) 2023-10-15 02:02:06 +08:00
Zebartin
e48eb27fbc Add: Ocr and select rogue event options 2023-10-07 21:55:58 +08:00
LmeSzinc
357c3096c1 Fix: Handle BLESSING_ENHANCED and BLESSING_OBTAINED popups 2023-10-06 17:07:24 +08:00
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