Merge pull request #2826 from MaaAssistantArknights/master

Release v4.7.0
This commit is contained in:
MistEO
2022-11-22 23:45:51 +08:00
committed by GitHub
210 changed files with 2302 additions and 1014 deletions

View File

@@ -428,7 +428,7 @@ labels:
# `macOS`
- name: macOS
regexes: '[Mm]ac(?:(?:book|os|OS)|\s*(?:(?:操作|)系统|版))'
regexes: '[Mm]ac(?:(?:book|os|OS)|\s*(?:(?:操作|)系统|电脑|版))'
skip-if:
- skip all
- skip macOS

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -1,4 +1,35 @@
- 新增 自定义基建排班 内置配置文件选择 @MistEO @ABA2396
- 新增 始终自动检测模拟器连接 选项 @lhhxxxxx
- 修复 界面 弹出通知时崩溃的问题 @zzyyyl
- 更新 文档、界面、作业群、频道链接 @ABA2396 @horror-proton
### 若更新后可以连接,但完全没反应,请进入 `设置` - `连接设置` - `强制替换 ADB`
### If you can connect, but stuck at all, please go to `MAA Settings` - `Connection settings` - `Forced replacement of ADB`
- 新增并全面启用 minitouch大幅优化所有操作速度 @MistEO @zzyyyl @horror-proton @hguandl
- 新增 兼容触控模式,请进入设置 - 连接设置中启用。不推荐开启,仅建议在 minitouch 无法工作时使用 @MistEO
- 新增 自动战斗 `ButtleTime`, `costs` 字段 @MistEO
- 新增 自定义基建 `description_post` 字段,整理内置作业格式 @MistEO
- 更新 危机合约、IS-S 关卡 地图数据 @MistEO
- 优化 水月肉鸽 安全屋选项,支持安全屋再利用 @txtxj @zzyyyl
- 优化 自定义基建 内置 243 3 换作业 @Black1312
- 优化 macOS 截图操作,新增支持 nc 转发,并禁用可能造成内存泄漏的 gzip 方式 @hguandl
- 优化 文字识别器 参数结构 @zzyyyl @MistEO
- 修复 活动关卡导航 @ABA2396
- 修复 肉鸽 关卡识别错误时狂吃内存的问题 @zzyyyl
- 修复 基建 制造/贸易站 偶尔点漏一个房间的问题 @MistEO
- 修复 基建 干员 `霜叶` 识别错误 @Black1312
- 修复 macOS 繁中肉鸽 文字识别错误 @hguandl
- 修复 macOS 信用商店 设置错误 @hguandl
- 修复 POSIX 下 socket 超时时间过长的问题 @aa889788
- 修复 下载 镜像站地址,修复 内测版 打包策略 及 CHANGELOG 生成 @horror-proton @zzyyyl @MistEO
- 修复 界面 基建设置心情阈值显示错误的问题 @ABA2396
- 修复 界面 不支持通知时崩溃的问题,使用兼容版通知 @zzyyyl
- 修复 Java 接口路径错误 @CaoMeiYouRen
- 清理 代码 等 @MistEO @zzyyyl
- 新增 调试后门,在启动前新建 `DEBUG.txt`,将会在每次运行时都重新读取资源文件 @MistEO
- 新增 Issue Bot mac 标签 @zzyyyl
- 更新 文档 @MistEO @DavidWang19
### For Overseas clients
- Support Base function for the JP client @ajk946009123
- Support Annihilation Combat for the JP and EN clients @MistEO @wallsman
- Fix StartUp and Daily error for the JP client @liuyifan-eric
- Fix a dead loop when recruiting opers in the auto-IS function of the EN client @MistEO

View File

