Commit Graph

901 Commits

Author SHA1 Message Date
LmeSzinc
f241b4315c Fix: wait_selected() has no return 2024-06-19 22:55:09 +08:00
LmeSzinc
9fdd5956af Fix: Missing items in the last row wasn't filled 2024-06-19 22:20:40 +08:00
LmeSzinc
447cacfbad Upd: A larger ROGUE_CHECK 2024-06-19 21:54:58 +08:00
Zero
1e1ad5dda8
Fix keyword_extract and i18n (#530)
* Fix keyword_extract and i18n

* Fix: config redirection

* Upd: i18n

* Fix: empty name warning in GenerateKeyword class

* Fix: config redirection
2024-06-19 21:49:12 +08:00
LmeSzinc
e94895eb6a Upd: Cloud game queueing hierarchy 2024-06-19 13:45:01 +08:00
LmeSzinc
7293ad467a Fix: Clear click record after synthesize_rarity_reset()
cause too many similar clicks when selecting items
2024-06-19 12:44:00 +08:00
LmeSzinc
5521ff9e67 Upd: Enlarge search area of dungeon tabs 2024-06-19 12:36:28 +08:00
LmeSzinc
7ec2523688 Fix: Handle popup in synthesize_rarity_set() 2024-06-19 12:28:53 +08:00
LmeSzinc
1f06e7a32a Fix: Missing inv on synthesize_rarity_resin call 2024-06-18 19:57:19 +08:00
LmeSzinc
02c8e475a6 Fix: Amount slider on light background 2024-06-18 19:10:33 +08:00
LmeSzinc
2441e66f91 Fix: Item changed after getting obtained amount for unknown reason 2024-06-18 19:10:07 +08:00
LmeSzinc
e60f4c2e5a Fix: Retry synthesize_rarity_reset() if inv.wait_selected() failed 2024-06-18 16:53:19 +08:00
LmeSzinc
6be818dfd6 Opt: Remove eta of weekly items since it's meaningless 2024-06-18 12:41:52 +08:00
LmeSzinc
2ac396b18b Opt: Skip saving if rows are the same to reduce logs 2024-06-18 12:35:39 +08:00
LmeSzinc
5a7097fc9d Opt: Reuse cached planner 2024-06-18 03:04:32 +08:00
LmeSzinc
68c918b221 Fix: synthesize_confirm() ends with SYNTHESIZE_INSUFFICIENT 2024-06-18 02:51:11 +08:00
LmeSzinc
a7bebab04d Fix: Sync credits between dashboard and planner 2024-06-18 02:51:11 +08:00
LmeSzinc
b7df51c0e8 Fix: mid_cleanse() on one row of results (#522) 2024-06-18 00:26:30 +08:00
LmeSzinc
c94176fbd2 Opt: Clear interval before and after synthesize_confirm() 2024-06-17 23:53:10 +08:00
LmeSzinc
b503443816 Fix: Set is_doing_planner in weekly 2024-06-17 22:40:27 +08:00
LmeSzinc
68842a187c Opt: Align assignment to server update
so save time on cloud
2024-06-17 22:14:33 +08:00
LmeSzinc
4f214ee7a2 Fix: CloudRemain was never wrote into config 2024-06-17 02:29:39 +08:00
Yinhr
62de353ced
Fix: Move 0 validator & limit need_synthesize (#518)
* Fix: move 0 validator from val_value to from_config

* Fix: need_synthesize limit to calyx & trace

* Fix: change order in from_config

* Fix: change exception to log

* Fix: delete InvalidPlannerRow
2024-06-15 12:43:44 +08:00
LmeSzinc
55ddf7fb4d Fix: Limit button of side tabs to avoid clicking on the cloud game float 2024-06-15 02:06:24 +08:00
LmeSzinc
e75a9a90a8 Fix: Weekly items are calculated in PlannerOverall 2024-06-15 01:52:50 +08:00
LmeSzinc
b63bf68621 Add: Synthesize material when it's full 2024-06-15 01:26:52 +08:00
LmeSzinc
0e8ad0db74 Fix: Drop planner rows with a total of 0 2024-06-15 01:04:59 +08:00
LmeSzinc
ecc633df89 Opt: Delay weekly to next monday to save time
optimised for running once a day
2024-06-15 00:31:14 +08:00
LmeSzinc
3a22813ad5 Opt: Stop at RogueTeamNotPrepared so users can be informed 2024-06-15 00:31:13 +08:00
LmeSzinc
2b5ade4c6c Fix: Mask slider controller when calculating slider length 2024-06-15 00:00:28 +08:00
LmeSzinc
a94d0144ea Fix: Don't relay on validator when creating StoredPlannerProxy objects 2024-06-14 21:51:19 +08:00
LmeSzinc
e46c7bb174 Fix: Switch item tab before data update 2024-06-14 04:29:27 +08:00
LmeSzinc
0707c269d1 Fix: Handle ZeroDivisionError when calculating progress 2024-06-14 02:01:23 +08:00
LmeSzinc
50303fe6ab Fix: Allow a total of 6 double calyx 2024-06-13 23:01:22 +08:00
LmeSzinc
c8b0be6b46 Fix: [EN] Enlarge ITEM_NAME to detect letter g 2024-06-13 01:55:40 +08:00
LmeSzinc
1003e08f52 Fix: Update again after synthesize 2024-06-13 01:55:10 +08:00
LmeSzinc
9e30c82446 Add: Synthesize planner items 2024-06-13 01:18:16 +08:00
LmeSzinc
2fd074efae Chore: Add SEARCH attribute to SWITCH_ITEM_TAB to be reused in synthesize 2024-06-13 01:16:17 +08:00
LmeSzinc
46ee9b1524 Opt: Click slider to set waves 2024-06-12 23:16:48 +08:00
LmeSzinc
3783066cd7 Add: synthesize_amount_set() 2024-06-12 23:12:45 +08:00
Schwarze-Katze
1f734b494d
Fix login task stuck when render error (#503)
* modify similarity limit for login task

* Revert modification to similarity and add asset for render error

* Apply luma match for `LOGIN_CONFIRM`

* cancel color match for login confirm
2024-06-12 12:29:51 +08:00
LmeSzinc
365b1744e5 Chore: Treat invalid staring page of planner scan as GamePageUnknownError
so error image can be saved
2024-06-12 11:43:20 +08:00
LmeSzinc
33eedc2c63 Add: Display overall progress of character planner 2024-06-12 03:20:57 +08:00
LmeSzinc
d6d61bb6fc Dev: Fix missing dungeon_id on Credict 2024-06-12 02:43:38 +08:00
LmeSzinc
dd73247a07 Chore: match_template_luma 2024-06-11 22:10:01 +08:00
LmeSzinc
02d8eb978f Fix: Enharge MAY_OBTAIN.SEARCH to fit the level too low notice 2024-06-11 19:25:11 +08:00
LmeSzinc
f02d6ad3af Add: Select item in synthesize list 2024-06-11 02:14:37 +08:00
LmeSzinc
90a6ca003a Fix: CloudRemainSeasonPass.value 2024-06-10 16:58:49 +08:00
LmeSzinc
4138c4d9ca Fix: DUNGEON_COMBAT_INTERACT may slow to response 2024-06-10 16:11:19 +08:00
LmeSzinc
2b9e366468 Fix: Lower pixel count in _wait_until_entry_loaded()
so won't get a timeout on cloud games
2024-06-10 16:05:57 +08:00
LmeSzinc
d59289e919 Fix: Skip obtain check if was not doing for planner (fixed #499) 2024-06-10 16:00:09 +08:00
LmeSzinc
72d8673434 Pref: Reuse image array to improve memory performance 2024-06-05 01:31:26 +08:00
LmeSzinc
004e1f03ee Fix: [CN] Handle ocr error between 未 and 末 2024-06-04 16:13:52 +08:00
LmeSzinc
87023c77e6 Fix: Handle None from _obtain_parse() 2024-06-04 16:00:48 +08:00
LmeSzinc
9fd1d76392 Opt: Disable WeeklyFarming on cloud game 2024-06-03 21:28:03 +08:00
LmeSzinc
ed193e0767 Fix: Invert planner page colors to have better ocr results
on black letters and white background
2024-06-03 13:49:19 +08:00
LmeSzinc
c729421bd2 Fix: Loop in cloud_exit when task queue empty 2024-05-30 22:03:41 +08:00
LmeSzinc
732efa25ed Fix: Wait cloud remain reduce 2024-05-30 21:42:18 +08:00
LmeSzinc
b3b06e4b79 Opt: Store higher rarity first 2024-05-30 21:30:33 +08:00
LmeSzinc
20309919d6 Fix: Obtain wasn't updated if stamina exhausted 2024-05-30 21:23:46 +08:00
LmeSzinc
df46b5d549 Opt: Delay to next server update if approaching it 2024-05-30 21:05:16 +08:00
LmeSzinc
a40b9d69fd Fix: Update obtain_frequent_check before deside again or exit 2024-05-30 21:05:16 +08:00
LmeSzinc
ac7be3e950 Fix: Check page_planner before scanning 2024-05-30 17:33:05 +08:00
LmeSzinc
1578913bbf Fix: Actively exit cloud game instead of killing directly to avoid extra fee 2024-05-30 12:16:25 +08:00
LmeSzinc
c6ff6f3f80 Upd: Add Boothill as ranged character 2024-05-30 10:07:51 +08:00
LmeSzinc
a8fa072aab Fix: Starting from cloud main page 2024-05-28 23:31:47 +08:00
LmeSzinc
5579118ce1 Fix: Starting from planner result page 2024-05-28 23:06:35 +08:00
LmeSzinc
b58aa493d8 Add: Get obtain from synthesize page 2024-05-28 21:18:33 +08:00
LmeSzinc
6114dcf062 Fix: Planner wasn't used under double rogue and support quest 2024-05-28 04:12:36 +08:00
LmeSzinc
bad6a5f9bc Add: Predict is_approaching_total with combat_wave_done 2024-05-28 04:08:06 +08:00
LmeSzinc
ca18869f2f Fix: Get obtain with Trailblaze_EXP drops 2024-05-28 00:51:16 +08:00
LmeSzinc
1daf645da5 Fix: Allow a total of 6 double calyx 2024-05-27 23:32:11 +08:00
LmeSzinc
57a9519dc2 Fix: Handle random ocr error on data update 2024-05-27 23:17:15 +08:00
LmeSzinc
8f1707a5c7 Add: Planning daily quests to do normal quests less often 2024-05-27 23:09:46 +08:00
LmeSzinc
6c8b28312c Fix: Handle character switch popup during rogue tp 2024-05-27 22:03:49 +08:00
LmeSzinc
0da3a9f328 Del: Delete DungeonDaily group since dailies require dungeons less often 2024-05-27 15:35:44 +08:00
LmeSzinc
8cd2b90346 Add: Do weekly for planner 2024-05-27 03:03:11 +08:00
LmeSzinc
783658be0b Fix: Do double rogue first 2024-05-26 23:05:18 +08:00
LmeSzinc
12ffb8348b Merge branch 'master' into dev 2024-05-24 00:57:05 +08:00
LmeSzinc
5a55a5917b Fix: combat_wave_cost was reset in combat again 2024-05-22 19:19:58 +08:00
Zebartin
8b00515fb8 Upd: [EN] EVENT_COMPLETED 2024-05-21 19:02:45 +08:00
Zebartin
d34120358a Fix: Clear content of ASSIGNMENT_ENTRY_LIST if needed 2024-05-21 18:48:12 +08:00
LmeSzinc
6682f0c158 Merge branch 'master' into dev 2024-05-21 12:36:54 +08:00
LmeSzinc
4ef59d05fa Dev: Sync dungeon_id of the basic item to all calyx items 2024-05-21 12:36:46 +08:00
LmeSzinc
3f291925fa Fix: OBTAIN_* should be moved together 2024-05-21 12:35:45 +08:00
Zebartin
bff1da7899 Fix: ASSIGNMENT_STARTED_CHECK.2 2024-05-21 10:35:15 +08:00
Zebartin
6f1333273e Opt: Insight in assignment _check_event 2024-05-21 10:29:14 +08:00
LmeSzinc
cf31bd93af Add: is_approaching_total(), no use yet 2024-05-21 04:44:42 +08:00
LmeSzinc
8ed52d74bc Merge branch 'master' into dev 2024-05-21 02:34:31 +08:00
LmeSzinc
28af865d75 Opt: Skip first load_rows() if tab switched 2024-05-21 02:31:27 +08:00
LmeSzinc
83333a8a63 Fix: Check the last appear area of assignment started popup 2024-05-21 02:30:46 +08:00
LmeSzinc
408971892c Merge branch 'master' into dev 2024-05-21 00:46:11 +08:00
Zebartin
c43a0837c4 Fix: Check EVENT_FINISHED
TODO: [EN] Add EVENT_FINISHED
2024-05-21 00:15:11 +08:00
LmeSzinc
de53612530 Fix: Reset combat_wave_cost before every combat 2024-05-20 23:50:27 +08:00
LmeSzinc
80802663be Fix: Leave rogue on error instead of restarting 2024-05-20 23:35:06 +08:00
Zebartin
191f2f177f Fix: Ensure necessary load_rows in goto_group 2024-05-20 23:10:20 +08:00
Zebartin
a1a77f921e Fix: Ensure assignment entry loaded 2024-05-20 18:31:39 +08:00
LmeSzinc
43fddd445c Fix: Handle curio popup after combat, the curio effect 2024-05-20 15:30:21 +08:00
LmeSzinc
687e06b639 Fix: Item wasn't added as walk result if item drops blessing, the curio effect 2024-05-20 15:30:21 +08:00
LmeSzinc
272f803d8c Fix: unexpected_confirm has no effect if arrive waypoint at the every first screenshot 2024-05-20 15:30:21 +08:00
LmeSzinc
3d5258b591 Upd: Add Robin as ranged character 2024-05-20 15:30:21 +08:00
LmeSzinc
edb55c6f64 Fix: Close weekly reward popup in _rogue_theme_set() 2024-05-20 15:30:21 +08:00
Zebartin
8e04b0da52 Fix: Color count for CHARACTER_x_SELECTED 2024-05-20 09:50:01 +08:00
Zebartin
3b6fdbf554 Fix: Wrong insight in _check_event 2024-05-20 09:22:45 +08:00
LmeSzinc
616f072a2b Opt: Ignore obtain_frequent_check if combat will be reentered later 2024-05-20 04:28:38 +08:00
LmeSzinc
8fa0c47a96 Fix: No popup names in SRC
(cherry picked from commit 6e5e529a0e)
2024-05-20 01:51:54 +08:00
Yinhr
384c4302a2
Fix: Obtain position & closed (#464)
* Fix: Obtain position & closed

* Add: find may_obtain to locate obtain_1

* Fix: stupid bug
2024-05-20 01:49:50 +08:00
LmeSzinc
6e5e529a0e Fix: No popup names in SRC 2024-05-20 00:41:34 +08:00
LmeSzinc
2e05ff729c Fix: Import tasks.planner.scan 2024-05-20 00:21:56 +08:00
LmeSzinc
aacf1650fc Merge branch 'master' into dev 2024-05-20 00:20:03 +08:00
LmeSzinc
3146a74d35 Fix: Confirm character switch when entering dungeon 2024-05-20 00:09:07 +08:00
LmeSzinc
a023d49f35 Fix: Remove scroll appear check in support list, no need 2024-05-20 00:08:47 +08:00
Zebartin
ef5db390a5 fix: AssignmentOcr regex 2024-05-19 23:50:37 +08:00
Zebartin
99a6ab2a11 feat: Event assignments (All About Boothill) 2024-05-19 23:50:37 +08:00
LmeSzinc
17c4a13d4f Fix: Patch TextDetector to have a better detection on single digit 2024-05-19 20:41:29 +08:00
LmeSzinc
9795103f4d Add: Planner result scanner on GUI 2024-05-19 19:26:20 +08:00
LmeSzinc
82f4f255ad Fix: Re-enter dungeon to check obtained items instead of leaving 2024-05-19 17:17:30 +08:00
LmeSzinc
b04610e1e8 Fix: Progress should be calculated after synthesize 2024-05-18 02:58:17 +08:00
LmeSzinc
fa85ebe2b6 Fix: Empty planner rows are not preserved in config 2024-05-18 02:47:33 +08:00
LmeSzinc
e8dcd8ac95 Add: Do planner requested dungeon first 2024-05-18 02:35:44 +08:00
LmeSzinc
d854a90c4c Chore: Move dungeon/obtain to combat/obtain
Since obtain info is indeed getting before battle
2024-05-18 02:35:13 +08:00
LmeSzinc
9cd6f488f4 Chore: Remove unavailable items 2024-05-18 00:08:06 +08:00
LmeSzinc
d8ea34757a Add: Write planner results into config 2024-05-18 00:08:06 +08:00
LmeSzinc
117704273f Add: Planner progress in config 2024-05-18 00:07:14 +08:00
LmeSzinc
d92cc3bff2 Merge branch 'bug_fix' into dev 2024-05-15 19:15:08 +08:00
LmeSzinc
da52834bb4 Fix: Special match Jarilo_BackwaterPass_F1_X613Y755 before Occurrence_Luofu_DivinationCommission_F2_X425Y791 2024-05-14 03:09:31 +08:00
LmeSzinc
8885d0e791 Fix: Scroll was never set if only one button is at bottom 2024-05-14 03:09:31 +08:00
LmeSzinc
5f9ec0ed57 Fix: Multiple right doors are classified as left and right doors 2024-05-14 03:09:31 +08:00
LmeSzinc
caf3af9973 Dev: Save tracking image on each waypoint 2024-05-14 03:09:31 +08:00
LmeSzinc
e35ab54ebc Fix: [CN] Handle OCR error on 区域精 2024-05-14 03:09:31 +08:00
LmeSzinc
e0707b8286 Fix: [CN] Handle curio fixed
TODO: [EN] Update CURIO_FIXED
2024-05-14 03:09:31 +08:00
LmeSzinc
b784c17ac0 Fix: Match Combat_Luofu_DivinationCommission_F1_X97Y457 before Combat_Luofu_Cloudford_F1_X283Y865 2024-05-14 03:09:31 +08:00
LmeSzinc
415fa61df9 Fix: Try without preprocess if no doors matched 2024-05-14 03:09:31 +08:00
LmeSzinc
acf72b18d5 Fix: [CN] Handle OCR error on 区域件 2024-05-14 01:37:27 +08:00
LmeSzinc
af603eadf8 Fix: Lower OcrCharacterName.merge_thres_y so DanHeng's long name won't mix with others 2024-05-13 19:24:17 +08:00
LmeSzinc
ab6aabeefa Opt: Search prioritize characters before scrolling 2024-05-13 16:36:29 +08:00
LmeSzinc
ccf357703e Opt: Re-arrange interval for faster combat support switch 2024-05-13 16:33:56 +08:00
LmeSzinc
f45c8a4dd6 Fix: Check selected arrow left to character avatar 2024-05-13 16:00:04 +08:00
LmeSzinc
45a6cb668f Fix: Handle battle pass after combat 2024-05-13 15:48:25 +08:00
LmeSzinc
3566ff0302 Fix: handle_ascension_dungeon_prepare() is called in weekly 2024-05-13 15:08:28 +08:00
LmeSzinc
442eaf195b Fix: Combat should not reenter if stamina exhausted but wave limit set 2024-05-13 15:02:56 +08:00
LmeSzinc
5eabcbe22d Fix: Check COMBAT_AGAIN color prevent clicking before loaded 2024-05-13 14:59:48 +08:00
LmeSzinc
bc82e00df9 Upd: Route copy Jarilo_BackwaterPass_F1_X503Y736 2024-05-13 12:57:49 +08:00
LmeSzinc
ba9f2973d2 Fix: Avoid double clicking COMBAT_TEAM_SUPPORT 2024-05-13 12:40:44 +08:00
LmeSzinc
ee3cb4f5ef Fix: Wait current team shown up 2024-05-13 12:38:55 +08:00
LmeSzinc
3018449c9c Fix: Match binary template on MAIN_GOTO_CHARACTER and MAP_EXIT 2024-05-13 12:36:11 +08:00
LmeSzinc
092b2e60db Upd: Assignment resorted in 2.2 (#453) 2024-05-13 03:04:42 +08:00
LmeSzinc
1288b38b3b Upd: Assignment character assets 2024-05-13 02:32:30 +08:00
LmeSzinc
711242b1f4 Add: Get item amount in COMBAT_PREPARE 2024-05-12 02:40:50 +08:00
LmeSzinc
3ce75fe1ef Merge branch 'bug_fix' into dev 2024-05-12 00:55:51 +08:00