Commit Graph

5812 Commits

Author SHA1 Message Date
Constrat
1a27d9623d Revert "ci: optimize templates perf and fixes" (#9929) 2024-07-26 18:49:49 +01:00
Constrat
d7f1a22b43 ci: optimize templates perf and fixes (#9928) 2024-07-26 18:47:12 +01:00
zzyyyl
e9093b07a0 perf(debug): 简单处理 DEBUG 的时候 OCR 很卡的问题 2024-07-26 19:20:45 +08:00
Constrat
298b8fd964 style: removed empty lines
[skip ci][skip changelog]
2024-07-25 23:27:08 +02:00
Sherkey
0516b91406 feat: 肉鸽五层 BOSS 前暂停功能 (#9801)
* feat: 肉鸽五层 BOSS 前暂停功能

Co-authored-by: Lancarus <34369130+Lancarus@users.noreply.github.com>
Co-authored-by: DavidWang19 <dwang0340@gmail.com>
2024-07-25 11:50:45 +01:00
status102
aa547f6db9 perf: 简化RoguelikeTask set_params
[skip changelog]
2024-07-25 09:59:20 +08:00
status102
276199475c perf: 简化RoguelikeTask set_params 2024-07-25 09:25:45 +08:00
status102
f6376626a5 perf: 修改 set_params 以避免语义不一致 2024-07-23 22:30:51 +08:00
Weiyou Wang
ac4a9bcc71 refactor: 肉鸽坍缩范式插件代码整理 (#9833) 2024-07-23 22:48:37 +10:00
status102
e0e3d20970 fix: 肉鸽插件set_params补充 (#9893) 2024-07-23 12:35:54 +00:00
status102
53cf85be94 perf: 迁移肉鸽投资参数设置 2024-07-23 19:38:21 +08:00
zzyyyl
aa19f7835e feat: 禁止插件修改自身 enable 2024-07-23 19:26:48 +08:00
status102
efdcfd7550 fix: set_params语义一致化 2024-07-23 18:29:50 +08:00
zzyyyl
4b2ad01b75 fix: compile error 2024-07-23 18:21:32 +08:00
zzyyyl
1d9d51a6f2 fix: override 2024-07-23 18:13:24 +08:00
zzyyyl
2366cebbdc fix: compile error 2024-07-23 18:02:39 +08:00
Weiyou Wang
497f01058e feat: MultiTemplMatcher (#9850)
* feat: MultiMatcher

* fix: 修正对threshold的处理
2024-07-23 17:55:56 +08:00
zzyyyl
32748b1dd0 feat: 将 config 逻辑从 RoguelikeTask::set_params 移至 RoguelikeConfig::set_params 2024-07-23 17:49:22 +08:00
zzyyyl
a2f67d5663 feat: 将部分逻辑从 RoguelikeTask 移至对应插件的 set_params 2024-07-23 17:49:22 +08:00
zzyyyl
e76acfcdf2 feat: 使用 set_params + set_enable 管理插件而不是延迟注册插件 2024-07-23 17:49:13 +08:00
status102
6835fbc0fb fix: 移除find_plugin
[skip changelog]
2024-07-23 17:41:59 +08:00
status102
a9cdc678f1 revert: 移除find_plugin
@zzyyyl

link to 48a9c81e8c
2024-07-23 17:19:37 +08:00
dantmnf
55198c76da feat: win32 console-aware debug logger
[skip changelog]
2024-07-23 16:58:18 +08:00
zzyyyl
68bcf63bae Revert "feat!: 允许插件Verify期间自变更enable,以禁用非预期的启用 (#9876)"
This reverts commit b21c2b62f9, reversing
changes made to 5cdf6e907e.
2024-07-23 16:22:46 +08:00
status102
d9632cd97b perf: 非萨米肉鸽时禁用仅萨米用插件 (#9888)
* perf: 非萨米肉鸽时禁用仅萨米用插件

* style: format

* Revert e470835dd5
2024-07-23 07:18:27 +00:00
Lancarus
c123c0e03d fix: 增加肉鸽分队存储及判断,避免蓝图队影响其他肉鸽存钱 2024-07-23 12:13:51 +08:00
status102
1c262d7c58 perf: 复用RoguelikeControl停止流程 2024-07-23 12:13:50 +08:00
status102
745a70ce31 perf: find_plugin 追加 const 修饰 2024-07-23 12:13:50 +08:00
Sherkey
858a7c32b3 feat: 隐藏托盘图标选项 (#9819)
close #9464
2024-07-23 12:13:38 +08:00
status102
c3a9f28c17 perf: WpfGui添加对坍缩范式插件callback的nullable check (#9848) 2024-07-23 10:08:32 +08:00
status102
494e6bb9c4 style: format 2024-07-23 08:23:39 +08:00
status102
e470835dd5 perf: 非萨米肉鸽时禁用仅萨米用插件 2024-07-23 08:23:25 +08:00
status102
cc3c360179 Revert "feat: 肉鸽插件添加设置参数功能,设置失败的插件会被自动disable (#9862)"
This reverts commit bd59e12f1c.
2024-07-23 08:06:38 +08:00
status102
cae8d0b7e3 feat!: 允许插件Verify期间自变更enable,以禁用非预期的启用 2024-07-23 07:57:34 +08:00
status102
662675eccb perf: 存款满后禁用肉鸽投资插件 2024-07-23 07:57:33 +08:00
Weiyou Wang
bd59e12f1c feat: 肉鸽插件添加设置参数功能,设置失败的插件会被自动disable (#9862)
* feat: 肉鸽插件添加设置参数功能,设置失败的插件会被自动移除

* feat: 肉鸽插件设置参数示例——坍缩范式插件

* refactor: 保留 virtual 关键字
2024-07-23 03:09:29 +10:00
zzyyyl
81cd82b829 feat: 插件 verify 前先判断 enable 2024-07-22 22:37:08 +08:00
zzyyyl
1d8de358cd feat!: 增加图像匹配算法 RGBCount, HSVCount (#9795)
新增基于找色的图像匹配算法(

- RGBCount
   先将待匹配区域和模板图片依据 maskRange 二值化,以 F1-score 为指标计算 RGB 颜色空间内的相似度
- HSVCount
   类似 RGBCount,颜色空间换为 HSV
2024-07-22 22:31:10 +08:00
zzyyyl
f07e76f4dc feat: 增加特定情况下检查到 roi 为全屏的警告 (#9674) 2024-07-22 20:09:29 +08:00
status102
81b536d520 perf: 拆分肉鸽数据 (#9841) 2024-07-22 09:45:39 +00:00
pre-commit-ci[bot]
81c8e3faa9 fix: 修复隐式全屏 roi 相关警告
* fix: 修复 DropsFlag 相关 task 的 roi 为全屏的问题

* perf: 统一肉鸽 Stage 类任务 baseTask 继承到对应 theme

* fix: 修复 Sami@Roguelike@StageBoonsAI6 的 roi 为全屏的问题

fix #9557
2024-07-22 17:29:43 +08:00
zzyyyl
a8a87131e2 feat: 增加特定情况下检查到 roi 为全屏的警告
perf: 对隐式全屏 roi 检测加点注释
2024-07-22 17:18:57 +08:00
Weiyou Wang
66879af5af refactor: WpfGui添加对坍缩范式插件callback的nullable check 2024-07-22 18:39:13 +10:00
status102
48a9c81e8c feat: AbstractTask新增附加已有插件、插件查找 (#9816)
* feat: 新增插件查找

* feat: AbstractTask增加附加已有插件

* perf: attach -> append
2024-07-22 16:28:33 +08:00
Lancarus
64b6cf88ab fix: 肉鸽卡在干员技能面板 (#9843) 2024-07-22 15:01:11 +08:00
zzyyyl
2c59dff4fe feat: HSVCount 的例子 2024-07-22 14:43:43 +08:00
zzyyyl
98e24a1093 feat!: 增加图像匹配算法 RGBCount, HSVCount
feat: 使用 F1-score 作为返回结果而不是 Recall

perf: 简化 F1-score 计算
2024-07-22 14:43:35 +08:00
zzyyyl
49fb5bcf2b feat!: mask_range 支持彩色掩码 (#9818) 2024-07-22 14:42:10 +08:00
Alisa
d17ff90a5c i18n: Translations update from MAA Weblate (#9845)
* i18n: Translated using Weblate (Japanese)

Currently translated at 99.0% (728 of 735 strings)

Translation: MAA Assistant Arknights/WPF GUI
Translate-URL: https://weblate.maa-org.net/projects/maa/wpf-gui/ja/

* i18n: Translated using Weblate (Korean)

Currently translated at 99.3% (730 of 735 strings)

Translation: MAA Assistant Arknights/WPF GUI
Translate-URL: https://weblate.maa-org.net/projects/maa/wpf-gui/ko/

* i18n: Translated using Weblate (Chinese (Traditional))

Currently translated at 99.7% (733 of 735 strings)

Translation: MAA Assistant Arknights/WPF GUI
Translate-URL: https://weblate.maa-org.net/projects/maa/wpf-gui/zh_Hant/

---------

Co-authored-by: Anonymous <noreply@weblate.org>
2024-07-22 14:41:21 +08:00
zzyyyl
a244d57375 feat: 删除 HashTaskInfo 相关 (#9724) 2024-07-22 14:39:30 +08:00