Commit Graph

6155 Commits

Author SHA1 Message Date
uye
6357b407b5 chore: 将生息演算的 策略 选项移至常规设置 2024-10-02 15:25:51 +08:00
uye
dcd2ebc0ff chore: 优化编队模板图片,识别不到对应职业图标时在 全部 中寻找 2024-10-02 14:29:13 +08:00
uye
4754eb83eb chore: 截图延迟过高时自动降低目标帧率 2024-10-02 12:14:10 +08:00
MistEO
4646bf6dc7 fix: 修复漏了的初始化 2024-10-01 22:29:17 +08:00
uye
f6bd8c9fc0 fix: 肉鸽重新编队应在首页执行 (#10465)
#9510
正常来说 cur_page 变量都是正确的,可以作为判断依据,既不用每次都划几下也不用识别左侧是否还有干员。
2024-09-30 20:40:43 +08:00
uye
989ae13c63 chore: 优化可清除内容的下拉框显示效果
Co-authored-by: Weiyou Wang <Weiyou.Wang@anu.edu.au>
2024-09-29 22:10:43 +08:00
uye
914baa4afe chore: 移除 ConnectSettingsUserControl 设计时高度限制 2024-09-29 22:10:43 +08:00
uye
f4a139fe25 chore: 掉落统计显示当前关卡名称 2024-09-29 15:47:19 +08:00
Weiyou Wang
237423dc8d feat: 为战斗界面识别模块添加部署费用左侧图标的识别 (#10702)
* feat: 为战斗界面识别模块添加部署费用左侧图标的识别

* 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>
2024-09-29 00:42:19 +08:00
Constrat
3868ec7da7 chore: removed wrong tooltip from AllowUseStoneSave 2024-09-28 15:15:35 +02:00
Constrat
fae99306af i18n: EN tweak for Use Originium option 2024-09-28 14:52:23 +02:00
Constrat
204216e3a7 i18n: EN tweak 2024-09-28 13:35:36 +02:00
uye
e7c993bffb chore: 执行完成后动作前输出当前选择的动作 2024-09-28 00:39:58 +08:00
uye
0ec3512827 perf: InvokeAsync 前判断是否已经在 ui 线程 2024-09-28 00:09:28 +08:00
uye
7d405c8291 fix: 强制定时启动前显示窗口 导致程序崩溃
fix #10692
2024-09-27 23:47:26 +08:00
uye
5027b10319 fix: 强制定时启动报错 2024-09-23 12:58:06 +08:00
uye
ac98c5e27a chore: TimerSettings 改用 NumericUpDown 验证输入 2024-09-23 12:27:26 +08:00
uye
7a603abe59 chore: 定时启动添加日志 2024-09-23 11:44:49 +08:00
uye
13912fda44 chore: 主定时器改用 Timer 2024-09-23 11:22:32 +08:00
uye
638af3fe5a chore: 在 ui 线程清除日志 2024-09-23 11:21:29 +08:00
uye
36f12c31ed perf: 优化 RecognizerViewModel (#10641)
* perf: 优化 RecognizerViewModel

删除多余变量,避免大量内存重复申请

* perf: 优化 peep 逻辑

* chore: 优化异步截图

* perf: 移除不必要的任务调用

* perf: 优化截图

* chore: stream 使用 using

* chore: TestLinkAndGetImage 改用 AsstGetFreshImageAsync

* refactor: 提取 peep 页面,允许自定义触发器间隔

* chore: 添加 PeepInterval 最小值

* chore: 避免重复订阅事件

* chore: _peepImageTimer 改用 System.Timers.Timer

* refactor: PeepInterval 改为 PeepTargetFps

* fix: 截图时间过长时导致队列阻塞无法停止观测

* perf: 增加截图任务并发限制

* chore: 调整变量名

说起来真有人能截图截到 Int.Max 吗

* chore: 调整初始分配线程数

---------

Co-authored-by: status102 <102887808+status102@users.noreply.github.com>
2024-09-21 22:53:19 +08:00
status102
3a92879327 perf: 截图测试使用GetFreshImage替代添加冗余任务 2024-09-20 10:11:08 +08:00
uye
d19f3cacf4 chore: 启动后对已有配置排序
fix https://github.com/orgs/MaaAssistantArknights/discussions/10633
2024-09-18 19:44:07 +08:00
uye
2829455fa2 feat: capture fresh image (#10460)
* feat: 使用 AsstAsyncScreencap 的实时截图

---------

Co-authored-by: uye <99072975+ABA2396@users.noreply.github.com>

* feat: 增加空阻塞任务以便调试

* chore: 增加帧率显示

---------

Co-authored-by: zzyyyl <aysyxx53@hotmail.com>
2024-09-18 00:41:30 +08:00
uye
228e4f03b8 feat: LD 截图 (#10581)
* feat: EmulatorExtras 子模块更新

* feat: 写了一坨

* feat: 大概是能用了

* feat: ui 支持 ld 截图增强

* chore: 修改 LdSpecialScreenshot 颜色,调整版本要求描述

* chore: 使用 steady_clock

* chore: 移除未使用变量
2024-09-17 22:52:18 +08:00
uye
78797ab761 chore: 喜报! (#10578)
* chore: 喜报!

* fix: 无法复制完整信息

* perf: 优化彩色显示效果

* feat: 支持切换ErrorView

* feat: 添加UI开关

* fix: 绑定不生效

* chore: 修改标题

* chore: 改成正常的翻译

* chore: 去除多余翻译

* chore: 调整淡入时长

* chore: 降低点图片质量

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: SherkeyXD <57581480+SherkeyXD@users.noreply.github.com>
2024-09-17 22:51:43 +08:00
Constrat
aea0521229 i18n: SSS log EN tweak 2024-09-17 11:44:16 +02:00
uye
ec17c69588 fix: 下干员操作不显示干员组名字
fix #10629
2024-09-16 23:26:53 +08:00
status102
06b261e334 i18n: zh任务链完成耗时 2024-09-16 17:23:08 +08:00
uye
9359fdc8d5 fix: adb lite 无法连接 2024-09-16 16:35:28 +08:00
uye
9c1488bedf fix: 配置问题 (#10601)
* fix: _configurationBakFile 不生效

* chore: HttpService 使用 SettingsViewModel 属性

* chore: GetValue 增加同步锁

* chore: 备份有错误的配置文件

* chore: 使用 ConcurrentDictionary

* style: 减少缩进

* chore: 移除未使用变量

* chore: 目录下存在 DEBUG/DEBUG.txt 的情况下输出更低等级的日志信息

* fix: 无配置文件时报错

* chore: gui.log 输出日志等级

* chore: 给写入文件的时候加锁

* perf: 减少重复检查

* fix: omit

---------

Co-authored-by: status102 <102887808+status102@users.noreply.github.com>
2024-09-15 22:04:11 +08:00
uye
4a81db5980 fix: 重置战斗参数状态错误 2024-09-15 15:12:12 +08:00
Autumn Sound
6b56af7886 feat: 移除在非windows上locale的实现 (#9680) 2024-09-15 14:17:32 +08:00
dragonheart107
e8478ad70d i18n: RA2 replace brush with farm (#10610)
fix mistranslation 'brush' into farm en-us.xaml
2024-09-14 22:35:54 +08:00
uye
a877a3b14b perf: 使用 devices 判断是否需要连接 (#10606)
* perf: 使用 devices 判断是否需要连接

* chore: 判断是否存在捕获组
2024-09-14 14:29:01 +08:00
Constrat
1e817ae12f i18n: EN reduced copilot output 2024-09-12 15:18:26 +02:00
uye
0ac0ebaad2 perf: 优化 connect 逻辑 (#10571)
* chore: 优化 connect 对实体设备和已有错误路径下自动检测的支持

* perf: 优化 core 对 connect 成功的判断逻辑

may fix 类似 #10426 的异常情况
2024-09-12 13:07:36 +08:00
uye
808b2598e9 perf: 增强任务和基建列表健壮性,部分异常配置下可自动还原
fix #10583
2024-09-11 22:56:36 +08:00
Constrat
25c4f09abb fix: missing parameter for system notification
fix https://github.com/MaaAssistantArknights/MaaAssistantArknights/pull/10562#issuecomment-2342509182
2024-09-11 10:53:10 +02:00
Constrat
f81d43fc6f chore: international english date format 2024-09-10 15:48:06 +02:00
Constrat
c3cade6651 feat: time diff log output and notification (#10562)
* feat: StartTaskTime + diff calculation

* chore: updated xaml with TimeDiff

* feat: logic for all task complete timediff log

* chore: update xaml for timediff log output

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

* i18n: chinese tweak

---------

Co-authored-by: status102 <102887808+status102@users.noreply.github.com>
2024-09-10 12:03:52 +01:00
uye
b0f3573171 fix: 阻止休眠时保持屏幕常亮功能无效
fix #10575
2024-09-10 18:43:02 +08:00
uye
c9873dfbe7 chore: 添加移动 MAA.exe 的解决方案 (#10565)
* chore: 添加移动 MAA.exe 的解决方案

* i18n: tweak kR

---------

Co-authored-by: HX3N <128385247+HX3N@users.noreply.github.com>
2024-09-10 09:59:01 +08:00
晓丶梦丶仁
95dc30cee8 fix: 将肉鸽招募的等级限制改为精一55级 2024-09-10 01:10:16 +08:00
HX3N
5eaaf2e0de i18n: KR tweaked translations (#10560) 2024-09-09 19:53:26 +08:00
status102
d54869a99b perf: Wpf版本号显示最小宽度调整 2024-09-09 19:44:05 +08:00
uye
6c617f6fcc chore: Shutdown() 增加输出调用者信息 2024-09-09 15:41:11 +08:00
uye
1dea3e5f30 chore: 关机倒计时前显示窗口 2024-09-09 14:58:32 +08:00
uye
54f5a7b304 chore: Add logging for timer cancellation status 2024-09-09 14:46:05 +08:00
zzyyyl
dfca198657 refactor: 重构 ProcessTask (#10001) 2024-09-09 11:23:44 +08:00