1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-09 18:39:04 +08:00
Commit Graph

407 Commits

Author SHA1 Message Date
LmeSzinc
6f3d46d617 Fix: Rewrite fortress_data 2023-07-21 03:37:54 +08:00
LmeSzinc
27acff08af Fix: Handle GET_ITEMS_1 in perspective errors of OpSi (#2808) 2023-07-02 15:46:48 +08:00
LmeSzinc
18cba1f9d0 Chore: Remove the use of np.int 2023-05-30 10:28:51 +08:00
LmeSzinc
4d79738818 Fix: cost_2 sort is not working when FLEET_2 is empty but having fleet 2 on map (#2643) 2023-05-27 23:57:29 +08:00
LmeSzinc
ac6412d8c9 Fix: Handle MAP_PREPARATION at map detection 2023-05-26 11:58:12 +08:00
LmeSzinc
e420f4ed04 Upd: Magic map swipe multipliers 2023-05-26 03:01:09 +08:00
LmeSzinc
4f761b1e6f Upd: ALAS framework updates 2023-05-16 09:11:46 +08:00
LmeSzinc
d1b1b0ac7d Opt: No map clear percentage waiting in SOS maps 2023-04-15 22:16:40 +08:00
LmeSzinc
06b07ca003 Fix: Handle mysteries in strategy_open() 2023-04-11 23:41:20 +08:00
LmeSzinc
998a57bb09 Fix: Catch game died in camera update 2023-04-04 03:26:41 +08:00
LmeSzinc
4610d9babf Upd: [TW] FLEET_*_ADVICE 2023-03-11 03:56:46 +08:00
LmeSzinc
ac379b0143 Upd: [EN][JP] FLEET_*_ADVICE 2023-03-11 01:58:39 +08:00
LmeSzinc
cb1d4f24d3 Opt: Raise error when user running a hard mode but haven't prepared the fleets 2023-03-10 23:10:19 +08:00
LmeSzinc
ab79961869 Fix: Protect fleet2 in D2 to archive 3 stars 2023-03-10 21:18:53 +08:00
LmeSzinc
d191d16649 Opt: Re-organise CalculateEmotion and IgnoreLowEmotionWarn 2023-02-18 01:19:04 +08:00
LmeSzinc
41ac19345b Refactor: Correct fleet_2 and fleet_boss uses 2023-01-29 14:48:16 +08:00
LmeSzinc
34437c1dcc Fix: Double clicked MAP_PREPARATION_CANCEL 2023-01-11 00:53:16 +08:00
LmeSzinc
0d24106d0e Fix: Missing hunt_and_boss use in Fleet._goto() 2022-12-08 01:27:30 +08:00
LmeSzinc
64720bb336 Upd: [CN][JP] GET_ITEMS_1_RYZA 2022-11-25 03:55:36 +08:00
LmeSzinc
803c3749aa Add: The Alchemist and the Archipelago of Secrets chapter TH 2022-11-25 01:58:05 +08:00
LmeSzinc
3bd6ade8bb Fix: AzurStats updates 2022-10-23 02:16:16 +08:00
LmeSzinc
832e606635 Fix: Handle akashi shop in map detection 2022-09-25 16:45:17 +08:00
LmeSzinc
59e8b0d2bb Opt: Faster map preparation again 2022-08-21 01:56:24 +08:00
LmeSzinc
c4fdf0b6fe Fix: Different drop condition in Camera._map_swipe() and focus_to() (#1518) 2022-08-21 01:47:15 +08:00
LmeSzinc
f3f6d19a1f Add: Event Operation Convergence (event_20220818_cn) 2022-08-18 23:51:30 +08:00
LmeSzinc
94dd262d3e Opt: Faster SelectedGrids.select()
(cherry picked from commit 21a9ed004ca16ba50b6e41e6c0ead3883fd33753)
2022-08-16 00:39:14 +08:00
LmeSzinc
3eed7a0549 Upd: Research patches from azur-stats-server
(cherry picked from commit 2e43a157aa9314bd7e0209bfdf8204ef7c0730f0)
2022-08-16 00:31:02 +08:00
VirtualTowel
9e7760bddb Fix: Wrong step number while 'fleets_reversed' is True 2022-07-30 17:48:35 +08:00
bookbug666
24bfef47e4 Opt: Change"UseU522Skill" into "UseOpenOceanSupport" 2022-07-29 03:08:31 +08:00
LmeSzinc
84d34701ee Fix: Caught by siren when passing though portals 2022-07-15 22:25:08 +08:00
LmeSzinc
4bad04932c Revert "Opt: Faster map preparation" 2022-07-14 23:48:51 +08:00
hgjazhgj
e779fd7e64 Fix: Misspelling & Line-end spaces 2022-06-25 20:04:45 +08:00
LmeSzinc
52a6e44d53 Fix: Handle popups in OpSi map detection 2022-06-11 23:14:59 +08:00
LmeSzinc
64120abd02 Fix: Do not preserve enemies when prioritizing large enemies 2022-06-10 02:07:06 +08:00
LmeSzinc
25a4162d27 Fix: Add LDPlayer serial auto switching
- Opt: Show help text for wrong serial
2022-06-05 06:38:43 +08:00
LmeSzinc
01fd16c8bf Fix: More edge cases in OpSi detection
Fix: Retry after handle_retirement() in OpSi
Fix: Stuck after getting OS auto search reward
Fix: Handle AUTO_SEARCH_REWARD at map detection
Set all offset of AUTO_SEARCH_REWARD to (50, 50)
Fix: Accidentally entered globe map in wait_until_walk_stable()
2022-06-02 01:57:32 +08:00
LmeSzinc
83c3a9658c Fix: Handle story in fleet set 2022-05-28 16:11:50 +08:00
SarContDeli
dd66c8f289 Opt: Modified the options for all screenshots 2022-05-21 00:53:37 +08:00
LmeSzinc
15ae857212 Fix: Retry on Camera.update() to allow random MapDetectionError 2022-05-16 21:38:56 +08:00
LmeSzinc
ff3bb42cde Fix: Duplicate keyword argument when using EnemyPriority (fixed #1108) 2022-05-09 14:12:32 +08:00
LmeSzinc
442042c90e Fix: Fleet detection when MAP_WALK_USE_CURRENT_FLEET is enable 2022-04-30 21:12:46 +08:00
LmeSzinc
f2c284e1f5 Fix: MAP_WALK_USE_CURRENT_FLEET detected early fleet arrive at boss 2022-04-29 22:45:24 +08:00
LmeSzinc
2139d1c344 Fix: Ensure fleet index before calling goto() (#1066) 2022-04-29 19:56:54 +08:00
LmeSzinc
cef6e9f579 Opt: Clear strongest enemy first when MAP_CLEAR_ALL_THIS_TIME is on
to prevent attacking strong enemies when out of ammo
2022-04-29 19:40:14 +08:00
LmeSzinc
08aa64580d Add: Rondo at Rainbow's End chapter AC
- Fix: swipe route out of target box
- Fix: Re-add handle_combat_weapon_release()
2022-04-28 23:22:05 +08:00
SarContDeli
f1e500a8a8 Opt: AutoSearchFleetOrder is merged into FleetOrder 2022-04-23 14:11:00 +08:00
LmeSzinc
a048f04e64 Fix: Duplicate keyword argument when using EnemyPriority 2022-04-23 01:28:34 +08:00
Egor Nats
6eac8ae259 Opt: Imports isorted 2022-04-14 16:37:54 -03:00
SaarChaffee
303dd90fdc change CRLF to LF 2022-04-09 23:31:09 +08:00
LmeSzinc
e30f71c891 Opt: Faster map preparation
- Faster retry after retirement
- Faster get_map_clear_percentage()
2022-03-24 19:20:02 +08:00
LmeSzinc
e5492da3eb Opt: Close auto search menu and retreat at campaign start to reduce user mistakes 2022-03-20 16:55:05 +08:00
LmeSzinc
1a5c606439 Fix: Clicking MAP_CAT_ATTACK_MIRROR in Threat: Med 2022-03-02 11:41:18 +08:00
LmeSzinc
1bb2f48b0a Fix: Move MAP_CAT_ATTACK_MIRROR to map buff icons
because EN has a different fleet position on the left
2022-03-01 23:19:03 +08:00
LmeSzinc
7c90e4120a Fix: Handle the animation of being attacked by siren submarine in map 2022-02-25 19:13:02 +08:00
LmeSzinc
49c9e0afd9 Add: Abyssal Refrain chapter AC
- Add: clear_bouncing_enemy()
- Opt: Retry faster if fleet was caught by a moving enemy
2022-02-24 21:34:16 +08:00
LmeSzinc
839fb18661 Fix: MapDetectionError raised in submarine move (#937) 2022-02-17 21:36:27 +08:00
LmeSzinc
7508597492 Opt: Edge detection in Northern Overture Rerun
- Opt: Use bottom edges first, upper edges have higher errors rates
2022-02-11 00:34:06 +08:00
LmeSzinc
e754e45edb Opt: Faster story handling in event maps
- Del: Remove the use of handle_map_after_combat_story
- Opt: Skip checking arrive_timer when having a result
- Fix: Map detection is still working on story popup
2022-02-10 18:25:51 +08:00
LmeSzinc
e92579b5f9 Opt: Remove redundant converts from pillow to numpy 2022-01-24 23:43:53 +08:00
LmeSzinc
ea84f2edf0 Opt: Avoid importing numpy and opencv to reduce memory usage of web server process 2022-01-23 23:03:55 +08:00
LmeSzinc
65f166ad12 Refactor: Use numpy image cache instead of pillow image 2022-01-23 23:03:55 +08:00
LmeSzinc
8374174d55 Refactor: module/device, separate all screenshot method and control methods
- Better screenshot and control retries, handle common exceptions
2022-01-22 17:42:47 +08:00
LmeSzinc
0caf4ba990 Fix: Handle popup to use 2x book (#880) 2022-01-18 22:06:38 +08:00
LmeSzinc
897d179bbd Add: Maritime escort 2022-01-15 22:17:34 +08:00
LmeSzinc
e522077277 Add: Handle U522 skill 2022-01-11 22:14:19 +08:00
LmeSzinc
1abc415a03 Fix: Submarine on the upper grid is predicted as fleet arrived (#826) 2022-01-10 18:46:36 +08:00
LmeSzinc
caf476a41d Fix: Find missing submarines in find_submarine() 2022-01-10 17:49:07 +08:00
LmeSzinc
84f5e86077 Fix: Hunt zone view re-enabled by game
- Fix: Validate switch status
2022-01-10 01:27:03 +08:00
LmeSzinc
27bc8b3843 Add: Detecting and moving submarines 2022-01-10 00:46:37 +08:00
LmeSzinc
487d4ed9e8 Fix: Force to disable auto submarine call if only calling submarine at boss 2022-01-09 21:06:46 +08:00
LmeSzinc
c5a04c55dc Add: Submarine move in map (#864) 2022-01-09 19:26:49 +08:00
LmeSzinc
275bb364eb Fix: Doing map detection on auto search menu 2022-01-02 18:01:11 +08:00
LmeSzinc
cd0204f455 Opt: Better tips when having wrong configs 2021-12-31 01:34:01 +08:00
LmeSzinc
e89d07da12 Add: Tower of Transcendence chapter BD
- Fix: BATTLE_STATUS_B was clicked after EXP_INFO
- Fix: STORY_SKIP offset
- Fix: One-time stages in stage auto increase
2021-12-30 17:46:30 +08:00
LmeSzinc
8e790b3340 Opt: Add counter of possible reasons
To prevent user reading only the last one
2021-12-30 17:38:09 +08:00
LmeSzinc
da84af0e50 Opt: Better enemy selection when having movable normal enemies 2021-12-30 12:46:18 +08:00
LmeSzinc
f5584c21fe
Merge pull request #808 from yanyihui/yyh_branch
EnemyPriority
2021-12-10 20:09:59 +08:00
yanyihui
e69db76bda fix: Change the description of the Enemy Priority in the user interface 2021-12-10 00:00:55 +08:00
yanyihui
e023975944 refactor: reduce parameter of clear_filter_enemy() 2021-12-09 17:56:45 +08:00
yanyihui
207d27fc0c feat: EnemyPriority 2021-12-09 12:59:42 +08:00
yanyihui
b518447cf1 yyh_branch 2021-12-09 00:04:13 +08:00
YYH
e250a5b629 yyh_branch 2021-12-08 22:42:35 +08:00
LmeSzinc
d5735604e1 Dev: Uniform comments of generated files 2021-12-07 23:29:33 +08:00
LmeSzinc
caf51858e9 Add: Attack abyssal boss 2021-12-06 20:56:57 +08:00
LmeSzinc
699d504c9b Add: Find siren stronghold in globe map 2021-12-05 16:08:33 +08:00
LmeSzinc
6586872050 Fix: Handle guild popup after combat for slow PCs (#789) 2021-12-01 23:56:46 +08:00
LmeSzinc
2e4f6cba6b Fix: Remove the edge of mask image, because perspective transform may produce aliasing 2021-11-30 00:07:37 +08:00
LmeSzinc
8ac6e59f2a Upd: Update World-spanning Arclight
- Fix: Varies map mode switches
- Fix: Handle stories in map detection
- Upd: GAME_TIPS
2021-11-26 01:17:49 +08:00
Cola
82f354da03 Fix: [TW] Submarine&Fleet assets 2021-11-25 13:31:47 +08:00
LmeSzinc
7a0c566a9e Fix: Map swipe optimize should use local map view to generate blacklist
- Opt: Take less screenshots during swipe, reuse local view object as possible
- Refactor: handle_boss_appear_refocus()
- Fix: Update swipe box area in map, avoid clicking auto search
2021-11-22 18:09:38 +08:00
LmeSzinc
1e3cdd4c38 Opt: Faster retirement, including click interval clear and less screenshots
- Rename dock_filter_set_faster to dock_filter_set and remove old dock_filter_set
2021-11-21 17:16:18 +08:00
LmeSzinc
2cbd473bc5 Refactor: Fleet preparation for faster and better retry 2021-11-21 15:26:31 +08:00
LmeSzinc
1351813a13 Opt: Sort grids in clear_potential_boss 2021-11-18 12:32:17 +08:00
LmeSzinc
52f11b34c9 Fix: De-redundancy of daily commissions
- Fix typo of intersect_by_eq
2021-11-18 12:04:16 +08:00
LmeSzinc
501467ed4c Opt: Reduce swipes become clicks when game is randomly stuck (#743)
Optimise the swipe path so that it ends on land
2021-11-17 22:28:19 +08:00
LmeSzinc
a723740528 Add: The Flame-Touched Dagger (event_20211111_cn)
- Fix: Force to use fleet2 when MAP_CLEAR_ALL_THIS_TIME is True
2021-11-11 18:25:34 +08:00
LmeSzinc
71392a5eba Opt: 9-1 and 9-2, also add MAP.ignore_prediction 2021-11-08 20:36:42 +08:00
LmeSzinc
7f1227aabf Fix: SubmarineMode not working because handle_submarine_call() received None (#705)
- Opt: Re-check if submarine is clear
2021-11-06 22:43:37 +08:00
LmeSzinc
b554a39351 Refactor: Fleet switching and fleet reverse
- Revert swipe limit of ensure_edge_insight
2021-11-06 22:25:14 +08:00
LmeSzinc
12cc90536a Fix: W9-W11 compatible with fleet1_all_fleet2_standby 2021-10-30 22:05:03 +08:00