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

143 Commits

Author SHA1 Message Date
LmeSzinc
b615ebf3cf Fix: Handle bugged AP button before game devs get it fixed 2024-02-22 16:36:32 +08:00
LmeSzinc
8b871e8c30 Fix: Don't click MAINTENANCE_ANNOUNCE while interrupting auto search 2024-01-11 10:50:41 +08:00
LmeSzinc
f68406f990 Fix: Disable STORY_ALLOW_SKIP in OpSi 2023-09-15 21:46:57 +08:00
LmeSzinc
da02fd6066 Fix: Trying to fix story skip bug on game client 2023-09-10 16:20:39 +08:00
LmeSzinc
b6e66b4a17 Fix: handle_fleet_emp_debuff in port (#3076) 2023-09-02 23:58:56 +08:00
guoh064
b929afeeea
Opt: print loading only once in interrupting_auto_search (#2764)
* Opt: print loading only once in interrupting_auto_search

* Fix: status of is_loading after executed
2023-06-15 22:08:49 +08:00
guoh064
9569435e58
Fix: result of map_rescan_current passed wrongly (#2657)
Co-authored-by: LmeSzinc <lmeszincsales@gmail.com>
2023-05-28 19:54:22 +08:00
guoh064
7f8769cda8
Fix: scanning tower skip should only operate in cl1 zones. (#2609)
* Fix: scanning tower skip should only operate in cl1 zones.

* Fix: Change condition to is_in_task_cl1_leveling
2023-05-23 23:50:01 +08:00
LmeSzinc
dcfcd66dc3 Fix: Random loading screen hit EXP_INFO_C (#2567) 2023-05-12 22:10:50 +08:00
LmeSzinc
0a0c0ffc20 Fix: port_goto() loops between NY City and Gibraltar 2023-05-07 21:10:36 +08:00
LmeSzinc
2147059858 Opt: Rescan current map first perform full scan then 2023-04-19 22:24:08 +08:00
LmeSzinc
44bd0e4e81 Fix: Treat is_question as is_port outside of OpSi ports 2023-04-11 21:48:09 +08:00
SarContDeli
6100999369 Fix: wrong value coding in get_action_point_limit 2023-02-21 18:04:52 +08:00
LmeSzinc
f5f093c67f Opt: Remove OpsiAshBeacon.AshAttack since it should always be True 2023-02-17 23:50:30 +08:00
LmeSzinc
702297d1c2 Fix: Handle map events in interrupt_auto_search() (fixed #2219) 2023-02-08 12:34:59 +08:00
LmeSzinc
ef14eba859 Opt: CL1 Leveling optimization for more rewards 2023-02-01 02:03:50 +08:00
LmeSzinc
6471d219fd Refactor: Abstract OSStatus class 2023-01-29 22:46:35 +08:00
LmeSzinc
c437293ab5 Fix: Handle random black screenshots in globe_update() (fixed #2169) 2023-01-28 16:08:26 +08:00
SarContDeli
a5de8b3676 Fix: Keep 1000 AP only when CL1 available but not enabled 2023-01-15 11:04:22 +08:00
nEEtdo0d
f05ebae020 Fix: AL game bug fog follows between zones/pages; func to handle recovery then resume task 2023-01-12 22:58:00 -05:00
LmeSzinc
bb70f20b71 Refactor: go_month_boss_room() with retrying 2023-01-11 20:51:31 +08:00
LmeSzinc
699d8dd1c8 Opt: Keep enough startup AP for CL1 farming 2023-01-04 20:30:58 +08:00
LmeSzinc
178b679256 Fix: Recheck HP after fleet died, battle status may have false detection 2023-01-03 02:35:15 +08:00
LmeSzinc
70c51ac802 Add: Auto task switching between CL1 farming and meowfficer farming 2022-12-14 00:59:52 +08:00
LmeSzinc
9bca3ef32a Opt: Limit situations to buy AP when running CL1 2022-12-12 18:07:30 +08:00
SarContDeli
9532a9f39c
Fix: Handle in_globe in interrupt_auto_search caused by bug (#1994) 2022-12-12 17:47:40 +08:00
LmeSzinc
d9c737deb1 Opt: Log CL1 time cost 2022-12-07 12:26:18 +08:00
LmeSzinc
3392b5a99f Opt: Add missing name of handle_popup_confirm() calls 2022-12-05 23:16:16 +08:00
LmeSzinc
919a154c31 Opt: Disable CL1 leveling before server support 2022-12-05 22:44:58 +08:00
SarContDeli
2fff81ff0d
Opt: Reconstructed hazard 1 leveling (#1941) 2022-12-04 23:24:23 +08:00
SarContDeli
c9d9ca6cc5 Merge branch 'bug_fix' into base
# Conflicts:
#	alas.py
#	config/template.json
#	module/config/argument/args.json
#	module/config/argument/menu.json
#	module/config/argument/task.yaml
#	module/config/i18n/en-US.json
#	module/config/i18n/ja-JP.json
#	module/config/i18n/zh-CN.json
#	module/config/i18n/zh-TW.json
#	module/os/map.py
2022-11-30 20:56:52 +08:00
LmeSzinc
b8d06b12e5 Add: OpsiCrossMonth, not tested 2022-11-30 01:40:53 +08:00
SarContDeli
f4abcb4740
Fix: Wait too long in interrupt_auto_search (#1889) 2022-11-21 23:11:57 +08:00
SarContDeli
1b47e69496 Upd: Refactored part of hazard 1 leveling 2022-11-15 17:23:34 +08:00
SarContDeli
1f38e92e02 Add: hazard 1 leveling 2022-11-12 00:05:30 +08:00
SarContDeli
7599275b51 Opt: Handle Stronghold at day before reset 2022-10-31 21:22:15 +08:00
LmeSzinc
1ce70da471 Fix: Call handle_current_fleet_resolve only at os_init
instead of every after_auto_search to avoid loop in os explore
2022-10-06 22:37:04 +08:00
LmeSzinc
a711051b40 Fix: Handle low resolve debuff after OpSi abyssal 2022-10-06 17:55:03 +08:00
LmeSzinc
10f9d240e0 Fix: Compatible with game setting: Auto Mode in secured zones 2022-10-06 17:28:47 +08:00
LmeSzinc
8d1b7adb84 Fix: RecursionError in os_map_goto_globe()
when exploration rewards uncollected and fleet has EMP debuff which need to exit current zone
2022-10-02 17:49:51 +08:00
LmeSzinc
ec3eabfd01 Fix: Auto search unlock check not working 2022-10-02 17:30:24 +08:00
LmeSzinc
b8d022ab53 Fix: Collect exploration rewards that are ignored by auto search 2022-10-02 17:10:38 +08:00
nEEtdo0d
a042aa8615 Upd: [EN] auto search option assets; placement change post maintenance
Upd: info output to match func parameters
2022-08-14 12:40:59 -04:00
LmeSzinc
5239c632f2 Fix: Loop tries on 2 adjacent fleet mechanism (#1475) 2022-08-04 21:11:35 +08:00
LmeSzinc
e02a15f281 Fix: Handle uncollected zone exploration rewards (#1478) 2022-08-03 00:32:16 +08:00
LmeSzinc
e1f1768779 Fix: UI haven't fully loaded after get_current_zone_from_globe() 2022-07-12 23:58:10 +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
5a91c13ad1 Fix: clear_question is called in OpsiStronghold (fixed #1149) 2022-05-26 00:08:09 +08:00
SarContDeli
dd66c8f289 Opt: Modified the options for all screenshots 2022-05-21 00:53:37 +08:00
SarContDeli
7db5af2a88 Opt: Combined save and upload options 2022-05-20 15:25:32 +08:00
LmeSzinc
7f78926e89 Del: OSMap class code cleanup 2022-05-19 20:50:13 +08:00
LmeSzinc
c89f37865b Refactor: Combine OSGlobe and OSMap
- Fix: Fleet repair in OpsiExplore
2022-05-18 00:51:54 +08:00
LmeSzinc
ed7c7a6fb8 Fix: Fleet repair after map rescan 2022-05-17 20:44:57 +08:00
LmeSzinc
1c9a555963 Fix: Confirm story option stabled to avoid choosing the wrong option 2022-05-17 01:23:19 +08:00
LmeSzinc
94c2891428 Opt: Rescan only once in SAFE zones 2022-05-16 21:36:23 +08:00
LmeSzinc
5867754de1 Fix: Edge detection in OpSi obscure and abyssal
- Fix: Increase threshold of OCR_SHOP_YELLOW_COINS
- Fix: Akashi's shop has been checked twice
2022-05-16 01:54:48 +08:00
LmeSzinc
9094e4dcf4 Add: GUI option OpsiGeneral.DoRandomMapEvent 2022-05-15 17:52:04 +08:00
LmeSzinc
9f2df3c2c5 Add: Do random map events in OpSi
- Opt: Select the second story option from the bottom in OpSi
- Fix: ui_mask_homo_stroke in OpSi
- Dev: Fix relative_crop.py
2022-05-15 00:03:33 +08:00
LmeSzinc
7558b12b91 Fix: OpSi auto search interrupted by retirement 2022-04-26 00:21:22 +08:00
Egor Nats
6eac8ae259 Opt: Imports isorted 2022-04-14 16:37:54 -03:00
LmeSzinc
f08fb26996 Add: Upload OpSi drop screenshots 2022-02-28 17:21:23 +08:00
LmeSzinc
a758f24b70 Add: OpSi drop record 2022-01-27 17:09:46 +08:00
LmeSzinc
d7651559a9 Add: OpSi drop record 2022-01-23 23:03:55 +08:00
LmeSzinc
f8eeb44057 Fix: Handle fleet died without auto search reward 2022-01-08 22:17:24 +08:00
LmeSzinc
e714733498 Fix: Handle auto search reward after battle status C/D 2021-12-11 22:24:32 +08:00
LmeSzinc
dfd334736f Add: OpSi abyssal and handle battle status C/D in auto search 2021-12-11 00:27:04 +08:00
LmeSzinc
45097dd408 Opt: Move ash beacon to a standalone setting group 2021-12-09 18:13:34 +08:00
LmeSzinc
57d60236c4 Opt: Raise exception if there's no auto search option in OpSi 2021-11-30 18:09:32 +08:00
LmeSzinc
2df2c8045e Fix: Not continuing auto search if OpsiGeneral_AshAttack disabled (#760) 2021-11-22 18:39:07 +08:00
LmeSzinc
f85dbde2a6 Opt: Limit maximum screenshot interval in OpSi 2021-11-16 01:53:28 +08:00
LmeSzinc
fa8e46bee4 Refactor: Remove old OpSi functions and rename the current with old names 2021-11-06 22:25:14 +08:00
LmeSzinc
a52826594e Refactor: OS module
- Refactor OS explore, able to run without 5000 oil item
- Fix: Screenshot interval recover
2021-09-26 17:40:38 +08:00
LmeSzinc
019ce4f1dd Del: Remove the use of tinydb and notifypy 2021-09-26 05:00:10 +08:00
LmeSzinc
aa03f7c1a3 Fix: Handle a rare game bug, OpSi camera not focusing on current fleet
- Opt: Add config HOMO_CANNY_THRESHOLD
2021-09-05 17:50:10 +08:00
LmeSzinc
1dbdfff634 Fix: Handle info_bar before entering akashi's shop (#503) 2021-06-29 17:02:09 +08:00
nEEtdo0d
5ffc1508b9 Fix: Use handle_map_event for previous clauses plus more 2021-05-20 14:51:47 -04:00
nEEtdo0d
29fb7cb4fc Del: Revert alterations to zone_type_select
Add: zone_has_safe and use for handling safe checking on zone

Fix: Typo OBSCURE vs OBSCURED asset name

Opt: moved and added clauses for os_auto_search_daemon

Opt: need_repair --> handle_fleet_repair, add 'revert' optional arg
2021-05-18 00:45:27 -04:00
LmeSzinc
18c0b2a68f Fix: Use radar to detect akashi instead of map view
Because akashi on map view may be covered by current fleet or info bar
2021-04-24 18:27:51 +08:00
LmeSzinc
adb8b863df Opt: Action point buy, confirm AP increase after clicking instead of bored clicking
- Opt: Add battle count to auto search
- Fix: Add missing akashi call after auto search
2021-04-20 22:21:59 +08:00
LmeSzinc
ea266dab95 Add: Handle Akashi's shop
- Opt: Detect ash beacon before starting auto search
- Fix: Handle siren scanning device when running auto search
- Opt: Ensure current zone is cleared before switching map
2021-04-20 17:13:35 +08:00
LmeSzinc
7c0d3d67ef Add: Support auto search in OS
- Add port mission assets
- Move globe operations from map.py to operation_siren.py
- Add match_appear_on
2021-04-13 22:17:21 +08:00
LmeSzinc
9990825b8c Fix: Page transition after OS auto search update 2021-04-13 17:50:48 +08:00
LmeSzinc
9718e1835d Add: Select zone types in OS
- Fix: os init from other pages
2021-04-05 21:06:59 +08:00
LmeSzinc
df7fec4e2b Add: Repair ships in port and accept all missions in all ports
- Fix: Port exit
- Fix: Handle unable to accept more missions
- Opt: Adjust map init, map init should be called at first, and when zone changed
2021-04-05 18:15:16 +08:00
LmeSzinc
bddb946b46 Opt: Move _get_map_outside_button to camera.py 2021-04-04 19:49:52 +08:00
LmeSzinc
9f4ccaaf44 Opt: Faster globe detection
Downscale image before template matching, time cost reduced from about 0.6s to 0.15s
- Fix: Zone info use before init
- Opt: Allow globe_goto run from IN_GLOBE
2021-04-04 19:44:49 +08:00
LmeSzinc
886ed14ef0 Add: Able to goto another map in OS 2021-04-04 17:54:58 +08:00
LmeSzinc
33620462ed Fix: Check walk result and expected in OS (#363) 2021-02-23 21:48:01 +08:00
LmeSzinc
2d48654def Merge branch 'master' into dev 2021-02-20 17:35:56 +08:00
LmeSzinc
99f0195571 Opt: Handle siren platform after entering map, add logs for akashi 2021-02-20 17:34:03 +08:00
whoamikyo
a0f84696e1 Opt: Few changes to match with new notifications system 2021-02-19 20:01:32 -03:00
whoamikyo
66f9ff53cb Added: added OPsi clear toast notification 2021-02-15 12:39:35 -03:00
LmeSzinc
0077eb4d9c Add: Operation siren clear full map
- Skip clicking if already goto destination
- Skip path finding if no fleet 2
- Right align Y axis when showing map
- Fix perspective draw
- Add MAP_FOCUS_ENEMY_AFTER_BATTLE for OS
- ensure_edge_insight now focus to random corner, rather than bottom-right
- Add OSGrids
- Add view mode to detect maps in OS
- Fix OCR debug run before model init
- Add handle_map_event() to include all os handlers
- Add OS map info extractor
2021-01-26 17:07:34 +08:00