uye
625a3f6228
fix: 手动关闭模拟器后未重启 MAA 时 minitouch 可能失效
2025-10-08 16:48:27 +08:00
Status102
11c76cca7f
perf: RegionOCRer 中 useRaw=false 时, 使用原图二值蒙版代替直接 OCR 二值图像 ( #14276 )
...
perf: RegionOCRer中useRaw=false时, 使用原图裁剪代替二值化图像
2025-10-03 16:13:59 +08:00
Rain Yang
30c8fce308
fix: 增强 playtools 关闭连接时的异常处理,确保套接字安全关闭 ( #14280 )
...
* fix: 增强playtools关闭连接时的异常处理,确保套接字安全关闭
* 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>
2025-10-03 14:14:02 +08:00
status102
473085f4e6
fix: 理智药使用数量ocr不准确时中断使用
2025-10-01 19:25:07 +08:00
status102
956f195810
fix: 使用理智药 执行减少次数循环在asst_stop时缺少中断判断
2025-10-01 19:21:47 +08:00
Lucien Shaw
14194d1118
chore: 完善容器配置及依赖安装 ( #14208 )
...
格式化工具部分:
1. pre-commit 引入 python 的格式化工具,包括 black(代码格式化)和 isort(对“包导入顺序”的规范)
2. 允许 prettier 对文档站的 markdown 文件格式化
3. 不允许 prettier 对 markdown 文件中的代码块的代码本身进行格式化
4. 升级了 pre-commit 的各个 hook 的版本
5. 优化了 pre-commit 的日志文本显示
容器总览部分:
1. 由原来的单一轻量环境转为区分空环境、轻量环境和全量环境
2. 空环境是裸 Linux 镜像(Ubuntu),为默认环境
3. 轻量环境适合开发文档站前端
4. 全量环境适合开发 MaaCore
5. 目前,全量环境完整包含了轻量环境,轻量环境完整包含了空环境
6. 在仓库 README.md 中更新了三个环境的描述,并将链接分别设置为对应环境的创建链接
**注意:没有修改文档站中的对应文件**
7. 在各个语言的开发指南的最后,移除了 Codespace 部分的“安装额外依赖”相关描述,且将链接设置为全量环境的创建链接
**注意:没有添加“开发文档站”的指南和对应 codespace 的使用方式**
容器的轻量环境和全量环境共有部分:
1. 安装 black 和 isort 包
2. 调整 VS Code 设置,取消先前(对 markdown 文件单独指定 markdownlint 扩展作为格式化工具)的错误设置,现在 markdown 文件仍然使用默认的 prettier 扩展作为格式化工具
3. 引入 markdown-all-in-one 扩展作为语法提示工具
4. 将 node_modules 和 3rdparty 排除在 VS Code 的文本的搜索路径之外
容器的全量环境部分:
1. 为 tools 下的所有 python 脚本安装依赖
2. 使用 tools/maadeps-download.py 下载 maadeps,且将必要二进制文件软链接到 /usr/local/bin/
3. 使用 apt 安装 cmake 和 clangd-20,将后者通过 update-alternatives 设置为系统 clangd 的默认版本
4. 使用 cmake tools 扩展,并按照 Linux 编译方法进行配置
5. 使用 clang-format 作为 c/cpp 的格式化工具,clang-format 程序主体来自 maadeps(已经软链接到 /usr/local/bin/)
6. 使用 clangd 作为 c/cpp 的语法提示工具
7. 将 MaaDeps、install 和 build 排除在 VS Code 的文本搜索路径之外
其它手动调整:
1. 更新文档站的 package.json,指定 pnpm 包管理器的版本
2. 手动保证 markdown 文件中的列表前后有空行(注意到 MarkdownLint 官方规则不一定能精准定位所有“列表前后空行”的问题,详见:https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md#md032---lists-should-be-surrounded-by-blank-lines )
3. 修改了部分 markdown 文件中的 json 代码块的语法问题
**注意:相同的问题并未全部发现,仅修改了两处**
4. 在 tools 目录中,一处 python 脚本的包名误用(本地包名和某个 pip 包重名),这里修改了相应代码
5. 在 tools 目录中,一处 python 脚本使用了弃用的包 cchardet 的问题,这里更换了推荐使用的功能相近的包并修改了相应代码
自动化脚本提交的修改:
1. 自动格式化了大量 tools 中的 python 脚本
2. 自动格式化了大量 docs 中的 markdown 文件
Commits:
* chore: pre-commit引入black和isort规范py文件
* chore: Auto update by pre-commit hooks [skip changelog]
* chore: devcontainer添加isort扩展,排序python导入
* chore: pre-commit任务命名及更名
* style: isort fix
* chore: Auto update by pre-commit hooks [skip changelog]
* chore: 更新pre-commit的hook版本
* fix: 模块名与第三方库重名,大忌
* chore: 容器构建时额外安装isort
* docs: md -> markdown
* chore: 容器安装python包和maadeps
* fix: 修复过时python包
* chore: 指定pnpm版本
* chore: container支持选择轻量环境
* chore: 去掉rust
* chore: add plain env
* chore: 使用clangd语言服务器
* chore: 无需单独设置markdown的格式化工具
* chore: 更新安装的clangd版本
* docs: 简易文档适配
* docs: 在仓库README中重新编排codespaces相关指引
* chore: Auto update by pre-commit hooks [skip changelog]
* style: 调整缩进
* chore: 格式化工具不用特意排除被gitignore忽略的文件
* chore: sh文件在gitattributes中单列一类
* chore: 格式化docs下的markdown文件
* chore: 暂时不修改md文件中的代码块
* style: 人为明确markdown中的部分列表相关格式
* docs: 补上部分markdown的json代码块中缺失的逗号
* chore: Auto update by pre-commit hooks [skip changelog]
* chore: Auto update by pre-commit hooks [skip changelog]
* fix: 补上tools的服务器排序相关代码中缺失的逗号
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* chore: 使用maadeps的clangd
* build: 更新maadeps工具链版本
* style: prettier fix
* revert: 还原maadeps版本
* revert: 取消使用maadeps的clangd依赖,改用系统apt安装
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-09-30 19:39:48 +08:00
Weiyou Wang
e46f47820f
fix: 商店刷新两步走 ( #14201 )
...
* fix: 商店刷新两步走
* chore: Auto update by pre-commit hooks [skip changelog]
* refactor: buy once only when both steps succeed (suggested by status102)
Co-Authored-By: Status102 <102887808+status102@users.noreply.github.com >
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Status102 <102887808+status102@users.noreply.github.com >
2025-09-29 17:20:32 +08:00
Constrat
93bbb0ba4b
fix: clang
2025-09-26 21:54:06 +02:00
uye
8e8063a066
fix: 怎么还有人在用 adb input
2025-09-27 00:32:11 +08:00
status102
ca28bc0936
fix(core): CopilotTask参数可选项存在性检查
2025-09-18 00:43:17 +08:00
status102
970482e3b9
rft: 特征匹配过程函数拆入analyze()
2025-09-17 00:53:23 +08:00
MistEO
6c13efe7e0
feat: use coreml OCR for apple ( #14108 )
2025-09-16 18:20:10 +08:00
pre-commit-ci[bot]
d734aecbe2
chore: Auto update by pre-commit hooks [skip changelog]
2025-09-15 14:43:19 +00:00
uye
f0e878f291
fix: minitouch 触控 wait ms
2025-09-15 22:38:35 +08:00
uye
754e1c35d5
fix: 复核自定义干员时等待游戏动画
2025-09-15 22:11:05 +08:00
MistEO
2db165a158
ci: fix minitouch scale
2025-09-15 16:43:58 +08:00
MistEO
0e75992426
ci: split cmake file ( #14109 )
2025-09-15 04:18:40 +08:00
Status102
e2b209e723
feat: 自动战斗多作业支持保存干员组内编入的干员 ( #14095 )
...
* chore: 加个存储先
* feat: 与旧编队比较
* feat: 快速编队
* fix: 计数
* fix: 缓存了旧的组名
* perf: 快速退出
* fix: 跳过编队后修改编队状态
* fix: 完事
* fix: err
* fix: 顺手一起修了
2025-09-15 01:27:51 +08:00
MistEO
bec0325236
refactor: use std::format instead of sprintf ( #14107 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-09-15 01:07:05 +08:00
status102
d1df9b2578
feat: CustomTask增加任务存在检测
2025-09-14 21:45:43 +08:00
uye
cf362a4106
fix: 刷开局奖励只选票券时行为异常
...
fix #14079
2025-09-13 21:12:09 +08:00
uye
bb0202841f
feat: core 崩溃后下次启动时 ui 输出提示 ( #14022 )
...
* feat: core 崩溃后下次启动时 ui 输出提示
* style: space
* chore: ubuntu warning
* i18n: zh-tw
---------
Co-authored-by: momomochi987 <as99us301@gmail.com >
2025-09-13 20:28:56 +08:00
status102
958d48b5fd
fix(core): Copilot多任务编队时编队设置残留
2025-09-13 19:35:52 +08:00
uye
5bbc46455e
chore: 调整 y 存图时间间隔
2025-09-13 12:01:17 +08:00
uye
0593121ec1
feat: 给自定义任务添加 ScreenshotTaskPlugin 插件
2025-09-13 11:16:03 +08:00
uye
a75eb502cb
chore: 调整刷新助战日志
2025-09-11 15:15:55 +08:00
Weiyou Wang
b503c153fa
refactor: 维护信用作战相关功能及其文档 ( #14013 )
...
* refactor: 维护信用作战相关功能及其文档
* docs: i18n
* docs: 格式美化
* fix: 我错了我错了
* fix: 怎么顺序也有关系啊
* docs: 编队 -> 编队栏围的编号; 分队->编队
* docs: hyphen -> en dash
* fix: 修复旧参数警告
2025-09-10 22:56:33 +08:00
nekosu
82bcfd11bc
fix: linux cross compiling ( #14048 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-09-09 13:22:53 +08:00
MistEO
f5f3ebef79
fix: remove opencv highgui again
2025-09-08 21:57:09 +08:00
MistEO
aa0516abee
fix: remove opencv highgui
2025-09-08 21:51:22 +08:00
MistEO
216da4bd7c
fix: build error of ASST_DEBUG
2025-09-08 21:32:11 +08:00
MistEO
5c0445d3ab
refactor: 依赖大更新 ( #13908 )
...
Co-authored-by: status102 <102887808+status102@users.noreply.github.com >
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-09-08 21:17:47 +08:00
Weiyou Wang
8567eba81e
refactor: BrightPointAnalyzer -> PixelAnalyzer ( #13915 )
...
* feat: different filters for BrightPointAnalyzer
* refactor: rename BrightPointAnalyzer to PixelAnalyzer
* fix: 草忘了重命名文件了
2025-09-07 20:07:33 +08:00
status102
d772572a63
fix: 信用任务无法刷OF-1
2025-09-05 10:58:20 +08:00
uye
735c6620a0
feat: 悖论通关后自动取消勾选,遇到战斗失败的关卡时停止 ( #13963 )
...
* feat: 悖论通关后自动取消勾选
* fix: CopilotTask 一个个加
2025-09-04 00:44:40 +08:00
status102
1e28b23062
fix: 自动编队后续追加自定干员失败
2025-09-02 00:57:11 +08:00
uye
7f2c82d741
fix: 战斗列表无法进入 1/2 星干员悖论
2025-08-31 13:42:40 +08:00
uye
c6c77f4e75
fix: 悖论模拟战斗列表页尾干员错位
2025-08-31 13:42:40 +08:00
pre-commit-ci[bot]
eae54c6296
chore: Auto update by pre-commit hooks [skip changelog]
2025-08-30 02:50:20 +00:00
uye
174c5de8c4
feat: 悖论模拟战斗列表通过职业找人
2025-08-30 10:47:55 +08:00
pre-commit-ci[bot]
2fb1a45611
chore: Auto update by pre-commit hooks [skip changelog]
2025-08-30 01:54:35 +00:00
uye
4ff7bf2bb8
feat: 悖论模拟战斗列表支持跳过未拥有的干员
2025-08-30 09:52:12 +08:00
status102
53df8adf08
rft(core): 移除MaaCore不再支持的自动战斗作业代码解析
2025-08-28 18:07:36 +08:00
status102
77736960a0
fix: var type
2025-08-28 18:01:46 +08:00
uye
5d1f054e5b
chore: core 删除 cpr
2025-08-28 17:35:23 +08:00
Status102
eeaffe368f
feat: 支持一键悖论模拟 ( #13893 )
...
* feat: 支持一键悖论模拟 (#13885 )
* feat: 支持一键悖论模拟
* chore: OperParadoxBegin EN
* chore: Auto update by pre-commit hooks [skip changelog]
* feat: 支持一键悖论模拟
* chore: Auto update by pre-commit hooks [skip changelog]
* feat: 支持一键悖论模拟
* fix: 更新悖论模拟按钮位置
* feat: 悖论模拟UI资源添加
* fix: 删除xml中被误添加的文件
* feat: 根据关卡类型显示选项
* i18n: 标签翻译
* feat: 修改小提示
* i18n: EN
* chore: zh-tw
* i18n: KR
* i18n: KR 2
Long text breaks the UI :(
* i18n: SSS -> SSS
* feat: 多行 TabControl
* chore: 调整布局
* i18n: JP
* perf: 优化返回流程
* chore: Auto update by pre-commit hooks [skip changelog]
* chore: 删掉 core 的联网功能
---------
Co-authored-by: 翔宇 战 <1361227324@qq.com >
Co-authored-by: Constrat <56174894+Constrat@users.noreply.github.com >
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: _Burnside <33724737+Burnside999@users.noreply.github.com >
Co-authored-by: momomochi987 <as99us301@gmail.com >
Co-authored-by: HX3N <scarlet7518@gmail.com >
Co-authored-by: Manicsteiner <Manicsteiner@outlook.com >
* fix: 新战斗导航下的悖论模拟
---------
Co-authored-by: uye <99072975+ABA2396@users.noreply.github.com >
Co-authored-by: 翔宇 战 <1361227324@qq.com >
Co-authored-by: Constrat <56174894+Constrat@users.noreply.github.com >
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: _Burnside <33724737+Burnside999@users.noreply.github.com >
Co-authored-by: momomochi987 <as99us301@gmail.com >
Co-authored-by: HX3N <scarlet7518@gmail.com >
Co-authored-by: Manicsteiner <Manicsteiner@outlook.com >
2025-08-28 17:32:32 +08:00
status102
7ea22b6b03
fix: 自动战斗-战斗列表使用错误的作业战斗
2025-08-26 23:25:34 +08:00
uye
81513435fa
fix: filters
2025-08-26 15:09:46 +08:00
Status102
f2d70245c1
rft: 重构自动战斗战斗列表 ( #13852 )
...
* rft(core): 重构多作业自动战斗
* rft(wpf): wpf支持新任务参数
* perf: 移除不必要move
* chore: Auto update by pre-commit hooks [skip changelog]
* fix: 任务计数
* fix: 战斗完成提示
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-08-24 22:51:08 +08:00
uye
6a58d350c6
chore: mumu 使用 7555 端口时禁用 Index 检测,添加日志警告
2025-08-24 10:49:06 +08:00