Commit Graph

6159 Commits

Author SHA1 Message Date
status102
385541a44d perf: 自动战斗自定义添加干员编队时按职业选择 2024-10-10 19:15:04 +08:00
uye
1d28f6e830 perf: 雷电截图增强支持自动检测模拟器安装路径 2024-10-08 18:40:52 +08:00
uye
f8e6880899 chore: 将生息演算的 策略 选项移至常规设置 2024-10-02 15:25:51 +08:00
uye
73bf9f4e21 chore: 优化编队模板图片,识别不到对应职业图标时在 全部 中寻找 2024-10-02 14:29:13 +08:00
uye
69da70c1ba chore: 截图延迟过高时自动降低目标帧率 2024-10-02 12:14:10 +08:00
MistEO
9d00d3851e fix: 修复漏了的初始化 2024-10-01 22:29:17 +08:00
uye
cdc9903e9f fix: 肉鸽重新编队应在首页执行 (#10465)
#9510
正常来说 cur_page 变量都是正确的,可以作为判断依据,既不用每次都划几下也不用识别左侧是否还有干员。
2024-09-30 20:40:43 +08:00
uye
6f31264c48 chore: 优化可清除内容的下拉框显示效果
Co-authored-by: Weiyou Wang <Weiyou.Wang@anu.edu.au>
2024-09-29 22:10:43 +08:00
uye
1c686c4b5a chore: 移除 ConnectSettingsUserControl 设计时高度限制 2024-09-29 22:10:43 +08:00
uye
142c8aad3c chore: 掉落统计显示当前关卡名称 2024-09-29 15:47:19 +08:00
Weiyou Wang
7ab323d3dd 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
5d76565ba2 chore: removed wrong tooltip from AllowUseStoneSave 2024-09-28 15:15:35 +02:00
Constrat
236742c3ab i18n: EN tweak for Use Originium option 2024-09-28 14:52:23 +02:00
Constrat
6f72b444ac i18n: EN tweak 2024-09-28 13:35:36 +02:00
uye
55a3f83e8a chore: 执行完成后动作前输出当前选择的动作 2024-09-28 00:39:58 +08:00
uye
4ab1e3704b perf: InvokeAsync 前判断是否已经在 ui 线程 2024-09-28 00:09:28 +08:00
uye
f88c90aa0c fix: 强制定时启动前显示窗口 导致程序崩溃
fix #10692
2024-09-27 23:47:26 +08:00
uye
f42f527015 fix: 强制定时启动报错 2024-09-23 12:58:06 +08:00
uye
f38c88c7f4 chore: TimerSettings 改用 NumericUpDown 验证输入 2024-09-23 12:27:26 +08:00
uye
525140fa75 chore: 定时启动添加日志 2024-09-23 11:44:49 +08:00
uye
0075b59da1 chore: 主定时器改用 Timer 2024-09-23 11:22:32 +08:00
uye
cb331b653c chore: 在 ui 线程清除日志 2024-09-23 11:21:29 +08:00
uye
94ff657808 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
6c25ec2f46 perf: 截图测试使用GetFreshImage替代添加冗余任务 2024-09-20 10:11:08 +08:00
uye
82a5f53ff1 chore: 启动后对已有配置排序
fix https://github.com/orgs/MaaAssistantArknights/discussions/10633
2024-09-18 19:44:07 +08:00
uye
ae77c07311 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
c4e320526c 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
4734d2600d 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
a47597879c i18n: SSS log EN tweak 2024-09-17 11:44:16 +02:00
uye
1e6a985bc7 fix: 下干员操作不显示干员组名字
fix #10629
2024-09-16 23:26:53 +08:00
status102
b8ea0d41a7 i18n: zh任务链完成耗时 2024-09-16 17:23:08 +08:00
uye
d2040d3328 fix: adb lite 无法连接 2024-09-16 16:35:28 +08:00
uye
eef2a80b36 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
ef2873c977 fix: 重置战斗参数状态错误 2024-09-15 15:12:12 +08:00
Autumn Sound
331bfa11ce feat: 移除在非windows上locale的实现 (#9680) 2024-09-15 14:17:32 +08:00
dragonheart107
a7be240c4a i18n: RA2 replace brush with farm (#10610)
fix mistranslation 'brush' into farm en-us.xaml
2024-09-14 22:35:54 +08:00
uye
34a2b083d8 perf: 使用 devices 判断是否需要连接 (#10606)
* perf: 使用 devices 判断是否需要连接

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

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

may fix 类似 #10426 的异常情况
2024-09-12 13:07:36 +08:00
uye
fbca4a6bf0 perf: 增强任务和基建列表健壮性,部分异常配置下可自动还原
fix #10583
2024-09-11 22:56:36 +08:00
Constrat
1c00f4277e 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
838a1d9844 chore: international english date format 2024-09-10 15:48:06 +02:00
Constrat
08f44e066d 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
7744a30869 fix: 阻止休眠时保持屏幕常亮功能无效
fix #10575
2024-09-10 18:43:02 +08:00
uye
5e11128fa2 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
晓丶梦丶仁
a12f3d8fc9 fix: 将肉鸽招募的等级限制改为精一55级 2024-09-10 01:10:16 +08:00
HX3N
f8f9a70dca i18n: KR tweaked translations (#10560) 2024-09-09 19:53:26 +08:00
status102
abb471ba74 perf: Wpf版本号显示最小宽度调整 2024-09-09 19:44:05 +08:00
uye
26781dd864 chore: Shutdown() 增加输出调用者信息 2024-09-09 15:41:11 +08:00
uye
4bd5b9ee79 chore: 关机倒计时前显示窗口 2024-09-09 14:58:32 +08:00