status102
39f82a4224
feat: 自动战斗费用击杀数缓存, 减少性能消耗
2025-06-04 09:56:49 +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
uye
25f95111db
perf: 地图截图改用 jpeg
2025-05-20 20:06:05 +08:00
uye
ea041f477d
perf: 地图截图使用 360p 保存坐标点,节省储存空间
2025-05-20 19:37:54 +08:00
uye
b5a6d44ce6
fix: 开始战斗前闪退无限循环识别,关卡名检查放宽至一分钟 ( #12580 )
2025-05-10 19:58:07 +08:00
Constrat
f33fcc4ce5
style: clang mass formatting
2025-04-17 09:32:58 +02:00
uye
4761f1690e
chore: 调整 include 顺序
...
[skip changelog]
2025-04-17 15:26:51 +08:00
uye
84037ae470
fix: 二次点击部署栏取消选中时,点击 y 坐标较小的 rect
2025-04-17 15:25:56 +08:00
status102
852938e80c
Revert "perf: 自动战斗待部署识别减少一次预识别"
...
This reverts commit e4f6c8c1a8 .
2025-04-17 12:40:47 +08:00
status102
72333ab77d
chore: 自动战斗待部署区识别未知干员已知问题标记
...
待部署区相同干员 (如 超重绝缘水泥) 会在关闭第一个时候, 可能错误展开第二个, 导致识别第二个时提前关闭第二个, 无法识别名字
2025-04-17 11:03:18 +08:00
status102
e4f6c8c1a8
perf: 自动战斗待部署识别减少一次预识别
2025-04-17 10:58:44 +08:00
status102
881e1014e8
rft: rename
2025-04-17 10:54:18 +08:00
status102
749890cb11
rft: rename
2025-04-17 10:16:48 +08:00
Weiyou Wang
341f5b4acd
fix: 先取消暂停再取消选择 ( #12369 )
...
* fix: 先取消暂停再取消选择
* fix: 换个思路
* fix: 重新识别头像位置
* fix: 删除多余的判断
* fix: 保险起见加回来点东西
* fix: 第二遍点击后更新 name_image
2025-04-16 20:51:55 +08:00
status102
c042fa1f3d
fix: 移除battleHelper中的BestMatcher复用 ( #12136 )
...
* fix: 移除battleHelper中的BestMatcher复用
* fix: type
* fix: require
2025-04-14 08:29:35 +08:00
Weiyou Wang
1580c79db5
fix: update deployment ( #11959 )
...
* fix: update deployment
* fix: 把 check_in_battle 加回来
* fix: misc
* fix: 逻辑取反了
* fix: typo
* refactor: 去掉不需要的 init 参数与重复的 check_in_battle 检查
* refactor: 注释
* fix: misc
---------
Co-authored-by: uye <99072975+ABA2396@users.noreply.github.com >
2025-04-09 17:46:01 +08:00
status102
b9f663180f
perf(core): 自动战斗开始前仅移除相似的召唤物头像缓存
2025-03-14 15:05:40 +08:00
status102
301c641cf8
perf: 避免不必要拷贝
...
[skip changelog]
2025-02-19 13:07:10 +08:00
status102
8b4e768cb4
fix: 修复BattleHelper中的意外报错
2025-02-19 13:06:19 +08:00
status102
e5bb724420
fix: 自动战斗使用技能keep_waiting情况下在离开战斗、中止任务时无法中断
2025-02-14 12:33:26 +08:00
status102
6fec81a3c1
Revert "fix: use_skill 在按下停止按钮后不退出 ( #11761 )"
...
This reverts commit 94900d59aa .
2025-02-14 12:33:26 +08:00
晓丶梦丶仁
94900d59aa
fix: use_skill 在按下停止按钮后不退出 ( #11761 )
2025-02-06 16:01:00 +08:00
uye
e1d77936ad
fix: 部署/开技能后添加等待过度动画延迟,避免屏幕倾斜遇到的识别错误
2024-10-13 18:24:43 +08:00
uye
c2f1230991
perf: 拆分技能识别与使用 ( #10536 )
...
* perf: 拆分技能识别与使用
* chore: 调整 use_all_ready_skill 技能使用过快判断
2024-09-08 16:27:10 +08:00
uye
90c18993ed
chore: 调整使用技能间隔日志输出等级,调整间隔时间
2024-09-07 14:21:18 +08:00
uye
af01e13fb4
chore: 截图延迟过大时可能会关闭可关闭技能
2024-09-03 17:19:34 +08:00
zzyyyl
ec42d503e0
feat!: 更新保全 strategies 逻辑 ( #10314 )
...
* feat: 保全策略更新
* docs: 修改保全文档对 strategies 的描述
* style: format
[skip changelog]
* feat: 无可用工具人且无 core 时允许检查同一格的后续策略
* style: format
[skip changelog]
* feat: 不再检查干员是否暴毙
Co-authored-by: status102 <102887808+status102@users.noreply.github.com >
* fix: 修复m_all_cores可能插入空core名字导致保全战斗主要部署逻辑结束后仍然识别待部署区
* fix: var reset
---------
Co-authored-by: status102 <102887808+status102@users.noreply.github.com >
2024-08-29 19:53:52 +08:00
Horror Proton
ba4a36086c
feat: 使用变换后的图像进行技能按钮识别 ( #10293 )
...
* feat: use `cv::warpPerspective` in `use_skill`
* chore: remove unused reclamation task info
* chore: Auto update by pre-commit hooks
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-08-25 21:31:34 +08:00
zzyyyl
856cc6494d
feat!: 拆分 maskRange 与 colorScales;增加 colorWithClose 开关数色时闭运算
2024-08-17 01:22:17 +08:00
Weiyou Wang
78aa0dd40a
fix: 修复debug模式在intel mac系统下无法通过编译的问题 ( #9940 )
...
疑似bug原因为无法自动将 std::chrono::milliseconds 转换为 std::string
2024-07-30 15:11:25 +10:00
zzyyyl
98cde630a4
feat: mask_range 支持彩色掩码
2024-07-22 13:12:10 +08:00
zzyyyl
b3631d85a4
perf: 避免空 method 警告
...
set_method 只允许一种方法;增加多处 set_method
2024-07-21 12:44:47 +08:00
DavidWang19
63e4c17ebc
fix: 修复肉鸽关卡通用策略无法识别费用的问题
2024-07-18 12:40:39 +01:00
status102
1be6265bbb
fix: 自动战斗开始时移除召唤物类头像缓存,以避免跨局错误识别相似技能的召唤物 ( #9649 )
...
* fix: 自动战斗开始时移除召唤物类头像缓存,以避免跨局错误识别相似技能的召唤物
* chore: description
2024-07-13 22:53:04 +08:00
Horror Proton
c53426b102
refactor: move functions to TileCalc2 and TileDef
2024-06-16 10:47:59 +08:00
梁星逢
d4768114bc
fix: 弹药类技能不能二次关闭的问题 ( #9379 )
...
fix: 弹药类技能二次关闭问题
2024-06-14 03:21:15 +08:00
uye
b8bd6abe9f
fix: 无法跳过关卡开始的剧情
2024-06-14 00:55:46 +08:00
Lancarus
72546c2344
feat: 增加暂停放技能和暂停撤退 ( #9348 )
2024-06-12 18:22:52 +08:00
uye
d90664d138
chroe: 增加开技能最小间隔时间
2024-06-06 17:36:35 +08:00
Lancarus
a41d733f1d
fix: 部署失败后不清除已占用格子 ( #9111 )
2024-05-15 01:08:40 +08:00
uye
8ae9b1491b
fix: 暂停下干员卡在结束部署后
2024-05-06 14:25:41 +08:00
status102
85427d0cb1
fix: 增加对地图文件检查,避免只存在索引
2024-04-25 20:07:17 +08:00
Horror Proton
34bf1cfd9d
feat: calculate position of skill & retreat button
2024-03-31 10:16:20 +08:00
status102
23a123b1c4
fix: 战斗中教程剧情导致错误的倍速切换
2024-03-22 16:20:29 +08:00
Lancarus
3e8b4b529c
fix: 修复肉鸽重复部署一个干员后不会开启技能 ( #8447 )
2024-03-02 13:27:03 +08:00
status102
f6d571e036
perf: 如果待部署区未识别干员全部为冷却中,则跳过暂停识别
2024-02-15 16:15:54 +08:00
status102
2d171e7b1a
perf: 优化待部署区识别,减少CPU占用
2024-02-07 10:35:25 +08:00
uye
bdf43752c1
perf: 优化自动战斗部署栏识别条件,保全增加节能模式 ( #8044 )
...
* perf: 优化保全部署栏识别条件,增加节能模式
* fix: equal error
* chore: 跳过update改为sleep
* perf: 优化保全逻辑
* chore: 仅在开局识别干员部署费用
2024-01-21 15:30:37 +08:00
status102
965c7a6f4d
perf: 优化识别干员姓名后的数据插入
2023-11-28 17:19:11 +08:00
status102
dc01588743
refactor: 重构BattleHelper的m_cur_deployment_opers为vector
2023-11-27 16:22:44 +08:00