@@ -37,7 +37,7 @@ MAA 的意思是 MAA Assistant Arknights
- 自动公招,可选使用加急许可,一次全部刷完!公招数据上传 [企鹅物流](https://penguin-stats.cn/result/stage/recruit/recruit)[一图流](https://yituliu.site/maarecruitdata)
- 访问好友、收取信用及购物、领取日常奖励等。一键全日常自动长草!
- 肉鸽全自动刷源石锭和蜡烛,自动识别干员及练度
- 导入作业 JSON 文件,自动抄作业! [视频演示](https://www.bilibili.com/video/BV14u411673q/)
- 导入作业 JSON 文件,自动抄作业! [视频演示](https://www.bilibili.com/video/BV1H841177Fk/)
- 新功能:仓库识别!支持导出至 [企鹅物流刷图规划器](https://penguin-stats.cn/planner), [明日方舟工具箱](https://arkn.lolicon.app/#/material), [ARK-NIGHTS 干员培养表](https://ark-nights.com/settings)
话不多说,看图!
@@ -65,10 +65,11 @@ MAA 的意思是 MAA Assistant Arknights
- 软件一打开就闪退
- 连接错误、不知道 adb 路径怎么填写
- 识别错误/任务开始后一直不动、没有反应
- 连接成功了,但没反应
- 如何连接自定义端口
- 下载速度慢,且镜像站无法打开网页
- 下载到一半提示“登陆”/“鉴权”
- 连接正常,任务开始了,但是没反应
请参考 [常见问题](docs/1.2-常见问题.md)
@@ -77,7 +78,7 @@ MAA 的意思是 MAA Assistant Arknights
- 国际服(美服)
支持基本的刷理智、信用购物、访问好友、领取奖励、自动肉鸽(测试版本)、公招识别,请参考 [说明](resource/global/YoStarEN/readme.md)
- 日服
支持基本的刷理智、信用购物、自动公招、访问好友、领取奖励、自动肉鸽(测试版本)、公招识别,请参考 [说明](resource/global/YoStarJP/readme.md)
支持基本的刷理智、自动基建、信用购物、自动公招、访问好友、领取奖励、自动肉鸽(测试版本)、公招识别,请参考 [说明](resource/global/YoStarJP/readme.md)
- 韩服
支持基本的刷理智功能,请参考 [说明](resource/global/YoStarKR/readme.md)
- 繁中服
@@ -106,6 +107,7 @@ MAA 的意思是 MAA Assistant Arknights
- ~~C++ base64编解码[cpp-base64](https://github.com/ReneNyffenegger/cpp-base64)~~
- C++ 解压压缩库:[zlib](https://github.com/madler/zlib)
- C++ Gzip封装[gzip-hpp](https://github.com/mapbox/gzip-hpp)
- 安卓触控事件器:[minitouch](https://github.com/openstf/minitouch)
- WPF MVVW框架[Stylet](https://github.com/canton7/Stylet)
- WPF控件库[HandyControl](https://github.com/HandyOrg/HandyControl)
- C# JSON库[Newtonsoft.Json](https://github.com/JamesNK/Newtonsoft.Json)
@@ -168,7 +170,7 @@ MAA 的意思是 MAA Assistant Arknights
## 广告
用户交流群:[Telegram 群](https://t.me/+Mgc2Zngr-hs3ZjU1)[QQ 一群(已满)](https://jq.qq.com/?_wv=1027&k=ig786LJZ)[QQ 二群(已满)](https://jq.qq.com/?_wv=1027&k=R3oleoKc)[QQ 三群(已满)](https://jq.qq.com/?_wv=1027&k=mKdOnhWV)[QQ 四群(已满)](https://jq.qq.com/?_wv=1027&k=ABkU8mCR)[QQ 五群(已满)](https://jq.qq.com/?_wv=1027&k=To6b6H6m)[QQ 六群(已满)](https://jq.qq.com/?_wv=1027&k=PYoCP2lS)[QQ 七群](https://jq.qq.com/?_wv=1027&k=xDT9vHvB)
用户交流群:[Telegram 群](https://t.me/+Mgc2Zngr-hs3ZjU1)[QQ 一群(已满)](https://jq.qq.com/?_wv=1027&k=ig786LJZ)[QQ 二群(已满)](https://jq.qq.com/?_wv=1027&k=R3oleoKc)[QQ 三群(已满)](https://jq.qq.com/?_wv=1027&k=mKdOnhWV)[QQ 四群(已满)](https://jq.qq.com/?_wv=1027&k=ABkU8mCR)[QQ 五群(已满)](https://jq.qq.com/?_wv=1027&k=To6b6H6m)[QQ 六群(已满)](https://jq.qq.com/?_wv=1027&k=PYoCP2lS)[QQ 七群(已满)](https://jq.qq.com/?_wv=1027&k=xDT9vHvB)[QQ 八群](https://jq.qq.com/?_wv=1027&k=PzvqFhOr)
自动战斗 JSON 作业分享:[prts.plus](https://prts.plus) 或 [抄作业.com](http://抄作业.com)
[Bilibili 直播间](https://live.bilibili.com/2808861):每晚直播敲代码,近期很长一段时间应该都是在写本软件~
[舟无关技术交流 & 吹水群QQ 群)](https://jq.qq.com/?_wv=1027&k=ypbzXcA2):内卷地狱!

View File

@@ -37,7 +37,7 @@ Development in progress ✿✿ヽ(°▽°)ノ✿
- Auto-recruitment, support for expedited plan. Auto-uploading recruitment data to [Penguin Stats](https://penguin-stats.io/result/stage/recruit/recruit), [Yituliu](https://yituliu.site/maarecruitdata).
- Visiting friends, collecting credits and purchasing items, collecting daily rewards, completing daily quests in one click!
- Auto-battle for Integrated Strategy (I.S.) for collecting originium ingots and candles.
- Importing JSON task file for auto-battle! [Video](https://www.bilibili.com/video/BV14u411673q/)
- Importing JSON task file for auto-battle! [Video](https://www.bilibili.com/video/BV1H841177Fk/)
- New feature: Depot recognition! Supports exporting to [Penguin Stats Planner](https://penguin-stats.cn/planner), [Arknight Tools](https://arkn.lolicon.app/#/material), and [ARK-NIGHTS Operator Builds](https://ark-nights.com/settings)
Talk is cheap. Show me the pictures!
@@ -65,7 +65,7 @@ See also: [User Manual](docs/en-us/1.1-USER_MANUAL.md)
- The program crashes immediately when I try to run it.
- Connection error/not knowing how to fill in ADB path.
- Wrong recognition/program freezes after starting.
- Connected successfully, then it got stuck.
- Custom connection settings.
- Download speed is too slow, or the mirror site is not accessible.
- Download halfway and prompt "login"/"authentication"
@@ -77,7 +77,7 @@ Please refer to: [FAQ](docs/en-us/1.2-FAQ.md)
- Global(EN) Client
Supports basic features like Combat, Credit Shopping, Visiting, Collocting, Auto Roguelike(beta), Recruitment calculate, etc. See also [README](resource/global/YoStarEN/readme.md)
- JP Client
Supports basic features like Combat, Credit Shopping, Auto Recruiting, Visiting, Collocting, Auto Roguelike(beta), Recruitment calculate, etc. See also [README](resource/global/YoStarJP/readme.md)
Supports basic features like Combat, Auto Base shift, Credit Shopping, Auto Recruiting, Visiting, Collocting, Auto Roguelike(beta), Recruitment calculate, etc. See also [README](resource/global/YoStarJP/readme.md)
- KR Client
Supports basic features like Combat, etc. See also [README](resource/global/YoStarKR/readme.md)
- ZH_CHT Client
@@ -106,6 +106,7 @@ Due to the small number of overseas clients users and the lack of project manpow
- ~~C++ Base64 encoding/decoding[cpp-base64](https://github.com/ReneNyffenegger/cpp-base64)~~
- C++ ZIP library: [zlib](https://github.com/madler/zlib)
- C++ Gzip library: [gzip-hpp](https://github.com/mapbox/gzip-hpp)
- Touch event producer for Android: [minitouch](https://github.com/openstf/minitouch)
- WPF MVVW framework: [Stylet](https://github.com/canton7/Stylet)
- WPF control library: [HandyControl](https://github.com/HandyOrg/HandyControl)
- C# JSON library: [Newtonsoft.Json](https://github.com/JamesNK/Newtonsoft.Json)

View File

@@ -37,7 +37,7 @@ MAAは、MAA Assistant Arknightsです。
- 自動公開求人、緊急招集票を使う、使い切るのもサポート。[PenguinStats](https://penguin-stats.io/result/stage/recruit/recruit)と[Yituliu](https://yituliu.site/maarecruitdata)へ公開求人データのアップロード
- 戦友訪問、FP収集、買い物、デイリーリワード収集、ワンクリックして全自動操作現在JPは未対応
- 統合戦略自動作戦、オペレーターとレベルの自動認識、源石錐とキャンドルの自動収集現在JPはベータ対応
- 作業JSONファイルをインポートし、自動操作も可能 [ビデオデモ](https://www.bilibili.com/video/BV14u411673q/)現在JP未対応/中文)
- 作業JSONファイルをインポートし、自動操作も可能 [ビデオデモ](https://www.bilibili.com/video/BV1H841177Fk/)現在JP未対応/中文)
- **新機能!倉庫のアイテム認識機能(アルファ)** [Arkplanner](https://penguin-stats.io/planner)/[ARK-NIGHTS.com](https://ark-nights.com/settings)と[アークナイツ ツールボックス](https://arkn.lolicon.app/#/material)へ出力可能!使用方法はツール内文章を参照してください。
UIを見れば使い方もすぐ分かる
@@ -76,7 +76,7 @@ UIを見れば使い方もすぐ分かる
作戦、戦友訪問、FP交換所、レワード収集、統合戦略ベータ版、公開求人認識の機能がサポートされている。
サポート内容については[README](resource/global/YoStarEN/readme.md)を参照してください。
- 日本サーバー
作戦、自動公開求人、戦友訪問、FP交換所、レワード収集、統合戦略ベータ版、公開求人認識の機能がサポートされている。
作戦、自動基建、自動公開求人、戦友訪問、FP交換所、レワード収集、統合戦略ベータ版、公開求人認識の機能がサポートされている。
サポート内容については[README](resource/global/YoStarJP/readme.md)を参照してください。
- 韓国サーバー
基本的な作戦機能のみサポートされている。
@@ -108,6 +108,7 @@ UIを見れば使い方もすぐ分かる
- ~~C++ base64エンコードとデコード[cpp-base64](https://github.com/ReneNyffenegger/cpp-base64)~~
- C++ 圧縮・解凍ライブラリ:[zlib](https://github.com/madler/zlib)
- C++ Gzipカプセル化ライブラリ[gzip-hpp](https://github.com/mapbox/gzip-hpp)
- Android タッチ イベント: [minitouch](https://github.com/openstf/minitouch)
- WPF MVVWフレームワーク[Stylet](https://github.com/canton7/Stylet)
- WPFコントロールライブラリ[HandyControl](https://github.com/HandyOrg/HandyControl)
- C# JSONライブラリ[Newtonsoft.Json](https://github.com/JamesNK/Newtonsoft.Json)

View File

@@ -37,7 +37,7 @@ MAA 的意思是 MAA Assistant Arknights
- 自動公招,可選使用加急許可,一次全部刷完!公招数据上傳 [企鵝物流](https://penguin-stats.cn/result/stage/recruit/recruit)[一圖流](https://yituliu.site/maarecruitdata)
- 訪問好友、收取信用及購物、領取日常獎勵等。一鍵全日常自動長草!
- 肉鴿全自動刷源石錠和蠟燭,自動辨識幹員及練度
- 導入作業 JSON 檔案,自動抄作業! [影片演示](https://www.bilibili.com/video/BV14u411673q/)
- 導入作業 JSON 檔案,自動抄作業! [影片演示](https://www.bilibili.com/video/BV1H841177Fk/)
- 新功能:倉庫辨識!支援導出至 [企鵝物流刷圖規劃器](https://penguin-stats.cn/planner), [明日方舟工具箱](https://arkn.lolicon.app/#/material), [ARK-NIGHTS 幹員培養表](https://ark-nights.com/settings)
話不多說,看圖!
@@ -77,7 +77,7 @@ MAA 的意思是 MAA Assistant Arknights
- 國際服(美服)
支援基本的刷理智、信用購物、訪問好友、領取獎勵、自動肉鴿(測試版本)、公招辨識,請參考 [說明](resource/global/YoStarEN/readme.md)
- 日服
支援基本的刷理智、信用購物、自動公招、訪問好友、領取獎勵、自動肉鴿(測試版本)、公招辨識,請參考 [說明](resource/global/YoStarJP/readme.md)
支援基本的刷理智、自動基建、信用購物、自動公招、訪問好友、領取獎勵、自動肉鴿(測試版本)、公招辨識,請參考 [說明](resource/global/YoStarJP/readme.md)
- 韓服
支援基本的刷理智功能,請參考 [說明](resource/global/YoStarKR/readme.md)
- 繁中服
@@ -106,6 +106,7 @@ MAA 的意思是 MAA Assistant Arknights
- ~~C++ base64編解碼[cpp-base64](https://github.com/ReneNyffenegger/cpp-base64)~~
- C++ 解壓壓縮庫:[zlib](https://github.com/madler/zlib)
- C++ Gzip封裝[gzip-hpp](https://github.com/mapbox/gzip-hpp)
- 安卓觸控事件器:[minitouch](https://github.com/openstf/minitouch)
- WPF MVVW框架[Stylet](https://github.com/canton7/Stylet)
- WPF部件庫[HandyControl](https://github.com/HandyOrg/HandyControl)
- C# JSON庫[Newtonsoft.Json](https://github.com/JamesNK/Newtonsoft.Json)

View File

@@ -49,16 +49,19 @@ _注意蓝叠安装完后需要在模拟器设置中打开 `Android 调试桥
重启能解决 90% 的问题(确信
## 识别错误/任务开始后一直不动、没有反应
## 连接正常,完全没反应,一点不动
提示 1. 自动战斗功能,是需要手动点到关卡页有 `开始行动` 按钮的地方再开始任务的。请确认是否是这个问题~
提示 2. 按照下面的次序依次进行,若问题解决则无需继续向下
部分模拟器自带的 adb 版本过于老旧,不支持 minitouch 相关操作。
1. 请根据 [模拟器支持情况](1.3-模拟器支持.md) 确定您的模拟器是受支持的
2. 修改模拟器分辨率设置,`320 dpi`
3. 修改模拟器分辨率设置,横屏 `1280 * 720` 分辨率
4. 换模拟器,推荐 [蓝叠国际版](https://www.bluestacks.com/download.html) Nougat 64 bit请注意蓝叠需要在模拟器设置里开启 adb
5. 若仍有问题,请提 issue
请使用管理员权限打开 MAA点击 MAA 设置 - 连接设置 - 强制替换 ADB (建议关闭模拟器并重启 MAA 后再操作,不然可能替换不正确)
如果即使这样也无法正常使用,请勾选 “兼容性的触控模式”。
## 连接正常,偶尔能点几下,然后就卡住了,或者任务出错了
- 自动战斗功能,是需要手动点到关卡页有 `开始行动` 按钮的地方再开始任务的。请确认是否是这个问题~
- 若您使用外服,请先在设置 - 启动设置 - 选择客户端版本。且并不是所有功能都是被支持的,请参考对应的外服使用文档
- 若您进行的是肉鸽模式,请参考 [文档](1.1-详细介绍.md#一键长草自动肉鸽) 将需要刷的肉鸽“订阅到终端”,并在 设置 - 肉鸽设置 中选择正确的 肉鸽主题
## 自定义连接

View File

@@ -36,19 +36,19 @@
## ✅ [夜神模拟器](https://www.yeshen.com/)
完美支持
完美支持
## ✅ [夜神模拟器 安卓 9](https://www.yeshen.com/)
完美支持
完美支持
## ⚠️ [MuMu 模拟器](https://mumu.163.com/)
支持。但
- 需要使用管理员权限打开 MAA 才能自动获取 adb 路径和地址(因为 MuMu 本身是管理员启动的)
- 如果不希望管理员启动,可以在 MAA 设置中自行填写 adb 路径和地址
- 可能会卡在主界面无法识别,过一会提示任务出错:和 MuMu 的渲染方式有关,暂时不知道根本原因,推荐换模拟器(
- 需要使用管理员权限打开才能支持 “完成后退出模拟器” 相关功能
- 不推荐使用 mumu 默认的几个奇葩分辨率,最好改成主流的 `1280x720`, `1920x1080`, `2560x1440` 等
- MuMu 多开使用的是同一个 adb 端口,所以无法支持多开的 MuMu
## 🚫 MuMu 手游助手(星云引擎)
@@ -61,7 +61,7 @@
## 🚫 MuMu 模拟器 X
不支持。adb 截图出来是的,无法解决
不支持。adb 截图出来是透明的,无法解决
## 🚫 雷电模拟器
@@ -72,7 +72,7 @@
## ⚠️ [逍遥模拟器](https://www.xyaz.cn/)
支持但测试较少,可能存在未知问题
完美支持但测试较少
## 🚫 腾讯手游助手

View File

@@ -7,7 +7,7 @@
#### 接口原型
```c++
TaskId ASSTAPI AsstAppendTask(AsstHandle handle, const char* type, const char* params);
AsstTaskId ASSTAPI AsstAppendTask(AsstHandle handle, const char* type, const char* params);
```
#### 接口说明
@@ -16,7 +16,7 @@ TaskId ASSTAPI AsstAppendTask(AsstHandle handle, const char* type, const char* p
#### 返回值
- `TaskId`
- `AsstTaskId`
若添加成功,返回该任务 ID, 可用于后续设置任务参数;
若添加失败,返回 0
@@ -233,7 +233,7 @@ TaskId ASSTAPI AsstAppendTask(AsstHandle handle, const char* type, const char* p
#### 接口原型
```c++
bool ASSTAPI AsstSetTaskParams(AsstHandle handle, TaskId id, const char* params);
bool ASSTAPI AsstSetTaskParams(AsstHandle handle, AsstTaskId id, const char* params);
```
#### 接口说明
@@ -249,8 +249,74 @@ bool ASSTAPI AsstSetTaskParams(AsstHandle handle, TaskId id, const char* params)
- `AsstHandle handle`
实例句柄
- `TaskId task`
- `AsstTaskId task`
任务 ID, `AsstAppendTask` 接口的返回值
- `const char* params`
任务参数json string与 `AsstAppendTask` 接口相同。
未标注“不支持运行中设置”的字段都支持实时修改;否则若当前任务正在运行,会忽略对应的字段
### `AsstSetProcessOption`
#### 接口原型
```c++
bool ASSTAPI AsstSetProcessOption(AsstProcessOptionKey key, const char* value);
```
#### 接口说明
设置进程级参数
#### 返回值
- `bool`
返回是否设置成功
#### 参数说明
- `AsstProcessOptionKey key`
- `const char* value`
##### 键值一览
暂无
### `AsstSetProcessOption`
#### 接口原型
```c++
bool ASSTAPI AsstSetInstanceOption(AsstHandle handle, AsstInstanceOptionKey key, const char* value);
```
#### 接口说明
设置实例级参数
#### 返回值
- `bool`
返回是否设置成功
#### 参数说明
- `AsstHandle handle`
实例句柄
- `AsstInstanceOptionKey key`
- `const char* value`
##### 键值一览
```jsonc
enum InstanceOptionKey
{
Invalid = 0,
MinitouchEnabled = 1, // 是否启用 minitouch
// 开了也不代表就一定能用,有可能设备不支持等
// "1" 开,"0" 关
};
```

View File

@@ -57,15 +57,25 @@
// 若为 "部署", 当费用不够时,会一直等待到费用够(除非 timeout
// 若为 "技能", 当技能 cd 没转好时,一直等待到技能 cd 好(除非 timeout
// "二倍速" 是可切换的,即使用一次变成二倍速,再次使用又变回一倍速
// "子弹时间" 保留接口,暂未实现,即点击任意干员后的 1/5 速度,再进行任意 action 会恢复正常速度
// "子弹时间" 即点击任意干员后的 1/5 速度,再进行任意 action 会恢复正常速度
// 仅支持且必须下一条任务是 "部署"、"技能"、"撤退"
// 若下一条任务是 "部署",会提前点开该干员,等待满足条件且费用足够后上场
// 若下一条任务是 "技能",同样会提前点开该干员,等待满足条件后再开技能
// 若下一条任务是 "撤退",同样会提前点开该干员,等待满足条件后再撤退
// "打印" 界面不显示这条步骤,仅用于输出 doc 里的内容(用来做字幕之类的)
// "摆完挂机" 仅使用 "好了就用" 的技能,其他什么都不做,直到战斗结束
// 目前下面个条件是且的关系,即 &&
// 目前下面个条件是且的关系,即 &&
"kills": 0, // 击杀数条件,如果没达到就一直等待。可选,默认为 0直接执行
"costs": 50, // 费用条件,如果没达到就一直等待。可选,默认为 0直接执行
// 费用受潜能等影响,可能并不完全正确,仅适合对时间轴要求不严格的战斗。
// 否则请使用下面的 cost_changes
// 另外仅在费用是两位数的时候识别的比较准,三位数的费用可能会识别错,不推荐使用
"cost_changes": 5, // 费用变化量条件,如果没达到就一直等待。可选,默认为 0直接执行
// 注意是从开始执行本 actions 开始计算的(即前一个 action 结束时的费用作为基准)
// 支持负数,即费用变少了(例如“孑”等吸费干员使得费用变少了)
// 另外仅在费用是两位数的时候识别的比较准,三位数的费用可能会识别错,不推荐使用
"cooling": 2, // CD 中干员数量条件,如果没达到就一直等待。可选,默认 -1不识别

View File

@@ -12,6 +12,7 @@
{
"name": "早班", // 计划名,可选
"description": "lol", // 计划描述,可选
"description_post": "", // 计划执行完时显示的描述,可选
"period": [ // 换班时间段,可选
// 若当前时间在该区间内,则自动选择该计划(整个 json 文件中可能包含多个计划)
// core 不处理该字段,若您使用接口集成 maa请自行实现该逻辑
@@ -106,5 +107,5 @@
## 举例
[243 极限效率,一天三换](../resource/custom_infrast/243_layout_3_times_pre_day.json)
[153 极限效率,一天三换](../resource/custom_infrast/153_layout_3_times_pre_day.json)
[243 极限效率,一天三换](../resource/custom_infrast/243_layout_3_times_a_day.json)
[153 极限效率,一天三换](../resource/custom_infrast/153_layout_3_times_a_day.json)

View File

@@ -49,16 +49,17 @@ _After installation of Bluestack, you need to enable `Android Debug Bridge` in t
Try restarting your computer.
## Wrong recognition/program freezes after starting
## Connected successfully, then stuck, not operating at all
Tip 1: The auto battle requires you to go to the screen with the `Start` button. Please confirm they are not related.
Tip 2: Follow the steps below until the problem is solved.
The adb version with some emulators is too old and does not support minitouch. Please open MAA with administrator and enter Settings - Connection Settings - Forced Replace ADB. (It is recommended to close the emulator and restart MAA before proceeding, otherwise the replacement may not be correct)
1. Confirm that your emulator is supported in the [List of the Supported Emulators](1.3-EMULATOR_SUPPORTS.md).
2. Change the DPI to `320 dpi`.
3. Change the resolution to landscape, `1280 * 720`.
4. Try with another emulator, such as [Bluestacks international version](https://www.bluestacks.com/download.html) Nougat 64 bit. (Please note that you are required to switch on ADB in Bluestack emulator.)
5. Submit an issue to us if the problem still exists.
If still not work, please enable the "Compatibility Touch Mode" (without minitouch).
## Connected successfully, can click a few times, then stuck or task error
- The auto battle requires you to go to the screen with the `Start` button. Please confirm they are not related.
- If you are using a non-CN client, please go to MAA Settings - Start Up Settings - Select your client version. And not all features are supported for non-CN client, please refer to docs.
- If you are running auto-IS function, please PIN UP the IS theme you want in the game, and select IS theme in MAA Settings - IS Settings.
## Custom Connection

View File

@@ -242,3 +242,69 @@ Set task parameters
- `const char* params`
Task parameter in JSON, same as `AsstAppendTask`
For those fields that do not mention "Editing in run-time is not supported" can be changed during run-time. Otherwise these changes will be ignored when the task is running.
### `AsstSetProcessOption`
#### Prototype
```c++
bool ASSTAPI AsstSetProcessOption(AsstProcessOptionKey key, const char* value);
```
#### Description
Set process-level parameters
#### Return Value
- `bool`
Is the setup successful
#### Parameter Description
- `AsstProcessOptionKey key`
key
- `const char* value`
value
##### List of Key and value
None
### `AsstSetProcessOption`
#### Prototype
```c++
bool ASSTAPI AsstSetInstanceOption(AsstHandle handle, AsstInstanceOptionKey key, const char* value);
```
#### Description
Set instance-level parameters
#### Return Value
- `bool`
Is the setup successful
#### Parameter Description
- `AsstHandle handle`
handle
- `AsstInstanceOptionKey key`
key
- `const char* value`
value
##### List of Key and value
```jsonc
enum InstanceOptionKey
{
Invalid = 0,
MinitouchEnabled = 1, // Is minitouch enabled
// If you can't use minitouch, it's useless to turn it on.
// "1" - on"0" - off
};
```

View File

@@ -63,6 +63,10 @@ Usage of `resource/copilot/*.json` and field description.
// The relationship between the following three fields is AND, i.e. &&
"kills": 0, // Waiting until the number of kills required is reached, optional, 0 by default
"costs": 50, // Waiting until the cost for the amount specified, optional, 0 by default
// Note that costs can change due to potential, so this field is only for easy fights. Otherwise, please use "cost_changes"
// Recognition is accurate when the cost is 2 digits. Not recommended for 3-digit costs.
"cost_changes": 5, // Waiting until the cost changes for the amount specified, optional, 0 by default
// Note that it calculates since the action starts (based on the cost of the previous action)

View File

@@ -17,7 +17,7 @@
[NoAVX](../3rdparty/ppocr_noavx.zip)バージョンの `PaddleOCR` をダウンロードして解凍し、このアプリで同じ名前のファイルに置き換えてください。これは、`AVX` 命令セットをサポートしていないCPUのユーザー向けのパフォーマンス低下の代替手段であり、必要でない限り使用しないでください。
_具体的には、[CPU-Z](https://www.cpuid.com/softwares/cpu-z.html)をダウンロードし、「命令セット」に `AVX` があるかどうかで判断できます。_
_具体的には、[CPU-Z](https://www.cpuid.com/softwares/cpu-z.html) をダウンロードし、「命令セット」に `AVX` があるかどうかで判断できます。_
### 可能性3ほかのランタイムライブラリの問題
@@ -47,16 +47,17 @@ _BlueStacksをインストールした後、エミュレーターの設定で `A
再起動すると、問題の90%が解決します(確信
## 認識エラー/タスクが動かなくなり、反応しなくなる
## 接続に成功した後、固まり、全く操作できなくなる
<!-- ヒント1自動戦闘機能の場合は、`行動開始` ボタンのあるインターフェースを入ってから、ミッションを開始する必要があります。これが問題かどうかを確認してください。 -->
ヒント1以下の手順に従ってください。問題が解決した場合は、続行する必要はありません。
一部のエミュレータのadbのバージョンが古すぎて、ミニタッチに対応していない。MAAを管理者権限で開き、設定-接続設定-ADBの強制交換を入力してください。(エミュレータを終了し、MAAを再起動してから作業を進めると、正しく置き換えられない場合があります
1. [エミュレータのサポート](1.3-エミュレータのサポート.md)に従って、エミュレータがサポートされていることを確認してください
2. エミュレータの解像度設定を変更:`320 dpi`
3. エミュレータの解像度設定を変更:横画面、`1280 * 720` 解像度
4. エミュレータの変更。[Bluestacks](https://www.bluestacks.com/download.html) Android 64 bitをおすすめしますBlueStacksはエミュレータ設定でadbをオンにする必要があることに注意してください
5. それでも問題が解決しない場合は、issueを提出してください
それでもうまくいかない場合は、"互換タッチモード "を有効にしてくださいminitouchなし
## 接続に成功し、数回クリックすることができ、その後スタックまたはタスクエラーになる
- オートバトルは`スタート`ボタンのある画面まで行く必要があります。関連性がないことをご確認ください
- CN以外のクライアントをお使いの場合は、MAA設定-起動設定-クライアントバージョンの選択でご確認ください。また、非CNクライアントでは全ての機能がサポートされているわけではありませんので、ドキュメントを参照してください。
- 自動IS機能を実行している場合、ゲーム内で使用したいISテーマをPIN UPし、MAA設定 - IS設定にてISテーマを選択してください。
## カスタム接続

View File

@@ -104,5 +104,5 @@
## サンプル
[243 効率最高,一日三回](../resource/custom_infrast/243_layout_3_times_pre_day.json)
[153 効率最高,一日三回](../resource/custom_infrast/153_layout_3_times_pre_day.json)
[243 効率最高,一日三回](../resource/custom_infrast/243_layout_3_times_a_day.json)
[153 効率最高,一日三回](../resource/custom_infrast/153_layout_3_times_a_day.json)

View File

@@ -49,16 +49,19 @@ _注意藍疊安裝完後需要在模擬器設定中打開 `Android 調試橋
重啟能解決 90% 的問題(確信
## 辨識錯誤/任務開始後一直不動、沒有反應
## 連接正常,完全沒反應,一點不動
提示 1. 自動戰鬥功能,是需要手動點到關卡頁有 `開始行動` 按鈕的地方再開始任務的。請確認是否是這個問題~
提示 2. 按照下面的次序依次進行,若問題解決則無需繼續向下
部分模擬器自帶的 adb 版本過於老舊,不支持 minitouch 相關操作。
1. 請根據 [模擬器支援情況](1.3-模擬器支援.md) 確定您的模擬器是受支援的
2. 修改模擬器解析度設定,`320 dpi`
3. 修改模擬器解析度設定,橫向 `1280 * 720` 解析度
4. 換模擬器,推薦 [藍疊國際版](https://www.bluestacks.com/download.html) Nougat 64 bit請注意藍疊需要在模擬器設定裡開啟 adb
5. 若仍有問題,請提 issue
請使用管理員權限打開 MAA點擊 MAA 設置 - 連接設置 - 強制替換 ADB (建議關閉模擬器並重啟 MAA 後再操作,不然可能替換不正確)
如果即使這樣也無法正常使用,請勾選 “兼容性的觸控模式”。
## 連接正常,偶爾能點幾下,然後就卡住了,或者任務出錯了
- 自動戰鬥功能,是需要手動點到關卡頁有 `開始行動` 按鈕的地方再開始任務的。請確認是否是這個問題~
- 若您使用外服,請先在設置 - 啟動設置 - 選擇客戶端版本。且並不是所有功能都是被支持的,請參考對應的外服使用文檔
- 若您進行的是肉鴿模式,請參考 [文檔](1.1-詳細介紹.md#一鍵長草自動肉鴿) 將需要刷的肉鴿“訂閱到終端”,並在 設置 - 肉鴿設置 中選擇正確的 肉鴿主題
## 自定義連接

View File

@@ -20,32 +20,38 @@ extern "C"
#ifdef __cplusplus
typedef asst::Assistant* AsstHandle;
#else
typedef void* AsstHandle;
typedef void* AsstHandle;
#endif
typedef int TaskId;
typedef int AsstTaskId;
typedef int AsstProcessOptionKey;
typedef int AsstInstanceOptionKey;
typedef unsigned long long AsstSize;
typedef void(ASST_CALL* AsstApiCallback)(int msg, const char* detail_json, void* custom_arg);
bool ASSTAPI AsstSetUserDir(const char* path);
bool ASSTAPI AsstLoadResource(const char* path);
bool ASSTAPI AsstSetProcessOption(AsstProcessOptionKey key, const char* value);
AsstHandle ASSTAPI AsstCreate();
AsstHandle ASSTAPI AsstCreateEx(AsstApiCallback callback, void* custom_arg);
void ASSTAPI AsstDestroy(AsstHandle handle);
bool ASSTAPI AsstSetInstanceOption(AsstHandle handle, AsstInstanceOptionKey key, const char* value);
bool ASSTAPI AsstConnect(AsstHandle handle, const char* adb_path, const char* address, const char* config);
TaskId ASSTAPI AsstAppendTask(AsstHandle handle, const char* type, const char* params);
bool ASSTAPI AsstSetTaskParams(AsstHandle handle, TaskId id, const char* params);
AsstTaskId ASSTAPI AsstAppendTask(AsstHandle handle, const char* type, const char* params);
bool ASSTAPI AsstSetTaskParams(AsstHandle handle, AsstTaskId id, const char* params);
bool ASSTAPI AsstStart(AsstHandle handle);
bool ASSTAPI AsstStop(AsstHandle handle);
bool ASSTAPI AsstRunning(AsstHandle handle);
bool ASSTAPI AsstCtrlerClick(AsstHandle handle, int x, int y, bool block);
unsigned long long ASSTAPI AsstGetImage(AsstHandle handle, void* buff, unsigned long long buff_size);
unsigned long long ASSTAPI AsstGetUUID(AsstHandle handle, char* buff, unsigned long long buff_size);
unsigned long long ASSTAPI AsstGetTasksList(AsstHandle handle, TaskId* buff, unsigned long long buff_size);
unsigned long long ASSTAPI AsstGetNullSize();
bool ASSTAPI AsstClick(AsstHandle handle, int x, int y);
AsstSize ASSTAPI AsstGetImage(AsstHandle handle, void* buff, AsstSize buff_size);
AsstSize ASSTAPI AsstGetUUID(AsstHandle handle, char* buff, AsstSize buff_size);
AsstSize ASSTAPI AsstGetTasksList(AsstHandle handle, AsstTaskId* buff, AsstSize buff_size);
AsstSize ASSTAPI AsstGetNullSize();
ASSTAPI_PORT const char* ASST_CALL AsstGetVersion();
void ASSTAPI AsstLog(const char* level, const char* message);

View File

@@ -14,14 +14,13 @@
"configuration": {
"include": [
"resource/**",
"ppocr.dll",
"MeoAssistant.dll",
"MeoAsstGui.exe"
],
"exclude": [
"**/PaddleOCR/**"
],
"exclude_Doc": "v4.6.5-beta.2版本新增了PaddleCharOCR暂时不放到exclude"
"**/PaddleOCR/**",
"**/PaddleCharOCR/**"
]
}
},
{

View File

@@ -12,6 +12,10 @@
"adbExtraSwipeDist_Doc": "额外的滑动距离adb有bug同样的参数偶尔会划得非常远。额外做一个短程滑动把之前的停下来",
"adbExtraSwipeDuration": 500,
"adbExtraSwipeDuration_Doc": "额外的滑动持续时间adb有bug同样的参数偶尔会划得非常远。额外做一个短程滑动把之前的停下来。若小于0则关闭额外滑动功能",
"adbSwipeDurationMultiplier": 10.0,
"adbSwipeDurationMultiplier_Doc": "adb 滑动延迟倍数",
"minitouchExtraSwipeDist": 100,
"minitouchExtraSwipeDuration": 200,
"penguinReport": {
"Doc": "企鹅物流汇报: https://penguin-stats.cn/",
"cmdFormat": "curl -H \"Content-Type: application/json\" -s -S -m 10 -i -d \"[body]\" \"https://penguin-stats.io/PenguinStats/api/v2/report\" --ssl-no-revoke [extra]",
@@ -55,7 +59,12 @@
"screencapEncode": "[Adb] -s [AdbSerial] exec-out screencap -p",
"release": "[Adb] kill-server",
"start": "[Adb] -s [AdbSerial] shell am start -n [Intent]",
"stop": "[Adb] -s [AdbSerial] shell \"am force-stop `dumpsys activity activities 2>/dev/null | grep Activities= 2>/dev/null | grep -m 1 -i -o -E [^\\ ]*arknights[^/]*`\""
"stop": "[Adb] -s [AdbSerial] shell \"am force-stop `dumpsys activity activities 2>/dev/null | grep Activities= 2>/dev/null | grep -m 1 -i -o -E [^\\ ]*arknights[^/]*`\"",
"abilist": "[Adb] -s [AdbSerial] shell getprop ro.product.cpu.abilist",
"orientation": "[Adb] -s [AdbSerial] shell dumpsys input | grep SurfaceOrientation | grep -m 1 -o -E [0-9]",
"pushMinitouch": "[Adb] -s [AdbSerial] push \"[minitouchLocalPath]\" \"/data/local/tmp/[minitouchWorkingFile]\"",
"chmodMinitouch": "[Adb] -s [AdbSerial] shell chmod 700 \"/data/local/tmp/[minitouchWorkingFile]\"",
"callMinitouch": "[Adb] -s [AdbSerial] shell \"/data/local/tmp/[minitouchWorkingFile]\" -i"
},
"BlueStacks": {
"devices": "[Adb] devices",
@@ -73,7 +82,12 @@
"screencapEncode": "[Adb] -s [AdbSerial] exec-out screencap -p",
"release": "[Adb] kill-server",
"start": "[Adb] -s [AdbSerial] shell am start -n [Intent]",
"stop": "[Adb] -s [AdbSerial] shell \"am force-stop `dumpsys activity activities 2>/dev/null | grep Activities= 2>/dev/null | grep -m 1 -i -o -E [^\\ ]*arknights[^/]*`\""
"stop": "[Adb] -s [AdbSerial] shell \"am force-stop `dumpsys activity activities 2>/dev/null | grep Activities= 2>/dev/null | grep -m 1 -i -o -E [^\\ ]*arknights[^/]*`\"",
"abilist": "[Adb] -s [AdbSerial] shell getprop ro.product.cpu.abilist",
"orientation": "[Adb] -s [AdbSerial] shell dumpsys input | grep SurfaceOrientation | grep -m 1 -o -E [0-9]",
"pushMinitouch": "[Adb] -s [AdbSerial] push \"[minitouchLocalPath]\" \"/data/local/tmp/[minitouchWorkingFile]\"",
"chmodMinitouch": "[Adb] -s [AdbSerial] shell chmod 700 \"/data/local/tmp/[minitouchWorkingFile]\"",
"callMinitouch": "[Adb] -s [AdbSerial] shell \"/data/local/tmp/[minitouchWorkingFile]\" -i"
},
"MuMuEmulator": {
"devices": "[Adb] devices",
@@ -91,7 +105,12 @@
"screencapEncode": "[Adb] -s [AdbSerial] exec-out screencap -p",
"release": "[Adb] kill-server",
"start": "[Adb] -s [AdbSerial] shell am start -n [Intent]",
"stop": "[Adb] -s [AdbSerial] shell \"am force-stop `dumpsys activity activities 2>/dev/null | grep Activities= 2>/dev/null | grep -m 1 -i -o -E [^\\ ]*arknights[^/]*`\""
"stop": "[Adb] -s [AdbSerial] shell \"am force-stop `dumpsys activity activities 2>/dev/null | grep Activities= 2>/dev/null | grep -m 1 -i -o -E [^\\ ]*arknights[^/]*`\"",
"abilist": "[Adb] -s [AdbSerial] shell getprop ro.product.cpu.abilist",
"orientation": "[Adb] -s [AdbSerial] shell dumpsys input | grep SurfaceOrientation | grep -m 1 -o -E [0-9]",
"pushMinitouch": "[Adb] -s [AdbSerial] push \"[minitouchLocalPath]\" \"/data/local/tmp/[minitouchWorkingFile]\"",
"chmodMinitouch": "[Adb] -s [AdbSerial] shell chmod 700 \"/data/local/tmp/[minitouchWorkingFile]\"",
"callMinitouch": "[Adb] -s [AdbSerial] shell \"/data/local/tmp/[minitouchWorkingFile]\" -i"
},
"LDPlayer": {
"devices": "[Adb] devices",
@@ -109,7 +128,12 @@
"screencapEncode": "[Adb] -s [AdbSerial] shell screencap -p",
"release": "[Adb] kill-server",
"start": "[Adb] -s [AdbSerial] shell am start -n [Intent]",
"stop": "[Adb] -s [AdbSerial] shell \"am force-stop `dumpsys activity activities 2>/dev/null | grep Activities= 2>/dev/null | grep -m 1 -i -o -E [^\\ ]*arknights[^/]*`\""
"stop": "[Adb] -s [AdbSerial] shell \"am force-stop `dumpsys activity activities 2>/dev/null | grep Activities= 2>/dev/null | grep -m 1 -i -o -E [^\\ ]*arknights[^/]*`\"",
"abilist": "[Adb] -s [AdbSerial] shell getprop ro.product.cpu.abilist",
"orientation": "[Adb] -s [AdbSerial] shell dumpsys input | grep SurfaceOrientation | grep -m 1 -o -E [0-9]",
"pushMinitouch": "[Adb] -s [AdbSerial] push \"[minitouchLocalPath]\" \"/data/local/tmp/[minitouchWorkingFile]\"",
"chmodMinitouch": "[Adb] -s [AdbSerial] shell chmod 700 \"/data/local/tmp/[minitouchWorkingFile]\"",
"callMinitouch": "[Adb] -s [AdbSerial] shell \"/data/local/tmp/[minitouchWorkingFile]\" -i"
},
"Nox": {
"devices": "[Adb] devices",
@@ -127,7 +151,12 @@
"screencapEncode": "[Adb] -s [AdbSerial] exec-out screencap -p",
"release": "[Adb] kill-server",
"start": "[Adb] -s [AdbSerial] shell am start -n [Intent]",
"stop": "[Adb] -s [AdbSerial] shell \"am force-stop `dumpsys activity activities 2>/dev/null | grep Activities= 2>/dev/null | grep -m 1 -i -o -E [^\\ ]*arknights[^/]*`\""
"stop": "[Adb] -s [AdbSerial] shell \"am force-stop `dumpsys activity activities 2>/dev/null | grep Activities= 2>/dev/null | grep -m 1 -i -o -E [^\\ ]*arknights[^/]*`\"",
"abilist": "[Adb] -s [AdbSerial] shell getprop ro.product.cpu.abilist",
"orientation": "[Adb] -s [AdbSerial] shell dumpsys input | grep SurfaceOrientation | grep -m 1 -o -E [0-9]",
"pushMinitouch": "[Adb] -s [AdbSerial] push \"[minitouchLocalPath]\" \"/data/local/tmp/[minitouchWorkingFile]\"",
"chmodMinitouch": "[Adb] -s [AdbSerial] shell chmod 700 \"/data/local/tmp/[minitouchWorkingFile]\"",
"callMinitouch": "[Adb] -s [AdbSerial] shell \"/data/local/tmp/[minitouchWorkingFile]\" -i"
},
"XYAZ": {
"devices": "[Adb] devices",
@@ -145,7 +174,12 @@
"screencapEncode": "[Adb] -s [AdbSerial] shell screencap -p",
"release": "[Adb] kill-server",
"start": "[Adb] -s [AdbSerial] shell am start -n [Intent]",
"stop": "[Adb] -s [AdbSerial] shell \"am force-stop `dumpsys activity activities 2>/dev/null | grep Activities= 2>/dev/null | grep -m 1 -i -o -E [^\\ ]*arknights[^/]*`\""
"stop": "[Adb] -s [AdbSerial] shell \"am force-stop `dumpsys activity activities 2>/dev/null | grep Activities= 2>/dev/null | grep -m 1 -i -o -E [^\\ ]*arknights[^/]*`\"",
"abilist": "[Adb] -s [AdbSerial] shell getprop ro.product.cpu.abilist",
"orientation": "[Adb] -s [AdbSerial] shell dumpsys input | grep SurfaceOrientation | grep -m 1 -o -E [0-9]",
"pushMinitouch": "[Adb] -s [AdbSerial] push \"[minitouchLocalPath]\" \"/data/local/tmp/[minitouchWorkingFile]\"",
"chmodMinitouch": "[Adb] -s [AdbSerial] shell chmod 700 \"/data/local/tmp/[minitouchWorkingFile]\"",
"callMinitouch": "[Adb] -s [AdbSerial] shell \"/data/local/tmp/[minitouchWorkingFile]\" -i"
},
"WSA": {
"devices": "[Adb] devices",
@@ -164,7 +198,12 @@
"screencapEncode": "[Adb] -s [AdbSerial] shell screencap -d [DisplayId] -p",
"release": "[Adb] kill-server",
"start": "[Adb] -s [AdbSerial] shell am start -n [Intent]",
"stop": "[Adb] -s [AdbSerial] shell \"am force-stop `dumpsys activity activities 2>/dev/null | grep Activities= 2>/dev/null | grep -m 1 -i -o -E [^\\ ]*arknights[^/]*`\""
"stop": "[Adb] -s [AdbSerial] shell \"am force-stop `dumpsys activity activities 2>/dev/null | grep Activities= 2>/dev/null | grep -m 1 -i -o -E [^\\ ]*arknights[^/]*`\"",
"abilist": "[Adb] -s [AdbSerial] shell getprop ro.product.cpu.abilist",
"orientation": "[Adb] -s [AdbSerial] shell dumpsys input | grep SurfaceOrientation | grep -m 1 -o -E [0-9]",
"pushMinitouch": "[Adb] -s [AdbSerial] push \"[minitouchLocalPath]\" \"/data/local/tmp/[minitouchWorkingFile]\"",
"chmodMinitouch": "[Adb] -s [AdbSerial] shell chmod 700 \"/data/local/tmp/[minitouchWorkingFile]\"",
"callMinitouch": "[Adb] -s [AdbSerial] shell \"/data/local/tmp/[minitouchWorkingFile]\" -i"
},
"Compatible": {
"devices": "[Adb] devices",
@@ -182,7 +221,35 @@
"screencapEncode": "[Adb] -s [AdbSerial] exec-out screencap -p",
"release": "[Adb] kill-server",
"start": "[Adb] -s [AdbSerial] shell am start -n [Intent]",
"stop": "[Adb] -s [AdbSerial] shell \"am force-stop `dumpsys activity activities 2>/dev/null | grep Activities= 2>/dev/null | grep -m 1 -i -o -E [^\\ ]*arknights[^/]*`\""
"stop": "[Adb] -s [AdbSerial] shell \"am force-stop `dumpsys activity activities 2>/dev/null | grep Activities= 2>/dev/null | grep -m 1 -i -o -E [^\\ ]*arknights[^/]*`\"",
"abilist": "[Adb] -s [AdbSerial] shell getprop ro.product.cpu.abilist",
"orientation": "[Adb] -s [AdbSerial] shell dumpsys input | grep SurfaceOrientation | grep -m 1 -o -E [0-9]",
"pushMinitouch": "[Adb] -s [AdbSerial] push \"[minitouchLocalPath]\" \"/data/local/tmp/[minitouchWorkingFile]\"",
"chmodMinitouch": "[Adb] -s [AdbSerial] shell chmod 700 \"/data/local/tmp/[minitouchWorkingFile]\"",
"callMinitouch": "[Adb] -s [AdbSerial] shell \"/data/local/tmp/[minitouchWorkingFile]\" -i"
},
"CompatMac": {
"devices": "[Adb] devices",
"addressRegex": "(.+)\tdevice",
"connect": "[Adb] connect [AdbSerial]",
"uuid": "[Adb] -s [AdbSerial] shell echo 111111",
"click": "[Adb] -s [AdbSerial] shell input tap [x] [y]",
"swipe": "[Adb] -s [AdbSerial] shell input swipe [x1] [y1] [x2] [y2] [duration]",
"display": "[Adb] -s [AdbSerial] shell dumpsys window displays | grep -o -E cur=+[^\\ ]+ | grep -o -E [0-9]+",
"displayFormat": "%d%d",
"screencapRawByNC": "[Adb] -s [AdbSerial] exec-out \"screencap | nc -w 3 [NcAddress] [NcPort]\"",
"ncAddress": "[Adb] -s [AdbSerial] shell \" cat /proc/net/arp | grep : \"",
"ncPort": 6723,
"screencapRawWithGzip": "",
"screencapEncode": "[Adb] -s [AdbSerial] exec-out screencap -p",
"release": "[Adb] kill-server",
"start": "[Adb] -s [AdbSerial] shell am start -n [Intent]",
"stop": "[Adb] -s [AdbSerial] shell \"am force-stop `dumpsys activity activities 2>/dev/null | grep Activities= 2>/dev/null | grep -m 1 -i -o -E [^\\ ]*arknights[^/]*`\"",
"abilist": "[Adb] -s [AdbSerial] shell getprop ro.product.cpu.abilist",
"orientation": "[Adb] -s [AdbSerial] shell dumpsys input | grep SurfaceOrientation | grep -m 1 -o -E [0-9]",
"pushMinitouch": "[Adb] -s [AdbSerial] push \"[minitouchLocalPath]\" \"/data/local/tmp/[minitouchWorkingFile]\"",
"chmodMinitouch": "[Adb] -s [AdbSerial] shell chmod 700 \"/data/local/tmp/[minitouchWorkingFile]\"",
"callMinitouch": "[Adb] -s [AdbSerial] shell \"/data/local/tmp/[minitouchWorkingFile]\" -i"
}
}
}

View File

@@ -3,8 +3,9 @@
"description": "干员配置要求极高,请留意\n若缺少干员请自行拷贝文件并修改请勿直接修改以免更新后被覆盖\n第一个制造站可根据赤金储量选赤金/记录\n\n作业作者uye\n\n感谢公孙长乐大佬提供数据及方案支持",
"plans": [
{
"name": "A+B 组",
"description": "最高效率长班\n下次换班请在约16小时后进行",
"name": "A+B 组 16H",
"description": "最高效率长班",
"description_post": "下次换班请在约16小时后进行",
"Fiammetta": {
"target": "巫恋"
},
@@ -128,8 +129,9 @@
}
},
{
"name": "A+Y 组",
"description": "次高效替补 1 班\n下次换班请在约4小时后进行",
"name": "A+Y 组 4H",
"description": "次高效替补 1 班",
"description_post": "下次换班请在约4小时后进行",
"Fiammetta": {
"target": "龙舌兰"
},
@@ -249,8 +251,9 @@
}
},
{
"name": "B+Y 组",
"description": "次高效替补 2 班\n下次换班请在约4小时后进行",
"name": "B+Y 组 4H",
"description": "次高效替补 2 班",
"description_post": "下次换班请在约4小时后进行",
"drones": {
"room": "trading",
"index": 1,

View File

@@ -3,8 +3,9 @@
"description": "干员配置要求极高,请留意\n若缺少干员请自行拷贝文件并修改请勿直接修改以免更新后被覆盖\n\n作业作者MistEO\n感谢公孙长乐大佬提供数据及方案支持",
"plans": [
{
"name": "A+B 组",
"description": "最高效率长班\n下次换班请在约16小时后进行",
"name": "A+B 组 8H",
"description": "最高效率长班",
"description_post": "下次换班请在约8小时后进行",
"Fiammetta": {
"target": "巫恋"
},
@@ -129,8 +130,9 @@
}
},
{
"name": "A+Y 组",
"description": "次高效替补 1 班\n下次换班请在约4小时后进行",
"name": "A+Y 组 8H",
"description": "次高效替补 1 班",
"description_post": "下次换班请在约8小时后进行",
"Fiammetta": {
"target": "龙舌兰"
},
@@ -256,8 +258,12 @@
}
},
{
"name": "B+Y 组",
"description": "次高效替补 2 班\n下次换班请在约4小时后进行",
"name": "B+Y 组 8H",
"description": "次高效替补 2 班",
"description_post": "下次换班请在约8小时后进行",
"Fiammetta": {
"target": "但书"
},
"drones": {
"room": "trading",
"index": 1
@@ -267,10 +273,10 @@
{
"operators": [
"阿米娅",
"焰尾",
"",
"琴柳",
"令",
"老鲤"
"焰尾"
]
}
],
@@ -361,7 +367,8 @@
{
"operators": [
"爱丽丝",
"车尔尼"
"车尔尼",
"菲亚梅塔"
],
"autofill": true
},

View File

@@ -3,8 +3,9 @@
"description": "请不要直接在原文件上修改,更新会覆盖\n在内置版243一天三换基础上做到了007但书+007巫恋+007龙舌兰最大化肥鸭效率\n添加period可以配合自启动实现自动化括号内举例了一个可能的时间段宿舍已经手动写死可以自行更改\n\n作业作者OCEANUS\n感谢公孙长乐大佬提供数据及方案支持",
"plans": [
{
"name": "A+B 组 前8小时比如【16:00-24:00】",
"description": "最高效率长班\n下次换班在8小时后进行",
"name": "A+B 组 8H",
"description": "最高效率长班",
"description_post": "下次换班请在8小时后进行",
"drones": {
"order": "post",
"room": "trading",
@@ -13,7 +14,6 @@
"Fiammetta": {
"target": "巫恋"
},
"rooms": {
"control": [
{
@@ -129,7 +129,6 @@
"水月",
"海沫",
"多萝西"
]
},
{
@@ -139,7 +138,6 @@
"远牙",
"正义骑士号",
"雷蛇"
]
},
{
@@ -150,14 +148,14 @@
"星极",
"红"
]
}
]
}
},
{
"name": "A+B 组 后8小时例如【00:00-08:00】",
"description": "最高效率长班,中途用一次肥鸭,同时清体力\n下次换班在8小时后进行",
"name": "A+B 组 8H",
"description": "最高效率长班,中途用一次肥鸭,同时清体力",
"description_post": "下次换班请在8小时后进行",
"drones": {
"order": "post",
"room": "trading",
@@ -281,7 +279,6 @@
"水月",
"海沫",
"多萝西"
]
},
{
@@ -291,7 +288,6 @@
"远牙",
"雷蛇",
"年"
]
},
{
@@ -302,14 +298,14 @@
"瑕光",
"泥岩"
]
}
]
}
},
{
"name": "B+C 组例如【08:00-12:00】",
"description": "次高效替补 1 班, 令工作20小时\n下次换班在4小时后进行",
"name": "B+C 组 4H",
"description": "次高效替补 1 班",
"description_post": "下次换班请在4小时后进行",
"drones": {
"order": "post",
"room": "trading",
@@ -433,7 +429,6 @@
"森蚺",
"红云",
"帕拉斯"
]
},
{
@@ -443,7 +438,6 @@
"承曦格雷伊",
"炎狱炎熔",
"年"
]
},
{
@@ -452,17 +446,16 @@
"车尔尼",
"九色鹿",
"瑕光"
],
"autofill": true
}
]
}
},
{
"name": "A+C 组例如【12:00-16:00】",
"description": "次高效替补 2 班\n下次换班在4小时后进行",
"name": "A+C 组 4H",
"description": "次高效替补 2 班",
"description_post": "下次换班请在4小时后进行",
"drones": {
"order": "post",
"room": "trading",
@@ -584,7 +577,6 @@
"空弦",
"迷迭香",
"砾"
]
},
{
@@ -594,7 +586,6 @@
"槐琥",
"食铁兽",
"断罪者"
]
},
{
@@ -605,11 +596,9 @@
"伺夜",
"令"
]
}
]
}
}
]
}

View File

@@ -3,8 +3,9 @@
"description": "干员配置要求极高,请留意\n若缺少干员请自行拷贝文件并修改请勿直接修改以免更新后被覆盖\n\n作业作者筱竹聽雨\n感谢公孙长乐大佬提供数据及方案支持",
"plans": [
{
"name": "A+B 组",
"description": "最高效率长班\n下次换班请在约16小时后进行",
"name": "A+B 组 16H",
"description": "最高效率长班",
"description_post": "下次换班请在约16小时后进行",
"Fiammetta": {
"target": "巫恋"
},
@@ -125,8 +126,9 @@
}
},
{
"name": "A+Y 组",
"description": "次高效替补 1 班\n下次换班请在约4小时后进行",
"name": "A+Y 组 4H",
"description": "次高效替补 1 班",
"description_post": "下次换班请在约4小时后进行",
"Fiammetta": {
"target": "龙舌兰"
},
@@ -248,8 +250,9 @@
}
},
{
"name": "B+Y 组",
"description": "次高效替补 2 班\n下次换班请在约4小时后进行",
"name": "B+Y 组 4H",
"description": "次高效替补 2 班",
"description_post": "下次换班请在约4小时后进行",
"drones": {
"room": "manufacture",
"index": 1
@@ -367,4 +370,4 @@
}
}
]
}
}

View File

@@ -117,8 +117,9 @@
"room": "trading",
"order": "post"
},
"name": "6h-A组",
"description": "中效率组此组持续6h"
"name": "A 组 6 H",
"description": "中效率组",
"description_post": "下次换班请在约6小时后进行"
},
{
"rooms": {
@@ -239,8 +240,9 @@
"room": "manufacture",
"order": "post"
},
"name": "6h-B组",
"description": "中效率组此组持续6h"
"name": "B 组 6H",
"description": "中效率组",
"description_post": "下次换班请在约6小时后进行"
},
{
"rooms": {
@@ -361,8 +363,9 @@
"room": "manufacture",
"order": "post"
},
"name": "12h组",
"description": "高效率组此组持续12h"
"name": "C 组 12H",
"description": "高效率组",
"description_post": "下次换班请在约12小时后进行"
}
],
"author": "面包猫南北",

View File

@@ -162,6 +162,9 @@
"Storage full"
]
},
"Phantom@Roguelike@StageEncounterOptionUnknown": {
"templThreshold": 0.9
},
"BattleStageName": {
"Doc": "该任务的 ocrReplace 被所有涉及Rouge-like的English识别任务复用",
"ocrReplace": [

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

View File

@@ -10,6 +10,7 @@
- 理性回復アイテムを使う
- 純正源石を使う
- 自動戦闘の最大回数を指定する
- 自動基建
- 自動公開求人
- 戦友訪問
- FP交換所 (日本語名で入力対応)
@@ -27,6 +28,7 @@
- 使用理智药恢复理智
- 使用源石恢复理智
- 刷理智指定次数
- 自动基建
- 自动公招
- 访问好友
- 信用商店(使用日文输入商品名)
@@ -44,6 +46,7 @@ Supported features:
- Auto-use sanity potion
- Auto-use Originite Prime
- Set the max number of auto battles
- Auto Base shift
- Auto recruiting
- Visiting friend's infrastructure
- Credit Shopping (with Japanese trade names)

View File

@@ -1729,16 +1729,16 @@
"前回の参加作戦"
]
},
"ToChapter2": {
"text": [
"幻滅"
]
},
"ToChapter1": {
"ClickChapter1": {
"text": [
"覚醒"
]
},
"ClickChapter2": {
"text": [
"幻滅"
]
},
"StartRecruit": {
"text": [
"求人開始"
@@ -1855,9 +1855,8 @@
]
},
"RoguelikeRecruitLevel": {
"template": "empty.png",
"Doc": "日服的等级字体比国服大一圈要改roi",
"roi": [
"rectMove": [
-172,
-1,
18,
@@ -3003,5 +3002,22 @@
"text": [
"配属情報"
]
},
"InfrastEnterOperList": {
"text": [
"体力",
"休憩中",
"仕事中",
"配属"
]
},
"StartToWakeUp": {
"Doc": "相较国服调大roi",
"roi": [
480,
450,
320,
60
]
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 84 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 63 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.5 KiB

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Some files were not shown because too many files have changed in this diff Show More