Commit Graph

265 Commits

Author SHA1 Message Date
uye
0803c1b8fa chore: 仓库识别全局缓存,去除开方运算 2025-07-25 10:23:18 +08:00
uye
f44eacdaa8 fix: 公开招募前三个槽均未招募时不会查看第四个槽
fix #12766
2025-07-23 16:34:14 +08:00
travellerse
33d1ee9326 perf: 添加自动编队选项 忽略干员属性要求 (#13250)
* perf: 添加自动编队选项 支持模组不满足时选择默认模组

* refactor: 修改“模组不满足时选择默认模组”为“跳过未满足的干员属性要求”

* rft: 忽略干员属性要求

* i18n: KR

* i18n: EN

---------

Co-authored-by: status102 <102887808+status102@users.noreply.github.com>
Co-authored-by: HX3N <scarlet7518@gmail.com>
Co-authored-by: Constrat <56174894+Constrat@users.noreply.github.com>
2025-07-21 20:16:07 +08:00
status102
686af793a0 perf: 干员因模组不可选中时, 加个输出 (#13230)
* perf: 干员因模组不可选中时, 加个输出

临时措施,总感觉还要改

* chore: Auto update by pre-commit hooks [skip changelog]

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-07-16 17:08:29 +08:00
travellerse
d39167007b feat: 支持编队添加干员时选择模组 (#12811)
* feat: 支持编队添加干员时选择模组

* chore: Auto update by pre-commit hooks [skip changelog]

* feat: 更新模组编号和本地化字符串以支持新模组

* fix: 统一使用激活时的模组字符图像,将识别阈值下降至0.8以识别未激活时的模组字符

* perf: 省略不必要的参数

* perf: 修改模组默认值为`-1: 不修改`

* fix: 修复不使用模组时的点击区域, 使用模板图替换

* fix: roi

* chore: Auto update by pre-commit hooks [skip changelog]

* perf: 优化部分文本

* chore: Auto update by pre-commit hooks [skip changelog]

* fix: 选择模组失败时反选干员

* fix: 选择模组失败时继续检查同组其他干员

* perf: 过个Rgb

Co-authored-by: status102<102887808+status102@users.noreply.github.com>

* chore: 不过灰度

* fix: 添加模板图片以匹配y模组字母的两种形式

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: status102 <102887808+status102@users.noreply.github.com>
Co-authored-by: uye <99072975+ABA2396@users.noreply.github.com>
2025-07-11 23:56:37 +08:00
uye
85b40785bb fix: 公招刷新 2025-07-05 09:47:13 +08:00
uye
0c78e0f5fa fix: 未勾选自动确认 3 星且有对应倾向 3 星 tag 时不会刷新 2025-07-04 18:30:23 +08:00
Constrat
c29d290f14 style: fix clang 2025-06-13 14:20:26 +02:00
status102
cdcd7923f2 perf: 自动编队跳过空干员职业组 2025-06-13 15:54:56 +08:00
status102
964c64576d perf: 自动战斗编队固定优先编入所有干员, 且按照作业顺序 2025-06-06 13:24:55 +08:00
status102
597b8fd818 revert 8fb4b9951f 2025-06-06 13:13:45 +08:00
status102
8fb4b9951f fix: 漏了.jpg
[skip changelog]
2025-06-06 13:02:20 +08:00
status102
8c55740e57 feat: 自动战斗费用击杀数缓存, 减少性能消耗 (#12879)
测试条件:待部署1,无技能检测,单个部署等击杀数,不开GPU加速

一场`1-7`的score情况:
- 击杀数未变化
  - 1.0 (1128: 30.87%)
  - 0.99 (2519: 68.94%)
  - 0.98 (5: 0.14%)
  - 0.97 (2: 0.055%)
  - 0.95~0.96 未出现
- 击杀变化
  - 0.94 (1)
  - 0.93 (2)
  - 0.92 (1)
  - 0.86 (1)
  - ...
[asst.log](https://github.com/user-attachments/files/20582872/asst.log)

有缓存:CPU 15~17%

![image](https://github.com/user-attachments/assets/0aa62313-4418-4837-ba0d-c3768aeab04a)


无缓存:CPU 48~52%

![image](https://github.com/user-attachments/assets/b71b838d-089d-4aa0-9e78-23c7d65c52cf)
2025-06-04 22:05:30 +08:00
status102
0d0d82b6aa refactor: 干员识别存储 (#12881) 2025-06-04 22:04:38 +08:00
status102
39f82a4224 feat: 自动战斗费用击杀数缓存, 减少性能消耗 2025-06-04 09:56:49 +08:00
status102
1a21c530d8 fix: 非部署动作时, 动作前等待结束后不必要的部署区更新可能触发暂停识别, 导致动作滞后 2025-05-29 22:15:23 +08:00
status102
0369a488c9 fix: 自动编队添加自定义干员时, 点击位置错误 2025-05-23 15:26:24 +08:00
status102
4760ea54f1 refactor: 干员名识别封装 2025-05-23 15:17:55 +08:00
status102
59f4282858 feat: 自动战斗费用识别缓存, 减少性能消耗 (#12765)
* feat: 自动战斗费用识别缓存

* refactor: 返回值格式

* chore: 改个名字

* chore: rename

* fix: 改名改着改着改错了

* fix: var init

* perf: 简化返回值

* fix: template

* fix: platform
2025-05-23 09:02:00 +08:00
status102
09aba8394b perf: 账号切换查找账号最大滑动次数增加到20 2025-05-22 11:01:18 +08:00
status102
31b01dd4ba fix: 自动编队干员Ocr左侧内缩过度 2025-05-21 11:08:49 +08:00
status102
f6b3f70319 fix: 自动编队roi溢出闪退 2025-05-21 09:57:47 +08:00
status102
e2d712791e perf: 自动战斗编队优化干员识别, 修复roi未包含完整干员名 (#12740)
* perf: 自动战斗编队优化干员识别

* chore: Auto update by pre-commit hooks [skip changelog]

* perf: task

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-05-20 14:31:35 +08:00
status102
bf1856e959 fix: mac platform 2025-05-18 23:36:54 +08:00
status102
b0f16bf4aa fix: 自动战斗编队时重复选中同一干员 2025-05-18 20:57:34 +08:00
status102
23c5efa2c0 perf: 自动战斗编队时增加干员组名输出 2025-05-18 19:56:25 +08:00
uye
b5a6d44ce6 fix: 开始战斗前闪退无限循环识别,关卡名检查放宽至一分钟 (#12580) 2025-05-10 19:58:07 +08:00
uye
327bf5b728 fix(BREAKING CHANGE): RecruitSupportOperator 拼写错误 2025-04-29 19:49:54 +08:00
Constrat
ce07e061e9 style: precommit clang? 2025-04-20 11:26:52 +02:00
Constrat
995af0fcda ci: bump oxi, clang, prettier, markdownlint (#12388)
* ci: bump oxi, clang, prettier, markdownlint

* chore: Auto update by pre-commit hooks [skip changelog]

* chore: 移除不再使用clang-format的JSON文件

* chore: clang-format disable

* chore: clang版本更新

* chore: Auto update by pre-commit hooks [skip changelog]

* chore: ver注释

* docs: Modify the clang-format version restriction in the documentation to match the current changes

@zzyyyl

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: status102 <102887808+status102@users.noreply.github.com>
2025-04-20 09:42:41 +08:00
Aliothmoon
76e41e30e2 feat: 调整按钮阴影 (#12398)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-04-19 00:14:23 +08:00
Constrat
f33fcc4ce5 style: clang mass formatting 2025-04-17 09:32:58 +02:00
Roland125
b2d2b007b0 fix: 修复公招的几个问题 (#12056)
* fix: 修复不自动招募4星干员时,执行空招募的问题

* chore: Auto update by pre-commit hooks [skip changelog]

* fix: 修改is_calc_only_task()的判断条件,避免正常招募流程的一种情形(所有星级都不执行招募)被错判为仅公招计算。从公招计算启动招募时,加入-1作为标识。
fix: 在正常招募流程中,自动招募1星时,将1星也加入comfirm_level

* chore: Auto update by pre-commit hooks [skip changelog]

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-02-27 21:27:55 +08:00
Roland125
b252ecd863 fix: 修复不自动招募4星干员时,会执行空招募的问题 (#12054)
* fix: 修复不自动招募4星干员时,执行空招募的问题

* chore: Auto update by pre-commit hooks [skip changelog]

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-02-27 19:54:12 +08:00
Roland125
b52ef75c99 fix: 3星招募逻辑修复 (#11913)
* fix: 3星招募逻辑修复
2025-02-14 20:04:31 +08:00
uye
8e94570489 Revert "fix: 修复招募功能中的逻辑漏洞,并添加相应的测试函数 (#11898)"
This reverts commit 6009646f62.
2025-02-14 18:33:27 +08:00
Roland125
6009646f62 fix: 修复招募功能中的逻辑漏洞,并添加相应的测试函数 (#11898)
* fix: 修复招募功能中的逻辑漏洞,并添加相应的测试函数

* chore: Auto update by pre-commit hooks [skip changelog]

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-02-14 10:47:54 +08:00
status102
20c66eec45 docs: 自动招募添加少量注释
[skip changelog]
2025-02-13 12:15:49 +08:00
status102
34fa74e8f3 feat!: 自动战斗不再允许使用带TR的导航关卡名禁用自动编队,改为自动检测 (#11868)
* fix: 自动战斗不再允许使用带TR的导航关卡名禁用自动编队,改为自动检测

* chore: Auto update by pre-commit hooks [skip changelog]

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-02-13 09:49:44 +08:00
status102
52f8074d37 fix: 自动编队干员选择错误 2025-02-11 21:41:37 +08:00
status102
be8628157d fix: 自动编队错误
[skip changelog]

fix #11859
2025-02-11 21:29:13 +08:00
status102
ba336fa510 perf: 自动战斗自动编队在选择职业前编入非干员组干员 (#11830) 2025-02-10 15:44:13 +08:00
status102
f3372f8500 fix: 移除账号切换中不必要的任务 (#11820)
c4cdbd729b
2025-02-10 15:32:39 +08:00
Roland125
9e1eff90a6 fix: 招募测试函数修复 (#11723) 2025-02-03 02:36:38 +08:00
uye
93ab86afbb chore: Release 模式下,如文件夹中包含 DEBUG.txt 也会输出 DBG 日志 (#11496)
* chore: Release 模式,如文件夹中包含 DEBUG.txt 也会输出 DBG 日志

* chore: lambda 被否了

* chore: 不读 DEBUG
2025-01-12 17:46:38 +08:00
Roland125
b47b969c1e fix:修正nothing to select情况下的判断逻辑 2025-01-05 11:22:19 +08:00
Roland125
3077ed1eb7 feat:不自动招募1/5/6星干员时,不计入最大确认招募次数 (#11380)
* feat:不自动招募1/5/6星干员时,不计入最大确认招募次数
test:添加相应的测试函数(仅Relwithdebinfo生效)
fix:添加calc_task_result_type结构体的构造函数。修改其用法,使得代码更直观。

* chore: Auto update by pre-commit hooks [skip changelog]

* fix:修复跳过特定招募计数功能中的逻辑错误#11380

* chore: Auto update by pre-commit hooks [skip changelog]

* Revert "fix:修复跳过特定招募计数功能中的逻辑错误#11380"

This reverts commit 4870e127aa.

* fix:修复跳过特定招募计数功能中的逻辑错误#11380

* chore: Auto update by pre-commit hooks [skip changelog]

* fix: do not return early for calc only task

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Horror Proton <107091537+horror-proton@users.noreply.github.com>
2025-01-04 19:41:40 +08:00
uye
dfefeae353 chore: 上报添加 User-Agent 2025-01-04 14:03:03 +08:00
Weiyou Wang
f0174a6541 feat: 自动编队允许指定助战单位 (#11075)
* feat: 自动编队自动借助战

Revert d78fc68

fix: 招募助战后继续(缺少点击快速招募)

i18n: 翻译

style: clang-format

fix: basetask template

fix: werror

perf: 注释、format

i18n: en

perf: 完成功能实现,复用task,进行gui输出

perf: 更改默认状态

feat: BattleFormationTask

Revert 05baeb4 (Back to 739aa03)

* fix: 缺干员回到主界面的时候应该点确认而不是返回

* feat: 助战干员职业选择栏模版

* refactor: UseSupportUnitTaskPlugin

* chore: Auto update by pre-commit hooks [skip changelog]

* perf: 默认值适配国服

* chore: Auto update by pre-commit hooks [skip changelog]

* feat: try_find_and_apply_support_unit

* chore: Auto update by pre-commit hooks [skip changelog]

* fix: 大概可以用了

* fix: 补充 struct 的构造函数

* chore: Auto update by pre-commit hooks [skip changelog]

* fix: 添加默认构造函数

* chore: Auto update by pre-commit hooks [skip changelog]

* fix: 改改类型

* fix: callback[what] 纠正

* perf: roi及初始化优化

* perf: 简化中英文查找

* perf: rename func

* perf: click roi

* fix: 在点击助战干员的行动后添加 LoadingText

* fix: 打点 Log

* fix: remove unused function

---------

Co-authored-by: status102 <102887808+status102@users.noreply.github.com>
Co-authored-by: 晓丶梦丶仁 <74444214+Daydreamer114@users.noreply.github.com>
2024-11-06 00:37:43 +11:00
status102
1daa200c40 Revert "feat: 自动编队允许指定助战单位 (#10820)"
This reverts commit e595aa021f.
2024-11-05 17:57:24 +08:00