Commit Graph

6137 Commits

Author SHA1 Message Date
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
status102
f1eeda6e10 perf: 调整MumuExtras未生效->Mumu截图增强未生效 2024-09-08 17:46:16 +08:00
uye
c2f1230991 perf: 拆分技能识别与使用 (#10536)
* perf: 拆分技能识别与使用

* chore: 调整 use_all_ready_skill 技能使用过快判断
2024-09-08 16:27:10 +08:00
uye
cd2bd91b6f chore: 增加未取消关机的日志 2024-09-08 15:19:51 +08:00
uye
6889b020e7 chore: 加点关机日志 2024-09-08 15:04:05 +08:00
uye
7aa5d8060b fix: 未输入完整开局干员时点选会清空已输入内容 2024-09-07 22:36:04 +08:00
Constrat
d4757b2c03 fix: xaml escape character
fix da5697b
2024-09-07 12:41:10 +02:00
Constrat
da5697b36b i18n: en-us Expiring potion hour consistency
@status102 should give a better idea
2024-09-07 12:02:56 +02:00
uye
90c18993ed chore: 调整使用技能间隔日志输出等级,调整间隔时间 2024-09-07 14:21:18 +08:00
status102
adffb4c992 style: format
[skip changelog]
2024-09-07 14:02:29 +08:00
status102
59dd7894d8 style: format
[skip changelog]
2024-09-07 14:02:29 +08:00
uye
9afe0599fe perf: 允许 TimerCanceledAsync 提前返回
#10520
2024-09-07 13:51:38 +08:00
uye
a0553ae612 chore: 修改存储的构建日期 2024-09-06 12:10:22 +08:00
uye
9fc6f8e4a4 feat: date format language based (#10424)
2771fde784
2024-09-06 00:08:33 +08:00
uye
4f9c98eb7a chore: 邪道 2024-09-06 00:04:19 +08:00
uye
c3793e9e8c chore: 修改格式化条件 2024-09-05 22:56:42 +08:00