[Bug][JP] 仓库记录仪模板 TEMPLATE_STORAGE_LOGGER 与当前图标相似度仅 0.53~0.59,similarity=0.5 时误识别为强化修理箱

Aperta
#6,195 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
66/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
python

Direzione di ricerca

Start by reading storage_logger_use_all() and _storage_item_use() and checking how both scan with TEMPLATE_STORAGE_LOGGER in assets/jp/os_handler/TEMPLATE_STORAGE_LOGGER.gif. Compare the current template with the three logger images described in the issue, then check whether the shared similarity threshold affects other servers. Done means the Japanese server finds only the three loggers and both scans use a consistent threshold.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

在提问之前...
  • 我已经搜索了现有的 issues
  • 我在提问题之前至少花费了 5 分钟来思考和准备
  • 我已经阅读了 Wiki 中的 常见问题(FAQ)
  • 我正在使用最新版的 Alas
描述你的问题

日服,OpsiObscure / OpsiAbyssal 开启 UseLogger。

用 adb 截取的日服仓库画面(1280x720)测试,当前的 assets/jp/os_handler/TEMPLATE_STORAGE_LOGGER.gif 和仓库中 3 个记录仪的相似度只有 0.53~0.59:match_multi(similarity=0.5) 找到 3 个,similarity=0.6 时 0 个。阈值 0.5 太接近,容易误识别其他道具。

2026-10-17 使用记录仪时,用完 3 个之后数量从 1 变回 2,第 4 次点击的其实是「强化修理箱」,进入选择舰船的界面后卡住,60 秒后 GameStuckError。

881ea864d 增加了使用后重新扫描的逻辑,但模板和 similarity=0.5 没有变化(storage_logger_use_all() 和 _storage_item_use() 两处)。

如何复现
  1. 日服,仓库中有记录仪,同时有强化修理箱等道具
  2. 开启 OpsiGeneral.UseLogger,运行 OpsiObscure
  3. log 中 [Storage_logger] 的数量在用完后又增加,点击了其他道具
预期行为

只识别记录仪。

相关 Logs
2026-10-17 15:13:28.653 | INFO | [Storage_logger] 3
2026-10-17 15:13:28.693 | INFO | Click ( 195,  516) @ TEMPLATE_STORAGE_LOGGER
2026-10-17 15:13:30.039 | INFO | [Storage_logger] 2
2026-10-17 15:13:30.051 | INFO | Click ( 216,  521) @ TEMPLATE_STORAGE_LOGGER
2026-10-17 15:13:31.382 | INFO | [Storage_logger] 1
2026-10-17 15:13:31.392 | INFO | Click ( 198,  528) @ TEMPLATE_STORAGE_LOGGER
2026-10-17 15:13:32.693 | INFO | [Storage_logger] 2
2026-10-17 15:13:32.701 | INFO | Click ( 367,  524) @ TEMPLATE_STORAGE_LOGGER
2026-10-17 15:14:32.743 | WARNING | Waiting for {'BOX_USE', 'STORY_CLOSE', 'STORY_SKIP_3', 'STORAGE_USE', ...}
2026-10-17 15:14:32.833 | ERROR | GameStuckError: Wait too long
截图

日服仓库画面(右下 3 个为记录仪):(截图见下方评论)

还有别的吗?

本地修改:从上面的截图切出 3 个记录仪(41x36,紫/金海域坐标记录、塞壬坐标记录)做成新的 3 帧 gif 替换模板,并把 storage_logger_use_all() 的 similarity 改为 0.7。替换后记录仪相似度 1.0,其他格子 ≤ 0.34,match_multi(0.7) 正好找到 3 个。从 2026-11-16 起记录仪都能正常使用([Storage_logger] 3→2→1→0)。新模板见下方评论。

注意:只提高阈值、不换模板的话,旧模板在 0.7 时一个记录仪都找不到。另外 similarity 是所有服务器共用的,直接改成 0.7 可能影响其他服务器;建议更新日服模板,并让 storage_logger_use_all() 和 _storage_item_use() 的重新扫描使用同一个阈值。

Lingua principale
Python
Stelle
9.8k
Fork
1.2k
Merge medio
18h 42m
PR unite (30g)
33

Preparare l'ambiente

  • Include un Dockerfile o un file Docker Compose
  • Nessun modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di LmeSzinc/AzurLaneAutoScript

Tutte le issue di LmeSzinc/AzurLaneAutoScript

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.