Commit Graph

94 Commits

Author SHA1 Message Date
dantmnf
2016f37757 fix: handle leak
https://github.com/MaaAssistantArknights/MaaAssistantArknights/issues/12199#issuecomment-2746840742
2025-03-24 22:42:54 +08:00
teldd1
8948ee96b6 fix: Attempt retry once screencap for MumuExtras (#11550) 2025-01-27 23:59:01 +08:00
status102
9d5bb5c609 fix: 6be4d0aca0 2025-01-15 23:28:21 +08:00
status102
6be4d0aca0 fix: 截图失败时清空image_payload 2025-01-15 20:18:36 +08:00
status102
d54a0c82ae chore: PlayToolsController start_game及input方法增加log输出提示 2025-01-13 18:02:00 +08:00
晓丶梦丶仁
3d5e05414f feat: 点刺、后勤种子存钱 & ProcessTask 添加 Input 方法 (#11521)
* feat: 为 ProcessTask 添加文本输入功能

* feat: 点刺、后勤种子存钱

* docs: 为 Input 方法添加文档

* perf: 添加循环刷钱cd检查

* perf: werror

* perf: 改变 Input 的 int 值

* perf: 减少 AsstProxy 传参,改用 c:Binding

* chore: 界面显示和获取分离

---------

Co-authored-by: uye <99072975+ABA2396@users.noreply.github.com>
2025-01-12 20:03:09 +08:00
uye
3656d36b2c fix: click 泊松分布超出范围 2024-11-05 16:12:10 +08:00
uye
c4da235de7 chore: 移除多余变量 2024-10-29 16:53:48 +08:00
uye
75dba872a5 fix: 修复手动关闭或闪退后,无法截图到新窗口 2024-10-29 16:24:40 +08:00
Weiyou Wang
e4bfd54d94 fix: MuMu bridge connection (#10937)
* fix: MuMu bridge connection

* fix: global adaptation

* chore: 调整布局,优化变量位置

* fix: 网络桥接模式设置不再与自动检测链接相关

* chore: 自动检测时禁用增强模式开关

* chore: 添加开启桥接的提示

---------

Co-authored-by: uye <99072975+ABA2396@users.noreply.github.com>
2024-10-27 23:07:16 +08:00
pre-commit-ci[bot]
ce02c80498 chore: Auto update by pre-commit hooks [skip changelog] 2024-10-22 08:40:28 +00:00
MistEO
4823eda6bb fix: mumu display id error if startup ark manually (#10787) 2024-10-12 02:01:03 +08:00
MistEO
9ff3b1e7a7 fix: mumu display id error when ark not startup (#10786) 2024-10-12 01:42:22 +08:00
MistEO
312ac0a277 feat: 支持mumu后台保活,通过包名获取display_id (#10713)
* feat: 支持mumu后台保活,通过包名获取display_id

* perf: 调整mumu extras需要的信息

* perf: 适配UI

* fix: build error

* feat: 每次截图前都获取display id

* feat: 每次启动app重新获取display id

* fix: 修复mumu保活多屏幕时分辨率错误

* 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-10-11 20:41:17 +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
9359fdc8d5 fix: adb lite 无法连接 2024-09-16 16:35:28 +08:00
uye
a877a3b14b perf: 使用 devices 判断是否需要连接 (#10606)
* perf: 使用 devices 判断是否需要连接

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

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

may fix 类似 #10426 的异常情况
2024-09-12 13:07:36 +08:00
Rbqwow
67c10f1982 refactor: StopGame (#9658)
* perf: StopGame

* style: rename Intent to packageName

* chore: 不准不选择区服

* fix: 移除其他配置中的抽象 stop 匹配

* style: 统一驼峰

* style: 按照执行顺序重新排序

* feat: 添加回调和文档

* fix: 修复参数传入

* docs: 更新文档

* fix: merge

* chore: 把WSA的配置也改了

* chore: update submodule

---------

Co-authored-by: uye <99072975+ABA2396@users.noreply.github.com>
Co-authored-by: Loong <wangl.cc@outlook.com>
2024-08-11 01:50:30 +08:00
uye
2cda6f747b fix: 开启 MuMu 截图增强后重启模拟器未重启 MAA 后出现截图失败
fix #10110
2024-08-06 18:34:41 +08:00
uye
545ce542a0 fix: fix smoking-test 2024-08-02 14:37:39 +08:00
Horror Proton
2762ef73a7 feat: fallback to General config 2024-08-02 13:32:51 +08:00
zzyyyl
4582dec4d6 fix: 修复连接前同步参数时日志报错的问题 (#9644)
m_controller is not inited
2024-07-13 10:02:16 +08:00
Horror Proton
4dabb49c0a refactor: use factory function instead of class 2024-06-19 17:06:43 +08:00
Horror Proton
fbcc8369a0 fix: fix coredump caused by screencap failure 2024-06-08 22:38:14 +08:00
uye
f011e8c06b chore: Add trace log for scaled coordinates in ControlScaleProxy click & swipe 2024-06-01 00:19:00 +08:00
uye
d4d7eeaef5 fix: call_command timeout时提前返回 std::nullopt
fix #9218
fix #9102
2024-05-27 18:23:39 +08:00
uye
fdbf2f19cf perf: auto start optimization + MAC fix (#9083)
I have no way to test for MAC
2024-05-17 09:27:50 +08:00
Horror Proton
9635cdf7f4 feat: add compile def to disable emulator extras 2024-05-13 18:35:50 +08:00
Constrat
ec64427038 revert: PlayToolsController returns 2024-05-12 16:02:29 +02:00
Constrat
35707bac2f chore: Add get_controller_type() to discern Android / PlayTools 2024-05-12 12:07:29 +02:00
Constrat
295181e4e0 fix: return specific values for auto starting methods 2024-05-12 11:10:43 +02:00
Constrat
fef2f56d39 feat: auto retry start on app startup crash (#8966) 2024-05-06 21:04:26 +01:00
MistEO
bafc8c3f71 feat: mumu extras (#8939)
Co-authored-by: uye <99072975+ABA2396@users.noreply.github.com>
Co-authored-by: status102 <102887808+status102@users.noreply.github.com>
2024-05-03 22:05:37 +08:00
status102
7bf76068eb perf(MaaCore): ScreenCost截图失败次数为0时,不返回fault_times字段 2024-02-08 17:04:13 +08:00
status102
c8dda4cc6e perf(MaaCore): ScreencapCost输出失败次数 2024-02-07 19:54:29 +08:00
Horror Proton
644d820315 fix: fix typo and undefined behavior of minmax 2024-02-07 19:09:56 +08:00
status102
ba4ab76fc0 fix: 启动时连续截图出错10次导致MAA崩溃 2024-02-07 18:09:27 +08:00
status102
e2a065c2c6 perf: 截图耗时计算最值、均值排除截图失败的耗时 2024-01-02 15:05:07 +08:00
dantmnf
7890cc7c12 fix: subprocess handle leak 2024-01-02 11:04:39 +08:00
Horror Proton
344ffa2be3 perf: update PosixIO::call_command (#7748)
* perf: block busyloop with epoll, do not reuse pipe

* perf: do not call getpid() on each line of log

* perf: epoll -> poll, do not waitpid on EAGAIN

* perf: remove poll
2023-12-25 05:38:31 +00:00
status102
72caff37d1 perf: 截图不成功时,耗时将记录为INT_MAX 2023-12-13 23:40:52 +08:00
status102
b09846ec22 feat: wpf设置-连接设置新增近期截图耗时 2023-12-13 22:41:18 +08:00
status102
a9d661c540 fix: 修复在截图最快方式检测不成功时,不输出数值 2023-12-11 11:07:45 +08:00
Horror Proton
b4980b6837 feat: add nodiscard on minitouch input functions [skip changelog] 2023-12-09 13:04:06 +08:00
Horror Proton
e084aeb346 fix: fix coredump when minitouch failed to restart 2023-12-08 13:56:51 +08:00
David
889cd0a3f3 perf: reduced screencap timeout (#7476)
refs:
https://github.com/MaaAssistantArknights/MaaAssistantArknights/pull/7473#issuecomment-1838440548
https://github.com/MaaAssistantArknights/MaaAssistantArknights/pull/7473#issuecomment-1838446255
2023-12-04 19:46:00 +01:00
Horror Proton
09b07a6d84 fix: fix crashing after minitouch fails to restart 2023-12-02 16:22:28 +08:00
status102
d813a8747b feat: 新增检测最快截图方式后输出截图方法和截图测试耗时 (#7441)
feat: 新增检测最快截图方式后输出截图方法和截图测试耗时
2023-12-01 15:15:40 +08:00
status102
dc555215ce feat: 新增检测最快截图方式后输出截图方法和耗时 2023-11-30 19:43:24 +08:00