MaaAssistantArknights / MaaAssistantArknights/maa-cli

请问如何设置公招识别任务

Open
#384 1 comment 0 reactions 1 assignee View on GitHub

@wangl-cc is already working on this.

Since Mar 16, 2025.

enhancement
Dominant language
Rust
Stars
117
Forks
39
PR merge metrics
No merged PRs in 30d

Description

想要用maa识别公招词条计算公招组合,按照协议文档的说明写了任务文件
```toml
[[tasks]]
type = 'Recruit'

[tasks.params]
refresh = false
times = 0
select = []
confirm = []

```
手动进入招募词条页面后运行任务,maa从招募页面退出到主界面,然后又进入公招栏位页面,控制台输出:
```
[2025-03-15 11:06:47 INFO ] Connected
[2025-03-15 11:06:48 INFO ] FastestWayToScreencap RawByNc 155
[2025-03-15 11:06:48 INFO ] Recruit Start
[2025-03-15 11:06:54 INFO ] Recruit Completed
[2025-03-15 11:06:54 INFO ] AllTasksCompleted
Summary
----------------------------------------
[Recruit] 11:06:48 - 11:06:54 (6s) Completed

```
log文件:
[asst.log](https://github.com/user-attachments/files/19257665/asst.log)

之前一直使用maaX的公招识别功能,更新maa core后失效,于是尝试用maa-cli

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.