Commit Graph

560 Commits

Author SHA1 Message Date
LmeSzinc
59ea801b21 Fix: Retry if no characters detected 2023-12-11 11:04:58 +08:00
LmeSzinc
5c5181f1d2 Opt: Faster _change_confirm_path() 2023-12-11 02:16:27 +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
1b07529659 Fix: Occurrence_Luofu_ArtisanshipCommission_F1_X169Y491 2023-12-10 02:15:32 +08:00
LmeSzinc
77ff458499 Fix: Routes in Herta_SupplyZone_F2 2023-12-10 00:44:28 +08:00
LmeSzinc
61a941feea Fix: Schedule dungeon behind rogue if immersifiers are full 2023-12-09 22:41:00 +08:00
LmeSzinc
3f7f0d019e Fix: OCR lang in item amount 2023-12-09 21:58:14 +08:00
LmeSzinc
304c122d80 Dev: Add Rogue image tracking 2023-12-09 21:39:37 +08:00
LmeSzinc
7d09a4c5cf Fix: Call daily support if stamina is prioritized for rogue 2023-12-09 17:45:54 +08:00
LmeSzinc
bc6624ef05 Add: Store immersifiers 2023-12-09 01:32:33 +08:00
LmeSzinc
1da5246a5f Fix: Wait until page_rogue_main fully loaded 2023-12-08 23:35:18 +08:00
LmeSzinc
f05e965aac Opt: Faster goto_rogue() 2023-12-08 23:07:28 +08:00
LmeSzinc
6acd64a1f4 Fix: Lang check failed due to popup 2023-12-08 22:52:28 +08:00
LmeSzinc
fcb81bde46 Add: Prioritize stamina for rogue 2023-12-08 22:52:28 +08:00
LmeSzinc
e398c79687 Opt: Re-arrange rogue settings 2023-12-07 00:45:20 +08:00
LmeSzinc
5ebfdf1976 Add: Do rogue dailies 2023-12-06 17:50:59 +08:00
LmeSzinc
5efb2a8cb4 Opt: Show failed route at last 2023-12-06 16:55:59 +08:00
Yinhr
3c835cc343 Upd: choose the closet road 2023-11-29 16:28:34 +08:00
Yinhr
93400b525e Upd: click left/right to wrong path 2023-11-29 16:28:33 +08:00
LmeSzinc
ff48ba74dd Fix: Extend unexpected confirm to wait combat interact retries 2023-11-29 03:43:28 +08:00
LmeSzinc
8575ec4aeb Opt: Show failed route at last 2023-11-29 03:43:28 +08:00
LmeSzinc
d98e8ba94f Fix: ui_select may click at a None button 2023-11-29 03:43:28 +08:00
LmeSzinc
e4377655ae Upd: Rogue routes 2023-11-29 03:43:28 +08:00
LmeSzinc
5db9d6897e Merge branch 'master' into dev 2023-11-28 09:11:06 +08:00
LmeSzinc
678a26584a Fix: Limit COMBAT_PAUSE offset or will cause combat state detection error 2023-11-28 08:55:17 +08:00
LmeSzinc
31ae87d05f Fix: Check team prepare button also 2023-11-28 08:50:12 +08:00
LmeSzinc
b9571ddba2 Fix: Retry if first character is not detected 2023-11-26 22:19:11 +08:00
LmeSzinc
fb80418348 Merge branch 'master' into dev 2023-11-24 02:53:29 +08:00
LmeSzinc
76ce531782 Upd: Map planes in 1.5 (#205) 2023-11-24 02:31:27 +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
37575e6129 Opt: Update screenshot before finding routes 2023-11-21 11:50:26 +08:00
LmeSzinc
e3eae4847a Opt: Clear items at waypoints also 2023-11-21 11:49:59 +08:00
LmeSzinc
adfbb4a02b Fix: Don't write invalid rogue points 2023-11-20 12:53:52 +08:00
LmeSzinc
80274ae4c9 Merge remote-tracking branch 'origin/bug_fix' into dev 2023-11-20 02:09:17 +08:00
LmeSzinc
0c5a1e1f42 Fix: Lower item threshold to 10 2023-11-20 01:48:30 +08:00
LmeSzinc
4ef3dd26e2 Fix: Wait if team not prepared
as game client saves team characters now
2023-11-20 01:46:31 +08:00
LmeSzinc
b8e97bb26e Upd: Rogue routes 2023-11-19 23:05:43 +08:00
aaahai00
cbc5d4d786
Update support.py (#200)
对改问题的修复https://github.com/LmeSzinc/StarRailCopilot/issues/195
2023-11-19 19:04:11 +08:00
LmeSzinc
ff7e9e7e78 Opt: Allow starting from is_page_rogue_main
so user can have their team prepared manually
2023-11-18 03:55:53 +08:00
LmeSzinc
7219a7d7bd Fix: Handle blessings at domain exit 2023-11-18 03:54:56 +08:00
LmeSzinc
bc6dd16bbf Fix: Limit joystick contact to lower bound 2023-11-18 03:54:33 +08:00
LmeSzinc
ec3ca73972 Upd: Rogue routes 2023-11-18 03:53:58 +08:00
LmeSzinc
bace33056c Fix: expected_end of enroute waypoints should be empty 2023-11-18 00:12:52 +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
LmeSzinc
74cf112cbc Fix: Entered _claim_rewards() but no rewards to claim 2023-11-17 21:54:35 +08:00
LmeSzinc
9cdfec81e8 Fix: Blessing card does not appear to be selected but actually being selected 2023-11-17 21:51:12 +08:00
LmeSzinc
0702f72104 Upd: v1.5 rogue events 2023-11-17 19:14:18 +08:00
LmeSzinc
eefc68f876 Upd: Rogue routes 2023-11-17 19:14:18 +08:00
Zebartin
10e4f49d90 Fix: OCR_LEVEL in BattlePass 2023-11-17 19:03:34 +08:00
LmeSzinc
914da3715f Upd: Update rogue routes 2023-11-16 22:21:04 +08:00
LmeSzinc
ece55f2070 Fix: Blessing card does not appear to be selected but actually being selected 2023-11-16 21:50:56 +08:00
LmeSzinc
461f3884d2 Add: Clear enroute items without recording them 2023-11-16 20:33:07 +08:00
LmeSzinc
6714c2028a Fix: Clear items in respite zone 2023-11-16 18:54:18 +08:00
LmeSzinc
2f0626c0a0 Merge branch 'master' into dev 2023-11-16 13:39:06 +08:00
LmeSzinc
240366588e Fix: Detect smaller item aiming icons 2023-11-16 13:36:32 +08:00
LmeSzinc
e6b0f8a92a Fix: Skip non-draggable event options 2023-11-16 13:34:43 +08:00
X-Zero-L
9cccd0d159
Upd: Character and i18n (#192)
Co-authored-by: LmeSzinc <lmeszincsales@gmail.com>
2023-11-16 13:26:08 +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
cfa04be41d Upd: Update domain exit 2023-11-15 01:49:28 +08:00
LmeSzinc
d43bc6ffad Opt: Shorten unexpected timer as items are randomly generated 2023-11-15 01:07:53 +08:00
LmeSzinc
6dee0dd378 Fix: Match special route Occurrence_Herta_StorageZone_F2_X363Y166 2023-11-15 01:07:53 +08:00
LmeSzinc
2591a3aee0 Refactor: Auto-switch between domain exit implements 2023-11-15 01:07:53 +08:00
LmeSzinc
84474794f0 Fix: Remove secondary peaks in position results 2023-11-14 02:26:12 +08:00
LmeSzinc
ed9e48a97a Fix: Image didn't update in dungeon_update_stamina() loops 2023-11-14 02:26:12 +08:00
LmeSzinc
1a2310ca9e Refactor: Record both doors of each rogue domain 2023-11-14 02:26:12 +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
6bdc272563 Fix: Handle reward on complex background 2023-11-07 13:56:50 +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
57196a6a47 Fix: dungeon_update_stamina() never retries 2023-11-07 13:53:20 +08:00
LmeSzinc
02fab99431 Fix: subtract_blur images are never used 2023-11-07 13:36:45 +08:00
LmeSzinc
e1468db85d Fix: Handle reward on complex background 2023-11-07 13:36:40 +08:00
LmeSzinc
7930672434 Fix: Each button frame should have its own search attribute 2023-11-07 13:31:12 +08:00
LmeSzinc
68bd5c1e25 Fix: Update immersififer at LEVEL_CONFIRM 2023-11-06 13:19:49 +08:00
LmeSzinc
fee3b52f6b Merge branch 'master' into dev 2023-11-05 22:59:32 +08:00
LmeSzinc
4cc72ec56a Fix: Mis-set Jarilo_OldWeaponTestingGround.floors 2023-11-05 22:56:22 +08:00
LmeSzinc
42a237630f Upd: Map planes in 1.4 2023-11-05 22:35:46 +08:00
LmeSzinc
a92bed7597 Fix: Double event is run twice because record is never updated after the first 2023-11-05 22:30:17 +08:00
LmeSzinc
145a2862b8 Fix: Search for double remains 2023-11-03 21:13:26 +08:00
LmeSzinc
9d282b23b7 Fix: Handle Herta drop in rogue rewards 2023-11-03 21:13:26 +08:00
LmeSzinc
4e779f5dda Fix: Search for double remains 2023-11-03 15:32:52 +08:00
LmeSzinc
3e530033fa Add: Allow entering rogue from map interact 2023-11-03 01:56:23 +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
881389efce Fix: Handle light cone drop from Echo of War (#171) 2023-11-02 11:59:05 +08:00
LmeSzinc
1af6779c13 Opt: Reduce image copy in minimap detection 2023-11-02 04:27:03 +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
1d14c7cb72 Fix: Retry detection on world 0 2023-11-02 01:42:46 +08:00
LmeSzinc
1b0bb2bce1 Fix: Continue rogue if still have immersifiers left 2023-11-02 01:42:46 +08:00
LmeSzinc
e4f34919d2 Opt: Support starting rogue from path page 2023-11-02 01:42:46 +08:00
LmeSzinc
28a0d57950 Fix: Handle curio obtained from occurrence 2023-10-31 01:33:11 +08:00
LmeSzinc
103f3b6fbe Merge branch 'master' into dev 2023-10-30 02:40:36 +08:00
LmeSzinc
913de2771b Fix: Handle login popups as unknown ui 2023-10-30 02:30:47 +08:00
LmeSzinc
25e7b1876c Add: is_map_loading() 2023-10-30 02:21:28 +08:00
LmeSzinc
e2b3e0ac27 Fix: Click interval on path entry 2023-10-29 22:47:48 +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
d11cf1d695 Fix: Re-entered domain reward if stamina is confirmed exhausted 2023-10-24 00:27:06 +08:00
LmeSzinc
71d63fe379 Fix: Always up contact no matter it was downed or not 2023-10-24 00:24:22 +08:00
LmeSzinc
c3a3f43b55 Upd: Rogue routes 2023-10-24 00:22:28 +08:00
LmeSzinc
7a14d819cd Add: Decorators to lock rotation 2023-10-24 00:11:33 +08:00
LmeSzinc
e1903f0ed4 Fix: Failed to receive weekly reward if immersifier is full 2023-10-23 22:36:40 +08:00
LmeSzinc
15c78c5b3a Fix: Typo in immersifier value check 2023-10-23 02:43:47 +08:00
LmeSzinc
a6546fdc5f Fix: Handle blessing during rogue walk 2023-10-23 02:33:25 +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
Zebartin
9b853db955
Fix: Redispatch directly if possible (#169) 2023-10-22 22:15:09 +08:00
LmeSzinc
4d464aad75 Add: Schedule task rogue 2023-10-21 02:25:18 +08:00
LmeSzinc
ad3d90239e Fix: _rogue_world_enter() enters an unfinished rogue 2023-10-21 02:09:41 +08:00
LmeSzinc
c0e255e4cc Fix: BLESSING_LOST.2, lost 2 blessings 2023-10-21 02:09:13 +08:00
LmeSzinc
f979955050 Fix: [CN] Domain name and blessings 2023-10-21 02:06:23 +08:00
LmeSzinc
915cd05f42 Fix: Always have a random at the end of filter 2023-10-21 01:36:17 +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
2fcc0c76ef Fix: Confirm discarding blessings 2023-10-19 10:06:31 +08:00
LmeSzinc
c004af5346 Add: Rogue stop condition: weekly_point_reward 2023-10-19 02:14:29 +08:00
LmeSzinc
f658f584b5 Add: Rogue routes 2023-10-19 01:21:20 +08:00
LmeSzinc
cfd8c1d4f1 Add: Add rogue task to scheduler and prefer occurrence 2023-10-19 01:04:30 +08:00
Zebartin
24e6f9f871
Opt: Clean rogue event options (#168) 2023-10-19 00:23:34 +08:00
LmeSzinc
0951ba6e9e Add: Check if team prepared 2023-10-19 00:07:17 +08:00
LmeSzinc
ce09d1ff22 Add: Rogue settings 2023-10-18 23:41:49 +08:00
LmeSzinc
8750704a4d Fix: Retry predict_door_by_name() to handle random OCR errors 2023-10-18 21:51:51 +08:00
LmeSzinc
c4f19cf41a Fix: interval_is_reached() and interval_reset() should have the same interval 2023-10-18 21:43:26 +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
c3a1a5720e Add: Rogue routes 2023-10-18 21:00:02 +08:00
LmeSzinc
c2dcadb87a Fix: Predict rogue routes with retry 2023-10-18 13:53:35 +08:00
LmeSzinc
416e09dedc Opt: Faster path entry retries 2023-10-18 12:06:12 +08:00
LmeSzinc
f7f61549c1 Refactor: Abstract BACK and CLOSE handlers 2023-10-18 12:00:48 +08:00
LmeSzinc
9f77cb1f32 Fix: Option ID in OcrRogueEventOption 2023-10-18 11:57:00 +08:00
LmeSzinc
41ec0c1fcd Refactor: Move to tasks/rogue/entry 2023-10-18 02:30:15 +08:00
LmeSzinc
2585889502 Upd: Rogue events 2023-10-17 19:02:02 +08:00
LmeSzinc
084ada106f Merge branch 'master' into dev
# Conflicts:
#	dev_tools/keyword_extract.py
2023-10-17 19:01:09 +08:00
LmeSzinc
848a9e2499 Fix: [CN] OCR error on Stagnant_Shadow_Scorch (#165) 2023-10-17 12:45:12 +08:00
LmeSzinc
d3bf9a808c Fix: [CN] OCR error on Stagnant_Shadow_Scorch 2023-10-16 19:13:13 +08:00
LmeSzinc
fca21d88c1 Fix: Retry insight Stage_1 (#156) 2023-10-16 19:05:41 +08:00
LmeSzinc
a720a70f66 Opt: Reduce dunplcate clicks at CAN_GET_REWARD 2023-10-16 18:40:49 +08:00
LmeSzinc
8f1813733a Upd: [EN] PROFILE in freebies 2023-10-16 12:36:33 +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
0c328f1ebd Add: Rogue routes 2023-10-15 17:43:32 +08:00
LmeSzinc
c625fba13c Fix: Handle blessings after getting a curio 2023-10-15 17:18:56 +08:00
LmeSzinc
f7b6763b8b Fix: end_point may be considered as arrived
use a fake waypoint instead
2023-10-15 04:26:47 +08:00
LmeSzinc
68fda96809 Fix: Wrong rotation is never corrected if allow_rotation_set turns False 2023-10-15 04:25:07 +08:00
LmeSzinc
4491924dcd Fix: Wait appear animation to prevent double click 2023-10-15 04:23:50 +08:00
LmeSzinc
d22efbdf53 Add: Select rogue path (#145) 2023-10-15 04:21:10 +08:00
LmeSzinc
18c2027e8f Fix: Handle blessings after getting a curio 2023-10-15 04:18:04 +08:00
LmeSzinc
9ec0f9ded0 Merge branch 'bug_fix' into dev 2023-10-15 02:51:51 +08:00