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

584 Commits

Author SHA1 Message Date
YJGeng-Iriy
207ff9d586 Merge branch 'opsi_month_boss' of https://github.com/YJGeng-Iriy/AzurLaneAutoScript into opsi_month_boss 2022-12-13 21:39:42 +08:00
YJGeng-Iriy
9eab7f35b4 Monthly boss code optimization 2022-12-13 21:37:28 +08:00
YJGeng-Iriy
757fc88f7e
Merge branch 'master' into opsi_month_boss 2022-12-12 19:47:59 +08:00
nEEtdo0d
4be37e3596 Add: [EN] asset update for strategic search (#1948) 2022-12-11 23:53:52 -05:00
YJGeng-Iriy
a361d8ad0d opsi month boss init 2022-12-11 20:59:16 +08:00
下面我簡單喵兩句
da7efd102c
Add: [TW] asset support for voucher shop (#1982) 2022-12-11 14:52:19 +08:00
下面我簡單喵兩句
873a6da0e2
Add: [TW]Assets update for strategic search (#1981) 2022-12-11 13:49:28 +08:00
bookbug666
37ea94b809 Remove server checker before testing 2022-12-09 23:22:54 +08:00
LmeSzinc
6878308f13
Merge pull request #1950 from bookbug666/voucher_shop_jp
Add: [JP] asset support for voucher shop
2022-12-06 01:36:05 +08:00
bookbug666
096d0dbc1b Remove server restrictions in os_run.py 2022-12-06 00:58:13 +08:00
bookbug666
0cdc4cfff0 Unlock server restrictions, update assets.py 2022-12-06 00:05:31 +08:00
LmeSzinc
919a154c31 Opt: Disable CL1 leveling before server support 2022-12-05 22:44:58 +08:00
LmeSzinc
54d5874b9d Upd: [CN] Voucher shop assets and translation 2022-12-05 22:31:53 +08:00
nEEtdo0d
6daaea364a Add: temporary server check for opsi voucher task 2022-12-02 16:45:03 -05:00
nEEtdo0d
e9013b7e01 Fix: sync edit across from sibling funcs to voucher and archive counterpart (43c9671) 2022-12-01 12:33:24 -05:00
nEEtdo0d
1d433efc7b Fix: merge LmeSzinc/dev into branch, resolve conflicts 2022-12-01 10:52:40 -05: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
nEEtdo0d
bc3376e191 Fix: merge LmeSzinc/dev into branch, resolve conflicts 2022-11-29 15:04:47 -05:00
LmeSzinc
b8d06b12e5 Add: OpsiCrossMonth, not tested 2022-11-30 01:40:53 +08:00
LmeSzinc
43c96719a1 Fix: ActionPointLimit is never caught in load_campaign() 2022-11-30 00:14:44 +08:00
LmeSzinc
f309402062 Fix: Task balance is not working in loop stages (fixed #1920) 2022-11-29 21:18:11 +08:00
LmeSzinc
59183aeff1 Fix: Oil limit too low 2022-11-29 21:15:51 +08:00
nEEtdo0d
afc8468e0a Add: Opsi archive zone monthly task support 2022-11-28 00:21:52 -05:00
LmeSzinc
90223d84e1 Merge branch 'master' into dev 2022-11-28 01:14:45 +08:00
nEEtdo0d
629addada4 Add: Opsi voucher monthly task support 2022-11-26 23:44:38 -05:00
LmeSzinc
2617a47297 Del: Remove SWITCH_1_HARD_ALCHEMIST, just no need anymore 2022-11-25 20:23:21 +08:00
LmeSzinc
1cb7ae25e6 Add: Loop stage support 2022-11-25 16:37:48 +08:00
LmeSzinc
85938744e6 Merge branch 'master' into dev 2022-11-25 02:29:03 +08:00
LmeSzinc
803c3749aa Add: The Alchemist and the Archipelago of Secrets chapter TH 2022-11-25 01:58:05 +08:00
LmeSzinc
e0feea2366 Add: The Alchemist and the Archipelago of Secrets chapter T 2022-11-24 22:24:20 +08:00
SarContDeli
a258ef4435
Merge pull request #1871 from SaiCateDoan/hz1
Add: hazard 1 leveling
2022-11-16 17:39:55 +08:00
nEEtdo0d
19e3e8d111 Fix: [EN] SWITCH_1_NORMAL asset change on game update 2022-11-14 10:11:13 -05:00
Horizon101011
129cbcad92
Merge branch 'bug_fix' into dockScanner 2022-11-14 09:56:42 +08:00
Horizon101011
e60dafc791 Fix: Flagship lv32 cause frequent change 2022-11-14 09:38:02 +08:00
SarContDeli
1f38e92e02 Add: hazard 1 leveling 2022-11-12 00:05:30 +08:00
LmeSzinc
f64f02fac7
Merge pull request #1842 from Horizon101011/dockScanner
Opt: Re-adjust retire level threshold; Reduce ship change
2022-11-10 23:02:42 +08:00
Horizon101011
719b186c31 Opt: Re-adjust retire level threshold; Reduce ship change 2022-11-10 18:13:56 +08:00
Horizon101011
08e5d21446 Opt: Give priority to ship with higher emotion and lower level 2022-11-06 23:34:08 +08:00
Horizon101011
4e20b4c954 Opt: Give priority to ship with higher emotion and lower level 2022-11-06 23:26:38 +08:00
LmeSzinc
383b8893c2 Merge branch 'master' into dev 2022-11-02 00:22:03 +08:00
LmeSzinc
5c70364353 Refactor: Abstract CampaignStatus class and fix task balancer in Raid 2022-10-30 14:49:04 +08:00
nEEtdo0d
27fabf7b9f Add: [EN] asset support for ship scan (#1776) 2022-10-27 01:13:39 -04:00
Horizon101011
34e21beb1f
Merge branch 'dev' into dockScanner 2022-10-25 18:42:25 +08:00
Horizon101011
0c5c0f6dbc Opt: Disable some properties for unsupported servers 2022-10-25 18:39:54 +08:00
VirtualTowel
b93ee5eaa1 Fix: Can not withdraw on BattlePreparation page 2022-10-19 00:46:04 +08:00
Horizon101011
c0f125bada Opt: Improve flagships_retire 2022-10-18 00:08:42 +08:00
VirtualTowel
328b18660b Fix: check VanguardChange switch in GemsFarming 2022-10-17 21:05:17 +08:00
Horizon101011
f2502e766e Opt: Adjust threshold; Add delay; Add output 2022-10-12 22:44:33 +08:00
Horizon101011
12e04ebaab
Merge branch 'dev' into dockScanner 2022-10-10 23:06:27 +08:00
Horizon101011
b2712d81d2 Refator: Abstract scanner class; Bind properties to scanners 2022-10-10 23:03:11 +08:00
LmeSzinc
4dd2a5a8b5 Refactor: Move del_cached_property to module.base.decorator 2022-09-25 00:31:42 +08:00
LmeSzinc
b990246165 Merge branch 'master' into bug_fix 2022-09-20 01:09:35 +08:00
Horizon101011
522cb0caf4 Fix: Explicitly invoke flagships' templates 2022-09-18 23:25:52 +08:00
Horizon101011
1df88a1b71 Fix: Lack of flagships' template 2022-09-18 18:22:14 +08:00
LmeSzinc
ab68a1f333 Opt: Remove MetaReward call after meowfficer farming
because meta attacks are on standalone tasks
2022-09-16 23:11:20 +08:00
Horizon101011
670697055e Fix: Missing DockScanner 2022-09-16 12:50:54 +08:00
Horizon101011
546613a485 Fix: Lack of flagships' template 2022-09-16 09:01:37 +08:00
Horizon101011
e1f50c64cb
Merge branch 'dev' into dockScanner 2022-09-14 10:32:54 +08:00
LmeSzinc
67e7eb04a5 Refactor: Abstract filter_set to Setting class 2022-09-08 12:27:50 +08:00
Horizon101011
b32dd61b00 Revert "Upd: Delay task if ship not changed"
This reverts commit 7817995604.
2022-09-07 12:47:49 +08:00
Horizon101011
7817995604 Upd: Delay task if ship not changed 2022-09-07 12:45:31 +08:00
LmeSzinc
1f67a9a109 Add: Get and set config across tasks 2022-09-06 22:20:29 +08:00
Horizon101011
2369581794 Upd: Add support for commission status 2022-09-06 21:36:35 +08:00
LmeSzinc
f1ef87ca50 Merge branch 'master' into dev
# Conflicts:
#	module/device/emulator.py
2022-09-02 00:13:11 +08:00
Horizon101011
37df16aa49 Fix: STOP_IF_REACH_LV32 cannot work properly if using delay 2022-08-31 17:57:43 +08:00
Horizon101011
8887993b74 Opt: Add support for choosing certain CV 2022-08-30 00:08:26 +08:00
Horizon101011
81e84d1259 Add: DockScanner 2022-08-29 12:56:01 +08:00
Bookbug
b26b6c97d1
Add: TaskBalancer (#1509)
* CoinManagement added, but malfunction

* CoinManagement added, but malfunction

* CoinManagement:Translation complete

* CoinManagement:ready for testing

* CoinManagement:ready for testing

* CoinControl: Almost done, needs optimization/fix

* Add: CoinControl, done with full test.

* Add: TaskBalancer(experimental)

* Add: TaskBalancer(experimental)

* Remove legacy codes

* Upt: Reform codes(Experimental)

* Add:Task Balancer(Experimental)

* Add:Task Balancer(Experimental)

* Upt: config.py

* Fix: Default value of CheckInterval

* Upd: Minor translation adjustment

* Upd: Minor translation adjustment

* Upd: Revert the enable button and remove the CheckInterval

* Fix: minor translation

* Fix: additional trigger message caused by legacy code

* Add: User-defined delay interval

* Opt: Translation and default value of CoinLimit; Remove user-defined CheckInterval; Reform task sorting logic
2022-08-24 23:44:49 +08:00
LmeSzinc
f3f6d19a1f Add: Event Operation Convergence (event_20220818_cn) 2022-08-18 23:51:30 +08:00
VirtualTowel
e4e391880a
Fix: Incompele gems_farming stop condition (#1524)
* Fix: Incompele gems_farming stop condition

* Indentation fixed
2022-08-15 01:22:55 +08:00
Horizon101011
a8654b0809 Opt: Reuse flagship; Add emotion threshold; Delay if not change 2022-08-14 20:32:23 +08:00
LmeSzinc
27f2c92c00 Opt: Less ui switchings when changing equipments 2022-08-07 17:18:18 +08:00
LmeSzinc
d936a60c65
Merge pull request #1485 from bookbug666/dev_0804
Upt: Assets of equipment_change
2022-08-07 15:25:17 +08:00
bookbug666
3c672e0d65 Fix: Remove ui_back to prevent additional back action 2022-08-06 23:21:32 +08:00
bookbug666
dd8d7f0ec5 Fix: Delete unused ui action; Rename button 2022-08-06 16:40:47 +08:00
bookbug666
a54d5e299f Upt: Assets of Equipment_change 2022-08-04 22:49:45 +08:00
LmeSzinc
3f28d59e35 Fix: Remove spaces in stage name 2022-07-30 18:16:19 +08:00
LmeSzinc
9786e2951b Fix: Strip thousands separators in EventGeneral.PtLimit 2022-07-30 00:23:26 +08:00
bookbug666
692e4d1300 補齊了SOS的Enemy_filter支援;更改每日活動地圖的命名;修正了部分翻譯;將國服以外緊急委託刷鑽石的等級修正 2022-07-26 16:29:03 +08:00
bookbug666
704c27cf4d Add: Several Submarine supports and EnemyFilter; add EventB, EventD 2022-07-26 16:29:03 +08:00
LmeSzinc
206b546eb1 Opt: Auto convert chapter A/B/C/D to T/HT 2022-07-15 01:51:04 +08:00
LmeSzinc
c6a4c13038 Add: Support PT limit in Raid
- Fix: Disable RAID_FLEET_PREPARATION at startup
- TODO: EN and JP need to update IRIS_OCR_PT
2022-06-30 22:26:54 +08:00
hgjazhgj
e779fd7e64 Fix: Misspelling & Line-end spaces 2022-06-25 20:04:45 +08:00
LmeSzinc
3a38f803f6 Fix: Stage auto increase to SP4 but event doesn't have SP4 2022-06-20 02:17:58 +08:00
LmeSzinc
d683db6647 Fix: Close auto search menu if map achievement is set 2022-06-19 16:33:38 +08:00
LmeSzinc
a4bc79302d Fix: Cannot detect remain data key at auto search menu 2022-06-12 18:06:37 +08:00
LmeSzinc
65d964b65e Fix: map_is_2x_book is in emotion calculation before map_get_info() 2022-06-09 23:24:51 +08:00
LmeSzinc
ebd6872358 Fix: Convert stage name to string 2022-06-07 00:58:07 +08:00
LmeSzinc
f28d0c0c29 Fix: Clear click record on each battle and each campaign (fixed #447) 2022-06-05 08:35:21 +08:00
LmeSzinc
a13a0ad68a Opt: Run task Reward more frequently 2022-05-28 00:56:29 +08:00
LmeSzinc
f47e7b046e Fix: Duplicate restart at server reset 2022-05-02 16:43:25 +08:00
LmeSzinc
562365afe6 Opt: Lower the priority of task OpsiMeowfficerFarming 2022-05-02 16:32:04 +08:00
LmeSzinc
71885d1544 Opt: Add config_override() teaching people how to use a bot 2022-04-29 11:59:12 +08:00
LmeSzinc
3b8da700d3 Fix: Disable auto search temporarily instead of turning it off in user config 2022-04-29 11:41:27 +08:00
LmeSzinc
d30da01a10 Opt: Remove 7-2 mystery farming, 12-2 leveling, 12-4 leveling; add multiple Main and Event tasks 2022-04-23 14:36:52 +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
ea8a200fbc Opt: Faster stage detection
Time cost reduced from 200ms to 40ms
2022-04-06 19:29:46 +08:00
LmeSzinc
a3799675cb Opt: Delay OpSi tasks 2.5 hours at the last day of every month 2022-03-31 22:33:47 +08:00
LmeSzinc
0190d4fbe1 Add: Virtual Tower (event_20220324_cn) 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
dbfbd294ff Fix: Confirm unknown ui page; 5 seconds timeout (#956) 2022-03-07 22:18:10 +08:00
Zorachristine
f3e62ffaf1 Fix: [TW] switch_2_ex assets 2022-03-02 21:08:36 +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
e47e613638 Add: Event PT and time limit
- Fix: Auto update events in GemsFarming
2022-02-11 22:52:36 +08:00
LmeSzinc
65f166ad12 Refactor: Use numpy image cache instead of pillow image 2022-01-23 23:03:55 +08:00
LmeSzinc
4af820841d Add: Accept port missions in overview
- Split OpsiDaily into OpsiDaily and OpsiShop
- Add config redirection
2022-01-13 18:42:05 +08:00
LmeSzinc
2443a022f7 Fix: TooManyClickError on clicking MODE_SWITCH_1 when going to hard mode
Loop in switch to normal mode, switch to hard mode, ensure chapter but no stage found, switch to normal mode
2022-01-11 00:36:49 +08:00
LmeSzinc
ec4fec4f6d Opt: Remove STAGE_SHOWN_WAIT for faster 2022-01-10 23:54:02 +08:00
LmeSzinc
50b5b49365 Opt: Faster Switch.set(), replace click-wait with click interval 2022-01-10 20:35:07 +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
6f0e3a38d0 Add: Handle shared CD of recon scan and submarine call
- Add entrance of OpSi abyssal and stronghold
2021-12-08 01:25:35 +08:00
LmeSzinc
d5735604e1 Dev: Uniform comments of generated files 2021-12-07 23:29:33 +08:00
nEEtdo0d
b1c726056e Fix: [EN] Move handle to before campaign_ensure_chapter, tested (#786) 2021-12-01 10:15:58 -05:00
LmeSzinc
ac4f6e6fab Fix: [EN] Handle info_bar when entering HM12, not tested (#786) 2021-12-01 18:39:54 +08:00
LmeSzinc
a299c119b4 Fix: Gems farming not switching task when there're no ships to change 2021-12-01 17:51:44 +08:00
LmeSzinc
95e6b4524d Fix: [JP] Chapter names are wrongly split (#773, #774)
- Increase split threshold
- Add more docstring of campaign detection, I almost forget implementation details
2021-11-27 00:30:46 +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
LmeSzinc
9b5df053f9 Add: Event maps in World-spanning Arclight (event_20211125_cn) 2021-11-26 01:17:48 +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
Cyumxi
ad855d9783 fix: Dock_Filter 2021-11-16 23:39:03 +08:00
LmeSzinc
a6571c6d79 Refactor: Stop condition, reach level 2021-11-14 21:47:01 +08:00
LmeSzinc
f8d6848d84 Fix: Modified settings are still retained and written to file in the next update (#737) 2021-11-12 22:29:04 +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
b554a39351 Refactor: Fleet switching and fleet reverse
- Revert swipe limit of ensure_edge_insight
2021-11-06 22:25:14 +08:00
LmeSzinc
4b7733c68e Fix: Campaign name is case sensitive 2021-10-27 17:33:30 +08:00
Cola
261b938aea Fix:check oil in auto search 2021-10-23 23:40:16 +08:00
LmeSzinc
f2791c3abb Fix: Calls commission if task disabled 2021-10-22 21:18:18 +08:00
LmeSzinc
825d0651d8 Add: W14 maps extracted
- Opt: _extract_stage_name for color just a little bit higher than 235
- Add: LuaLoader
2021-10-21 22:15:05 +08:00
nEEtdo0d
d9cec4134e Add: war archives support for app 2021-10-10 23:38:10 -04:00
LmeSzinc
09f28b740f Merge branch 'master' into app 2021-09-28 22:41:41 +08:00
LmeSzinc
a629981a84 Fix: Shortest commission filter 2021-09-28 22:35:13 +08:00
Cyumxi
40bf9f3402 fix issue #628 2021-09-28 02:17:20 +08:00
LmeSzinc
5b772facb8 Fix: Menu extraction
- Delay task if reach oil limit
2021-09-28 00:49:38 +08:00
LmeSzinc
cb5db9d458 Fix: OS explore scheduling
- Add config.multi_set
- Fix exercise server update
2021-09-26 18:47:00 +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
3483ea2041 Refactor: Config generating 2021-09-26 00:04:11 +08:00
LmeSzinc
a77f4095c3 Merge branch 'master' into app 2021-09-25 13:27:39 +08:00
LmeSzinc
cf5fdf3fe9 Fix: Color of stage entrance button is empty (#630) 2021-09-25 13:27:13 +08:00
LmeSzinc
33d503465f Refactor: SOS module
- Fix: Expected reduce when no fleet 2
2021-09-24 21:51:44 +08:00
LmeSzinc
89bf271417 Refactor: Emotion module
- Fix: Modifications of config will be overridden by the loading of yaml file during update
2021-09-24 20:24:46 +08:00
LmeSzinc
f71a151678 Merge branch 'master' into app
# Conflicts:
#	module/campaign/gems_farming.py
#	module/config/config.py
2021-09-19 23:34:30 +08:00
Cyumxi
d7982683a0 self.campaign 2021-09-19 22:29:13 +08:00
Cyumxi
7958f6112f [Fix]: get_equiping_list 2021-09-19 20:02:24 +08:00
Cyumxi
c8f3519dd8 [Fix]: fix endless retrying bug 2021-09-19 17:11:40 +08:00
LmeSzinc
5ed75c8de5 Merge branch 'master' into app
# Conflicts:
#	module/config/config.py
#	module/map/fleet.py
#	module/ui/ui.py
2021-09-17 23:53:15 +08:00
LmeSzinc
a8a5166de2 Fix: Using wrong config in gems farming 2021-09-17 23:39:53 +08:00
LmeSzinc
017df17029 Fix: Path finding when grids blocked by fortress 2021-09-17 18:23:25 +08:00
LmeSzinc
61cbe75527 Refactor: More accurate exceptions and add friendly advices 2021-09-16 12:09:00 +08:00
LmeSzinc
5dd0459de9 Refactor: Gems farming configs
- Opt: Avoid clicking AUTO_SEARCH_MAP_OPTION_OFF after ignore low emotion warn
- Opt: Skip map cat attack in auto search
2021-09-16 03:53:57 +08:00
LmeSzinc
abdfbb713a Refactor: Rename auto search configs
- Refactor device/app configs
- Fix: Research finish detection
2021-09-15 23:50:30 +08:00
LmeSzinc
3dc7f9d17d Add: Task switch 2021-09-15 23:32:58 +08:00
LmeSzinc
46d8d2fadb Refactor: Rename main configs
- Faster chapter selection and page_campaign
- Rename some old Chinglish variables in map info
2021-09-15 23:32:31 +08:00
LmeSzinc
2777f00584 Add: Obscure finish in OS fully auto 2021-08-22 00:16:40 +08:00
Cyunmi
e0ef2661a0 code format 2021-08-16 23:04:23 +08:00
Cyunmi
eecda9ba70 [Fix]: change the way of coding,
now is more stable
2021-08-16 22:36:00 +08:00
LmeSzinc
8e0b689e66 Fix: Level detection init 2021-08-16 12:11:08 +08:00
Cyunmi
8f45af7f73 ADD LOGGER 2021-08-14 22:31:11 +08:00
Cyunmi
15e8acaa4a resolve conversation 2021-08-14 21:48:21 +08:00
Cyunmi
fda815b7d0 fix auto search combat status when low emotion 2021-08-14 16:15:08 +08:00
Cyunmi
0c5b747f37 add cn gui 2021-08-14 04:05:31 +08:00
Cyunmi
8307ef2245 add AUTO_SEARCH_SETTING to config cover 2021-08-14 02:24:28 +08:00
Cyunmi
c86cd524de format document
add comments
2021-08-14 02:10:36 +08:00
Cyunmi
298175fe61 add config gems_low_emotion_withdraw 2021-08-14 01:18:15 +08:00
Cyunmi
3d8e92c4f3 get flag ship lv in auto search 2021-08-13 20:54:01 +08:00
Cyunmi
d63e5aa05c fix equipment_take_on bug
fix flagship_equip_change bug when COMMON_CV_NAME == 'ANY'
2021-08-13 18:57:06 +08:00
Cyunmi
e4ed2ba06c ADD equip change when COMMON_CV_NAME == 'ANY' 2021-08-13 18:09:05 +08:00
Cyunmi
6e06e5ab36 ADD COMMON_CV_NAME == 'any' 2021-08-13 17:48:44 +08:00
Cyunmi
49cafc64c1 add optional to equipment change 2021-08-13 02:55:51 +08:00
Cyunmi
eb1d174e31 fix emotion withdraw bug 2021-08-13 02:32:05 +08:00
Cyunmi
21420d7645 Transform GEMS_AUTO_SEARCH_FARMING
to ENABLE_AUTO_SEARCH
2021-08-13 01:01:35 +08:00
Cyunmi
36d6870b0c use GemsCampaignOverride 2021-08-13 00:53:07 +08:00
Cyunmi
02b0100325 add check_flag_ship_level 2021-08-12 22:37:48 +08:00
Cyunmi
a0c6028b16 fix retirement rename bug 2021-08-12 21:05:46 +08:00
Cyunmi
79977b840b fix dock_select_one bug 2021-08-12 19:28:57 +08:00
Cyunmi
e10cb0e042 1. 很多函数直接在 gems_farming 里覆盖就可以了, 不要直接在底层里加
因为只是 gems_farming 自己用的, 不是通用的
2021-08-12 18:20:35 +08:00
Cyunmi
59702082af withdraw when emotion is low 2021-08-12 07:58:03 +08:00
Cyunmi
e61a7b618a finally, it run 2021-08-12 06:14:24 +08:00
Cyunmi
f930709793 add auto search gems farming 2021-08-12 05:19:39 +08:00
Cyunmi
aa4a2d8ef6 Merge branch 'master' into gems_farming 2021-08-09 17:08:25 +08:00
Cyunmi
4c4321777d prepare to merge 2021-08-09 16:50:36 +08:00
LmeSzinc
63de5be652 Fix: Conflicts among branches
- [CN][TW] Fix option name
- Change ButtonGrids.buttons() to ButtonGrids.buttons
2021-07-24 17:53:45 +08:00
LmeSzinc
e918a5db97 Merge branch 'gems_farming' into dev
# Conflicts:
#	module/campaign/campaign_ocr.py
#	module/equipment/equipment.py
#	module/guild/base.py
2021-07-24 17:33:58 +08:00
LmeSzinc
706ffc8a75 Fix: Wrong fleet to change flagship in gems farming 2021-07-24 17:22:04 +08:00
LmeSzinc
7ec9e0d88f Add: Siren templates in Azur Anthem SP3
- Opt: Lower campaign match threshold to 0.8, in order to detect 50% clear SP3
2021-07-23 20:15:05 +08:00
LmeSzinc
6d06346210 Add: Azur Anthem Event maps
- Handle event animation after the 4th battle
- Add ensure_edge_insight configuration
2021-07-23 18:26:24 +08:00
RuaBQ
bdd4105235 Merge remote-tracking branch 'upstream/gems_farming' into gems_farming 2021-07-06 20:24:23 +08:00
RuaBQ
d322f0b528 add Vanguard ship change 2021-07-06 16:48:52 +08:00
RuaBQ
272422ff91 add emotion ocr 2021-07-06 15:50:33 +08:00
RuaBQ
c4e4c1fec2 每艘 cv 用一个单独的 template
改变了 retirement 的写法
2021-07-06 01:14:05 +08:00
RuaBQ
9e0875a274 finish retirement keep one common cv 2021-07-05 02:24:38 +08:00
LmeSzinc
e22840cc84 Fix: Config reset in gems farming 2021-07-01 22:32:55 +08:00
LmeSzinc
d750f73696 Add: Change flagship when level >= 32 2021-06-30 18:04:31 +08:00
LmeSzinc
e6c17171c8 Opt: Template.match_multi returns list of Button 2021-06-30 15:39:06 +08:00
LmeSzinc
f94f3ce955 Opt: Points and Lines class no longer require config 2021-06-30 14:11:04 +08:00
RuaBQ
bc05b4cd89 merge equipment change
add some assert
2021-06-30 02:15:57 +08:00
LmeSzinc
48d53f6cab Add: Flagship changing 2021-06-29 23:10:13 +08:00
LmeSzinc
d6d56c79d6 Del: Remove GUILD_POPUP_TRIGGERED because AL can receive guild missions automatically now 2021-06-20 16:39:14 +08:00
nEEtdo0d
43ee1f35fe Add: [EN] Support for OS world clearing 2021-05-14 16:19:55 -04:00
LmeSzinc
470308db52 Merge branch 'master' into dev 2021-04-27 16:28:29 +08:00
LmeSzinc
127212b204 Add: Do os in daily 2021-04-27 16:27:55 +08:00
tsweeneySG
f9de54b558 Fix: [JP] Switch to SP/EX asset 2021-04-25 19:27:30 -04:00
LmeSzinc
40578204b5 Add: OS full auto and add it to GUI 2021-04-17 22:05:36 +08:00
LmeSzinc
1b07abaf4e Add: Finish all OS daily missions
- Opt: Skip selecting zone type if already selected at the right one
- Opt: Get zone name in init and after entering map
- Fix: os_init in port shop
2021-04-14 20:47:23 +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
nEEtdo0d
867bd965ea Merge remote-tracking branch 'origin/master' into emotion 2021-04-02 18:36:20 -04:00
LmeSzinc
4866584e1b Upd: [CN] SWITCH_2_EX asset 2021-03-29 22:53:26 +08:00
whoamikyo
25f67bcc1a Fix: [EN] fixed SWITCH_2_EX asset 2021-03-28 18:43:20 -03:00
LmeSzinc
71b67506e2 Fix: Typo in _campaign_get_chapter_index 2021-03-28 18:00:57 +08:00
nEEtdo0d
607e8b1260 Opt: Emotion refactor for enable 2x book configuration 2021-03-26 20:31:44 -04:00
LmeSzinc
e21acd3989 Opt: General support for as bs cs ds maps 2021-03-26 15:23:49 +08:00
Zorachristine
b9e4df458b Fix: [TW] exercise and campaign assets 2021-03-15 23:33:31 +08:00
LmeSzinc
45768a0fd2 Fix: Missing screenshot in ensure_campaign_ui after retry 2021-03-15 22:35:34 +08:00
whoamikyo
171627cf0e Opt: New toast notifications 2021-03-02 05:53:18 -03:00
whoamikyo
a0f84696e1 Opt: Few changes to match with new notifications system 2021-02-19 20:01:32 -03:00
whoamikyo
f506631456 Added: added GameStuckHandler for C and D battle status
- game will restart when get C and D battle status now
2021-02-15 15:14:47 -03:00
LmeSzinc
36b85f40e3 Fix: Typo in _emotion_expected_reduce() 2021-02-13 23:44:42 +08:00
whoamikyo
e72605ba95 Fix: fixed bluestacks hyper-v multi-instance support 2021-02-13 00:53:19 -03:00
whoamikyo
95c1008e5a Added: added toast notifications support to windows 10 2021-02-11 06:24:16 -03:00
LmeSzinc
1e5813ddb3 Merge branch 'master' into dev 2021-01-30 10:54:13 +08:00
LmeSzinc
26c484bd87 Fix: auto search in event daily AB
- Add auto call submarine in auto search
2021-01-28 14:11:06 +08:00
LmeSzinc
14c3dc9b0c Merge branch 'master' into dev 2021-01-28 12:29:13 +08:00
nEEtdo0d
eabede70e1 Fix: Merge latest and resolve conflict in module/campaign/run.py 2021-01-27 15:34:37 -05:00
LmeSzinc
f6fdb1e5ec Fix: Auto fallback to original mode if a map don't have auto search
- Disable auto search in daily hard currently
- Handle auto search menu sometimes disappear
2021-01-28 02:58:25 +08:00
nEEtdo0d
cc5972365d Opt: Add additional parameter to select ui_click calls during daily
Transfer detection status to ensure reward_when_finished or
continuing campaign run will execute handle_guild
2021-01-27 13:50:26 -05:00
LmeSzinc
c244575c94 Fix: _emotion_expected_reduce when using one fleet to clear all 2021-01-28 00:43:06 +08:00
LmeSzinc
5ac50e6910 Add: Support auto search 2021-01-28 00:35:15 +08: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
LmeSzinc
c2f23ab5fd Del: Delete spare fleet
- Fix: [JP] guild boss setting in GUI
2021-01-22 17:02:35 +08:00
LmeSzinc
343b5b4613 Fix: Reset GUILD_POPUP_TRIGGERED in campaign object 2021-01-20 00:21:35 +08:00
LmeSzinc
b96f68289e Fix: GUILD_POPUP_TRIGGERED syncing in config
- Opt: skip interval check if GUILD_POPUP_TRIGGERED
2021-01-19 15:44:12 +08:00
LmeSzinc
1aacce72e8 Fix: _guild_triggered not working in non-continuous campaign
- Opt: Comments in logistics_mission to avoid mis-understandings
2021-01-19 03:38:43 +08:00
nEEtdo0d
bbd44d3d3c Add: If popup encountered, handle guild after campaign completed 2021-01-16 10:26:10 -05:00
nEEtdo0d
845c9d5e67 Fix: Raise exception in case name does not belong anywhere
indicating malformed timing of screen capture for OCR
2021-01-11 13:52:43 -05:00
nEEtdo0d
03ad5434bc Fix: Handle malformed or empty ocr campaign results 2021-01-10 13:16:07 -05:00
Ray
49829abed0 [jp] update assets imgs 2021-01-06 10:14:48 +08:00
LmeSzinc
d8e904622a Fix: Detection of EXTRA stage
Inverted Orthant will goto EXTRA by default, not SP
- Del: Delete unused function _name_separate
2021-01-02 17:08:54 +08:00
nEEtdo0d
e9dcd8f124 Fix: [EN] Regen assets based on master revision 2021-01-01 14:43:25 -05:00
whoamikyo
ded489def4 Upd: [EN] Update campaign mode switch 2 2020-12-31 13:52:31 -03:00
LmeSzinc
9a048775c1 Upd: [CN] Update campaign mode switch 2
- TODO: [EN][JP] update SWITCH_2_EX and SWITCH_2_HARD
2020-12-31 21:57:13 +08:00
nEEtdo0d
2394749e76 Fix: [EN] Assets for campaign mode switching 2020-12-22 16:35:13 -05:00
noname94
cc497ce146 Fix: [JP] assets for the latest update
4169ffb84d, 635e18e579 and 8b7a46b2c8
2020-12-23 03:18:36 +09:00
LmeSzinc
8b7a46b2c8 Fix: Assets for campaign mode switching
- EN and JP need to replace SWITCH_1_*.png
- FLEET_PREPARATION_HARD_*.png don't need to replace
2020-12-22 19:21:39 +08:00
LmeSzinc
5db3b5d57c Fix: Loop in reward if ENABLE_REWARD disabled and commission notice found (#260) 2020-12-15 16:22:28 +08:00
LmeSzinc
3399b64330 Fix: Skip reverting config in hard, if drop screenshot disabled 2020-12-04 22:37:18 +08:00
LmeSzinc
523f31f35e Fix: Wrong folder to save drop screenshot after running daily hard 2020-12-03 12:09:02 +08:00
LmeSzinc
94cb3a390a Fix: SP in Vacation Lane
- Add: siren template in SP
2020-11-27 00:28:50 +08:00
LmeSzinc
15381e9dc3 Fix: Add TEMPLATE_STAGE_HALF_PERCENT to fix SP3
In event Vacation Lane SP3, when it's 50%, a part of the '%' is out of the stage icon, so use the left side of '%' to match stage entrance
2020-11-26 22:46:58 +08:00
LmeSzinc
d37e9ba4b0 Opt: Code formatting 2020-11-21 11:14:43 +08:00
nEEtdo0d
7607d50545 Fix: resolve merge conflicts 2020-11-19 11:19:41 -05:00
LmeSzinc
ace77fa1c7 Add: Handle mechanism and land_based 2020-11-16 21:16:27 +08:00
nEEtdo0d
e125bdaa65 Fix: Move war archive events where others are, adjust code as needed 2020-11-07 16:43:40 -05:00
LmeSzinc
a63ac5631b Opt: Wait for emotion before entering map 2020-10-29 22:21:39 +08:00
whoamikyo
d1dd15ceec Added: Taiwan server support 2020-10-26 15:22:13 -03:00
LmeSzinc
df0c33c72c Opt: Switch class
- Add offset argument, rename is_choice to is_selector
2020-10-20 15:44:32 +08:00
LmeSzinc
b9d09f3d49 Opt: Move module/base/switch.py to module/ui 2020-10-18 21:02:03 +08:00
noname94
aaf93ee11d Add: added ship level detection in combat 2020-10-05 21:45:08 +09:00
LmeSzinc
0244212596 Fix: Stage ENTRANCE in hard mode
- Fix Points.group()
2020-10-04 19:35:30 +08:00
whoamikyo
20955d5ac8 Add: [EN] added Counterattack Within the Fjord event to EN server
- added stop triggered if get a new ship
2020-10-02 12:56:22 -03:00
LmeSzinc
d00e114387 Add: GIF template multi-match
- Fix: IndexError when finding Hard campaign
2020-09-26 02:59:10 +08:00
LmeSzinc
62957d9830 Fix: Daily hard has no campaign_extract_name_image
- Fix event switching with campaign ball
- Add MAP_IS_ONE_TIME_STAGE
- Opt description of event_stage in GUI
- Add info when map file not found
2020-09-18 22:58:18 +08:00
LmeSzinc
a189076da8 Add: Dreamwaker's Butterfly (event_20200917) TS1 T1
- Dev: Fix relative_crop import
2020-09-18 20:09:59 +08:00
LmeSzinc
d141f4763e Opt: Move CampaignOcr, CampaignUI to CampaignBase
- Fix: Handle story after in map enemy searching
- Fix: stage ENTRANCE in event
- Fix: in_stage check in event
- Dev: map_extractor add STAR_REQUIRE_X, fix for tutorial maps
2020-09-18 19:01:40 +08:00
LmeSzinc
0a266411de Fix: Handle new stage entrance icon
- Fix in_stage detection on slow pc
2020-09-18 01:09:59 +08:00
LmeSzinc
3d50a3a418 Fix: Switch campaign mode in other functions except main chapter 2020-09-04 01:42:06 +08:00
LmeSzinc
f0e2767a7d Fix: Wrong drop screenshot save folder after research receive 2020-08-29 01:38:01 +08:00
LmeSzinc
2036ebc8e7 Fix: MapDetectionError after fleet switch (#166) 2020-08-26 18:39:13 +08:00
whoamikyo
09d3f695de Revert "Revert "Merge branch 'dev' of https://github.com/LmeSzinc/AzurLaneAutoScript into dev""
This reverts commit ac9303012c.
2020-08-18 20:48:14 -03:00
whoamikyo
ac9303012c Revert "Merge branch 'dev' of https://github.com/LmeSzinc/AzurLaneAutoScript into dev"
This reverts commit bdc5aa0720, reversing
changes made to 6ee7a62edf.
2020-08-18 20:47:27 -03:00
LmeSzinc
3fa23af1a6 Merge branch 'master' into dev
# Conflicts:
#	module/config/argparser.py
#	module/config/argparser_en.py
#	module/config/argparser_jp.py
2020-08-19 00:19:42 +08:00
whoamikyo
93ee619cbf Opt: alas.bat and dev_tools.bat refactor 2020-08-17 19:26:30 -03:00
LmeSzinc
a5f611dce0 Opt: Reuse device instance
because can't have multiple connection with minitouch
2020-08-17 21:27:24 +08:00
LmeSzinc
c22355ee86 Opt: Handle movable enemy in other battle condition
- Fix walk timeout warning when ambush evade failed
- Disable POOR_MAP_DATA in event_20200723_cn
2020-08-05 18:29:27 +08:00
LmeSzinc
5d9e4b651d Opt: Handle movable enemy without POOR_MAP_DATA enabled and won't goto previous siren location
- Fix: enemy_genre merge
- Add: counter of map walk round
- Opt: Smarter enemy moving wait
2020-08-05 03:07:20 +08:00
LmeSzinc
2dc80628f6 Fix: Campaign go from chapter B to chapter D 2020-08-01 01:18:48 +08:00
whoamikyo
a791c0c0e1 Fix: New siren GIF templates 2020-07-28 07:00:43 -03:00
Kyo
65c7d9e4b8
Merge branch 'nightly' into dev 2020-07-28 06:57:56 -03:00
whoamikyo
d1e2a240ad Fix: New siren GIF templates and New MODE switch assets 2020-07-28 06:55:34 -03:00
LmeSzinc
35a4884ac8 Add: [JP] campaign mode switch assets 2020-07-28 17:10:11 +08:00
LmeSzinc
a0c17b4533 Add: Event SP switch 2020-07-28 14:56:17 +08:00
LmeSzinc
673e8422a4 Add: [CN] event_20200723_cn B3 D3
- Fix homography error when no edge detected
- Increase battle function try count, just for pool logic currently
2020-07-25 03:40:40 +08:00
LmeSzinc
0a8a90cdb1 Typo: Docstring in assets.py 2020-07-15 23:33:38 +08:00
LmeSzinc
0cc2fe2946 Fix: OCR in campaign, commission, daily, hard, fleet, raid, oil
- Add Digit OCR
2020-07-15 03:39:04 +08:00
whoamikyo
c8bdb7c0c2 Assets: Added Assets for equipment
- Minor changes in dev_tools.bat
2020-06-26 19:25:06 -03:00
LmeSzinc
03a78b835e Fix: Catch errors and show info
- No attribute ui_current, if start from unsupported page
- ModuleNotFoundError, if map file not exists
- ModuleNotFoundError, if run daily_ab on SP map
2020-06-23 00:26:05 +08:00
whoamikyo
b90fef9522 Add: Added new exception to ENABLE_EXCEPTION option 2020-06-20 07:15:15 -03:00
whoamikyo
5efc957abb Add: Added option to enable or disable some exceptions
-ALAS will withdraw from the map when it occurs instead of stopping
2020-06-19 05:34:40 -03:00
ferina8-14
47adffd1a0 Merge branch 'master' into try_jp
[JP] copy assets from cn

# Conflicts:
#	module/combat/assets.py
#	module/daemon/assets.py
#	module/handler/assets.py
#	module/retire/assets.py
#	module/reward/assets.py
2020-06-13 03:29:35 +09:00
ferina8-14
ca1fd238a9 Add: [JP] add jp assets, campaign module 2020-06-13 02:49:47 +09:00
kyO The NinjA
ae88a57eba Fix: [EN] Fix Miss detect lines as characters in Commission module 2020-06-08 07:54:21 -03:00
kyO The NinjA
7c15659f7f Add: Added support for hard map
- Now is possible cleared a hard map like a normal map
2020-06-08 05:56:43 -03:00
LmeSzinc
3c35974bbe Fix: add new day check to reward_loop
- Fix emotion reduce when calculating recover
2020-06-06 21:53:31 +08:00
LmeSzinc
2609b4a70d Add: Timezone aware
- Fix mat withdraw on slow device
2020-06-01 02:26:55 +08:00
Erik
4dbd8dd2c1
Merge pull request #5 from LmeSzinc/master
Fix: Enemy detection
2020-05-30 21:31:23 -03:00
LmeSzinc
83508b94d3 Fix: Enemy detection
- Log shows 'E' and wrong prediction is_siren, because attributes are kept to the next detection
- Fix missing predict also
- Fix log show DEFAULT_BUTTON for the entrance of campaign
2020-05-31 02:49:06 +08:00
kyO The NinjA
c491fe7ec5 Add: [EN] New B2 battle logic thanks @justtesting
Add: [EN] New C1 battle logic
Add: [EN] New B3 battle logic
Add: [EN] New D3 battle logic
Add: [EN] New assets
2020-05-30 05:41:06 -03:00
LmeSzinc
c402d3e047 Fix: Folder create when --enable_drop_screenshot disabled 2020-05-29 17:08:43 +08:00