剿灭作战整周 0 场: annihilation_callback 忽略列表比较恒真误停 MAA
Maintainers usually reply within 1 day
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 62/100
Research direction
The bug is in annihilation_callback in submodule/AlasMaaBridge/module/handler/handler.py, which compares the first list with != instead of checking membership. Read that callback and how maa_start() reacts to self.signal, then reproduce with a SubTaskError whose first is ["LastBattleStageName"]. Done when that recoverable error no longer stops the chain and the ignore list includes LastBattleStageName.
Written by the indexing model from the issue text.
Description
现象
方舟剿灭作战整周 0/6:MAA 每天「正常完成」MaaAnnihilation(NextRun 推进)但实际 0 场战斗,无报错。
根因
submodule/AlasMaaBridge/module/handler/handler.py 的 annihilation_callback 用
deep_get(d,'first') != ignoreErrorKeywords 做忽略判断。MAA(6.18+)进剿灭关卡先试
「上次作战」快捷方式,OCR 不到关卡名发一条可恢复 SubTaskError(first=["LastBattleStageName"])
再回退全导航成功点进关卡。但 1 元素列表 vs 2 元素列表比较恒 True,任何 SubTaskError
都置 self.signal,maa_start() 在点进关卡约 20ms 后 maa_stop() → TaskChainStopped、0 场。
证据
MAA asst.log 2026-10-17 04:04:52:=> Annihilation 后紧跟 Assistant::stop/TaskChainStopped,
无 EndOfActionAnnihilation;三账号整周剿灭 0/6。
修复
改成员匹配 any(keyword in first ...),并把 LastBattleStageName 加入忽略列表。
- Dominant language
- Python
- Stars
- 9.8k
- Forks
- 1.2k
- Avg merge
- 18h 42m
- Merged PRs (30d)
- 33
Getting set up
- Ships a Dockerfile or Docker Compose file
- No pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from LmeSzinc/AzurLaneAutoScript
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
LmeSzinc/AzurLaneAutoScript#6194 · 1 comment ·
Maintainers usually reply within 1 day
-
emulator issue / 模拟器问题
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
LmeSzinc/AzurLaneAutoScript#6000 · 4 comments ·
Maintainers usually reply within 1 day
-
Difficulty 3/5 1-2 days Newbie friendliness 66/100
LmeSzinc/AzurLaneAutoScript#6195 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 3/5 1-2 days Newbie friendliness 55/100
LmeSzinc/AzurLaneAutoScript#6193 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 3/5 1-2 days Newbie friendliness 74/100
LmeSzinc/AzurLaneAutoScript#6192 · 1 comment ·
Maintainers usually reply within 1 day
All issues in LmeSzinc/AzurLaneAutoScript
Similar issues
-
app: scripts status: backlog type: housekeeping
Difficulty 1/5 1-3 hours Newbie friendliness 88/100
netbox-community/netbox-scripts#239 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
micronaut-projects/micronaut-core#14585 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
langgenius/graphon#443 ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100