Compare commits
62
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fa8e1dce8e | ||
|
|
0a98024bfa | ||
|
|
4e0b349d38 | ||
|
|
9432a0762b | ||
|
|
e73f850e21 | ||
|
|
5548150973 | ||
|
|
b61cd17852 | ||
|
|
1712254b9a | ||
|
|
7e29d23ee1 | ||
|
|
65e418acbb | ||
|
|
156dc98f4f | ||
|
|
6a8ba0e4bc | ||
|
|
ce35d6191e | ||
|
|
324f9d23b8 | ||
|
|
3959645351 | ||
|
|
c70d3778f1 | ||
|
|
e0f2f41fe9 | ||
|
|
e14c0fb942 | ||
|
|
071808571a | ||
|
|
8adc3c231b | ||
|
|
6fd8b8d386 | ||
|
|
0616535260 | ||
|
|
322e51fcf2 | ||
|
|
6d4a00789d | ||
|
|
43e7b034ff | ||
|
|
21f84473ba | ||
|
|
c4c499c48e | ||
|
|
b8bbe3acf5 | ||
|
|
b3089908ca | ||
|
|
d722156925 | ||
|
|
482759718d | ||
|
|
b9e1837877 | ||
|
|
8638599785 | ||
|
|
667096bc09 | ||
|
|
cc831081f4 | ||
|
|
4b606f5ede | ||
|
|
ad7a362f9d | ||
|
|
d1e31f535e | ||
|
|
5742622ead | ||
|
|
18829e0d33 | ||
|
|
66c64c169f | ||
|
|
ac6264eeb3 | ||
|
|
1816a05168 | ||
|
|
e0ca4b33a9 | ||
|
|
27a2eb9a1b | ||
|
|
1031aca7de | ||
|
|
5818130c35 | ||
|
|
2190f57abe | ||
|
|
6b129ddba3 | ||
|
|
0153414fba | ||
|
|
c93b753d30 | ||
|
|
ffd66a95ad | ||
|
|
aebedbcec8 | ||
|
|
3547d9c43f | ||
|
|
073e407346 | ||
|
|
6cd0b2742a | ||
|
|
bb549c0265 | ||
|
|
95ae060118 | ||
|
|
a993210760 | ||
|
|
5bef3fe0c6 | ||
|
|
6c2d26e629 | ||
|
|
7188b4ac0f |
@@ -65,6 +65,13 @@ codex mcp add limbus --env PYTHONUTF8=1 -- D:\lc-mcp\vendor\aalc\.venv\Scripts\p
|
||||
直接 stdio 模式会在导入 AALC 前隔离日志,并统一使用 UTF-8,避免日志破坏 JSON-RPC 或中文乱码。
|
||||
模板识别会根据当前客户区的 16:9 画面比例临时缩放,匹配结束后恢复内存中的原配置。
|
||||
|
||||
后台操作且需要保留系统鼠标位置时,在 AALC `config.yaml` 使用
|
||||
`background_click: true` 和 `win_input_type: window_move`,然后重启常驻服务。
|
||||
此模式临时移动透明游戏窗口以对齐 Unity 的指针位置,释放后恢复位置,
|
||||
不调用系统鼠标移动或前台激活。`background` 模式仅发送客户区鼠标消息;
|
||||
部分 Unity 界面仍读取系统指针位置,实测标题页按钮需使用 `window_move`。
|
||||
战斗按键有按下/释放间隔;隐藏启动后可用 `show_game_background` 恢复渲染。
|
||||
|
||||
## 工具
|
||||
|
||||
| 工具 | 说明 |
|
||||
@@ -75,6 +82,7 @@ codex mcp add limbus --env PYTHONUTF8=1 -- D:\lc-mcp\vendor\aalc\.venv\Scripts\p
|
||||
| `find_image` / `click_image(name, threshold, model)` | AALC 模板图匹配,适合没有文字的按钮 |
|
||||
| `list_images(prefix)` | 列出模板图,如 `battle/`、`mirror/` |
|
||||
| `screenshot` | 窗口截图(`~/lc_mcp/shots`,只保留最近 30 张) |
|
||||
| `show_game_background` | 显示/恢复游戏窗口,不激活前台;完整任务运行中拒绝此操作 |
|
||||
| `click(x,y,times)` / `keypress` / `type_text` | 低层输入(窗口客户区坐标) |
|
||||
| `drag(from_x,from_y,to_x,to_y,duration)` | 保持左键按下并缓慢拖动,适用于卡包;默认 1 秒,范围 0.1–10 秒;坐标以 `get_state` 的客户区截图为准 |
|
||||
| `run_task(task, …)` | `all` / `daily(exp,thread)` / `reward` / `enkephalin(times)` / `mirror(count)` |
|
||||
@@ -85,6 +93,58 @@ codex mcp add limbus --env PYTHONUTF8=1 -- D:\lc-mcp\vendor\aalc\.venv\Scripts\p
|
||||
所以任务启动时先把原值写到 `~/lc_mcp/runs/*.restore.json`;`stop_task` 强停或任务进程异常退出后,
|
||||
服务会据此写回。写回失败时 `task_status` 显示 `pending_restore`,并在写回成功前拒绝启动新任务。
|
||||
|
||||
`state` 只反映任务子进程的退出码。AALC 在单次战斗失败(例如日志里的
|
||||
`超出最大尝试次数,未能进入战斗`)后仍会继续跑完并正常退出,所以 `task_status`
|
||||
会把日志尾部的 `[ERROR]`/异常行放进 `errors` 字段:**看到 `succeeded` 也要先看 `errors`。**
|
||||
|
||||
任务运行中如果 `task_status` 带 `stall` 字段,说明 AALC 在原地空转(例如选中了空队伍,
|
||||
编队人数检查一直刷屏)。它不会自己报错退出,应当 `stop_task` 后重跑。
|
||||
|
||||
### 任务进程里的保护
|
||||
|
||||
`run_task` 启动的任务子进程在调用 AALC 之前会做三件事,都不改 `vendor/aalc` 源码:
|
||||
|
||||
- **配置预检**:发现下列问题就直接拒绝启动(退出码 3,原因写在 `errors` 里):
|
||||
- 镜牢队伍的 `sinner_order` 全是 0:这会让 AALC 选出空队伍,然后无限重试编队;
|
||||
- `set_lunacy_to_enkephalin` 不为 0:体力不足时会花狂气换体力。确需使用时设 `LCP_ALLOW_LUNACY=1`;
|
||||
- `set_win_size` 加上标题栏后放不进当前桌面:窗口会被压扁成非 16:9。
|
||||
- **队伍名精确匹配**:AALC 按子串找队伍,`TEAMS #1` 会命中 `TEAMS #10`。补丁要求编号完全相同。
|
||||
- **窗口比例守护**:每 15 秒检查一次客户区。RDP 重连后窗口被拉伸时,自动调回 `set_win_size` 对应的 16:9 尺寸。
|
||||
|
||||
## 无人值守
|
||||
|
||||
有两套独立的自动化,按需要各自启用:
|
||||
|
||||
### 1. 刷取循环(打关卡)
|
||||
|
||||
`scripts/auto_cycle.py` 每次跑一轮,流程是:刷材料(daily)→ 镜牢(`--mirror N`)→ 把队内人格升级、同步到 `--target`。
|
||||
AALC 卡死时,脚本会停掉任务并重跑一次。每轮在 `~/lc_mcp/cycles/` 写一份 `cycle_*.log` 和一份 `cycle_*.json` 报告。
|
||||
|
||||
```powershell
|
||||
# 先手动跑一轮确认
|
||||
vendor\aalc\.venv\Scripts\python.exe scripts\auto_cycle.py --mirror 1
|
||||
# 再注册计划任务: 每 1 分钟的会话看门狗 + 每 N 小时一轮
|
||||
powershell -ExecutionPolicy Bypass -File scripts\install_unattended.ps1 -EveryHours 2.5 -Mirror 1
|
||||
```
|
||||
|
||||
### 2. 只需挂机攒模块(不打任何关卡)
|
||||
|
||||
`scripts/convert_modules.py` 到点自己启动游戏 → 把体力合成为模块 → 关掉游戏。
|
||||
每 4 小时一轮,用 `scripts/install_convert_task.ps1` 注册。
|
||||
|
||||
```powershell
|
||||
vendor\aalc\.venv\Scripts\python.exe scripts\convert_modules.py # 手动跑一次
|
||||
powershell -ExecutionPolicy Bypass -File scripts\install_convert_task.ps1 -EveryHours 4
|
||||
```
|
||||
|
||||
看历史:`python scripts/modules_status.py`
|
||||
|
||||
**⚠️ 挂机值守前先读 [`docs/WATCH.md`](docs/WATCH.md)** —— 那里记着环境事实、
|
||||
界面坐标、狂气的三道防线、六种已知失败模式及处置,以及几条踩过的坑
|
||||
(比如 OCR 会把 `LUNACY` 读成 `UNACY`,曾让整条狂气防线静默失效)。
|
||||
|
||||
`scripts/levelup.py` 和 `auto_cycle.py` 里的坐标都按 1600×900 客户区书写,运行时会按实际客户区大小缩放。
|
||||
|
||||
## 环境变量
|
||||
|
||||
| 变量 | 默认 | 说明 |
|
||||
@@ -92,6 +152,8 @@ codex mcp add limbus --env PYTHONUTF8=1 -- D:\lc-mcp\vendor\aalc\.venv\Scripts\p
|
||||
| `AALC_DIR` | `vendor/aalc` | 使用其他位置的 AALC 源码 |
|
||||
| `LCP_PORT` | 8765 | 服务/bridge 端口 |
|
||||
| `LCP_KEEP_SHOTS` | 30 | 截图保留张数 |
|
||||
| `LCP_ALLOW_LUNACY` | 未设置 | 设为 `1` 时允许预检放行 `set_lunacy_to_enkephalin` 不为 0 的配置 |
|
||||
| `LC_PY` | 当前解释器 | `levelup.py`/`auto_cycle.py` 调用 MCP 用的 Python |
|
||||
|
||||
## 开发 / 测试
|
||||
|
||||
@@ -134,7 +196,7 @@ vendor\aalc\.venv\Scripts\python.exe -X utf8 scripts\mcp_probe.py find_image '{"
|
||||
|
||||
## Jev 镜牢执行器与真实反馈
|
||||
|
||||
`scripts/jev_mirror_agent.py` 通过 MCP bridge 操作游戏,普通分支交给 Jev;战斗采用 P → 回车宏,事件先 SKIP,回车失效时使用当前按钮。它保留用户已配好的队伍,商店无可替换出战角色时至多刷新 4 次,加载期间不读取旧库存继续操作。
|
||||
`scripts/jev_mirror_agent.py` 通过 MCP bridge 操作游戏,普通分支经统一接口交给 Jev 或执行模型;战斗采用 P → 回车宏,事件先 SKIP,回车失效时使用当前按钮。它保留用户已配好的队伍,商店无可替换出战角色时至多刷新 4 次,加载期间不读取旧库存继续操作。
|
||||
|
||||
安装 AALC 依赖并启动常驻服务后,把 `OPENCODE_API_KEY` 设为自己的凭据,再运行:
|
||||
|
||||
@@ -143,9 +205,37 @@ vendor\aalc\.venv\Scripts\python.exe -X utf8 scripts\jev_mirror_agent.py scripts
|
||||
```
|
||||
|
||||
运行数据默认写到 `~/lc_mcp/jev`,可用 `LC_JEV_HOME` 指定其他目录。创建该目录下的 `JEV_STOP` 文件即可停止;续跑前移除它。不要与 AALC 完整任务或另一个游戏执行器同时操作。
|
||||
中途续跑沿用 `jev_shop_context.json`;一局领取完成后它会归档为 `jev_shop_context.<时间>.json`,下一局从干净状态开始。
|
||||
工具调用失败(截图暂不可用、按钮已消失等)会记入日志并重新观察画面,同一画面上同一动作最多尝试两次,不会因单次失败整局退出。
|
||||
|
||||
每局运行现在有独立标识。默认续跑尚未结束且上下文一致的当前局;已完成或没有运行记录时建立新局。重新开一局时使用 `--new-run`,明确要求续跑时使用 `--resume`。旧版本未完成记录会保留楼层和强化进度,但旧的领取及战斗标记不会作为本局完成证据;只有上下文而没有运行记录时会重置它。领取截图和返回大厅截图必须属于当前局,才能记录完成。
|
||||
|
||||
```powershell
|
||||
# 新开一局:清除上一局的楼层、饰品与领取状态
|
||||
vendor\aalc\.venv\Scripts\python.exe -X utf8 scripts\jev_mirror_agent.py scripts\jev_config.example.json --new-run --seconds 1800
|
||||
# 续跑已保存的未完成局,保持原计时起点
|
||||
vendor\aalc\.venv\Scripts\python.exe -X utf8 scripts\jev_mirror_agent.py scripts\jev_config.example.json --resume --seconds 1800
|
||||
```
|
||||
|
||||
MCP 客户端默认每次请求等待 30 秒,文字等待工具按自身时长延长响应期限。等待回复期间也检查停止标记和本次运行的时间预算。超时或中断时关闭客户端连接,并记录结果可能未知;不会自动重发点击或按键。常驻服务已经接收的操作可能仍会完成,需核对当前画面后再续跑。`battle_batch.py` 与主执行器共用判定、奖励、死亡和地图等战斗退出条件,并在每个按键前检查停止标记。
|
||||
|
||||
设置 `LC_FIXED_FALLBACK=1` 可只使用固定候选,无需 Jev API 密钥;仍需运行 MCP 服务。完整 AALC 任务启动时,如有 MCP 工具正在执行,会立即返回忙碌错误,避免与当前输入交错;查询与停止任务不受影响。
|
||||
|
||||
`decisionEngine` 支持 `auto`(默认)、`jev`、`executor`、`fixed`,也可用 `--decision-engine` 覆盖。只有指定非空 `model` 并提供凭据时,`auto`/`jev` 才调用 Jev。未指定模型、缺少凭据或 Jev 请求失败时,转交执行模型;固定策略需显式选择。Python 实际使用配置中的模型,并在动作日志保留概率、confidence 和实际决策来源。
|
||||
|
||||
不用 Jev 时可以省略配置文件:
|
||||
|
||||
```powershell
|
||||
vendor\aalc\.venv\Scripts\python.exe -X utf8 scripts\jev_mirror_agent.py --decision-engine executor --seconds 1800
|
||||
```
|
||||
|
||||
独立脚本在需要模型判断时输出 `requires_decision`,将页面观测、合法候选、当前局标识和请求标识写入 `decision_request.json` 及状态文件,随后释放连接与执行器互斥句柄。调用它的执行模型读取该请求,重新核对当前页面后处理动作,再用 `--resume` 继续同一局。请求文件是交接通知,旧请求不能直接用于输入。脚本本身没有访问当前聊天模型的 API。
|
||||
|
||||
嵌入执行端时,`scripts/decision_router.py` 的 `DecisionRouter` 及主脚本 `main(executor_decider=...)` 接受 `executor_decider(request)` 回调;返回候选 ID,或带同一 `request_id` 及 `choice` 的对象。回调只获得观测和候选,输入仍由执行器完成。未列出的候选、错误请求标识和无效概率会被拒绝。执行端应为自己的模型调用设置等待期限。长期混合执行器由这一接口接入当前执行模型,避免每个分支都重新启动脚本。
|
||||
|
||||
Jev 与 AALC 配置复用方案、离线页面样例及实测耗时统计见 [2026-10-03 自动化研究](docs/jev_aalc_automation_research_20261003.md)。
|
||||
|
||||
本轮修复、验证范围与已知限制见 [2026-10-03 运行可靠性改进](docs/mcp_runtime_improvements_20261003.md)。
|
||||
|
||||
本次修复、实际失败反馈、操作日志、截图清单、修改源码快照和速通 skill 见 [2026-10-02 实测记录](docs/feedback/2026-10-02/README.md);安装与测试说明见 [INSTALL_TEST_REPORT.md](INSTALL_TEST_REPORT.md)。这些是开发中的真实记录,包含失败和仍未验证的步骤。
|
||||
|
||||
[2026-10-03 主线实测与耗时复盘](docs/feedback/2026-10-03/README.md)记录了 4-48 未通关、三次 Jev 抉择耗时、混合操作限制、输入修复的验证边界及 94 项回归结果。
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 3.2 KiB |
+229
@@ -0,0 +1,229 @@
|
||||
# 值守说明(挂机合成模块)
|
||||
|
||||
用户要求:**不打任何关卡**,只挂机等体力恢复、把体力合成成模块,合成完关掉游戏。
|
||||
目标账号:LV 042 / NO. V894413125。**狂气(Lunacy)一分不许花。**
|
||||
|
||||
---
|
||||
|
||||
## 一、自动化构成
|
||||
|
||||
| 计划任务 | 节奏 | 作用 |
|
||||
|---|---|---|
|
||||
| `LcMCPConvertModules` | 每 4 小时 | 启动游戏 → 合成模块 → 关掉游戏 |
|
||||
| `LcKeepDisplay` | 每 1 分钟 | 会话掉到 `Disc` 时把显示挂回 console |
|
||||
| `LcMCPServer` | 登录时 | lc-mcp 的 TCP 服务(`127.0.0.1:8765`) |
|
||||
| `LcMCPDailyCycle` | **已禁用** | 刷关卡用,本次明确不开 |
|
||||
|
||||
脚本入口:`scripts/convert_modules.py`
|
||||
报告:`~/lc_mcp/modules/convert_*.json`,日志:`~/lc_mcp/modules/convert.log`
|
||||
|
||||
值守时跑这两个:
|
||||
|
||||
```powershell
|
||||
python scripts/modules_status.py # 看历史: 每轮结果 / 模组变化 / 狂气那一栏
|
||||
python scripts/audit_runs.py # 体检: 日志与报告交叉核对, 揪出可疑记录
|
||||
```
|
||||
|
||||
`audit_runs.py` 退出码 0 = 全部吻合。它检查"每份报告都有对应的开始行、时间关系
|
||||
成立、耗时和结果文本一致", 外加识别 mock 残留(同一秒扎堆、内容自相矛盾)。
|
||||
**异常行先过它一遍再下结论** —— 手敲 PowerShell 核对很容易把"数据没问题"误判成
|
||||
"数据有问题"(我第一次就 6 条全误报,见第八节)。
|
||||
|
||||
## 二、体力账本(实测标定)
|
||||
|
||||
* 兑换率:**20 点体力 = 1 个模块**
|
||||
* 上限:126
|
||||
* **恢复速度不是恒定的** —— 实测轨迹:
|
||||
|
||||
| 时间 | 读数 | 区间速度 |
|
||||
|---|---|---|
|
||||
| 10-16 09:58 | 13 | |
|
||||
| 10-16 10:44 | 21 | 5.8 分钟/点 |
|
||||
| 10-16 11:11 | 6 | 5.0 分钟/点 |
|
||||
| 10-16 14:04 | 34 | 6.2 分钟/点 |
|
||||
| 10-16 18:04 | 54 | 6.0 分钟/点 |
|
||||
| 10-16 22:04 | 54 | 5.9 分钟/点 |
|
||||
| **10-17 02:31** | **19** | **53 分钟/点** ⚠️ |
|
||||
| 10-17 06:04 | 54 | 6.0 分钟/点 |
|
||||
| 10-17 10:04 | 54 | 6.0 分钟/点 |
|
||||
|
||||
一整天稳定在 ~6 分钟 1 点(和标称一致),只有 10-16 22:05 → 10-17 02:31 那一段
|
||||
掉到 53 分钟/点,之后又恢复正常 —— **像是临时的,不是稳态**。具体机制没查清
|
||||
(面板上 `1 Enkephalin recovered in ...` 的倒计时当时显示得很长),不猜,记下来。
|
||||
|
||||
* **对排程的影响:不用改。** 4 小时一轮本来就会遇到"不够 20 点"的轮次,那种情况
|
||||
脚本按"本轮无需合成"正常收工(退出码 0),不是失败。而且恢复慢的时候离 126 上限
|
||||
更远,更不会浪费。
|
||||
* 反过来说:**别拿"6 分钟 1 点"去推算某一轮能换几个** —— 会算错(实测错过一次:
|
||||
按 6 分钟/点推算 02:31 该有 49 点,实际 19 点)。
|
||||
|
||||
实测对账(2026-10-16):
|
||||
|
||||
```
|
||||
09:58 13
|
||||
10:04 14 +1 / 6 分钟
|
||||
10:44 21 +7 / 40 分钟
|
||||
10:45 合成消耗 20 → 剩 1
|
||||
11:01 4 1 + 16 分钟
|
||||
```
|
||||
|
||||
## 三、界面流程与坐标(1600x900 基准,`lc_ui` 负责换算到实际客户区)
|
||||
|
||||
```
|
||||
主界面底栏模组图标 (390,805)
|
||||
→ Charge Enkephalin 面板
|
||||
页签 [Modules] (619,283) / [Use Lunacy] (797,283) ⛔ / [Use Boxes] (957,283)
|
||||
数量 » 取最大 (1019,413)
|
||||
确认 Confirm (943,671) 取消 Cancel (656,670)
|
||||
```
|
||||
|
||||
判定是否停在免费合成页签的依据:**兑换区显示体力条 `x/126`**(Use Lunacy 那边显示的是狂气)。
|
||||
判不出来就不合成。
|
||||
|
||||
## 四、狂气的三道防线
|
||||
|
||||
1. **只点 `Modules` 页签**。`USE_LUNACY_TAB` 常量只用于"确认没点到它"。
|
||||
2. **AST 测试盯着**:任何 `click()` 传入该坐标都会让测试失败(`test_convert_modules.py`)。
|
||||
3. **前后相对比对**:这个数字是像素艺术字,OCR 会误读(实测真实 6636 读成 9699、
|
||||
真实 6388 读成 8859),所以不信任绝对值,只看前后是否一致。
|
||||
|
||||
> ⛔ **第 3 道防线曾经整条哑掉**(2026-10-16 发现)。OCR 把标签 `LUNACY` 读成
|
||||
> `UNACY`(首字母被吃掉),而代码写的是 `'LUNACY' in text` —— `UNACY` 不包含
|
||||
> `LUNACY`,于是每次都被判成"读不到",静默跳过比对。
|
||||
> **同屏的体力读数一直正常**,所以只看日志很容易以为是画面没渲染好。
|
||||
> 现在认词根 `NACY`,并在标签完全读不出时按位置兜底(底栏 y 775~815、x<700
|
||||
> 最靠左的短文本)。
|
||||
>
|
||||
> 教训:**"读不到 → 跳过"这种降级路径,必须能看出它到底跑没跑过。**
|
||||
|
||||
## 五、环境事实(2026-10-16 核实)
|
||||
|
||||
* **系统不会睡眠**:`STANDBYIDLE` AC/DC 均为 0;近 3 天无睡眠事件;已连续运行 62.4 小时
|
||||
* 磁盘:C: 55 GB 可用,D: 138 GB 可用
|
||||
* 网络:直连可用(`ProxyEnable=0`,Clash 6789 未运行)。Steam 商店页超时属区域限制,
|
||||
不影响游戏 —— 游戏自己 `CONNECTING` 后能进主界面
|
||||
* Steam:有自启项;实测启动游戏 exe 会自己把 Steam 拉起来
|
||||
* 会话:`console` 会话存活;断线会被 `LcKeepDisplay` 在 1 分钟内挂回
|
||||
* **今天断线 2 次**(09:48、10:30),看门狗两次都成功挂回 —— 断线不是小概率,
|
||||
所以 `ensure_display()` 那层自检是必要的
|
||||
|
||||
### 关键配置(必须保持,改前先备份到 `~/lc_mcp/config.yaml.bak-<日期>`)
|
||||
|
||||
| 配置项 | 值 | 为什么不能动 |
|
||||
|---|---|---|
|
||||
| `set_lunacy_to_enkephalin` | `0` | AALC 从不购买狂气 —— 防线最底层 |
|
||||
| `daily_task` | `false` | AALC 层面也不跑日常本;就算被误触发也只会跑空 |
|
||||
| `set_win_size` | `900` | 1600x900,模板匹配的前提(720 会让识别退化) |
|
||||
| `win_input_type` | `window_move` | 点击方式,换别的 Unity 会忽略 |
|
||||
|
||||
存档备份:`~/lc_mcp/config.yaml.bak-20261013`
|
||||
|
||||
## 六、任务配置与时间预算
|
||||
|
||||
`LcMCPConvertModules` 的动作与设置(2026-10-16 逐项核实):
|
||||
|
||||
```
|
||||
Execute : D:\lc-mcp\vendor\aalc\.venv\Scripts\pythonw.exe
|
||||
Arguments : -X utf8 "D:\lc-mcp\scripts\convert_modules.py"
|
||||
WorkingDir : D:\lc-mcp
|
||||
LogonType : Interactive # 会话断开(不是注销)时仍在跑
|
||||
RunLevel : Limited # 非提权
|
||||
多实例 : IgnoreNew # 不会和上一轮重叠
|
||||
时间上限 : PT15M
|
||||
错过就补跑 : True
|
||||
Interval : PT4H # 10:03 / 14:03 / 18:03 / 22:03 / 02:03 / 06:03
|
||||
```
|
||||
|
||||
**时间预算**(最坏情况加起来仍在上限内):
|
||||
|
||||
| 阶段 | 上限 |
|
||||
|---|---|
|
||||
| `launch_game` 等进程出现 | 240 s |
|
||||
| `wait_main_menu` 等主界面 | 300 s |
|
||||
| 读狂气/体力 + 合成 + 关游戏 | ~80 s |
|
||||
| **合计** | **~10.3 分钟** < 15 分钟 ✅ |
|
||||
|
||||
> 万一游戏要下载大更新(实测有过 1.62 GB),会超过 15 分钟被任务强杀,游戏留在
|
||||
> 内存里;下一轮 `launch_game` 会发现它已在运行并继续,不会卡死。
|
||||
|
||||
## 七、已知失败模式与处置
|
||||
|
||||
| 现象 | 原因 | 处置 |
|
||||
|---|---|---|
|
||||
| 截图全黑、OCR 空白 | RDP 断开把显示表面拆了 | 开跑前 `ensure_display()` 自检并跑看门狗 |
|
||||
| 客户区变成 1278x719 | RDP 重连改了窗口 | 开跑前 `ensure_window_size(1600,900)` |
|
||||
| 连不上 8765 | 服务没起来 | `ensure_server()` 自己拉起并等就绪 |
|
||||
| 报"模组没变" | 可能已达上限,也可能界面没响应 | 关掉面板重开重试一次,仍不变才报 |
|
||||
| 读不到体力 | 底栏还在淡入 | 重试 4 次;仍读不到就跳过(退出码 0),不贸然点合成 |
|
||||
| 游戏停在副本里 | 上一轮被打断 | 下一轮 `back_init_menu` 会自行带回主界面 |
|
||||
| **下一轮读到的"合成前"比上一轮"合成后"少** | **最常见的原因是人自己升阶用掉了**(2026-10-17 确认过一次:22:05 换到 35,06:04 读到 33,用户确认是他升阶用了) | `audit_runs.py` 会报"模组数比上一轮少 —— 若是人工升阶用掉的属正常; 否则要查"。**先问人,再查代码** |
|
||||
| 模组数**自己变多** | 自动化之外的来源 | 真反常,值得看一眼 |
|
||||
| **报"确认不在 Modules 页签"、整轮没换到** | **OCR 把相邻几行合并成一个元素,把判据里的 `x/126` 吞了**(2026-10-16 18:03 实测:`Enkephalin Module Owned 31` 的框变成 w=351 h=38,体力条消失) | 已改成认面板问句 `Would you like to assemble Enkephalin Modules?`(单独成行、不会被合并),体力条留作备用信号 |
|
||||
|
||||
> **判据要选"语义明确且不易被 OCR 破坏"的文本。** 数字加斜杠的片段最容易被行合并
|
||||
> 吃掉,而一整句问话不会。这条和 `LUNACY`→`UNACY` 是同一个教训的两面:
|
||||
> 前者是 OCR 截断词首,后者是 OCR 吞并整行。
|
||||
|
||||
### ⛔ 狂气判据的坑(2026-10-16 22:03 误报一次)
|
||||
|
||||
最初写的是"合成前后读数不同 = 被消费"。**这个假设是错的。**
|
||||
|
||||
真值 6636 被 OCR 读过 **6636 / 9699 / 6388 / 8859** 四种样子 —— 误读根本不固定。
|
||||
所以"前后不同"区分不了"真变了"和"换了个误读法"。22:03 那次前读 6636、后读 9699、
|
||||
复读还是 9699,于是报了违规并让整轮 FAIL,**但那一轮只点了模组图标和面板内的
|
||||
`»` / `确认`,根本没碰 `Use Lunacy` 页签**。
|
||||
|
||||
现在的判据(`lunacy_verdict()`):
|
||||
|
||||
| 情况 | 结论 |
|
||||
|---|---|
|
||||
| 前后一致 | 没变 |
|
||||
| 后读数在已知读法集合里 | 判为 OCR 抖动,不算消费 |
|
||||
| 后读数不在集合里 | 出现没见过的值,值得人工看一眼 |
|
||||
|
||||
**守不住的部分就承认守不住,别拿一个会误报的判据充数** —— 误报会让人去查一笔
|
||||
根本没发生的消费,比"没检测到"更糟。
|
||||
|
||||
真正的防线是结构性的:只点 `Modules` 页签 + `Use Lunacy` 坐标被 AST 测试盯着 +
|
||||
`set_lunacy_to_enkephalin: 0`。OCR 比对只是旁证。
|
||||
|
||||
## 八、日志噪音约定
|
||||
|
||||
`convert.log` 是值守时要看的**真实运行记录**,不允许被测试污染。
|
||||
测试通过 `QuietLogMixin` 把 `log()` 静音;判断方法是跑完测试看行数有没有变。
|
||||
|
||||
已经被污染过两次,塞进来的都是**看着像真出事**的行,很能误导人:
|
||||
|
||||
* `MCP 服务(8765)未监听, 尝试拉起` / `等服务就绪超时(0s)`
|
||||
* `桌面未在出图(BitBlt 失败), 跑看门狗把显示挂回 console` / `看门狗执行失败: powershell not found`
|
||||
|
||||
**怎么分辨**(值守时看到异常行先做这一步):
|
||||
|
||||
1. **同一秒扎堆** —— 真实一轮至少跑几十秒,几行全在 `HH:MM:SS` 同一秒就是测试
|
||||
2. **内容自相矛盾** —— 比如"powershell not found",而 powershell 明明在
|
||||
3. **对不上报告** —— 去 `~/lc_mcp/modules/` 找同一时刻的 `convert_*.json`;
|
||||
真实的运行一定有报告,且 `elapsed_s` 不为 0
|
||||
|
||||
确认是残留就直接删掉,别让它留在"病史"里。
|
||||
|
||||
> ⚠️ 第 3 条要注意时间对应关系:**日志的结论行写在一轮结束时,报告的 `started`
|
||||
> 是开始时**,两者天然差一个 `elapsed_s`。正确的关系是
|
||||
> `报告.started + elapsed ≈ 日志结论时刻`(实测 6/6 吻合)。
|
||||
> 直接拿两个时间戳比会全部"对不上",反而误判成异常 —— 我自己第一次就这么错过了。
|
||||
|
||||
### 交叉核对脚本(可直接抄)
|
||||
|
||||
```powershell
|
||||
$dir = "$env:USERPROFILE\lc_mcp\modules"
|
||||
$runs = Get-Content "$dir\convert.log" -Encoding UTF8 | Where-Object { $_ -match '=== ' } |
|
||||
ForEach-Object { if ($_ -match '^\[(.+?)\]\s*===\s*(.+?)\s*\((\w+)\), 耗时 (\d+)s ===') {
|
||||
[pscustomobject]@{ end=[datetime]$Matches[1]; result=$Matches[2]; secs=[int]$Matches[4] } } }
|
||||
Get-ChildItem "$dir\convert_*.json" | ForEach-Object {
|
||||
$r = Get-Content $_.FullName -Encoding UTF8 | ConvertFrom-Json
|
||||
$expect = ([datetime]$r.started).AddSeconds($r.elapsed_s)
|
||||
$m = $runs | Where-Object { [math]::Abs(($_.end - $expect).TotalSeconds) -lt 5 } | Select-Object -First 1
|
||||
if ($m -and $m.secs -eq $r.elapsed_s) { "OK $($r.started)" } else { "MISMATCH $($_.Name)" }
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
@@ -0,0 +1,71 @@
|
||||
# 当前执行流程与速通资料覆盖
|
||||
|
||||
核对日期:2026-10-03。代码基线:`6c2d26e`。本次核对范围是现有基础执行能力,DS 适配留到后续。
|
||||
|
||||
## 两条现存的执行路径
|
||||
|
||||
`run_task` 启动 AALC 原生任务进程,读取 AALC 配置并执行镜牢、经验本、纽本等已有流程。它使用 AALC 的模板、队伍配置、卡包权重和商店策略,不调用当前 Jev 辅助脚本,也不自动加载本仓库的速通 skill。
|
||||
|
||||
`scripts/jev_mirror_agent.py` 则通过 MCP bridge 观察与操作游戏,以当前镜牢规则生成候选,交给 Jev 或执行模型选择。这是此前实测反馈和近期可靠性、决策接口改进主要涉及的路径。
|
||||
|
||||
## 辅助脚本每轮怎样推进
|
||||
|
||||
```mermaid
|
||||
flowchart TD
|
||||
A[MCP 截图与 OCR / 本地模板匹配] --> B[读取本局标识与保存进度]
|
||||
B --> C[识别当前界面 / 更新可识别的楼层]
|
||||
C --> D[生成并过滤合法动作候选]
|
||||
D --> E{是否为确定步骤}
|
||||
E -->|加载 / 战斗 / 跳对话 / 结果推进| F[执行有界动作宏]
|
||||
E -->|路线 / 卡包 / 事件 / 奖励等分支| G[Jev或执行模型选择候选ID]
|
||||
G --> F
|
||||
F --> H[记录结果 / 更新部分进度]
|
||||
H --> A
|
||||
```
|
||||
|
||||
1. `get_state` 返回截图路径、尺寸、OCR 文字、位置和 OCR 分数。地图另外使用 AALC 图片资源和 OpenCV 识别公交位置、连接箭头和节点类型。
|
||||
2. 保存上下文包含楼层、商店刷新次数、部分饰品取得/强化标志、战斗状态和领取状态。楼层遇到可识别的探索或主题包文字时更新,否则沿用上下文;它不是点击一次就自动加一,也尚不是完整的库存状态表。
|
||||
3. `candidates()` 先处理加载、上层弹窗、死亡/错误、奖励等界面,再生成当前能执行的动作。部分攻略规则在这里直接过滤,例如二号线楼层限制、技能替换目标和商店刷新上限。
|
||||
4. 战斗 P→Enter、SKIP 和已知结果后续推进等确定操作直接执行。其他分支经 `DecisionRouter` 选择;显式 fixed 模式使用已有固定优先级。模型的选择范围限于当前候选。
|
||||
5. `execute()` 把路线方向+回车、连续确认及战斗短批次合成动作。下一轮重新观察,比较有效文字并记录重复尝试;部分快捷键未生效时改点对应按钮。
|
||||
|
||||
当前位置、候选控件、预期效果与实际结果仍没有全部形成统一状态合同。目前点击成功不等于某个饰品已经取得或升到 ++。`symbol_upgraded`、`thrill_upgraded` 等标志仍依赖外层核实和维护,自动库存识别及付款后目标核验是基础能力的重要缺口。
|
||||
|
||||
## 楼层规划怎样落地
|
||||
|
||||
规划来源:[rupture-route.md](skills/limbus-mirror-speedrun/references/rupture-route.md) 和 [速通笔记](mirror_dungeon_speedrun_notes.md)。下表的“计划”是资料与用户要求,不能当成每局已经完成的事实。
|
||||
|
||||
| 阶段 | 资料中的目标 | 当前脚本覆盖 |
|
||||
| --- | --- | --- |
|
||||
| 开局 | 基础等级的指定恩惠、荆棘套索/荧光灯、三级电池 | 电池必选和确认候选已有;完整开局配置尚未统一转成脚本策略输入 |
|
||||
| 1F | 优先取得成捆的符咒 | 核心保留规则和模型提示已有;尚无可靠的“卡包奖励解析→缺失核心补全”规划器 |
|
||||
| 2F | 符咒 ++,缺鸡胸时优先地狱鸡,技能替换 | 符咒未确认强化时限制商店推进;完整强化购买及库存确认仍需外层处理。鸡胸条件选包没有完整自动化 |
|
||||
| 3F | 辛克莱改为 1→3,尽量完成快感 ++,选可纯 P 的较短卡包 | 辛克莱楼层技能规则已写入候选;卡包机制比较、合成预算与材料计算尚未完整接入 |
|
||||
| 4F | 换技能,补缺失快感 ++,继续推进 | 对已有快感的待强化入口有部分支持;实际付款和强化完成状态仍依赖核验 |
|
||||
| 5F | 二号线、技能替换、通关并确认领取 | 二号线候选过滤和剩余刷新已实现;刷新耗尽后的观测及不可选原因仍需外层处理。最终领取与当前局完成证据已有流程 |
|
||||
|
||||
路线层面,现有识别器能找可达节点;模型按当前候选选择。固定策略倾向商店、事件,再普通战斗,降低精英/集中战斗优先级。它尚未根据全部库存、剩余预算和每层目标计算整局最优路线。AALC 原生任务另有节点图和路线缓存,后续需要在同一执行进程中复用。
|
||||
|
||||
## skill、参考文件和笔记实际怎么利用
|
||||
|
||||
| 资料 | 当前用途 | 尚未自动化的部分 |
|
||||
| --- | --- | --- |
|
||||
| [SKILL.md](skills/limbus-mirror-speedrun/SKILL.md) | 执行助手读取的总流程:沿用队伍、按需查资料、快捷键、停止及完成标准 | Python 没有读取这个文件来自动装配执行策略 |
|
||||
| [rupture-route.md](skills/limbus-mirror-speedrun/references/rupture-route.md) | 楼层目标、核心保护、技能表和商店策略;部分内容被人工转入 `SYSTEM_RULES` 和候选过滤 | 修改文档不会自动修改代码;完整目标与预算尚未形成机器可读配置 |
|
||||
| [event-choices.md](skills/limbus-mirror-speedrun/references/event-choices.md) | 主助手按事件名及选项文字查对应条目,核对收益和额外分支 | 当前 Jev 请求未自动检索并附上相关事件条目,只依赖 OCR、候选描述和通用规则 |
|
||||
| [mechanics.md](skills/limbus-mirror-speedrun/references/mechanics.md) | 解释核心强化、合成、恢复和版本差异,供助手核实 | 数量、预算、材料组合等应进入代码计算;机制说明本身不会产生执行动作 |
|
||||
| [shortcuts.md](skills/limbus-mirror-speedrun/references/shortcuts.md) | 用户确认过的操作方式;部分已写成路线、确认和战斗宏 | 还需继续按场景边界复用,不能把快捷键扩展成所有界面的盲输入 |
|
||||
| [mirror_dungeon_speedrun_notes.md](mirror_dungeon_speedrun_notes.md) | 攻略整理、用户修正和历史实测记录,帮助修订上述资料与代码 | 历史局面不是当前库存;当前运行状态保存在带 run ID 的运行上下文中 |
|
||||
|
||||
源码搜索中,`scripts/export_feedback.py` 对笔记和 skill 的引用用于导出反馈副本,并不是决策加载。当前 `lc_mcp` 与辅助脚本的决策循环没有读取这些攻略文件。
|
||||
|
||||
本次已同步三项资料说明:旧电脑的绝对执行器路径改为仓库相对路径与运行目录;决策失败改为最新的执行模型交接方式;死亡/重试识别标注为已做离线修复、尚待新实机验证。历史实测记录保留原貌。
|
||||
|
||||
## 接下来基础开发的顺序
|
||||
|
||||
1. **统一策略来源。** 将明确的楼层目标、技能表、核心保护和刷新限制转成机器可读 profile;skill 与说明引用同一配置。事件资料按当前事件检索,避免每次传全文。
|
||||
2. **补齐真实状态。** 当前楼层、已持有饰品、强化等级、经费、材料等级和技能状态分别保存证据;未知不等于没有取得,付款成功不等于目标核验完成。
|
||||
3. **按目标生成动作。** 由本层未完成目标和预算筛选可执行动作,代码计算合成材料点数及资源约束;模型处理剩余语义选择。
|
||||
4. **复用 AALC 场景执行。** 保持一个游戏执行进程,复用地图缓存及可靠的场景操作;完成一次场景目标后核验,再继续推进。
|
||||
|
||||
以上四项是后续基础实现范围。本次流程核对与文档同步不会启动游戏,也没有新增实际通关或提速证据。
|
||||
@@ -0,0 +1,33 @@
|
||||
# 2026-10-02 测试产物归档
|
||||
|
||||
这些文件是 **2026-10-02 那轮会话**产生并遗留在仓库根目录、一直未被提交的
|
||||
测试产物。2026-10-13 按用户要求归档到这个位置,让测试代码与结果
|
||||
跟对应的日期记录放在一起,仓库根目录不再散落未跟踪文件。
|
||||
|
||||
## 内容
|
||||
|
||||
| 文件 | 说明 |
|
||||
|---|---|
|
||||
| `TEST_REPORT.md` | 当轮测试报告 |
|
||||
| `validation-output.txt` | 单测运行输出(`test_click_text_second_hit` / `test_get_state` / `test_missing_text_does_not_click` / `test_ocr_confidence_filter` / `test_ocr_error_does_not_click` / `test_protocol_discovery_and_all_input_tools` 等) |
|
||||
| `validation-results.json` | 上式的结构化结果 |
|
||||
| `live-service-results.json` | 对**常驻服务**(非 FakeEngine)的实测结果 |
|
||||
| `sdk-client-results.json` | SDK 客户端实测结果 |
|
||||
| `tests/live_services_v05.py` | 常驻服务实测脚本 |
|
||||
| `tests/validation_v05.py` | 校验脚本(v0.5) |
|
||||
| `validation-artifacts/ocr-synthetic.png` | OCR 合成测试图 |
|
||||
| `validation-artifacts/run-original.vbs` | 复现用启动脚本 |
|
||||
|
||||
## 两点说明
|
||||
|
||||
1. **这些不是本次无人值守部署(10-04 / 10-05)的产物。** 那两天的记录在
|
||||
`docs/feedback/2026-10-04/` 与 `docs/feedback/2026-10-05/`。
|
||||
2. `tests/*.py` 归档到这里是为了保留证据链,**它们不在 `tests/` 目录下
|
||||
就不会被 `python -m unittest discover -s tests` 收集**。若希望它们
|
||||
参与常规测试,需要移回 `tests/` 并确认通过。
|
||||
|
||||
## 相关提交
|
||||
|
||||
- `docs/feedback/2026-10-04/README.md` — 无人值守部署:6 个失败根因 + 自愈看门狗
|
||||
- `docs/feedback/2026-10-05/PITFALLS.md` — 自动化实战:14 个坑
|
||||
- `docs/feedback/2026-10-05/logs/` — 20 份任务日志 + 服务/看门狗日志
|
||||
@@ -0,0 +1,135 @@
|
||||
# lc-mcp 测试报告
|
||||
|
||||
测试日期:2026-10-02(Asia/Hong_Kong)。
|
||||
|
||||
仓库:https://git.lingll.icu/yws/lc-mcp
|
||||
|
||||
测试提交:`8d24276511e2f007a758b180cba7167e58aca090`,main,服务版本 0.5.0。
|
||||
|
||||
## 结论
|
||||
|
||||
基础 MCP 连接和远端 OCR 可用,但当前版本不能判定为可以可靠操作真实游戏。Windows 默认截图启动脚本存在可复现的 VBScript 编译错误;参数缺失会导致意外点击;输入和工具错误可能被报告为成功。应优先修复这三类问题,再做实际游戏闭环测试。
|
||||
|
||||
当前仓库实现独立的屏幕 OCR 和桌面输入,没有找到 AALC 的 API 调用、配置、依赖或游戏状态集成。是否来自 AALC 的设计或早期代码,无法从本次仓库内容确定。
|
||||
|
||||
## 环境与范围
|
||||
|
||||
- Windows 本机;服务使用已安装的 Python 3.8.6。
|
||||
- 官方 MCP Python SDK 1.30.0 客户端运行于独立 Python 3.12.14 虚拟环境。
|
||||
- 远端 OCR 使用仓库默认地址,上传内容仅为生成的测试 PNG。
|
||||
- 输入测试使用 mock 或模拟底层调用失败,没有向真实桌面发送点击、按键或文字。
|
||||
- 没有检测到正在运行的 LimbusCompany/AALC 进程。实际游戏窗口、战斗、奖励结算和 AALC 联动均未验证。
|
||||
- Linux uinput 检查使用模拟依赖复现 Python 错误,并核对上游数据类型;没有 Linux 内核或 macOS 实机测试。
|
||||
- Windows VBScript 使用相同生成表达式、隔离文件路径,通过 `cscript.exe` 编译检查。没有覆盖或运行现有 LcMCP 计划任务。
|
||||
- 仅新增测试和报告文件,没有修改原有实现、提交或推送代码。
|
||||
|
||||
## 测试结果
|
||||
|
||||
| 检查 | 结果 | 证据 |
|
||||
|---|---|---|
|
||||
| 自带测试 | 3 组全部通过 | mock 动作、扫描码表、stdio 往返 |
|
||||
| Python 编译检查 | 通过 | `python -m compileall -q .` |
|
||||
| 独立测试 | 22 项:11 通过、9 断言失败、2 运行异常 | `validation-results.json`;失败项是边界行为复现,不代表 11 个独立缺陷 |
|
||||
| 官方 SDK 连接 | 通过 | initialize、ping、tools/list;识别 9 个工具 |
|
||||
| SDK 模拟输入 | 通过 | move、中文 type_text |
|
||||
| 远端 OCR | 通过 | 正确识别“开始 测试”和“TEST 123”;置信度 0.944、0.960 |
|
||||
| OCR 延迟 | 单次 19.515 秒 | 仅一次请求,不能视为稳定性能或游戏图像准确率 |
|
||||
| Windows 截图启动脚本 | 失败 | VBScript 编译器错误:语句未结束;退出码 1 |
|
||||
| SendInput 初始化 | 通过 | 只加载后端,没有发送输入 |
|
||||
| Interception 初始化 | 环境不满足 | 本机未找到 interception.dll;没有安装驱动或重启 |
|
||||
|
||||
正常语义流程的模拟测试覆盖:OCR 置信度过滤、文字子串和大小写匹配、中心坐标计算、第二候选点击、文字找不到时不点击、OCR 失败时不点击、截图失败透传、文字出现和消失等待。
|
||||
|
||||
## 主要发现
|
||||
|
||||
### 1. Windows 截图启动脚本无法编译(P1)
|
||||
|
||||
位置:[platform/win.py:20](D:/codex/tmp/lc-mcp-test/platform/win.py:20)。
|
||||
|
||||
生成的脚本在 VBScript 字符串内部直接使用单个双引号包围 PowerShell 脚本路径,提前结束了字符串。VBScript 需要将字符串内部双引号写为两个双引号。
|
||||
|
||||
复现产物为 `validation-artifacts/run-original.vbs`。执行 `cscript.exe //nologo <该文件>` 返回 1,报“Microsoft VBScript 编译器错误:语句未结束”。
|
||||
|
||||
影响:使用默认生成脚本的新部署不能启动截图任务,进而阻断 screenshot、get_state 和依赖 OCR 的工具。已有自定义修正脚本的机器需单独验证;代码仅在文件不存在时生成脚本,更新 Python 代码也不会自动刷新旧脚本。
|
||||
|
||||
### 2. 必需参数没有运行时校验,可能意外点击(P1)
|
||||
|
||||
位置:[lc_mcp.py:117](D:/codex/tmp/lc-mcp-test/lc_mcp.py:117)、[lc_mcp.py:131](D:/codex/tmp/lc-mcp-test/lc_mcp.py:131)。
|
||||
|
||||
- `click({})` 被默认值转换为点击 `(0,0)`,返回 `ok=true`。官方 SDK 客户端复现相同行为。
|
||||
- `click_text({})` 使用空字符串匹配所有 OCR 项,并点击第一个文字中心。
|
||||
- `index=99` 静默选择最后一个候选;`index=-1` 也选择最后一个候选。这是当前行为,接口没有说明索引越界规则。
|
||||
|
||||
影响:客户端遗漏参数或模型选择错误索引时,服务仍可能执行桌面输入。建议在任何截图和输入之前校验必需参数、非空文字、索引整数和范围。
|
||||
|
||||
### 3. MCP 工具错误标记位置错误,客户端读成成功(P1)
|
||||
|
||||
位置:[lc_mcp.py:221](D:/codex/tmp/lc-mcp-test/lc_mcp.py:221)。
|
||||
|
||||
调用 `move({"x":"invalid","y":6})` 时,服务把 `isError=true` 放在 JSON-RPC 顶层,而不是 `result` 内部。官方 SDK 接收到文本里的 `ok=false`,但 `CallToolResult.isError` 实际为 false。
|
||||
|
||||
普通 `ok=false` 返回路径没有设置 `result.isError`;未知工具也返回普通文本结果。
|
||||
|
||||
工具执行错误应在 `result.isError` 中表达;未知工具和无效参数可用 JSON-RPC 错误。这与 [MCP 2024-11-05 Tools 规范](https://modelcontextprotocol.io/specification/2024-11-05/server/tools)不符。
|
||||
|
||||
### 4. SendInput 注入失败仍返回成功(P1)
|
||||
|
||||
位置:[backends/sendinput_win.py:54](D:/codex/tmp/lc-mcp-test/backends/sendinput_win.py:54)、[backends/sendinput_win.py:87](D:/codex/tmp/lc-mcp-test/backends/sendinput_win.py:87)。
|
||||
|
||||
模拟 `SendInput` 返回 0 后,`keypress('p')` 仍返回 `ok=true`。点击和文字输入也不检查注入数量;移动不检查 SetCursorPos 结果。
|
||||
|
||||
影响:服务返回成功不代表目标应用收到输入。需要检查底层调用结果,并在游戏环境用后续状态验证动作效果。本次没有实机验证游戏对 SendInput 的接受程度。
|
||||
|
||||
### 5. 等待 timeout 不约束内部截图和网络请求(P2)
|
||||
|
||||
位置:[lc_mcp.py:43](D:/codex/tmp/lc-mcp-test/lc_mcp.py:43)、[lc_mcp.py:140](D:/codex/tmp/lc-mcp-test/lc_mcp.py:140)。
|
||||
|
||||
用模拟时钟将一次 OCR 请求设为 30 秒,`wait_for_text(timeout=1)` 需要 31.2 秒才结束。请求固定使用 30 秒超时;截图也有自己的超时,外层没有传递剩余时间。
|
||||
|
||||
应使用单调时钟和剩余预算约束内部操作,避免短等待变成长阻塞。
|
||||
|
||||
### 6. 输入后端初始化失败同时禁用了截图(P2)
|
||||
|
||||
位置:[lc_mcp.py:171](D:/codex/tmp/lc-mcp-test/lc_mcp.py:171)。
|
||||
|
||||
截图提供者与输入后端共用一个 try/except。设置一个不存在的输入后端后,`screenshot` 返回 `'NoneType' object has no attribute 'grab'`,尽管截图提供者此前已成功创建。
|
||||
|
||||
应分别初始化和报告截图、输入能力;仅观察屏幕的工具不应依赖输入后端可用。
|
||||
|
||||
### 7. Linux uinput 后端存在确定的 Python 错误(P1,限该后端)
|
||||
|
||||
位置:[backends/uinput_linux.py:28](D:/codex/tmp/lc-mcp-test/backends/uinput_linux.py:28)、[backends/uinput_linux.py:72](D:/codex/tmp/lc-mcp-test/backends/uinput_linux.py:72)。
|
||||
|
||||
- `keypress('enter')` 引用未定义的 `KEY_ENTER`,抛 NameError。
|
||||
- `_ensure()` 对 uinput 的元组常量执行 `KEY_Z + 1` 和 range,抛 TypeError。
|
||||
- 其他输入路径引用未在模块作用域导入的 REL_X、BTN_LEFT 等常量;代码还缺少 time 导入。
|
||||
|
||||
前两项已通过隔离测试复现,后两项为源码检查。uinput 的事件描述符类型已核对 [python-uinput 上游实现](https://raw.githubusercontent.com/tuomasjjrasanen/python-uinput/master/src/__init__.py)。
|
||||
|
||||
### 8. Interception 实现与上游公开 API 不一致(待实机确认)
|
||||
|
||||
位置:[backends/interception_win.py:91](D:/codex/tmp/lc-mcp-test/backends/interception_win.py:91)。
|
||||
|
||||
代码调用 interception_open_device/interception_close_device,但 [上游公开头文件](https://raw.githubusercontent.com/oblitum/Interception/master/library/interception.h)没有这两个接口。上游设备总数为 20,代码扫描到 64,且硬件 ID 被按 ASCII 文本解释。
|
||||
|
||||
这是源码与上游接口比对发现,本机缺少 DLL,未测试实际加载的 DLL 是否为提供这些接口的定制版本。部署前应明确支持的 DLL 版本并用真实设备验证。
|
||||
|
||||
### 9. 畸形 JSON 使服务退出(P2,健壮性)
|
||||
|
||||
向 stdio 发送 `{ invalid json }` 后,服务直接关闭 stdout 并退出,没有返回 JSON-RPC parse error。这会断开客户端连接。有效请求的正常流程不受本测试影响。
|
||||
|
||||
## 复现文件
|
||||
|
||||
- [独立测试脚本](D:/codex/tmp/lc-mcp-test/tests/test_validation.py)
|
||||
- [OCR 和 VBScript 检查脚本](D:/codex/tmp/lc-mcp-test/tests/test_live_services.py)
|
||||
- [官方 SDK 客户端脚本](D:/codex/tmp/lc-mcp-sdk-client-test.py)(放在仓库外,避免仓库的 platform 包影响客户端标准库导入)
|
||||
- [逐项测试结果](D:/codex/tmp/lc-mcp-test/validation-results.json)
|
||||
- [OCR、VBScript 与后端初始化结果](D:/codex/tmp/lc-mcp-test/live-service-results.json)
|
||||
- [官方 SDK 返回结果](D:/codex/tmp/lc-mcp-test/sdk-client-results.json)
|
||||
- [生成的 OCR 测试图](D:/codex/tmp/lc-mcp-test/validation-artifacts/ocr-synthetic.png)
|
||||
|
||||
执行服务端测试:`python tests/test_dev.py`、`python tests/test_validation.py`、`python tests/test_live_services.py`。后者需要 Pillow、Windows 字体和网络;当前本机已有所需图像依赖。独立验证脚本当前返回非零是预期结果,因为其断言要求服务拒绝错误输入并正确报告失败。
|
||||
|
||||
## 下一步
|
||||
|
||||
先修复 Windows 脚本生成、参数校验、MCP 错误返回和底层输入结果检查,再准备可观察的游戏窗口,逐步验证“截图 → OCR → 正确候选 → 单次输入 → 新截图确认”。真实游戏测试需要运行机器和窗口状态;本次结果不包含战斗自动化成功率或 AALC 集成验证。
|
||||
@@ -0,0 +1,39 @@
|
||||
{
|
||||
"remote_ocr": {
|
||||
"url": "http://35.212.193.150:8599/",
|
||||
"seconds": 19.515,
|
||||
"items": [
|
||||
{
|
||||
"text": "开始 测试",
|
||||
"x": 37,
|
||||
"y": 39,
|
||||
"w": 230,
|
||||
"h": 59,
|
||||
"score": 0.944
|
||||
},
|
||||
{
|
||||
"text": "TEST 123",
|
||||
"x": 40,
|
||||
"y": 143,
|
||||
"w": 226,
|
||||
"h": 47,
|
||||
"score": 0.96
|
||||
}
|
||||
],
|
||||
"error": null,
|
||||
"input": "D:\\codex\\tmp\\lc-mcp-test\\validation-artifacts\\ocr-synthetic.png"
|
||||
},
|
||||
"windows_vbs": {
|
||||
"returncode": 1,
|
||||
"stdout": "",
|
||||
"stderr": "D:\\codex\\tmp\\lc-mcp-test\\validation-artifacts\\run-original.vbs(1, 93) Microsoft VBScript 编译器错误: 语句未结束\r\n\r\n",
|
||||
"script": "CreateObject(\"WScript.Shell\").Run \"powershell.exe -NoProfile -ExecutionPolicy Bypass -File \"D:\\codex\\tmp\\lc-mcp-test\\validation-artifacts\\nonexistent-test-job.ps1\"\", 0, False\n"
|
||||
},
|
||||
"sendinput_initialization": {
|
||||
"ok": true
|
||||
},
|
||||
"interception_initialization": {
|
||||
"ok": false,
|
||||
"error": "Could not find module 'interception.dll' (or one of its dependencies). Try using the full path with constructor syntax."
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,133 @@
|
||||
{
|
||||
"sdk_version": "1.30.0",
|
||||
"initialize": {
|
||||
"meta": null,
|
||||
"protocolVersion": "2024-11-05",
|
||||
"capabilities": {
|
||||
"experimental": null,
|
||||
"logging": null,
|
||||
"prompts": null,
|
||||
"resources": null,
|
||||
"tools": {
|
||||
"listChanged": false
|
||||
},
|
||||
"completions": null,
|
||||
"tasks": null
|
||||
},
|
||||
"serverInfo": {
|
||||
"name": "lc-mcp",
|
||||
"title": null,
|
||||
"version": "0.5.0",
|
||||
"websiteUrl": null,
|
||||
"icons": null
|
||||
},
|
||||
"instructions": null
|
||||
},
|
||||
"ping": "PASS",
|
||||
"tools": [
|
||||
"get_state",
|
||||
"click_text",
|
||||
"wait_for_text",
|
||||
"wait_for_text_gone",
|
||||
"screenshot",
|
||||
"click",
|
||||
"move",
|
||||
"keypress",
|
||||
"type_text"
|
||||
],
|
||||
"calls": [
|
||||
{
|
||||
"name": "move",
|
||||
"arguments": {
|
||||
"x": 5,
|
||||
"y": 6
|
||||
},
|
||||
"result": {
|
||||
"meta": null,
|
||||
"content": [
|
||||
{
|
||||
"type": "text",
|
||||
"text": "{\"ok\": true, \"backend\": \"mock\"}",
|
||||
"annotations": null,
|
||||
"meta": null
|
||||
}
|
||||
],
|
||||
"structuredContent": null,
|
||||
"isError": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "type_text",
|
||||
"arguments": {
|
||||
"text": "测试"
|
||||
},
|
||||
"result": {
|
||||
"meta": null,
|
||||
"content": [
|
||||
{
|
||||
"type": "text",
|
||||
"text": "{\"ok\": true, \"typed\": \"测试\", \"backend\": \"mock\"}",
|
||||
"annotations": null,
|
||||
"meta": null
|
||||
}
|
||||
],
|
||||
"structuredContent": null,
|
||||
"isError": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "move",
|
||||
"arguments": {
|
||||
"x": "invalid",
|
||||
"y": 6
|
||||
},
|
||||
"result": {
|
||||
"meta": null,
|
||||
"content": [
|
||||
{
|
||||
"type": "text",
|
||||
"text": "{\"ok\": false, \"error\": \"invalid literal for int() with base 10: 'invalid'\"}",
|
||||
"annotations": null,
|
||||
"meta": null
|
||||
}
|
||||
],
|
||||
"structuredContent": null,
|
||||
"isError": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "click",
|
||||
"arguments": {},
|
||||
"result": {
|
||||
"meta": null,
|
||||
"content": [
|
||||
{
|
||||
"type": "text",
|
||||
"text": "{\"ok\": true, \"clicked\": [0, 0], \"backend\": \"mock\"}",
|
||||
"annotations": null,
|
||||
"meta": null
|
||||
}
|
||||
],
|
||||
"structuredContent": null,
|
||||
"isError": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "unknown",
|
||||
"arguments": {},
|
||||
"result": {
|
||||
"meta": null,
|
||||
"content": [
|
||||
{
|
||||
"type": "text",
|
||||
"text": "{\"ok\": false, \"error\": \"unknown tool unknown\"}",
|
||||
"annotations": null,
|
||||
"meta": null
|
||||
}
|
||||
],
|
||||
"structuredContent": null,
|
||||
"isError": false
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,45 @@
|
||||
"""Use only generated images; never send screenshots or desktop input."""
|
||||
import json
|
||||
from pathlib import Path
|
||||
import subprocess
|
||||
import sys
|
||||
import time
|
||||
|
||||
ROOT = Path(__file__).resolve().parents[1]
|
||||
sys.path.insert(0, str(ROOT))
|
||||
import lc_mcp as app
|
||||
from PIL import Image, ImageDraw, ImageFont
|
||||
|
||||
out = ROOT / 'validation-artifacts'
|
||||
out.mkdir(exist_ok=True)
|
||||
results = {}
|
||||
image = Image.new('RGB', (900, 300), 'white')
|
||||
draw = ImageDraw.Draw(image)
|
||||
font = ImageFont.truetype('C:/Windows/Fonts/msyh.ttc', 52)
|
||||
draw.text((40, 30), '开始 测试', font=font, fill='black')
|
||||
draw.text((40, 130), 'TEST 123', font=font, fill='black')
|
||||
path = out / 'ocr-synthetic.png'
|
||||
image.save(str(path))
|
||||
start = time.monotonic()
|
||||
items, error = app.ocr_image(str(path))
|
||||
results['remote_ocr'] = {'url': app.OCR_URL, 'seconds': round(time.monotonic() - start, 3),
|
||||
'items': items, 'error': error, 'input': str(path)}
|
||||
print(json.dumps({'remote_ocr': results['remote_ocr']}, ensure_ascii=True), flush=True)
|
||||
|
||||
# Exact script-generation expression from platform/win.py, with isolated paths.
|
||||
job = str(out / 'nonexistent-test-job.ps1')
|
||||
vbs = out / 'run-original.vbs'
|
||||
vbs.write_text('CreateObject("WScript.Shell").Run "powershell.exe -NoProfile -ExecutionPolicy Bypass -File "%s"", 0, False\n' % job, encoding='utf-8')
|
||||
r = subprocess.run(['cscript.exe', '//nologo', str(vbs)], capture_output=True, timeout=10)
|
||||
results['windows_vbs'] = {'returncode': r.returncode,
|
||||
'stdout': r.stdout.decode('mbcs', errors='replace'), 'stderr': r.stderr.decode('mbcs', errors='replace'),
|
||||
'script': vbs.read_text(encoding='utf-8')}
|
||||
print(json.dumps({'windows_vbs': results['windows_vbs']}, ensure_ascii=True), flush=True)
|
||||
for name in ('sendinput', 'interception'):
|
||||
try:
|
||||
backend = app.get_input_backend(name, 'win')
|
||||
results[name + '_initialization'] = {'ok': True}
|
||||
except Exception as e:
|
||||
results[name + '_initialization'] = {'ok': False, 'error': str(e)}
|
||||
(ROOT / 'live-service-results.json').write_text(json.dumps(results, ensure_ascii=False, indent=2), encoding='utf-8')
|
||||
print(json.dumps(results, ensure_ascii=True), flush=True)
|
||||
@@ -0,0 +1,251 @@
|
||||
"""Independent validation; no real desktop inputs are sent.
|
||||
|
||||
Run: python tests/test_validation.py
|
||||
Failures assert the intended behavior and reproduce defects in the tested revision.
|
||||
"""
|
||||
import contextlib
|
||||
import io
|
||||
import json
|
||||
import os
|
||||
from pathlib import Path
|
||||
import queue
|
||||
import subprocess
|
||||
import sys
|
||||
import tempfile
|
||||
import threading
|
||||
import unittest
|
||||
from unittest.mock import patch
|
||||
|
||||
ROOT = Path(__file__).resolve().parents[1]
|
||||
sys.path.insert(0, str(ROOT))
|
||||
import lc_mcp as app
|
||||
from backends.mock import MockBackend
|
||||
|
||||
ITEMS = [
|
||||
{'text': '开始', 'x': 100, 'y': 200, 'w': 80, 'h': 40, 'score': .99},
|
||||
{'text': '开始战斗', 'x': 300, 'y': 400, 'w': 100, 'h': 50, 'score': .95},
|
||||
]
|
||||
|
||||
|
||||
class Provider:
|
||||
def grab(self):
|
||||
return {'ok': True, 'path': 'synthetic.png'}
|
||||
|
||||
|
||||
class Peer:
|
||||
def __init__(self, extra_env=None):
|
||||
env = dict(os.environ, INPUT_BACKEND='mock', PYTHONIOENCODING='utf-8')
|
||||
env.update(extra_env or {})
|
||||
self.p = subprocess.Popen([sys.executable, str(ROOT / 'lc_mcp.py')],
|
||||
stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE,
|
||||
text=True, encoding='utf-8', env=env)
|
||||
self.q = queue.Queue()
|
||||
def pump():
|
||||
for line in self.p.stdout:
|
||||
self.q.put(line)
|
||||
self.q.put(None)
|
||||
threading.Thread(target=pump, daemon=True).start()
|
||||
|
||||
def send(self, obj):
|
||||
self.p.stdin.write(json.dumps(obj, ensure_ascii=True) + '\n')
|
||||
self.p.stdin.flush()
|
||||
line = self.q.get(timeout=5)
|
||||
return json.loads(line) if line else None
|
||||
|
||||
def close(self):
|
||||
if self.p.poll() is None:
|
||||
self.p.kill()
|
||||
self.p.communicate(timeout=5)
|
||||
|
||||
|
||||
class HealthyPaths(unittest.TestCase):
|
||||
def setUp(self):
|
||||
self.b = MockBackend()
|
||||
self.s = app.MCPServer('win', Provider(), self.b)
|
||||
|
||||
def test_text_coordinates(self):
|
||||
self.assertEqual(app.calc_click('开始', ITEMS)[0], {'text': '开始', 'x': 140, 'y': 220})
|
||||
|
||||
def test_substring_case_insensitive(self):
|
||||
items = [dict(ITEMS[0], text='Start Battle')]
|
||||
self.assertEqual(len(app.calc_click('START', items)), 1)
|
||||
|
||||
def test_get_state(self):
|
||||
with patch.object(app, 'ocr_image', return_value=(ITEMS, None)):
|
||||
self.assertEqual(self.s.call('get_state', {})['items'], ITEMS)
|
||||
|
||||
def test_click_text_second_hit(self):
|
||||
with patch.object(app, 'ocr_image', return_value=(ITEMS, None)):
|
||||
self.s.call('click_text', {'text': '开始', 'index': 1})
|
||||
self.assertEqual(self.b.log[-1]['x'], 350)
|
||||
self.assertEqual(self.b.log[-1]['y'], 425)
|
||||
|
||||
def test_missing_text_does_not_click(self):
|
||||
with patch.object(app, 'ocr_image', return_value=(ITEMS, None)):
|
||||
self.assertFalse(self.s.call('click_text', {'text': '不存在'})['ok'])
|
||||
self.assertEqual(self.b.log, [])
|
||||
|
||||
def test_ocr_error_does_not_click(self):
|
||||
with patch.object(app, 'ocr_image', return_value=(None, 'service unavailable')):
|
||||
self.assertFalse(self.s.call('click_text', {'text': '开始'})['ok'])
|
||||
self.assertEqual(self.b.log, [])
|
||||
|
||||
def test_screenshot_error_propagates(self):
|
||||
with patch.object(self.s.provider, 'grab', return_value={'ok': False, 'error': 'capture fail'}):
|
||||
self.assertEqual(self.s.call('get_state', {})['error'], 'capture fail')
|
||||
|
||||
def test_wait_present(self):
|
||||
with patch.object(app, 'ocr_image', return_value=(ITEMS, None)):
|
||||
self.assertTrue(self.s.call('wait_for_text', {'text': '开始', 'timeout': 1})['present'])
|
||||
|
||||
def test_wait_absent(self):
|
||||
with patch.object(app, 'ocr_image', return_value=([], None)):
|
||||
result = self.s.call('wait_for_text_gone', {'text': '开始', 'timeout': 1})
|
||||
self.assertTrue(result['ok'])
|
||||
self.assertFalse(result['present'])
|
||||
|
||||
def test_ocr_confidence_filter(self):
|
||||
payload = {'ok': True, 'items': ITEMS + [dict(ITEMS[0], score=.1)]}
|
||||
response = contextlib.closing(io.BytesIO(json.dumps(payload).encode('utf-8')))
|
||||
with tempfile.TemporaryDirectory() as tmp, patch.object(app.urllib.request, 'urlopen', return_value=response):
|
||||
path = Path(tmp) / 'image.png'
|
||||
path.write_bytes(b'fixture')
|
||||
items, error = app.ocr_image(str(path))
|
||||
self.assertIsNone(error)
|
||||
self.assertEqual(len(items), 2)
|
||||
|
||||
def test_protocol_discovery_and_all_input_tools(self):
|
||||
p = Peer()
|
||||
try:
|
||||
response = p.send({'jsonrpc': '2.0', 'id': 1, 'method': 'initialize', 'params': {}})
|
||||
self.assertEqual(response['result']['serverInfo']['name'], 'lc-mcp')
|
||||
response = p.send({'jsonrpc': '2.0', 'id': 2, 'method': 'tools/list'})
|
||||
self.assertEqual(len(response['result']['tools']), 9)
|
||||
for name, args in [('click', {'x': 10, 'y': 20}), ('move', {'x': 5, 'y': 6}),
|
||||
('keypress', {'key': 'p'}), ('type_text', {'text': '开始'})]:
|
||||
r = p.send({'jsonrpc': '2.0', 'id': 3, 'method': 'tools/call', 'params': {'name': name, 'arguments': args}})
|
||||
self.assertTrue(json.loads(r['result']['content'][0]['text'])['ok'])
|
||||
finally:
|
||||
p.close()
|
||||
|
||||
|
||||
class RequiredBehavior(unittest.TestCase):
|
||||
def setUp(self):
|
||||
self.b = MockBackend()
|
||||
self.s = app.MCPServer('win', Provider(), self.b)
|
||||
|
||||
def test_missing_click_coordinates_rejected(self):
|
||||
result = self.s.call('click', {})
|
||||
self.assertFalse(result['ok'], result)
|
||||
self.assertEqual(self.b.log, [])
|
||||
|
||||
def test_missing_click_text_rejected(self):
|
||||
with patch.object(app, 'ocr_image', return_value=(ITEMS, None)):
|
||||
result = self.s.call('click_text', {})
|
||||
self.assertFalse(result['ok'], result)
|
||||
self.assertEqual(self.b.log, [])
|
||||
|
||||
def test_out_of_range_index_rejected(self):
|
||||
with patch.object(app, 'ocr_image', return_value=(ITEMS, None)):
|
||||
result = self.s.call('click_text', {'text': '开始', 'index': 99})
|
||||
self.assertFalse(result['ok'], result)
|
||||
|
||||
def test_negative_index_rejected(self):
|
||||
with patch.object(app, 'ocr_image', return_value=(ITEMS, None)):
|
||||
result = self.s.call('click_text', {'text': '开始', 'index': -1})
|
||||
self.assertFalse(result['ok'], result)
|
||||
|
||||
def test_wait_timeout_honored(self):
|
||||
clock = [0.0]
|
||||
def slow_ocr(_):
|
||||
clock[0] += 30
|
||||
return None, 'network timeout'
|
||||
def sleep(seconds):
|
||||
clock[0] += seconds
|
||||
with patch.object(app.time, 'time', side_effect=lambda: clock[0]), \
|
||||
patch.object(app.time, 'sleep', side_effect=sleep), \
|
||||
patch.object(app, 'ocr_image', side_effect=slow_ocr):
|
||||
self.s.call('wait_for_text', {'text': '开始', 'timeout': 1})
|
||||
self.assertLessEqual(clock[0], 1.1, 'one-second deadline took %.1f seconds' % clock[0])
|
||||
|
||||
def test_tool_exception_sets_result_iserror(self):
|
||||
p = Peer()
|
||||
try:
|
||||
r = p.send({'jsonrpc': '2.0', 'id': 1, 'method': 'tools/call',
|
||||
'params': {'name': 'move', 'arguments': {'x': 'invalid', 'y': 1}}})
|
||||
self.assertTrue(r['result'].get('isError', False), r)
|
||||
finally:
|
||||
p.close()
|
||||
|
||||
def test_unknown_tool_returns_protocol_error(self):
|
||||
p = Peer()
|
||||
try:
|
||||
r = p.send({'jsonrpc': '2.0', 'id': 1, 'method': 'tools/call',
|
||||
'params': {'name': 'unknown', 'arguments': {}}})
|
||||
self.assertIn('error', r, r)
|
||||
finally:
|
||||
p.close()
|
||||
|
||||
def test_invalid_json_keeps_server_alive(self):
|
||||
p = Peer()
|
||||
try:
|
||||
p.p.stdin.write('{ invalid json }\n')
|
||||
p.p.stdin.flush()
|
||||
line = p.q.get(timeout=5)
|
||||
self.assertIsNotNone(line, 'server closes stdout and exits without JSON-RPC parse error')
|
||||
self.assertEqual(json.loads(line)['error']['code'], -32700)
|
||||
finally:
|
||||
p.close()
|
||||
|
||||
def test_sendinput_failed_injection_is_reported(self):
|
||||
from backends.sendinput_win import SendInputBackend
|
||||
b = SendInputBackend.__new__(SendInputBackend)
|
||||
with patch.object(b, '_send_input', return_value=0):
|
||||
r = b.keypress('p')
|
||||
self.assertFalse(r['ok'], r)
|
||||
|
||||
def test_uinput_key_constants_in_scope(self):
|
||||
from backends.uinput_linux import UinputBackend
|
||||
b = UinputBackend.__new__(UinputBackend)
|
||||
with patch.object(b, '_key'):
|
||||
r = b.keypress('enter')
|
||||
self.assertTrue(r['ok'])
|
||||
|
||||
def test_uinput_device_events_are_valid(self):
|
||||
import types
|
||||
from backends.uinput_linux import UinputBackend
|
||||
fake = types.SimpleNamespace(Device=lambda events: object())
|
||||
names = ['KEY_A', 'KEY_Z', 'KEY_ENTER', 'KEY_ESC', 'KEY_SPACE', 'KEY_TAB', 'KEY_F4',
|
||||
'KEY_LEFTCTRL', 'KEY_LEFTSHIFT', 'KEY_LEFTALT', 'KEY_BACKSPACE',
|
||||
'REL_X', 'REL_Y', 'BTN_LEFT', 'BTN_RIGHT']
|
||||
for i, name in enumerate(names):
|
||||
setattr(fake, name, (1, i + 30))
|
||||
b = UinputBackend.__new__(UinputBackend)
|
||||
b._ctx = None
|
||||
with patch.dict(sys.modules, {'uinput': fake}):
|
||||
self.assertIsNotNone(b._ensure())
|
||||
|
||||
|
||||
class Result(unittest.TextTestResult):
|
||||
def __init__(self, *args, **kwargs):
|
||||
super().__init__(*args, **kwargs)
|
||||
self.records = []
|
||||
|
||||
def addSuccess(self, test):
|
||||
super().addSuccess(test)
|
||||
self.records.append({'test': test.id(), 'status': 'PASS'})
|
||||
|
||||
def addFailure(self, test, err):
|
||||
super().addFailure(test, err)
|
||||
self.records.append({'test': test.id(), 'status': 'FAIL', 'detail': self._exc_info_to_string(err, test)})
|
||||
|
||||
def addError(self, test, err):
|
||||
super().addError(test, err)
|
||||
self.records.append({'test': test.id(), 'status': 'ERROR', 'detail': self._exc_info_to_string(err, test)})
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
suite = unittest.defaultTestLoader.loadTestsFromModule(sys.modules[__name__])
|
||||
result = unittest.TextTestRunner(verbosity=2, resultclass=Result).run(suite)
|
||||
(ROOT / 'validation-results.json').write_text(json.dumps(result.records, ensure_ascii=False, indent=2), encoding='utf-8')
|
||||
sys.exit(0 if result.wasSuccessful() else 1)
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 11 KiB |
@@ -0,0 +1 @@
|
||||
CreateObject("WScript.Shell").Run "powershell.exe -NoProfile -ExecutionPolicy Bypass -File "D:\codex\tmp\lc-mcp-test\validation-artifacts\nonexistent-test-job.ps1"", 0, False
|
||||
@@ -0,0 +1,119 @@
|
||||
test_click_text_second_hit (__main__.HealthyPaths) ... ok
|
||||
test_get_state (__main__.HealthyPaths) ... ok
|
||||
test_missing_text_does_not_click (__main__.HealthyPaths) ... ok
|
||||
test_ocr_confidence_filter (__main__.HealthyPaths) ... ok
|
||||
test_ocr_error_does_not_click (__main__.HealthyPaths) ... ok
|
||||
test_protocol_discovery_and_all_input_tools (__main__.HealthyPaths) ... ok
|
||||
test_screenshot_error_propagates (__main__.HealthyPaths) ... ok
|
||||
test_substring_case_insensitive (__main__.HealthyPaths) ... ok
|
||||
test_text_coordinates (__main__.HealthyPaths) ... ok
|
||||
test_wait_absent (__main__.HealthyPaths) ... ok
|
||||
test_wait_present (__main__.HealthyPaths) ... ok
|
||||
test_invalid_json_keeps_server_alive (__main__.RequiredBehavior) ... FAIL
|
||||
test_missing_click_coordinates_rejected (__main__.RequiredBehavior) ... FAIL
|
||||
test_missing_click_text_rejected (__main__.RequiredBehavior) ... FAIL
|
||||
test_negative_index_rejected (__main__.RequiredBehavior) ... FAIL
|
||||
test_out_of_range_index_rejected (__main__.RequiredBehavior) ... FAIL
|
||||
test_sendinput_failed_injection_is_reported (__main__.RequiredBehavior) ... FAIL
|
||||
test_tool_exception_sets_result_iserror (__main__.RequiredBehavior) ... FAIL
|
||||
test_uinput_device_events_are_valid (__main__.RequiredBehavior) ... ERROR
|
||||
test_uinput_key_constants_in_scope (__main__.RequiredBehavior) ... ERROR
|
||||
test_unknown_tool_returns_protocol_error (__main__.RequiredBehavior) ... FAIL
|
||||
test_wait_timeout_honored (__main__.RequiredBehavior) ... FAIL
|
||||
|
||||
======================================================================
|
||||
ERROR: test_uinput_device_events_are_valid (__main__.RequiredBehavior)
|
||||
----------------------------------------------------------------------
|
||||
Traceback (most recent call last):
|
||||
File "tests\test_validation.py", line 226, in test_uinput_device_events_are_valid
|
||||
self.assertIsNotNone(b._ensure())
|
||||
File "D:\codex\tmp\lc-mcp-test\backends\uinput_linux.py", line 28, in _ensure
|
||||
*[key for key in range(KEY_A, KEY_Z + 1)],
|
||||
TypeError: can only concatenate tuple (not "int") to tuple
|
||||
|
||||
======================================================================
|
||||
ERROR: test_uinput_key_constants_in_scope (__main__.RequiredBehavior)
|
||||
----------------------------------------------------------------------
|
||||
Traceback (most recent call last):
|
||||
File "tests\test_validation.py", line 211, in test_uinput_key_constants_in_scope
|
||||
r = b.keypress('enter')
|
||||
File "D:\codex\tmp\lc-mcp-test\backends\uinput_linux.py", line 72, in keypress
|
||||
mapping = {'enter': KEY_ENTER, 'esc': KEY_ESC, 'space': KEY_SPACE,
|
||||
NameError: name 'KEY_ENTER' is not defined
|
||||
|
||||
======================================================================
|
||||
FAIL: test_invalid_json_keeps_server_alive (__main__.RequiredBehavior)
|
||||
----------------------------------------------------------------------
|
||||
Traceback (most recent call last):
|
||||
File "tests\test_validation.py", line 195, in test_invalid_json_keeps_server_alive
|
||||
self.assertIsNotNone(line, 'server closes stdout and exits without JSON-RPC parse error')
|
||||
AssertionError: unexpectedly None : server closes stdout and exits without JSON-RPC parse error
|
||||
|
||||
======================================================================
|
||||
FAIL: test_missing_click_coordinates_rejected (__main__.RequiredBehavior)
|
||||
----------------------------------------------------------------------
|
||||
Traceback (most recent call last):
|
||||
File "tests\test_validation.py", line 139, in test_missing_click_coordinates_rejected
|
||||
self.assertFalse(result['ok'], result)
|
||||
AssertionError: True is not false : {'ok': True, 'clicked': [0, 0], 'backend': 'mock'}
|
||||
|
||||
======================================================================
|
||||
FAIL: test_missing_click_text_rejected (__main__.RequiredBehavior)
|
||||
----------------------------------------------------------------------
|
||||
Traceback (most recent call last):
|
||||
File "tests\test_validation.py", line 145, in test_missing_click_text_rejected
|
||||
self.assertFalse(result['ok'], result)
|
||||
AssertionError: True is not false : {'ok': True, 'clicked': [140, 220], 'backend': 'mock', 'on': '��ʼ'}
|
||||
|
||||
======================================================================
|
||||
FAIL: test_negative_index_rejected (__main__.RequiredBehavior)
|
||||
----------------------------------------------------------------------
|
||||
Traceback (most recent call last):
|
||||
File "tests\test_validation.py", line 156, in test_negative_index_rejected
|
||||
self.assertFalse(result['ok'], result)
|
||||
AssertionError: True is not false : {'ok': True, 'clicked': [350, 425], 'backend': 'mock', 'on': '��ʼս��'}
|
||||
|
||||
======================================================================
|
||||
FAIL: test_out_of_range_index_rejected (__main__.RequiredBehavior)
|
||||
----------------------------------------------------------------------
|
||||
Traceback (most recent call last):
|
||||
File "tests\test_validation.py", line 151, in test_out_of_range_index_rejected
|
||||
self.assertFalse(result['ok'], result)
|
||||
AssertionError: True is not false : {'ok': True, 'clicked': [350, 425], 'backend': 'mock', 'on': '��ʼս��'}
|
||||
|
||||
======================================================================
|
||||
FAIL: test_sendinput_failed_injection_is_reported (__main__.RequiredBehavior)
|
||||
----------------------------------------------------------------------
|
||||
Traceback (most recent call last):
|
||||
File "tests\test_validation.py", line 205, in test_sendinput_failed_injection_is_reported
|
||||
self.assertFalse(r['ok'], r)
|
||||
AssertionError: True is not false : {'ok': True, 'key': 'p', 'backend': 'sendinput'}
|
||||
|
||||
======================================================================
|
||||
FAIL: test_tool_exception_sets_result_iserror (__main__.RequiredBehavior)
|
||||
----------------------------------------------------------------------
|
||||
Traceback (most recent call last):
|
||||
File "tests\test_validation.py", line 176, in test_tool_exception_sets_result_iserror
|
||||
self.assertTrue(r['result'].get('isError', False), r)
|
||||
AssertionError: False is not true : {'jsonrpc': '2.0', 'id': 1, 'result': {'content': [{'type': 'text', 'text': '{"ok": false, "error": "invalid literal for int() with base 10: \'invalid\'"}'}]}, 'isError': True}
|
||||
|
||||
======================================================================
|
||||
FAIL: test_unknown_tool_returns_protocol_error (__main__.RequiredBehavior)
|
||||
----------------------------------------------------------------------
|
||||
Traceback (most recent call last):
|
||||
File "tests\test_validation.py", line 185, in test_unknown_tool_returns_protocol_error
|
||||
self.assertIn('error', r, r)
|
||||
AssertionError: 'error' not found in {'jsonrpc': '2.0', 'id': 1, 'result': {'content': [{'type': 'text', 'text': '{"ok": false, "error": "unknown tool unknown"}'}]}} : {'jsonrpc': '2.0', 'id': 1, 'result': {'content': [{'type': 'text', 'text': '{"ok": false, "error": "unknown tool unknown"}'}]}}
|
||||
|
||||
======================================================================
|
||||
FAIL: test_wait_timeout_honored (__main__.RequiredBehavior)
|
||||
----------------------------------------------------------------------
|
||||
Traceback (most recent call last):
|
||||
File "tests\test_validation.py", line 169, in test_wait_timeout_honored
|
||||
self.assertLessEqual(clock[0], 1.1, 'one-second deadline took %.1f seconds' % clock[0])
|
||||
AssertionError: 31.2 not less than or equal to 1.1 : one-second deadline took 31.2 seconds
|
||||
|
||||
----------------------------------------------------------------------
|
||||
Ran 22 tests in 0.886s
|
||||
|
||||
FAILED (failures=9, errors=2)
|
||||
@@ -0,0 +1,101 @@
|
||||
[
|
||||
{
|
||||
"test": "__main__.HealthyPaths.test_click_text_second_hit",
|
||||
"status": "PASS"
|
||||
},
|
||||
{
|
||||
"test": "__main__.HealthyPaths.test_get_state",
|
||||
"status": "PASS"
|
||||
},
|
||||
{
|
||||
"test": "__main__.HealthyPaths.test_missing_text_does_not_click",
|
||||
"status": "PASS"
|
||||
},
|
||||
{
|
||||
"test": "__main__.HealthyPaths.test_ocr_confidence_filter",
|
||||
"status": "PASS"
|
||||
},
|
||||
{
|
||||
"test": "__main__.HealthyPaths.test_ocr_error_does_not_click",
|
||||
"status": "PASS"
|
||||
},
|
||||
{
|
||||
"test": "__main__.HealthyPaths.test_protocol_discovery_and_all_input_tools",
|
||||
"status": "PASS"
|
||||
},
|
||||
{
|
||||
"test": "__main__.HealthyPaths.test_screenshot_error_propagates",
|
||||
"status": "PASS"
|
||||
},
|
||||
{
|
||||
"test": "__main__.HealthyPaths.test_substring_case_insensitive",
|
||||
"status": "PASS"
|
||||
},
|
||||
{
|
||||
"test": "__main__.HealthyPaths.test_text_coordinates",
|
||||
"status": "PASS"
|
||||
},
|
||||
{
|
||||
"test": "__main__.HealthyPaths.test_wait_absent",
|
||||
"status": "PASS"
|
||||
},
|
||||
{
|
||||
"test": "__main__.HealthyPaths.test_wait_present",
|
||||
"status": "PASS"
|
||||
},
|
||||
{
|
||||
"test": "__main__.RequiredBehavior.test_invalid_json_keeps_server_alive",
|
||||
"status": "FAIL",
|
||||
"detail": "Traceback (most recent call last):\n File \"tests\\test_validation.py\", line 195, in test_invalid_json_keeps_server_alive\n self.assertIsNotNone(line, 'server closes stdout and exits without JSON-RPC parse error')\nAssertionError: unexpectedly None : server closes stdout and exits without JSON-RPC parse error\n"
|
||||
},
|
||||
{
|
||||
"test": "__main__.RequiredBehavior.test_missing_click_coordinates_rejected",
|
||||
"status": "FAIL",
|
||||
"detail": "Traceback (most recent call last):\n File \"tests\\test_validation.py\", line 139, in test_missing_click_coordinates_rejected\n self.assertFalse(result['ok'], result)\nAssertionError: True is not false : {'ok': True, 'clicked': [0, 0], 'backend': 'mock'}\n"
|
||||
},
|
||||
{
|
||||
"test": "__main__.RequiredBehavior.test_missing_click_text_rejected",
|
||||
"status": "FAIL",
|
||||
"detail": "Traceback (most recent call last):\n File \"tests\\test_validation.py\", line 145, in test_missing_click_text_rejected\n self.assertFalse(result['ok'], result)\nAssertionError: True is not false : {'ok': True, 'clicked': [140, 220], 'backend': 'mock', 'on': '开始'}\n"
|
||||
},
|
||||
{
|
||||
"test": "__main__.RequiredBehavior.test_negative_index_rejected",
|
||||
"status": "FAIL",
|
||||
"detail": "Traceback (most recent call last):\n File \"tests\\test_validation.py\", line 156, in test_negative_index_rejected\n self.assertFalse(result['ok'], result)\nAssertionError: True is not false : {'ok': True, 'clicked': [350, 425], 'backend': 'mock', 'on': '开始战斗'}\n"
|
||||
},
|
||||
{
|
||||
"test": "__main__.RequiredBehavior.test_out_of_range_index_rejected",
|
||||
"status": "FAIL",
|
||||
"detail": "Traceback (most recent call last):\n File \"tests\\test_validation.py\", line 151, in test_out_of_range_index_rejected\n self.assertFalse(result['ok'], result)\nAssertionError: True is not false : {'ok': True, 'clicked': [350, 425], 'backend': 'mock', 'on': '开始战斗'}\n"
|
||||
},
|
||||
{
|
||||
"test": "__main__.RequiredBehavior.test_sendinput_failed_injection_is_reported",
|
||||
"status": "FAIL",
|
||||
"detail": "Traceback (most recent call last):\n File \"tests\\test_validation.py\", line 205, in test_sendinput_failed_injection_is_reported\n self.assertFalse(r['ok'], r)\nAssertionError: True is not false : {'ok': True, 'key': 'p', 'backend': 'sendinput'}\n"
|
||||
},
|
||||
{
|
||||
"test": "__main__.RequiredBehavior.test_tool_exception_sets_result_iserror",
|
||||
"status": "FAIL",
|
||||
"detail": "Traceback (most recent call last):\n File \"tests\\test_validation.py\", line 176, in test_tool_exception_sets_result_iserror\n self.assertTrue(r['result'].get('isError', False), r)\nAssertionError: False is not true : {'jsonrpc': '2.0', 'id': 1, 'result': {'content': [{'type': 'text', 'text': '{\"ok\": false, \"error\": \"invalid literal for int() with base 10: \\'invalid\\'\"}'}]}, 'isError': True}\n"
|
||||
},
|
||||
{
|
||||
"test": "__main__.RequiredBehavior.test_uinput_device_events_are_valid",
|
||||
"status": "ERROR",
|
||||
"detail": "Traceback (most recent call last):\n File \"tests\\test_validation.py\", line 226, in test_uinput_device_events_are_valid\n self.assertIsNotNone(b._ensure())\n File \"D:\\codex\\tmp\\lc-mcp-test\\backends\\uinput_linux.py\", line 28, in _ensure\n *[key for key in range(KEY_A, KEY_Z + 1)],\nTypeError: can only concatenate tuple (not \"int\") to tuple\n"
|
||||
},
|
||||
{
|
||||
"test": "__main__.RequiredBehavior.test_uinput_key_constants_in_scope",
|
||||
"status": "ERROR",
|
||||
"detail": "Traceback (most recent call last):\n File \"tests\\test_validation.py\", line 211, in test_uinput_key_constants_in_scope\n r = b.keypress('enter')\n File \"D:\\codex\\tmp\\lc-mcp-test\\backends\\uinput_linux.py\", line 72, in keypress\n mapping = {'enter': KEY_ENTER, 'esc': KEY_ESC, 'space': KEY_SPACE,\nNameError: name 'KEY_ENTER' is not defined\n"
|
||||
},
|
||||
{
|
||||
"test": "__main__.RequiredBehavior.test_unknown_tool_returns_protocol_error",
|
||||
"status": "FAIL",
|
||||
"detail": "Traceback (most recent call last):\n File \"tests\\test_validation.py\", line 185, in test_unknown_tool_returns_protocol_error\n self.assertIn('error', r, r)\nAssertionError: 'error' not found in {'jsonrpc': '2.0', 'id': 1, 'result': {'content': [{'type': 'text', 'text': '{\"ok\": false, \"error\": \"unknown tool unknown\"}'}]}} : {'jsonrpc': '2.0', 'id': 1, 'result': {'content': [{'type': 'text', 'text': '{\"ok\": false, \"error\": \"unknown tool unknown\"}'}]}}\n"
|
||||
},
|
||||
{
|
||||
"test": "__main__.RequiredBehavior.test_wait_timeout_honored",
|
||||
"status": "FAIL",
|
||||
"detail": "Traceback (most recent call last):\n File \"tests\\test_validation.py\", line 169, in test_wait_timeout_honored\n self.assertLessEqual(clock[0], 1.1, 'one-second deadline took %.1f seconds' % clock[0])\nAssertionError: 31.2 not less than or equal to 1.1 : one-second deadline took 31.2 seconds\n"
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,31 @@
|
||||
# Interception 输入改动
|
||||
|
||||
**2026-10-03 已撤销:Interception 驱动已卸载,系统过滤器恢复为 kbdclass/mouclass;驱动服务和系统驱动文件均已确认不存在。仓库已恢复上游输入实现。下文仅保留历史记录,不应再执行安装步骤。卸载需要重启才能完全生效。**
|
||||
|
||||
2026-10-02,基础提交 `a4b27f9`,AALC 固定提交 `7452fad5a45a0fadb59a753fafbf40434d987c19`。
|
||||
|
||||
已拉取最新仓库和 AALC 子模块。本地新增 Interception 驱动后端,MCP 直接输入和 `run_task` 子进程共享适配逻辑;AALC 的 `auto.init_input()` 重初始化后也保持使用此后端。
|
||||
|
||||
修改文件:
|
||||
|
||||
- `lc_mcp/physical_input.py`:上游 DLL 的 ctypes 接口、设备发现、发送结果检查、虚拟桌面坐标、游戏前台焦点确认、按键和按钮释放、AALC 输入绑定。
|
||||
- `lc_mcp/aalc_engine.py` 与 `lc_mcp/aalc_task.py`:在服务及任务进程中安装物理输入适配。
|
||||
- `scripts/install_interception.ps1`:固定上游 v1.0.1 包与 SHA256;支持 WhatIf;管理员安装驱动;不自动重启。
|
||||
- `tests/test_physical_input.py`:驱动 ABI、设备选择、发送失败、坐标、扩展键、释放、AALC 重初始化与 MCP 错误返回测试。
|
||||
- `README.md`:部署和输入行为说明。
|
||||
|
||||
所有鼠标点击、移动、拖拽、滚轮和按键均通过 Interception 的 `interception_send` 发送,每次发送一个 stroke,检查实际发送数量。驱动/DLL/键鼠不可用时失败,不回退到其他输入方式。中文等文字通过剪贴板加驱动 Ctrl+V 粘贴。
|
||||
|
||||
复用 AALC 的窗口客户区到桌面坐标转换;恢复并确认窗口焦点后再换算坐标。覆盖 AALC 输入初始化,同时保留输入锁、交互门、暂停与监控路径。没有修改 vendor/aalc 源码或 config.yaml。
|
||||
|
||||
验证:Python 3.12.14 完整 unittest discovery 共 32 项通过,编译检查与 git diff --check 通过。PowerShell 语法解析无错误,技能静态检查报告 safe=true。输入验证使用模拟驱动,没有发送真实游戏输入。
|
||||
|
||||
历史 v0.5 的两个本地测试脚本已保留为 `tests/validation_v05.py` 和 `tests/live_services_v05.py`,避免被新版 unittest 自动发现。旧报告和结果保留为历史记录。
|
||||
|
||||
本机安装状态:已从上游下载并校验 Interception v1.0.1,Windows 管理员安装器输出“Interception successfully installed. You must reboot for it to take effect.”。键盘和鼠标设备类 UpperFilters 已加入对应驱动。
|
||||
|
||||
安装日志:[lc-mcp-driver-install.log](D:/codex/tmp/lc-mcp-driver-install.log)。安装结果:[lc-mcp-driver-install-result.json](D:/codex/tmp/lc-mcp-driver-install-result.json)。
|
||||
|
||||
待环境步骤:重启 Windows 后驱动才会生效;实际游戏输入尚未验证。新仓库的 AALC 运行依赖需在其 Python >=3.12 环境准备好(README 的 uv sync 步骤);本次没有安装 AALC 的全部 GUI/OCR 依赖或启动常驻服务。正常服务会移动桌面光标并使用前台游戏窗口。
|
||||
|
||||
本地改动尚未提交或推送。
|
||||
@@ -0,0 +1,125 @@
|
||||
# Jev deployment and live mirror controller feedback (2026-10-03)
|
||||
|
||||
This is a live deployment record, not a completed speedrun claim. Run
|
||||
`mirror_20261003_142030` started at `2026-10-03T14:20:30.186+08:00`.
|
||||
The timer includes English UI compatibility work and all interruptions.
|
||||
|
||||
## Deployment
|
||||
|
||||
- Updated main from `97eca20` to `95ae060`, preserving local AALC files.
|
||||
- Restarted `LcMCPServer` and validated a fresh MCP session, screenshot/OCR,
|
||||
and idle AALC task state. The desktop's old exposed transport stayed closed;
|
||||
fresh subprocess MCP sessions work without another desktop restart.
|
||||
- The runtime launcher now imports the repository controller and matching
|
||||
modules instead of retaining an older independent script copy.
|
||||
- Configured the actual `jev-1.13-free` choice endpoint at
|
||||
`https://opencode.ai/zen/v1/systemone`. Credentials stay in private runtime
|
||||
configuration and are excluded from this repository and feedback.
|
||||
- An isolated identical route probe took 5468 ms with curl and 1859 ms with
|
||||
urllib. Switched the live configuration to urllib. Actual subsequent route
|
||||
calls included 1313 and 1484 ms; there are also slow requests and timeouts.
|
||||
The isolated probe is not counted as a live game decision.
|
||||
|
||||
## Live findings and repairs
|
||||
|
||||
1. The restarted Steam game uses English labels. Added controller-side label
|
||||
compatibility for entry, gift selection, event choices, judgement and
|
||||
confirmation boundaries. Preserve the original OCR text for diagnostics.
|
||||
2. `Receive` incorrectly matched the old substring check for `REC`, causing
|
||||
unnecessary event advancement. Match the recording label exactly.
|
||||
3. English OCR merges adjacent `Very High` labels. Derive separate explicit
|
||||
rate spans; normalization is idempotent and does not invent a high rate
|
||||
where OCR only says low or normal.
|
||||
4. English event outcome text was offered as clickable choices. Exclude
|
||||
`check`, `gain` and E.G.O Gift description lines from event buttons.
|
||||
5. Repeated generic confirmation requests added API latency. Execute a sole
|
||||
validated confirmation directly. Route and branch choices still use Jev.
|
||||
6. Route and sinner API requests now contain current relevant observations,
|
||||
rather than unrelated entry, fusion and party setup requirements.
|
||||
7. Sinner candidates are constrained to the explicitly highest visible rate;
|
||||
explicit OCR rates precede ambiguous colour-only candidates. The log saves
|
||||
the provider's scored candidate scope. Zeros outside that scope represent
|
||||
constraints, not extra probabilities returned by the API.
|
||||
8. Initial candidate pruning caused a probability-set validation error. Fixed
|
||||
the adaptation between scoped provider probabilities and router validation,
|
||||
and added an integration regression test.
|
||||
9. An enabled Commence button initially competed with sinner selection, causing
|
||||
repeated selection. An enabled judgement button now takes priority.
|
||||
10. Enter sometimes fails on event judgement. Added the actual observed button
|
||||
as its mouse fallback. The original fallback list omitted judgement.
|
||||
11. A changing event video clock reset repeat detection. Ignore both colon and
|
||||
decimal clock formats when detecting unsuccessful confirmations.
|
||||
12. After combat, OCR read the map heading as `Exploring Floor` or
|
||||
`Exploring FloorT` without a valid digit. The old normalizer failed to mark
|
||||
this as a map, so P/Enter batches continued on the map for several minutes.
|
||||
Recognize the map heading independently of its floor number and retain
|
||||
the previously known floor. Added a regression against continuing battle.
|
||||
13. Shop OCR splits Enhance/Gifts and reads the skill panel as SkillsOwned.
|
||||
Normalize those labels and truncated Replace Outis's Skil.
|
||||
14. The keyword panel has a second Refresh button. Stock refresh now uses the
|
||||
leftmost validated Refresh, rather than overwriting it with keyword refresh.
|
||||
15. English skill payment uses Confirm instead of Purchase. Only offer payment
|
||||
after verifying the exact requested skill pair, with Enter and a mouse fallback.
|
||||
16. Full-screen OCR omitted the orange Purchased badge despite successful payment.
|
||||
This caused attempts to reopen the same skill slot. Added a small observed
|
||||
label template and a regression for both a bought and an empty slot.
|
||||
17. A sole validated skill option or stock refresh executes without an extra
|
||||
provider call. Store exit uses Enter, then the observed-button fallback.
|
||||
18. Added English server-error/Retry labels and Cost/resource reward anchors.
|
||||
A server-error modal excludes the reward buttons behind it.
|
||||
19. Added `show_game_background`, using SW_SHOWNOACTIVATE. Live recovery returned
|
||||
visible=true and foreground_changed=false after a hidden game restart.
|
||||
20. Code inspection showed AALC BackgroundInput.set_mouse_pos moves the actual
|
||||
system cursor. MCP background clicks and drags now send client mouse messages
|
||||
directly. Unity's title modal did not respond to messages alone; the deployed
|
||||
`window_move` mode aligns an invisible game window with the existing cursor,
|
||||
waits for input processing and restores position without activation.
|
||||
Closing the error modal and clicking TOUCH TO START both responded in the
|
||||
real game. Battle and title-drag completion with this new mode remain unverified.
|
||||
|
||||
## Progress verified so far
|
||||
|
||||
- Entry blessings: base 1, 3 and 10; no enhanced blessings.
|
||||
- Starter gifts: Barbed Lasso and Fluorescent Lamp.
|
||||
- Actual Battery and permitted Thunderbranch obtained.
|
||||
- Floor 1 pack: Nest, Workshop, and Technology, with Talisman Bundle in the
|
||||
displayed clear rewards. One pack refresh was used before finding it.
|
||||
- Kept the user's seven-character preset and used Enter to enter combat.
|
||||
- First battle completed, then two event nodes completed. At 15:27 the
|
||||
controller entered another battle using its P/Enter macro.
|
||||
- Floor 1 shop: actual Thunderbranch++ verified after payments of 75 and 150
|
||||
(balance 590 -> 515 -> 365). Actual Outis 2->3 verified after paying 75
|
||||
(balance 365 -> 290 and visible Purchased badge).
|
||||
- No final reward or dungeon completion has been verified in this record.
|
||||
The preceding interruptions do not qualify as a successful fast run.
|
||||
|
||||
The controller sends background game inputs. There is one game executor;
|
||||
root interventions occur only after it hands off or stops. Battle batches
|
||||
use P/Enter, and deterministic confirmations and event advancement avoid
|
||||
per-key model decisions. Each action and timing remains in the private
|
||||
runtime JSONL log; no provider key is written into it.
|
||||
|
||||
## Connection failure and recovery boundary
|
||||
|
||||
- At the next Floor 1 post-combat reward, repeated CONNECTING and server-error
|
||||
retries prevented further progress. The controller handed off at 16:13:42.
|
||||
- Restarted the client without resetting `mirror_20261003_142030`, its timer or
|
||||
the verified inventory flags. Saved the pre-restart run/context privately.
|
||||
- The title login still failed after restart and a further actual button retry.
|
||||
Player.log reports: `Curl error 35: Cert verify failed` and
|
||||
`UnityTls error code: 7`. This is an observed failure, not a proven root cause.
|
||||
- The game's proxy log identifies www.limbuscompanyapi.com. Independent HTTPS
|
||||
probes using the existing local proxy and direct connection both timed out
|
||||
after 10 seconds. No game API response or restored dungeon was verified.
|
||||
- At 16:48 the game was still showing its login server-error modal. The mirror
|
||||
controller remains stopped; no new dungeon or reward claim was fabricated.
|
||||
The user was asked whether they can restore a successful game login.
|
||||
- Validation: 171 unit/regression tests passed in 11.297 seconds. Live evidence
|
||||
covers title-modal input and no-activation window recovery, not a completed run.
|
||||
- Credentials, proxy configuration, full screenshots with account identifiers,
|
||||
and untracked AALC changes are excluded from this upload.
|
||||
- `mirror_20261003_142030-actions.jsonl` contains the real current-run action
|
||||
choices, engine attribution, probabilities and timings. Raw OCR, screenshots,
|
||||
private configuration and arbitrary action arguments are omitted. Test-run
|
||||
records and other runs are excluded; controller step numbers can restart
|
||||
after a resume and are not a unique action identifier.
|
||||
@@ -0,0 +1,500 @@
|
||||
{"run_id": "mirror_20261003_142030", "step": 0, "choice": "wait", "at": "2026-10-03T14:35:07", "finished_at": "2026-10-03T14:35:08", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1328, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 1, "choice": "wait", "at": "2026-10-03T14:35:10", "finished_at": "2026-10-03T14:35:10", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1156, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 2, "choice": "wait", "at": "2026-10-03T14:35:12", "finished_at": "2026-10-03T14:35:13", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1219, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 3, "choice": "wait", "at": "2026-10-03T14:35:14", "finished_at": "2026-10-03T14:35:15", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1140, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 4, "choice": "wait", "at": "2026-10-03T14:35:17", "finished_at": "2026-10-03T14:35:17", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1234, "action_ms": 687, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 5, "choice": "requires_analysis", "at": "2026-10-03T14:35:30", "state": "requires_analysis", "decision_engine": "jev", "jev_ms": 11078, "decision_ms": 11078, "ocr_ms": 1156, "confidence": 0.18, "probabilities": {"requires_analysis": 0.59, "wait": 0.41}, "model": "jev-1.13-free", "action_tool": "requires_analysis"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 0, "choice": "event_advance", "at": "2026-10-03T14:36:33", "finished_at": "2026-10-03T14:36:34", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1391, "action_ms": 1828, "action_tool": "advance_dialog"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 1, "choice": "event_advance", "at": "2026-10-03T14:36:37", "finished_at": "2026-10-03T14:36:38", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1781, "action_ms": 1907, "action_tool": "advance_dialog"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 2, "choice": "wait", "at": "2026-10-03T14:36:40", "finished_at": "2026-10-03T14:36:41", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1172, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 3, "choice": "wait", "at": "2026-10-03T14:36:42", "finished_at": "2026-10-03T14:36:43", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 906, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 4, "choice": "wait", "at": "2026-10-03T14:36:45", "finished_at": "2026-10-03T14:36:45", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1531, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 5, "choice": "wait", "at": "2026-10-03T14:36:47", "finished_at": "2026-10-03T14:36:48", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1422, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 6, "choice": "wait", "at": "2026-10-03T14:36:50", "finished_at": "2026-10-03T14:36:50", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1172, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 7, "choice": "requires_analysis", "at": "2026-10-03T14:37:05", "state": "requires_analysis", "decision_engine": "jev", "jev_ms": 12750, "decision_ms": 12750, "ocr_ms": 1359, "confidence": 0.1, "probabilities": {"requires_analysis": 0.55, "wait": 0.45}, "model": "jev-1.13-free", "action_tool": "requires_analysis"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 0, "choice": "select_startup_battery", "at": "2026-10-03T14:41:42", "finished_at": "2026-10-03T14:41:43", "state": "running", "decision_engine": "jev", "jev_ms": 1828, "decision_ms": 1828, "ocr_ms": 2531, "action_ms": 297, "confidence": 0.84, "probabilities": {"requires_analysis": 0, "select_startup_battery": 0.9, "wait": 0.1}, "model": "jev-1.13-free", "action_tool": "click"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 1, "at": "2026-10-03T14:42:00", "state": "requires_decision", "decision_engine": "executor", "ocr_ms": 2282}
|
||||
{"run_id": "mirror_20261003_142030", "step": 0, "choice": "confirm_startup_battery", "at": "2026-10-03T14:44:20", "finished_at": "2026-10-03T14:44:20", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1859, "action_ms": 281, "action_tool": "click"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 1, "choice": "wait", "at": "2026-10-03T14:44:23", "finished_at": "2026-10-03T14:44:24", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 2750, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 2, "choice": "modal_confirm", "at": "2026-10-03T14:44:26", "finished_at": "2026-10-03T14:44:26", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1688, "action_ms": 156, "action_tool": "keypress"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 3, "choice": "requires_analysis", "at": "2026-10-03T14:44:34", "state": "requires_analysis", "decision_engine": "jev", "jev_ms": 5656, "decision_ms": 5656, "ocr_ms": 1359, "confidence": 0.5, "probabilities": {"wait": 0.14, "route_d": 0.07, "requires_analysis": 0.6, "route_s": 0.05, "route_w": 0.14}, "model": "jev-1.13-free", "action_tool": "requires_analysis"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 0, "choice": "wait", "at": "2026-10-03T14:48:06", "finished_at": "2026-10-03T14:48:06", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 2625, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 1, "choice": "wait", "at": "2026-10-03T14:48:09", "finished_at": "2026-10-03T14:48:10", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 2640, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 2, "choice": "wait", "at": "2026-10-03T14:48:13", "finished_at": "2026-10-03T14:48:14", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 2500, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 3, "choice": "requires_analysis", "at": "2026-10-03T14:48:19", "state": "requires_analysis", "decision_engine": "jev", "jev_ms": 2797, "decision_ms": 2797, "ocr_ms": 2453, "confidence": 0.09, "probabilities": {"wait": 0.45, "requires_analysis": 0.55}, "model": "jev-1.13-free", "action_tool": "requires_analysis"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 0, "choice": "button_71", "at": "2026-10-03T14:50:09", "finished_at": "2026-10-03T14:50:09", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 2359, "action_ms": 157, "action_tool": "keypress"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 1, "choice": "wait", "at": "2026-10-03T14:50:12", "finished_at": "2026-10-03T14:50:13", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 2766, "action_ms": 687, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 2, "choice": "wait", "at": "2026-10-03T14:50:16", "finished_at": "2026-10-03T14:50:17", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 2859, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 3, "choice": "wait", "at": "2026-10-03T14:50:20", "finished_at": "2026-10-03T14:50:20", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 2703, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 4, "choice": "wait", "at": "2026-10-03T14:50:23", "finished_at": "2026-10-03T14:50:24", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 2578, "action_ms": 704, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 5, "choice": "wait", "at": "2026-10-03T14:50:27", "finished_at": "2026-10-03T14:50:28", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 2578, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 6, "choice": "wait", "at": "2026-10-03T14:50:31", "finished_at": "2026-10-03T14:50:32", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 2797, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 7, "choice": "wait", "at": "2026-10-03T14:50:35", "finished_at": "2026-10-03T14:50:35", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 2843, "action_ms": 704, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 8, "choice": "wait", "at": "2026-10-03T14:50:38", "finished_at": "2026-10-03T14:50:39", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 2609, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 9, "choice": "wait", "at": "2026-10-03T14:50:42", "finished_at": "2026-10-03T14:50:43", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 2563, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 10, "choice": "wait", "at": "2026-10-03T14:50:46", "finished_at": "2026-10-03T14:50:46", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 2453, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 11, "choice": "wait", "at": "2026-10-03T14:50:49", "finished_at": "2026-10-03T14:50:50", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 2547, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 12, "choice": "wait", "at": "2026-10-03T14:50:55", "finished_at": "2026-10-03T14:50:55", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 4437, "action_ms": 688, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 13, "choice": "battle", "at": "2026-10-03T14:50:57", "finished_at": "2026-10-03T14:51:44", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1672, "action_ms": 46469, "action_tool": "battle"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 14, "choice": "battle", "at": "2026-10-03T14:51:46", "finished_at": "2026-10-03T14:52:31", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1359, "action_ms": 45641, "action_tool": "battle"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 15, "choice": "battle", "at": "2026-10-03T14:52:33", "finished_at": "2026-10-03T14:53:04", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 875, "action_ms": 31328, "action_tool": "battle"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 16, "at": "2026-10-03T14:53:20", "state": "requires_decision", "decision_engine": "executor", "ocr_ms": 1172}
|
||||
{"run_id": "mirror_20261003_142030", "step": 0, "choice": "skip_dialog", "at": "2026-10-03T14:57:30", "finished_at": "2026-10-03T14:57:30", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1609, "action_ms": 282, "action_tool": "click"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 1, "choice": "wait", "at": "2026-10-03T14:57:32", "finished_at": "2026-10-03T14:57:32", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1344, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 2, "choice": "event_advance", "at": "2026-10-03T14:57:35", "finished_at": "2026-10-03T14:57:36", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1766, "action_ms": 1829, "action_tool": "advance_dialog"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 3, "choice": "event_advance", "at": "2026-10-03T14:57:38", "finished_at": "2026-10-03T14:57:40", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1297, "action_ms": 1844, "action_tool": "advance_dialog"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 4, "choice": "wait", "at": "2026-10-03T14:57:42", "finished_at": "2026-10-03T14:57:42", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1375, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 5, "choice": "event_advance", "at": "2026-10-03T14:57:44", "finished_at": "2026-10-03T14:57:46", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1282, "action_ms": 1828, "action_tool": "advance_dialog"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 6, "choice": "event_advance", "at": "2026-10-03T14:57:48", "finished_at": "2026-10-03T14:57:49", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1265, "action_ms": 1812, "action_tool": "advance_dialog"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 7, "choice": "wait", "at": "2026-10-03T14:57:51", "finished_at": "2026-10-03T14:57:52", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1281, "action_ms": 704, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 8, "choice": "wait", "at": "2026-10-03T14:57:53", "finished_at": "2026-10-03T14:57:54", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1297, "action_ms": 704, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 9, "choice": "wait", "at": "2026-10-03T14:57:56", "finished_at": "2026-10-03T14:57:56", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1266, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 10, "choice": "event_advance", "at": "2026-10-03T14:57:58", "finished_at": "2026-10-03T14:58:00", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1297, "action_ms": 1828, "action_tool": "advance_dialog"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 11, "choice": "wait", "at": "2026-10-03T14:58:02", "finished_at": "2026-10-03T14:58:02", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1281, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 12, "choice": "wait", "at": "2026-10-03T14:58:04", "finished_at": "2026-10-03T14:58:05", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1297, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 13, "choice": "wait", "at": "2026-10-03T14:58:06", "finished_at": "2026-10-03T14:58:07", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1250, "action_ms": 688, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 14, "choice": "wait", "at": "2026-10-03T14:58:09", "finished_at": "2026-10-03T14:58:09", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1281, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 15, "choice": "wait", "at": "2026-10-03T14:58:11", "finished_at": "2026-10-03T14:58:12", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1281, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 16, "choice": "requires_analysis", "at": "2026-10-03T14:58:27", "state": "requires_analysis", "decision_engine": "jev", "jev_ms": 13469, "decision_ms": 13469, "ocr_ms": 1282, "confidence": 0.42, "probabilities": {"wait": 0.29, "requires_analysis": 0.71}, "model": "jev-1.13-free", "action_tool": "requires_analysis"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 0, "choice": "event_3", "at": "2026-10-03T15:00:39", "finished_at": "2026-10-03T15:00:40", "state": "running", "decision_engine": "jev", "jev_ms": 3515, "decision_ms": 3515, "ocr_ms": 1344, "action_ms": 1594, "confidence": 0.62, "probabilities": {"wait": 0.03, "event_3": 0.7, "requires_analysis": 0.17, "event_7": 0.06, "event_scroll": 0.04}, "model": "jev-1.13-free", "action_tool": "click_text"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 1, "choice": "wait", "at": "2026-10-03T15:00:43", "finished_at": "2026-10-03T15:00:43", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1781, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 2, "choice": "event_finish", "at": "2026-10-03T15:00:45", "finished_at": "2026-10-03T15:00:47", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1187, "action_ms": 1828, "action_tool": "advance_dialog"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 3, "choice": "event_finish", "at": "2026-10-03T15:00:48", "finished_at": "2026-10-03T15:00:50", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1343, "action_ms": 1828, "action_tool": "advance_dialog"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 4, "choice": "event_finish", "at": "2026-10-03T15:00:52", "finished_at": "2026-10-03T15:00:54", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1328, "action_ms": 1828, "action_tool": "advance_dialog"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 5, "choice": "event_finish", "at": "2026-10-03T15:00:55", "finished_at": "2026-10-03T15:00:57", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1329, "action_ms": 1812, "action_tool": "advance_dialog"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 6, "choice": "event_finish", "at": "2026-10-03T15:00:59", "finished_at": "2026-10-03T15:01:01", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1329, "action_ms": 1828, "action_tool": "advance_dialog"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 7, "choice": "event_finish", "at": "2026-10-03T15:01:02", "finished_at": "2026-10-03T15:01:04", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1344, "action_ms": 1844, "action_tool": "advance_dialog"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 8, "choice": "event_finish", "at": "2026-10-03T15:01:06", "finished_at": "2026-10-03T15:01:08", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1391, "action_ms": 1828, "action_tool": "advance_dialog"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 9, "choice": "event_finish", "at": "2026-10-03T15:01:10", "finished_at": "2026-10-03T15:01:11", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1344, "action_ms": 1828, "action_tool": "advance_dialog"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 10, "choice": "event_finish", "at": "2026-10-03T15:01:13", "finished_at": "2026-10-03T15:01:15", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1344, "action_ms": 1828, "action_tool": "advance_dialog"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 11, "choice": "wait", "at": "2026-10-03T15:01:17", "finished_at": "2026-10-03T15:01:17", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1375, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 12, "choice": "wait", "at": "2026-10-03T15:01:19", "finished_at": "2026-10-03T15:01:20", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1375, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 13, "choice": "event_finish", "at": "2026-10-03T15:01:22", "finished_at": "2026-10-03T15:01:23", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1453, "action_ms": 1829, "action_tool": "advance_dialog"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 14, "choice": "event_finish", "at": "2026-10-03T15:01:25", "finished_at": "2026-10-03T15:01:27", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1109, "action_ms": 1813, "action_tool": "advance_dialog"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 15, "choice": "event_finish", "at": "2026-10-03T15:01:28", "finished_at": "2026-10-03T15:01:30", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1313, "action_ms": 1812, "action_tool": "advance_dialog"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 16, "choice": "wait", "at": "2026-10-03T15:01:32", "finished_at": "2026-10-03T15:01:33", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1406, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 17, "choice": "wait", "at": "2026-10-03T15:01:34", "finished_at": "2026-10-03T15:01:35", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1343, "action_ms": 704, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 18, "choice": "wait", "at": "2026-10-03T15:01:37", "finished_at": "2026-10-03T15:01:37", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1328, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 19, "choice": "wait", "at": "2026-10-03T15:01:39", "finished_at": "2026-10-03T15:01:40", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1344, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 20, "choice": "wait", "at": "2026-10-03T15:01:42", "finished_at": "2026-10-03T15:01:42", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1343, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 21, "choice": "requires_analysis", "at": "2026-10-03T15:01:49", "state": "requires_analysis", "decision_engine": "jev", "jev_ms": 4782, "decision_ms": 4782, "ocr_ms": 1312, "confidence": 0.29, "probabilities": {"wait": 0.35, "requires_analysis": 0.65}, "model": "jev-1.13-free", "action_tool": "requires_analysis"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 0, "choice": "event_finish", "at": "2026-10-03T15:02:40", "finished_at": "2026-10-03T15:02:42", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1391, "action_ms": 1828, "action_tool": "advance_dialog"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 1, "choice": "event_finish", "at": "2026-10-03T15:02:43", "finished_at": "2026-10-03T15:02:45", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1203, "action_ms": 1844, "action_tool": "advance_dialog"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 2, "choice": "event_finish", "at": "2026-10-03T15:02:47", "finished_at": "2026-10-03T15:02:48", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1188, "action_ms": 1829, "action_tool": "advance_dialog"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 3, "choice": "event_finish", "at": "2026-10-03T15:02:50", "finished_at": "2026-10-03T15:02:50", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1125, "action_ms": 296, "action_tool": "click"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 4, "choice": "wait", "at": "2026-10-03T15:02:52", "finished_at": "2026-10-03T15:02:52", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 937, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 5, "choice": "event_advance", "at": "2026-10-03T15:02:54", "finished_at": "2026-10-03T15:02:56", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1547, "action_ms": 1812, "action_tool": "advance_dialog"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 6, "choice": "event_advance", "at": "2026-10-03T15:02:58", "finished_at": "2026-10-03T15:02:59", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1250, "action_ms": 1828, "action_tool": "advance_dialog"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 7, "choice": "wait", "at": "2026-10-03T15:03:01", "finished_at": "2026-10-03T15:03:02", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1250, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 8, "choice": "wait", "at": "2026-10-03T15:03:03", "finished_at": "2026-10-03T15:03:04", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1297, "action_ms": 687, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 9, "choice": "wait", "at": "2026-10-03T15:03:06", "finished_at": "2026-10-03T15:03:07", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1265, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 10, "choice": "wait", "at": "2026-10-03T15:03:08", "finished_at": "2026-10-03T15:03:09", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1266, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 11, "choice": "wait", "at": "2026-10-03T15:03:10", "finished_at": "2026-10-03T15:03:11", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1266, "action_ms": 688, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 12, "choice": "event_advance", "at": "2026-10-03T15:03:13", "finished_at": "2026-10-03T15:03:15", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1234, "action_ms": 1828, "action_tool": "advance_dialog"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 13, "choice": "event_advance", "at": "2026-10-03T15:03:16", "finished_at": "2026-10-03T15:03:18", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1281, "action_ms": 1828, "action_tool": "advance_dialog"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 14, "choice": "wait", "at": "2026-10-03T15:03:20", "finished_at": "2026-10-03T15:03:21", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1313, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 15, "choice": "wait", "at": "2026-10-03T15:03:22", "finished_at": "2026-10-03T15:03:23", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1266, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 16, "choice": "wait", "at": "2026-10-03T15:03:25", "finished_at": "2026-10-03T15:03:25", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1516, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 17, "choice": "wait", "at": "2026-10-03T15:03:27", "finished_at": "2026-10-03T15:03:28", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1344, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 18, "choice": "event_advance", "at": "2026-10-03T15:03:30", "finished_at": "2026-10-03T15:03:32", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1640, "action_ms": 1812, "action_tool": "advance_dialog"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 19, "choice": "wait", "at": "2026-10-03T15:03:33", "finished_at": "2026-10-03T15:03:34", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1266, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 20, "choice": "event_advance", "at": "2026-10-03T15:03:36", "finished_at": "2026-10-03T15:03:38", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1297, "action_ms": 1828, "action_tool": "advance_dialog"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 21, "choice": "wait", "at": "2026-10-03T15:03:39", "finished_at": "2026-10-03T15:03:40", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1312, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 22, "choice": "wait", "at": "2026-10-03T15:03:42", "finished_at": "2026-10-03T15:03:42", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1281, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 23, "choice": "wait", "at": "2026-10-03T15:03:44", "finished_at": "2026-10-03T15:03:45", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1406, "action_ms": 704, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 24, "choice": "wait", "at": "2026-10-03T15:03:47", "finished_at": "2026-10-03T15:03:47", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1312, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 25, "choice": "wait", "at": "2026-10-03T15:03:49", "finished_at": "2026-10-03T15:03:50", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1265, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 26, "at": "2026-10-03T15:04:06", "state": "requires_decision", "decision_engine": "executor", "ocr_ms": 1266}
|
||||
{"run_id": "mirror_20261003_142030", "step": 0, "choice": "requires_analysis", "at": "2026-10-03T15:05:45", "state": "requires_analysis", "decision_engine": "jev", "jev_ms": 11375, "decision_ms": 11375, "ocr_ms": 1312, "confidence": 0.4, "probabilities": {"wait": 0.03, "sinner_card_3": 0.04, "sinner_card_11": 0.09, "sinner_18": 0.02, "sinner_card_10": 0.31, "sinner_card_5": 0.01, "sinner_19": 0.01, "sinner_20": 0.01, "requires_analysis": 0.48}, "model": "jev-1.13-free", "action_tool": "requires_analysis"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 0, "choice": "requires_analysis", "at": "2026-10-03T15:07:46", "state": "requires_analysis", "decision_engine": "jev", "jev_ms": 1609, "decision_ms": 1609, "ocr_ms": 1328, "confidence": 0.66, "probabilities": {"wait": 0.02, "sinner_20": 0.03, "sinner_card_11": 0.01, "sinner_card_3": 0.05, "sinner_19": 0.04, "sinner_card_5": 0.02, "sinner_card_10": 0.02, "requires_analysis": 0.7, "sinner_18": 0.11}, "model": "jev-1.13-free", "action_tool": "requires_analysis"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 0, "choice": "event_advance", "at": "2026-10-03T15:09:44", "finished_at": "2026-10-03T15:09:45", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1344, "action_ms": 1813, "action_tool": "advance_dialog"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 1, "choice": "event_advance", "at": "2026-10-03T15:09:47", "finished_at": "2026-10-03T15:09:49", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1360, "action_ms": 1828, "action_tool": "advance_dialog"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 2, "choice": "event_advance", "at": "2026-10-03T15:09:51", "finished_at": "2026-10-03T15:09:52", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1313, "action_ms": 1828, "action_tool": "advance_dialog"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 3, "choice": "event_advance", "at": "2026-10-03T15:09:54", "finished_at": "2026-10-03T15:09:56", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1328, "action_ms": 1828, "action_tool": "advance_dialog"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 4, "choice": "event_advance", "at": "2026-10-03T15:09:58", "finished_at": "2026-10-03T15:09:59", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1328, "action_ms": 1844, "action_tool": "advance_dialog"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 5, "choice": "event_advance", "at": "2026-10-03T15:10:01", "finished_at": "2026-10-03T15:10:03", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1375, "action_ms": 1828, "action_tool": "advance_dialog"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 6, "choice": "wait", "at": "2026-10-03T15:10:05", "finished_at": "2026-10-03T15:10:05", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1375, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 7, "choice": "event_advance", "at": "2026-10-03T15:10:08", "finished_at": "2026-10-03T15:10:09", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1797, "action_ms": 1828, "action_tool": "advance_dialog"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 8, "choice": "wait", "at": "2026-10-03T15:10:11", "finished_at": "2026-10-03T15:10:12", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1344, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 9, "choice": "event_advance", "at": "2026-10-03T15:10:13", "finished_at": "2026-10-03T15:10:15", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1328, "action_ms": 1828, "action_tool": "advance_dialog"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 10, "choice": "wait", "at": "2026-10-03T15:10:17", "finished_at": "2026-10-03T15:10:18", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1313, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 11, "choice": "event_advance", "at": "2026-10-03T15:10:19", "finished_at": "2026-10-03T15:10:21", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1328, "action_ms": 1829, "action_tool": "advance_dialog"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 12, "choice": "wait", "at": "2026-10-03T15:10:23", "finished_at": "2026-10-03T15:10:24", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1328, "action_ms": 704, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 13, "choice": "wait", "at": "2026-10-03T15:10:25", "finished_at": "2026-10-03T15:10:26", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1359, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 14, "choice": "wait", "at": "2026-10-03T15:10:28", "finished_at": "2026-10-03T15:10:28", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1312, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 15, "choice": "wait", "at": "2026-10-03T15:10:30", "finished_at": "2026-10-03T15:10:31", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1328, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 16, "choice": "wait", "at": "2026-10-03T15:10:32", "finished_at": "2026-10-03T15:10:33", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1359, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 17, "choice": "requires_analysis", "at": "2026-10-03T15:10:36", "state": "requires_analysis", "decision_engine": "jev", "jev_ms": 1250, "decision_ms": 1250, "ocr_ms": 1328, "confidence": 0.07, "probabilities": {"requires_analysis": 0.54, "wait": 0.46}, "model": "jev-1.13-free", "action_tool": "requires_analysis"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 0, "choice": "button_18", "at": "2026-10-03T15:12:08", "finished_at": "2026-10-03T15:12:08", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1406, "action_ms": 282, "action_tool": "click"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 1, "choice": "wait", "at": "2026-10-03T15:12:10", "finished_at": "2026-10-03T15:12:11", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1203, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 2, "choice": "event_advance", "at": "2026-10-03T15:12:13", "finished_at": "2026-10-03T15:12:15", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1656, "action_ms": 1828, "action_tool": "advance_dialog"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 3, "choice": "event_advance", "at": "2026-10-03T15:12:17", "finished_at": "2026-10-03T15:12:19", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1922, "action_ms": 1828, "action_tool": "advance_dialog"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 4, "choice": "event_advance", "at": "2026-10-03T15:12:21", "finished_at": "2026-10-03T15:12:22", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1672, "action_ms": 1828, "action_tool": "advance_dialog"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 5, "choice": "event_advance", "at": "2026-10-03T15:12:24", "finished_at": "2026-10-03T15:12:26", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1312, "action_ms": 1813, "action_tool": "advance_dialog"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 6, "choice": "event_advance", "at": "2026-10-03T15:12:28", "finished_at": "2026-10-03T15:12:30", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1844, "action_ms": 1828, "action_tool": "advance_dialog"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 7, "choice": "event_advance", "at": "2026-10-03T15:12:32", "finished_at": "2026-10-03T15:12:34", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1360, "action_ms": 1828, "action_tool": "advance_dialog"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 8, "choice": "event_advance", "at": "2026-10-03T15:12:36", "finished_at": "2026-10-03T15:12:38", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1968, "action_ms": 1829, "action_tool": "advance_dialog"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 9, "choice": "event_advance", "at": "2026-10-03T15:12:39", "finished_at": "2026-10-03T15:12:40", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1312, "action_ms": 281, "action_tool": "click"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 10, "choice": "modal_confirm", "at": "2026-10-03T15:12:42", "finished_at": "2026-10-03T15:12:42", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1625, "action_ms": 157, "action_tool": "keypress"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 11, "choice": "route_d", "at": "2026-10-03T15:12:45", "finished_at": "2026-10-03T15:12:47", "state": "running", "decision_engine": "jev", "jev_ms": 1313, "decision_ms": 1313, "ocr_ms": 1297, "action_ms": 1547, "confidence": 0.99, "probabilities": {"requires_analysis": 0, "wait": 0, "route_d": 1, "route_w": 0}, "model": "jev-1.13-free", "action_tool": "route"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 12, "choice": "skip_dialog", "at": "2026-10-03T15:12:48", "finished_at": "2026-10-03T15:12:48", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 891, "action_ms": 281, "action_tool": "click"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 13, "choice": "wait", "at": "2026-10-03T15:12:50", "finished_at": "2026-10-03T15:12:51", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1625, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 14, "choice": "event_4", "at": "2026-10-03T15:12:56", "finished_at": "2026-10-03T15:12:58", "state": "running", "decision_engine": "jev", "jev_ms": 2547, "decision_ms": 2547, "ocr_ms": 1843, "action_ms": 2156, "confidence": 0.24, "probabilities": {"event_1": 0.32, "requires_analysis": 0.17, "event_scroll": 0.05, "wait": 0.06, "event_4": 0.4}, "model": "jev-1.13-free", "action_tool": "click_text"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 15, "choice": "event_finish", "at": "2026-10-03T15:12:59", "finished_at": "2026-10-03T15:13:01", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1406, "action_ms": 1829, "action_tool": "advance_dialog"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 16, "choice": "event_finish", "at": "2026-10-03T15:13:03", "finished_at": "2026-10-03T15:13:05", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1703, "action_ms": 1828, "action_tool": "advance_dialog"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 17, "choice": "event_finish", "at": "2026-10-03T15:13:07", "finished_at": "2026-10-03T15:13:09", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1328, "action_ms": 1828, "action_tool": "advance_dialog"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 18, "choice": "event_finish", "at": "2026-10-03T15:13:10", "finished_at": "2026-10-03T15:13:11", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1250, "action_ms": 297, "action_tool": "click"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 19, "choice": "wait", "at": "2026-10-03T15:13:12", "finished_at": "2026-10-03T15:13:13", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 828, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 20, "choice": "wait", "at": "2026-10-03T15:13:14", "finished_at": "2026-10-03T15:13:15", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 984, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 21, "choice": "wait", "at": "2026-10-03T15:13:16", "finished_at": "2026-10-03T15:13:17", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 813, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 22, "choice": "wait", "at": "2026-10-03T15:13:18", "finished_at": "2026-10-03T15:13:18", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 797, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 23, "choice": "wait", "at": "2026-10-03T15:13:20", "finished_at": "2026-10-03T15:13:20", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 797, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 24, "choice": "wait", "at": "2026-10-03T15:13:22", "finished_at": "2026-10-03T15:13:22", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 875, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 25, "choice": "requires_analysis", "at": "2026-10-03T15:13:25", "state": "requires_analysis", "decision_engine": "jev", "jev_ms": 1172, "decision_ms": 1172, "ocr_ms": 766, "confidence": 0.37, "probabilities": {"wait": 0.31, "requires_analysis": 0.69}, "model": "jev-1.13-free", "action_tool": "requires_analysis"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 0, "choice": "event_advance", "at": "2026-10-03T15:14:13", "finished_at": "2026-10-03T15:14:13", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 828, "action_ms": 719, "action_tool": "advance_dialog"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 1, "choice": "requires_analysis", "at": "2026-10-03T15:14:17", "state": "requires_analysis", "decision_engine": "jev", "jev_ms": 1484, "decision_ms": 1484, "ocr_ms": 1531, "confidence": 0.42, "probabilities": {"sinner_16": 0.04, "wait": 0, "sinner_12": 0.04, "sinner_9": 0.37, "requires_analysis": 0.52, "sinner_13": 0.03}, "model": "jev-1.13-free", "action_tool": "requires_analysis"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 0, "at": "2026-10-03T15:16:07", "state": "requires_decision", "decision_engine": "executor", "ocr_ms": 1531}
|
||||
{"run_id": "mirror_20261003_142030", "step": 0, "choice": "sinner_10", "at": "2026-10-03T15:19:29", "finished_at": "2026-10-03T15:19:29", "state": "running", "decision_engine": "jev", "jev_ms": 1719, "decision_ms": 1719, "ocr_ms": 1469, "action_ms": 296, "confidence": 0.54, "probabilities": {"requires_analysis": 0, "wait": 0, "sinner_10": 0.65, "sinner_14": 0.1, "sinner_15": 0.12, "sinner_18": 0.13}, "model": "jev-1.13-free", "provider_candidate_scope": ["sinner_10", "sinner_14", "sinner_15", "sinner_18"], "action_tool": "click"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 1, "choice": "sinner_15", "at": "2026-10-03T15:19:32", "finished_at": "2026-10-03T15:19:33", "state": "running", "decision_engine": "jev", "jev_ms": 1156, "decision_ms": 1156, "ocr_ms": 1594, "action_ms": 297, "confidence": 0.54, "probabilities": {"requires_analysis": 0, "wait": 0, "button_20": 0, "sinner_15": 0.69, "sinner_16": 0.21, "sinner_19": 0.1}, "model": "jev-1.13-free", "provider_candidate_scope": ["sinner_15", "sinner_16", "sinner_19"], "action_tool": "click"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 2, "choice": "sinner_10", "at": "2026-10-03T15:19:36", "finished_at": "2026-10-03T15:19:36", "state": "running", "decision_engine": "jev", "jev_ms": 1359, "decision_ms": 1359, "ocr_ms": 1687, "action_ms": 297, "confidence": 0.65, "probabilities": {"requires_analysis": 0, "wait": 0, "button_18": 0, "sinner_10": 0.77, "sinner_14": 0.14, "sinner_17": 0.09}, "model": "jev-1.13-free", "provider_candidate_scope": ["sinner_10", "sinner_14", "sinner_17"], "action_tool": "click"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 3, "choice": "sinner_15", "at": "2026-10-03T15:19:40", "finished_at": "2026-10-03T15:19:41", "state": "running", "decision_engine": "jev", "jev_ms": 1907, "decision_ms": 1907, "ocr_ms": 1672, "action_ms": 281, "confidence": 0.53, "probabilities": {"requires_analysis": 0, "wait": 0, "button_20": 0, "sinner_15": 0.69, "sinner_16": 0.14, "sinner_19": 0.17}, "model": "jev-1.13-free", "provider_candidate_scope": ["sinner_15", "sinner_16", "sinner_19"], "action_tool": "click"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 4, "choice": "sinner_10", "at": "2026-10-03T15:19:44", "finished_at": "2026-10-03T15:19:44", "state": "running", "decision_engine": "jev", "jev_ms": 1234, "decision_ms": 1234, "ocr_ms": 1750, "action_ms": 297, "confidence": 0.68, "probabilities": {"requires_analysis": 0, "wait": 0, "button_18": 0, "sinner_10": 0.79, "sinner_14": 0.13, "sinner_17": 0.08}, "model": "jev-1.13-free", "provider_candidate_scope": ["sinner_10", "sinner_14", "sinner_17"], "action_tool": "click"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 5, "choice": "sinner_15", "at": "2026-10-03T15:19:48", "finished_at": "2026-10-03T15:19:48", "state": "running", "decision_engine": "jev", "jev_ms": 1140, "decision_ms": 1140, "ocr_ms": 1546, "action_ms": 297, "confidence": 0.53, "probabilities": {"requires_analysis": 0, "wait": 0, "button_20": 0, "sinner_15": 0.69, "sinner_16": 0.16, "sinner_19": 0.15}, "model": "jev-1.13-free", "provider_candidate_scope": ["sinner_15", "sinner_16", "sinner_19"], "action_tool": "click"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 6, "choice": "sinner_10", "at": "2026-10-03T15:19:52", "finished_at": "2026-10-03T15:19:52", "state": "running", "decision_engine": "jev", "jev_ms": 2110, "decision_ms": 2110, "ocr_ms": 1391, "action_ms": 297, "confidence": 0.65, "probabilities": {"requires_analysis": 0, "wait": 0, "button_18": 0, "sinner_10": 0.77, "sinner_14": 0.14, "sinner_17": 0.09}, "model": "jev-1.13-free", "provider_candidate_scope": ["sinner_10", "sinner_14", "sinner_17"], "action_tool": "click"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 7, "choice": "sinner_15", "at": "2026-10-03T15:19:55", "finished_at": "2026-10-03T15:19:56", "state": "running", "decision_engine": "jev", "jev_ms": 1265, "decision_ms": 1265, "ocr_ms": 1563, "action_ms": 282, "confidence": 0.58, "probabilities": {"requires_analysis": 0, "wait": 0, "button_20": 0, "sinner_15": 0.72, "sinner_16": 0.16, "sinner_19": 0.12}, "model": "jev-1.13-free", "provider_candidate_scope": ["sinner_15", "sinner_16", "sinner_19"], "action_tool": "click"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 8, "choice": "sinner_10", "at": "2026-10-03T15:19:59", "finished_at": "2026-10-03T15:19:59", "state": "running", "decision_engine": "jev", "jev_ms": 1109, "decision_ms": 1109, "ocr_ms": 1328, "action_ms": 297, "confidence": 0.72, "probabilities": {"requires_analysis": 0, "wait": 0, "button_18": 0, "sinner_10": 0.81, "sinner_14": 0.12, "sinner_17": 0.07}, "model": "jev-1.13-free", "provider_candidate_scope": ["sinner_10", "sinner_14", "sinner_17"], "action_tool": "click"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 9, "choice": "sinner_15", "at": "2026-10-03T15:20:02", "finished_at": "2026-10-03T15:20:03", "state": "running", "decision_engine": "jev", "jev_ms": 1328, "decision_ms": 1328, "ocr_ms": 1625, "action_ms": 313, "confidence": 0.55, "probabilities": {"requires_analysis": 0, "wait": 0, "button_20": 0, "sinner_15": 0.71, "sinner_16": 0.17, "sinner_19": 0.12}, "model": "jev-1.13-free", "provider_candidate_scope": ["sinner_15", "sinner_16", "sinner_19"], "action_tool": "click"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 10, "choice": "sinner_10", "at": "2026-10-03T15:20:13", "finished_at": "2026-10-03T15:20:14", "state": "running", "decision_engine": "jev", "jev_ms": 8922, "decision_ms": 8922, "ocr_ms": 1359, "action_ms": 296, "confidence": 0.64, "probabilities": {"requires_analysis": 0, "wait": 0, "button_18": 0, "sinner_10": 0.76, "sinner_14": 0.14, "sinner_17": 0.1}, "model": "jev-1.13-free", "provider_candidate_scope": ["sinner_10", "sinner_14", "sinner_17"], "action_tool": "click"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 11, "choice": "sinner_16", "at": "2026-10-03T15:20:18", "finished_at": "2026-10-03T15:20:18", "state": "running", "decision_engine": "jev", "jev_ms": 2125, "decision_ms": 2125, "ocr_ms": 1594, "action_ms": 281, "confidence": 0.4, "probabilities": {"requires_analysis": 0, "wait": 0, "button_20": 0, "sinner_16": 0.7, "sinner_19": 0.3}, "model": "jev-1.13-free", "provider_candidate_scope": ["sinner_16", "sinner_19"], "action_tool": "click"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 12, "choice": "sinner_12", "at": "2026-10-03T15:20:21", "finished_at": "2026-10-03T15:20:22", "state": "running", "decision_engine": "jev", "jev_ms": 1109, "decision_ms": 1109, "ocr_ms": 1797, "action_ms": 282, "confidence": 0.72, "probabilities": {"requires_analysis": 0, "wait": 0, "button_21": 0, "sinner_12": 0.8, "sinner_14": 0.11, "sinner_18": 0.03, "sinner_20": 0.06}, "model": "jev-1.13-free", "provider_candidate_scope": ["sinner_12", "sinner_14", "sinner_18", "sinner_20"], "action_tool": "click"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 13, "choice": "sinner_15", "at": "2026-10-03T15:20:25", "finished_at": "2026-10-03T15:20:25", "state": "running", "decision_engine": "jev", "jev_ms": 1375, "decision_ms": 1375, "ocr_ms": 1562, "action_ms": 297, "confidence": 0.56, "probabilities": {"requires_analysis": 0, "wait": 0, "button_20": 0, "sinner_15": 0.71, "sinner_16": 0.15, "sinner_19": 0.14}, "model": "jev-1.13-free", "provider_candidate_scope": ["sinner_15", "sinner_16", "sinner_19"], "action_tool": "click"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 14, "choice": "sinner_10", "at": "2026-10-03T15:20:28", "finished_at": "2026-10-03T15:20:29", "state": "running", "decision_engine": "jev", "jev_ms": 1281, "decision_ms": 1281, "ocr_ms": 1359, "action_ms": 281, "confidence": 0.66, "probabilities": {"requires_analysis": 0, "wait": 0, "button_18": 0, "sinner_10": 0.78, "sinner_14": 0.13, "sinner_17": 0.09}, "model": "jev-1.13-free", "provider_candidate_scope": ["sinner_10", "sinner_14", "sinner_17"], "action_tool": "click"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 15, "choice": "sinner_15", "at": "2026-10-03T15:20:46", "finished_at": "2026-10-03T15:20:46", "state": "running", "decision_engine": "jev", "jev_ms": 14875, "decision_ms": 14875, "ocr_ms": 1578, "action_ms": 297, "confidence": 0.57, "probabilities": {"requires_analysis": 0, "wait": 0, "button_20": 0, "sinner_15": 0.72, "sinner_16": 0.19, "sinner_19": 0.09}, "model": "jev-1.13-free", "provider_candidate_scope": ["sinner_15", "sinner_16", "sinner_19"], "action_tool": "click"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 16, "choice": "sinner_14", "at": "2026-10-03T15:20:49", "finished_at": "2026-10-03T15:20:49", "state": "running", "decision_engine": "jev", "jev_ms": 1109, "decision_ms": 1109, "ocr_ms": 1344, "action_ms": 297, "confidence": 0.47, "probabilities": {"requires_analysis": 0, "wait": 0, "button_18": 0, "sinner_14": 0.74, "sinner_17": 0.26}, "model": "jev-1.13-free", "provider_candidate_scope": ["sinner_14", "sinner_17"], "action_tool": "click"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 17, "choice": "sinner_12", "at": "2026-10-03T15:20:52", "finished_at": "2026-10-03T15:20:53", "state": "running", "decision_engine": "jev", "jev_ms": 1171, "decision_ms": 1171, "ocr_ms": 1703, "action_ms": 282, "confidence": 0.71, "probabilities": {"requires_analysis": 0, "wait": 0, "button_21": 0, "sinner_12": 0.79, "sinner_14": 0.13, "sinner_18": 0.03, "sinner_20": 0.05}, "model": "jev-1.13-free", "provider_candidate_scope": ["sinner_12", "sinner_14", "sinner_18", "sinner_20"], "action_tool": "click"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 18, "choice": "sinner_15", "at": "2026-10-03T15:21:04", "finished_at": "2026-10-03T15:21:04", "state": "running", "decision_engine": "jev", "jev_ms": 8875, "decision_ms": 8875, "ocr_ms": 1547, "action_ms": 282, "confidence": 0.59, "probabilities": {"requires_analysis": 0, "wait": 0, "button_20": 0, "sinner_15": 0.73, "sinner_16": 0.15, "sinner_19": 0.12}, "model": "jev-1.13-free", "provider_candidate_scope": ["sinner_15", "sinner_16", "sinner_19"], "action_tool": "click"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 19, "choice": "sinner_14", "at": "2026-10-03T15:21:07", "finished_at": "2026-10-03T15:21:07", "state": "running", "decision_engine": "jev", "jev_ms": 1156, "decision_ms": 1156, "ocr_ms": 1375, "action_ms": 297, "confidence": 0.45, "probabilities": {"requires_analysis": 0, "wait": 0, "button_18": 0, "sinner_14": 0.73, "sinner_17": 0.27}, "model": "jev-1.13-free", "provider_candidate_scope": ["sinner_14", "sinner_17"], "action_tool": "click"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 20, "choice": "sinner_12", "at": "2026-10-03T15:21:11", "finished_at": "2026-10-03T15:21:11", "state": "running", "decision_engine": "jev", "jev_ms": 1344, "decision_ms": 1344, "ocr_ms": 1672, "action_ms": 281, "confidence": 0.68, "probabilities": {"requires_analysis": 0, "wait": 0, "button_21": 0, "sinner_12": 0.75, "sinner_14": 0.15, "sinner_18": 0.04, "sinner_20": 0.06}, "model": "jev-1.13-free", "provider_candidate_scope": ["sinner_12", "sinner_14", "sinner_18", "sinner_20"], "action_tool": "click"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 21, "choice": "sinner_15", "at": "2026-10-03T15:21:14", "finished_at": "2026-10-03T15:21:14", "state": "running", "decision_engine": "jev", "jev_ms": 1093, "decision_ms": 1093, "ocr_ms": 1578, "action_ms": 297, "confidence": 0.6, "probabilities": {"requires_analysis": 0, "wait": 0, "button_20": 0, "sinner_15": 0.73, "sinner_16": 0.16, "sinner_19": 0.11}, "model": "jev-1.13-free", "provider_candidate_scope": ["sinner_15", "sinner_16", "sinner_19"], "action_tool": "click"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 22, "choice": "sinner_10", "at": "2026-10-03T15:21:17", "finished_at": "2026-10-03T15:21:18", "state": "running", "decision_engine": "jev", "jev_ms": 1188, "decision_ms": 1188, "ocr_ms": 1328, "action_ms": 297, "confidence": 0.67, "probabilities": {"requires_analysis": 0, "wait": 0, "button_18": 0, "sinner_10": 0.78, "sinner_14": 0.13, "sinner_17": 0.09}, "model": "jev-1.13-free", "provider_candidate_scope": ["sinner_10", "sinner_14", "sinner_17"], "action_tool": "click"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 23, "choice": "sinner_16", "at": "2026-10-03T15:21:21", "finished_at": "2026-10-03T15:21:21", "state": "running", "decision_engine": "jev", "jev_ms": 1219, "decision_ms": 1219, "ocr_ms": 1531, "action_ms": 281, "confidence": 0.47, "probabilities": {"requires_analysis": 0, "wait": 0, "button_20": 0, "sinner_16": 0.74, "sinner_19": 0.26}, "model": "jev-1.13-free", "provider_candidate_scope": ["sinner_16", "sinner_19"], "action_tool": "click"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 24, "choice": "sinner_12", "at": "2026-10-03T15:21:25", "finished_at": "2026-10-03T15:21:25", "state": "running", "decision_engine": "jev", "jev_ms": 1188, "decision_ms": 1188, "ocr_ms": 1735, "action_ms": 296, "confidence": 0.74, "probabilities": {"requires_analysis": 0, "wait": 0, "button_21": 0, "sinner_12": 0.81, "sinner_14": 0.11, "sinner_18": 0.02, "sinner_20": 0.06}, "model": "jev-1.13-free", "provider_candidate_scope": ["sinner_12", "sinner_14", "sinner_18", "sinner_20"], "action_tool": "click"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 25, "choice": "sinner_15", "at": "2026-10-03T15:21:28", "finished_at": "2026-10-03T15:21:29", "state": "running", "decision_engine": "jev", "jev_ms": 1594, "decision_ms": 1594, "ocr_ms": 1578, "action_ms": 281, "confidence": 0.57, "probabilities": {"requires_analysis": 0, "wait": 0, "button_20": 0, "sinner_15": 0.71, "sinner_16": 0.17, "sinner_19": 0.12}, "model": "jev-1.13-free", "provider_candidate_scope": ["sinner_15", "sinner_16", "sinner_19"], "action_tool": "click"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 26, "choice": "sinner_14", "at": "2026-10-03T15:21:32", "finished_at": "2026-10-03T15:21:32", "state": "running", "decision_engine": "jev", "jev_ms": 1250, "decision_ms": 1250, "ocr_ms": 1329, "action_ms": 297, "confidence": 0.46, "probabilities": {"requires_analysis": 0, "wait": 0, "button_18": 0, "sinner_14": 0.73, "sinner_17": 0.27}, "model": "jev-1.13-free", "provider_candidate_scope": ["sinner_14", "sinner_17"], "action_tool": "click"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 27, "choice": "sinner_12", "at": "2026-10-03T15:21:35", "finished_at": "2026-10-03T15:21:35", "state": "running", "decision_engine": "jev", "jev_ms": 1234, "decision_ms": 1234, "ocr_ms": 1437, "action_ms": 281, "confidence": 0.68, "probabilities": {"requires_analysis": 0, "wait": 0, "button_21": 0, "sinner_12": 0.76, "sinner_14": 0.13, "sinner_18": 0.04, "sinner_20": 0.07}, "model": "jev-1.13-free", "provider_candidate_scope": ["sinner_12", "sinner_14", "sinner_18", "sinner_20"], "action_tool": "click"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 28, "choice": "sinner_16", "at": "2026-10-03T15:21:39", "finished_at": "2026-10-03T15:21:39", "state": "running", "decision_engine": "jev", "jev_ms": 1609, "decision_ms": 1609, "ocr_ms": 1609, "action_ms": 281, "confidence": 0.45, "probabilities": {"requires_analysis": 0, "wait": 0, "button_20": 0, "sinner_16": 0.73, "sinner_19": 0.27}, "model": "jev-1.13-free", "provider_candidate_scope": ["sinner_16", "sinner_19"], "action_tool": "click"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 29, "choice": "sinner_14", "at": "2026-10-03T15:21:43", "finished_at": "2026-10-03T15:21:43", "state": "running", "decision_engine": "jev", "jev_ms": 1141, "decision_ms": 1141, "ocr_ms": 1625, "action_ms": 281, "confidence": 0.71, "probabilities": {"requires_analysis": 0, "wait": 0, "button_21": 0, "sinner_14": 0.81, "sinner_18": 0.1, "sinner_20": 0.09}, "model": "jev-1.13-free", "provider_candidate_scope": ["sinner_14", "sinner_18", "sinner_20"], "action_tool": "click"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 30, "choice": "sinner_14", "at": "2026-10-03T15:21:46", "finished_at": "2026-10-03T15:21:46", "state": "running", "decision_engine": "jev", "jev_ms": 1031, "decision_ms": 1031, "ocr_ms": 1359, "action_ms": 297, "confidence": 0.4, "probabilities": {"requires_analysis": 0, "wait": 0, "button_18": 0, "sinner_14": 0.7, "sinner_17": 0.3}, "model": "jev-1.13-free", "provider_candidate_scope": ["sinner_14", "sinner_17"], "action_tool": "click"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 31, "choice": "sinner_14", "at": "2026-10-03T15:21:49", "finished_at": "2026-10-03T15:21:50", "state": "running", "decision_engine": "jev", "jev_ms": 1219, "decision_ms": 1219, "ocr_ms": 1687, "action_ms": 281, "confidence": 0.73, "probabilities": {"requires_analysis": 0, "wait": 0, "button_21": 0, "sinner_14": 0.82, "sinner_18": 0.1, "sinner_20": 0.08}, "model": "jev-1.13-free", "provider_candidate_scope": ["sinner_14", "sinner_18", "sinner_20"], "action_tool": "click"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 32, "choice": "sinner_14", "at": "2026-10-03T15:21:53", "finished_at": "2026-10-03T15:21:53", "state": "running", "decision_engine": "jev", "jev_ms": 1031, "decision_ms": 1031, "ocr_ms": 1328, "action_ms": 297, "confidence": 0.45, "probabilities": {"requires_analysis": 0, "wait": 0, "button_18": 0, "sinner_14": 0.73, "sinner_17": 0.27}, "model": "jev-1.13-free", "provider_candidate_scope": ["sinner_14", "sinner_17"], "action_tool": "click"}
|
||||
{"run_id": "mirror_20261003_142030", "state": "stopped"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 0, "choice": "button_21", "at": "2026-10-03T15:22:18", "finished_at": "2026-10-03T15:22:18", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1640, "action_ms": 156, "action_tool": "keypress"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 1, "choice": "button_21", "at": "2026-10-03T15:22:20", "finished_at": "2026-10-03T15:22:20", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1641, "action_ms": 156, "action_tool": "keypress"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 2, "choice": "button_21", "at": "2026-10-03T15:22:22", "finished_at": "2026-10-03T15:22:22", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1406, "action_ms": 140, "action_tool": "keypress"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 3, "choice": "button_21", "at": "2026-10-03T15:22:24", "finished_at": "2026-10-03T15:22:24", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1625, "action_ms": 156, "action_tool": "keypress"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 4, "choice": "button_21", "at": "2026-10-03T15:22:27", "finished_at": "2026-10-03T15:22:27", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1656, "action_ms": 156, "action_tool": "keypress"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 5, "choice": "button_21", "at": "2026-10-03T15:22:29", "finished_at": "2026-10-03T15:22:29", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1406, "action_ms": 156, "action_tool": "keypress"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 6, "choice": "sinner_12", "at": "2026-10-03T15:22:32", "finished_at": "2026-10-03T15:22:33", "state": "running", "decision_engine": "jev", "jev_ms": 1594, "decision_ms": 1594, "ocr_ms": 1641, "action_ms": 281, "confidence": 0.77, "probabilities": {"requires_analysis": 0, "wait": 0, "sinner_12": 0.83, "sinner_14": 0.09, "sinner_18": 0.03, "sinner_20": 0.05}, "model": "jev-1.13-free", "provider_candidate_scope": ["sinner_12", "sinner_14", "sinner_18", "sinner_20"], "action_tool": "click"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 7, "choice": "button_20", "at": "2026-10-03T15:22:35", "finished_at": "2026-10-03T15:22:35", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1562, "action_ms": 156, "action_tool": "keypress"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 8, "choice": "button_20", "at": "2026-10-03T15:22:37", "finished_at": "2026-10-03T15:22:37", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1531, "action_ms": 157, "action_tool": "keypress"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 9, "choice": "button_20", "at": "2026-10-03T15:22:39", "finished_at": "2026-10-03T15:22:39", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1516, "action_ms": 156, "action_tool": "keypress"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 10, "choice": "sinner_15", "at": "2026-10-03T15:22:42", "finished_at": "2026-10-03T15:22:43", "state": "running", "decision_engine": "jev", "jev_ms": 1235, "decision_ms": 1235, "ocr_ms": 1532, "action_ms": 281, "confidence": 0.52, "probabilities": {"requires_analysis": 0, "wait": 0, "sinner_15": 0.68, "sinner_16": 0.17, "sinner_19": 0.15}, "model": "jev-1.13-free", "provider_candidate_scope": ["sinner_15", "sinner_16", "sinner_19"], "action_tool": "click"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 11, "choice": "button_18", "at": "2026-10-03T15:22:44", "finished_at": "2026-10-03T15:22:45", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1328, "action_ms": 156, "action_tool": "keypress"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 12, "choice": "button_18", "at": "2026-10-03T15:22:47", "finished_at": "2026-10-03T15:22:47", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1469, "action_ms": 156, "action_tool": "keypress"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 13, "choice": "button_18", "at": "2026-10-03T15:22:48", "finished_at": "2026-10-03T15:22:49", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1328, "action_ms": 157, "action_tool": "keypress"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 14, "choice": "button_18", "at": "2026-10-03T15:22:50", "finished_at": "2026-10-03T15:22:51", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1375, "action_ms": 172, "action_tool": "keypress"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 15, "choice": "button_18", "at": "2026-10-03T15:22:52", "finished_at": "2026-10-03T15:22:53", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1391, "action_ms": 172, "action_tool": "keypress"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 16, "choice": "button_18", "at": "2026-10-03T15:22:54", "finished_at": "2026-10-03T15:22:55", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1343, "action_ms": 156, "action_tool": "keypress"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 17, "choice": "button_18", "at": "2026-10-03T15:22:56", "finished_at": "2026-10-03T15:22:57", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1344, "action_ms": 156, "action_tool": "keypress"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 18, "choice": "sinner_10", "at": "2026-10-03T15:23:00", "finished_at": "2026-10-03T15:23:00", "state": "running", "decision_engine": "jev", "jev_ms": 1250, "decision_ms": 1250, "ocr_ms": 1328, "action_ms": 282, "confidence": 0.63, "probabilities": {"requires_analysis": 0, "wait": 0, "sinner_10": 0.75, "sinner_14": 0.14, "sinner_17": 0.11}, "model": "jev-1.13-free", "provider_candidate_scope": ["sinner_10", "sinner_14", "sinner_17"], "action_tool": "click"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 19, "at": "2026-10-03T15:23:16", "state": "requires_decision", "decision_engine": "executor", "ocr_ms": 1578}
|
||||
{"run_id": "mirror_20261003_142030", "step": 0, "choice": "button_20", "at": "2026-10-03T15:25:02", "finished_at": "2026-10-03T15:25:03", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1547, "action_ms": 172, "action_tool": "keypress"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 1, "choice": "button_20", "at": "2026-10-03T15:25:05", "finished_at": "2026-10-03T15:25:05", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1609, "action_ms": 156, "action_tool": "keypress"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 2, "choice": "button_20", "at": "2026-10-03T15:25:07", "finished_at": "2026-10-03T15:25:07", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1547, "action_ms": 297, "action_tool": "click"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 3, "choice": "wait", "at": "2026-10-03T15:25:09", "finished_at": "2026-10-03T15:25:09", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1219, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 4, "choice": "wait", "at": "2026-10-03T15:25:11", "finished_at": "2026-10-03T15:25:12", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1609, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 5, "choice": "skip_dialog", "at": "2026-10-03T15:25:14", "finished_at": "2026-10-03T15:25:15", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1984, "action_ms": 297, "action_tool": "click"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 6, "choice": "wait", "at": "2026-10-03T15:25:17", "finished_at": "2026-10-03T15:25:18", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1953, "action_ms": 704, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 7, "choice": "wait", "at": "2026-10-03T15:25:20", "finished_at": "2026-10-03T15:25:20", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1594, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 8, "choice": "wait", "at": "2026-10-03T15:25:22", "finished_at": "2026-10-03T15:25:23", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1594, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 9, "choice": "wait", "at": "2026-10-03T15:25:26", "finished_at": "2026-10-03T15:25:26", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 2094, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 10, "choice": "requires_analysis", "at": "2026-10-03T15:25:29", "state": "requires_analysis", "decision_engine": "jev", "jev_ms": 1282, "decision_ms": 1282, "ocr_ms": 1547, "confidence": 0.29, "probabilities": {"requires_analysis": 0.64, "wait": 0.36}, "model": "jev-1.13-free", "action_tool": "requires_analysis"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 0, "choice": "event_finish", "at": "2026-10-03T15:26:50", "finished_at": "2026-10-03T15:26:52", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1656, "action_ms": 1813, "action_tool": "advance_dialog"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 1, "choice": "event_finish", "at": "2026-10-03T15:26:54", "finished_at": "2026-10-03T15:26:56", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1437, "action_ms": 1828, "action_tool": "advance_dialog"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 2, "choice": "event_finish", "at": "2026-10-03T15:26:57", "finished_at": "2026-10-03T15:26:59", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1187, "action_ms": 1828, "action_tool": "advance_dialog"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 3, "choice": "event_finish", "at": "2026-10-03T15:27:01", "finished_at": "2026-10-03T15:27:01", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1312, "action_ms": 296, "action_tool": "click"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 4, "choice": "route_d", "at": "2026-10-03T15:27:04", "finished_at": "2026-10-03T15:27:06", "state": "running", "decision_engine": "jev", "jev_ms": 1484, "decision_ms": 1484, "ocr_ms": 1140, "action_ms": 1547, "confidence": 0.98, "probabilities": {"route_d": 0.98, "requires_analysis": 0.02, "wait": 0}, "model": "jev-1.13-free", "action_tool": "route"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 5, "choice": "button_72", "at": "2026-10-03T15:27:09", "finished_at": "2026-10-03T15:27:11", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 2828, "action_ms": 1813, "action_tool": "keypress"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 6, "choice": "battle", "at": "2026-10-03T15:27:12", "finished_at": "2026-10-03T15:27:58", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 765, "action_ms": 45640, "action_tool": "battle"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 7, "choice": "battle", "at": "2026-10-03T15:27:59", "finished_at": "2026-10-03T15:28:46", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1187, "action_ms": 46782, "action_tool": "battle"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 8, "choice": "battle", "at": "2026-10-03T15:28:48", "finished_at": "2026-10-03T15:29:33", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1047, "action_ms": 45813, "action_tool": "battle"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 9, "choice": "battle", "at": "2026-10-03T15:29:35", "finished_at": "2026-10-03T15:30:21", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1281, "action_ms": 46187, "action_tool": "battle"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 10, "choice": "battle", "at": "2026-10-03T15:30:23", "finished_at": "2026-10-03T15:31:09", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1062, "action_ms": 45906, "action_tool": "battle"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 11, "choice": "battle", "at": "2026-10-03T15:31:10", "finished_at": "2026-10-03T15:31:56", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1125, "action_ms": 45734, "action_tool": "battle"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 12, "choice": "battle", "at": "2026-10-03T15:31:58", "finished_at": "2026-10-03T15:32:46", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1109, "action_ms": 48172, "action_tool": "battle"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 13, "choice": "battle", "at": "2026-10-03T15:32:48", "finished_at": "2026-10-03T15:33:33", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1282, "action_ms": 45360, "action_tool": "battle"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 14, "choice": "battle", "at": "2026-10-03T15:33:34", "finished_at": "2026-10-03T15:34:20", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1110, "action_ms": 45125, "action_tool": "battle"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 15, "choice": "battle", "at": "2026-10-03T15:34:21", "finished_at": "2026-10-03T15:35:09", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1375, "action_ms": 47953, "action_tool": "battle"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 16, "choice": "battle", "at": "2026-10-03T15:35:11", "finished_at": "2026-10-03T15:35:58", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1313, "action_ms": 46734, "action_tool": "battle"}
|
||||
{"run_id": "mirror_20261003_142030", "state": "stopped"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 0, "choice": "route_d", "at": "2026-10-03T15:36:59", "finished_at": "2026-10-03T15:37:01", "state": "running", "decision_engine": "jev", "jev_ms": 1594, "decision_ms": 1594, "ocr_ms": 1500, "action_ms": 1547, "confidence": 1, "probabilities": {"wait": 0, "requires_analysis": 0, "route_d": 1}, "model": "jev-1.13-free", "action_tool": "route"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 1, "choice": "wait", "at": "2026-10-03T15:37:03", "finished_at": "2026-10-03T15:37:03", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1234, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 2, "choice": "wait", "at": "2026-10-03T15:37:05", "finished_at": "2026-10-03T15:37:06", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1703, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 3, "choice": "wait", "at": "2026-10-03T15:37:08", "finished_at": "2026-10-03T15:37:09", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1718, "action_ms": 704, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 4, "choice": "wait", "at": "2026-10-03T15:37:11", "finished_at": "2026-10-03T15:37:12", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1688, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 5, "choice": "requires_analysis", "at": "2026-10-03T15:37:15", "state": "requires_analysis", "decision_engine": "jev", "jev_ms": 1141, "decision_ms": 1141, "ocr_ms": 1719, "confidence": 0.3, "probabilities": {"wait": 0.35, "requires_analysis": 0.65}, "model": "jev-1.13-free", "action_tool": "requires_analysis"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 0, "choice": "swap_15", "at": "2026-10-03T15:44:16", "finished_at": "2026-10-03T15:44:16", "state": "running", "decision_engine": "jev", "jev_ms": 1234, "decision_ms": 1234, "ocr_ms": 1813, "action_ms": 281, "confidence": 0.62, "probabilities": {"wait": 0.03, "requires_analysis": 0.23, "swap_15": 0.74}, "model": "jev-1.13-free", "action_tool": "click"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 1, "choice": "confirm_32", "at": "2026-10-03T15:44:20", "finished_at": "2026-10-03T15:44:20", "state": "running", "decision_engine": "jev", "jev_ms": 1063, "decision_ms": 1063, "ocr_ms": 2156, "action_ms": 297, "confidence": 0.49, "probabilities": {"wait": 0.02, "requires_analysis": 0.32, "confirm_32": 0.66}, "model": "jev-1.13-free", "action_tool": "click"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 2, "choice": "confirm_33", "at": "2026-10-03T15:44:24", "finished_at": "2026-10-03T15:44:24", "state": "running", "decision_engine": "jev", "jev_ms": 1125, "decision_ms": 1125, "ocr_ms": 2140, "action_ms": 282, "confidence": 0.46, "probabilities": {"requires_analysis": 0.34, "confirm_33": 0.64, "wait": 0.02}, "model": "jev-1.13-free", "action_tool": "click"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 3, "choice": "confirm_33", "at": "2026-10-03T15:44:28", "finished_at": "2026-10-03T15:44:28", "state": "running", "decision_engine": "jev", "jev_ms": 1172, "decision_ms": 1172, "ocr_ms": 2063, "action_ms": 297, "confidence": 0.4, "probabilities": {"confirm_33": 0.6, "wait": 0.04, "requires_analysis": 0.36}, "model": "jev-1.13-free", "action_tool": "click"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 4, "choice": "wait", "at": "2026-10-03T15:44:31", "finished_at": "2026-10-03T15:44:31", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 2109, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 5, "choice": "wait", "at": "2026-10-03T15:44:34", "finished_at": "2026-10-03T15:44:34", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 2110, "action_ms": 704, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 6, "choice": "wait", "at": "2026-10-03T15:44:37", "finished_at": "2026-10-03T15:44:38", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 2125, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 7, "choice": "wait", "at": "2026-10-03T15:44:40", "finished_at": "2026-10-03T15:44:41", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 2094, "action_ms": 704, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 8, "choice": "requires_analysis", "at": "2026-10-03T15:44:44", "state": "requires_analysis", "decision_engine": "jev", "jev_ms": 1031, "decision_ms": 1031, "ocr_ms": 2109, "confidence": 0.57, "probabilities": {"requires_analysis": 0.79, "wait": 0.21}, "model": "jev-1.13-free", "action_tool": "requires_analysis"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 0, "choice": "skill_swap_2", "at": "2026-10-03T15:48:03", "finished_at": "2026-10-03T15:48:03", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 2172, "action_ms": 281, "action_tool": "click"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 1, "choice": "skill_swap_2", "at": "2026-10-03T15:48:07", "finished_at": "2026-10-03T15:48:07", "state": "running", "decision_engine": "jev", "jev_ms": 1531, "decision_ms": 1531, "ocr_ms": 2125, "action_ms": 297, "confidence": 0.29, "probabilities": {"wait": 0.03, "requires_analysis": 0.23, "confirm_swap": 0.27, "skill_swap_2": 0.47}, "model": "jev-1.13-free", "action_tool": "click"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 2, "choice": "skill_swap_2", "at": "2026-10-03T15:48:11", "finished_at": "2026-10-03T15:48:11", "state": "running", "decision_engine": "jev", "jev_ms": 1156, "decision_ms": 1156, "ocr_ms": 2156, "action_ms": 297, "confidence": 0.2, "probabilities": {"wait": 0.03, "requires_analysis": 0.28, "skill_swap_2": 0.4, "confirm_swap": 0.29}, "model": "jev-1.13-free", "action_tool": "click"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 3, "choice": "confirm_swap", "at": "2026-10-03T15:48:14", "finished_at": "2026-10-03T15:48:14", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 2141, "action_ms": 281, "action_tool": "click"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 4, "choice": "wait", "at": "2026-10-03T15:48:17", "finished_at": "2026-10-03T15:48:18", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 2266, "action_ms": 687, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 5, "choice": "wait", "at": "2026-10-03T15:48:20", "finished_at": "2026-10-03T15:48:21", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 2312, "action_ms": 688, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 6, "choice": "wait", "at": "2026-10-03T15:48:23", "finished_at": "2026-10-03T15:48:24", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 2219, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 7, "choice": "requires_analysis", "at": "2026-10-03T15:48:28", "state": "requires_analysis", "decision_engine": "jev", "jev_ms": 1078, "decision_ms": 1078, "ocr_ms": 2406, "confidence": 0.52, "probabilities": {"requires_analysis": 0.76, "wait": 0.24}, "model": "jev-1.13-free", "action_tool": "requires_analysis"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 0, "choice": "buy_swap", "at": "2026-10-03T15:52:29", "finished_at": "2026-10-03T15:52:29", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1875, "action_ms": 157, "action_tool": "keypress"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 1, "choice": "buy_swap", "at": "2026-10-03T15:52:31", "finished_at": "2026-10-03T15:52:32", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 2203, "action_ms": 157, "action_tool": "keypress"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 2, "choice": "buy_swap", "at": "2026-10-03T15:52:34", "finished_at": "2026-10-03T15:52:34", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1828, "action_ms": 141, "action_tool": "keypress"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 3, "choice": "buy_swap", "at": "2026-10-03T15:52:36", "finished_at": "2026-10-03T15:52:37", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 2079, "action_ms": 172, "action_tool": "keypress"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 4, "choice": "buy_swap", "at": "2026-10-03T15:52:39", "finished_at": "2026-10-03T15:52:39", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 2047, "action_ms": 156, "action_tool": "keypress"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 5, "choice": "buy_swap", "at": "2026-10-03T15:52:42", "finished_at": "2026-10-03T15:52:42", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 2593, "action_ms": 156, "action_tool": "keypress"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 6, "choice": "buy_swap", "at": "2026-10-03T15:52:45", "finished_at": "2026-10-03T15:52:45", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 2484, "action_ms": 171, "action_tool": "keypress"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 7, "choice": "buy_swap", "at": "2026-10-03T15:52:48", "finished_at": "2026-10-03T15:52:48", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 2234, "action_ms": 157, "action_tool": "keypress"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 8, "choice": "buy_swap", "at": "2026-10-03T15:52:51", "finished_at": "2026-10-03T15:52:51", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 2172, "action_ms": 156, "action_tool": "keypress"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 9, "choice": "buy_swap", "at": "2026-10-03T15:52:54", "finished_at": "2026-10-03T15:52:54", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 2390, "action_ms": 156, "action_tool": "keypress"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 10, "choice": "buy_swap", "at": "2026-10-03T15:52:56", "finished_at": "2026-10-03T15:52:56", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 2000, "action_ms": 172, "action_tool": "keypress"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 11, "choice": "buy_swap", "at": "2026-10-03T15:52:59", "finished_at": "2026-10-03T15:52:59", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 2141, "action_ms": 140, "action_tool": "keypress"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 12, "choice": "buy_swap", "at": "2026-10-03T15:53:01", "finished_at": "2026-10-03T15:53:01", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1937, "action_ms": 140, "action_tool": "keypress"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 13, "choice": "buy_swap", "at": "2026-10-03T15:53:04", "finished_at": "2026-10-03T15:53:04", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1734, "action_ms": 141, "action_tool": "keypress"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 14, "choice": "buy_swap", "at": "2026-10-03T15:53:06", "finished_at": "2026-10-03T15:53:07", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 2313, "action_ms": 172, "action_tool": "keypress"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 15, "choice": "buy_swap", "at": "2026-10-03T15:53:09", "finished_at": "2026-10-03T15:53:09", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 2109, "action_ms": 156, "action_tool": "keypress"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 16, "choice": "buy_swap", "at": "2026-10-03T15:53:11", "finished_at": "2026-10-03T15:53:12", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1813, "action_ms": 172, "action_tool": "keypress"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 17, "choice": "buy_swap", "at": "2026-10-03T15:53:14", "finished_at": "2026-10-03T15:53:14", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1922, "action_ms": 157, "action_tool": "keypress"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 18, "choice": "buy_swap", "at": "2026-10-03T15:53:16", "finished_at": "2026-10-03T15:53:17", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1875, "action_ms": 296, "action_tool": "click"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 19, "choice": "wait", "at": "2026-10-03T15:53:19", "finished_at": "2026-10-03T15:53:20", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 2219, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 20, "choice": "swap_14", "at": "2026-10-03T15:53:23", "finished_at": "2026-10-03T15:53:24", "state": "running", "decision_engine": "jev", "jev_ms": 1250, "decision_ms": 1250, "ocr_ms": 1782, "action_ms": 297, "confidence": 0.62, "probabilities": {"swap_14": 0.74, "requires_analysis": 0.18, "wait": 0.08}, "model": "jev-1.13-free", "action_tool": "click"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 21, "choice": "swap_15", "at": "2026-10-03T15:53:27", "finished_at": "2026-10-03T15:53:27", "state": "running", "decision_engine": "jev", "jev_ms": 1063, "decision_ms": 1063, "ocr_ms": 1750, "action_ms": 297, "confidence": 0.63, "probabilities": {"swap_15": 0.76, "wait": 0.05, "requires_analysis": 0.19}, "model": "jev-1.13-free", "action_tool": "click"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 22, "choice": "swap_15", "at": "2026-10-03T15:53:30", "finished_at": "2026-10-03T15:53:31", "state": "running", "decision_engine": "jev", "jev_ms": 1234, "decision_ms": 1234, "ocr_ms": 1704, "action_ms": 297, "confidence": 0.53, "probabilities": {"wait": 0.04, "requires_analysis": 0.27, "swap_15": 0.69}, "model": "jev-1.13-free", "action_tool": "click"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 23, "choice": "swap_15", "at": "2026-10-03T15:53:47", "finished_at": "2026-10-03T15:53:47", "state": "running", "decision_engine": "jev", "jev_ms": 13937, "decision_ms": 13937, "ocr_ms": 1703, "action_ms": 281, "confidence": 0.53, "probabilities": {"requires_analysis": 0.27, "swap_15": 0.6799999999999999, "wait": 0.05}, "model": "jev-1.13-free", "action_tool": "click"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 24, "choice": "swap_15", "at": "2026-10-03T15:53:50", "finished_at": "2026-10-03T15:53:50", "state": "running", "decision_engine": "jev", "jev_ms": 1110, "decision_ms": 1110, "ocr_ms": 1687, "action_ms": 297, "confidence": 0.43, "probabilities": {"requires_analysis": 0.32, "swap_15": 0.62, "wait": 0.06}, "model": "jev-1.13-free", "action_tool": "click"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 25, "choice": "swap_15", "at": "2026-10-03T15:53:53", "finished_at": "2026-10-03T15:53:54", "state": "running", "decision_engine": "jev", "jev_ms": 1094, "decision_ms": 1094, "ocr_ms": 1688, "action_ms": 281, "confidence": 0.53, "probabilities": {"requires_analysis": 0.26, "swap_15": 0.69, "wait": 0.05}, "model": "jev-1.13-free", "action_tool": "click"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 26, "choice": "swap_14", "at": "2026-10-03T15:53:57", "finished_at": "2026-10-03T15:53:57", "state": "running", "decision_engine": "jev", "jev_ms": 1063, "decision_ms": 1063, "ocr_ms": 1703, "action_ms": 281, "confidence": 0.51, "probabilities": {"requires_analysis": 0.27, "wait": 0.06, "swap_14": 0.67}, "model": "jev-1.13-free", "action_tool": "click"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 27, "choice": "swap_15", "at": "2026-10-03T15:54:00", "finished_at": "2026-10-03T15:54:01", "state": "running", "decision_engine": "jev", "jev_ms": 1172, "decision_ms": 1172, "ocr_ms": 1672, "action_ms": 297, "confidence": 0.4, "probabilities": {"wait": 0.05, "requires_analysis": 0.34, "swap_15": 0.61}, "model": "jev-1.13-free", "action_tool": "click"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 28, "choice": "swap_15", "at": "2026-10-03T15:54:04", "finished_at": "2026-10-03T15:54:04", "state": "running", "decision_engine": "jev", "jev_ms": 1109, "decision_ms": 1109, "ocr_ms": 1688, "action_ms": 297, "confidence": 0.47, "probabilities": {"requires_analysis": 0.29, "wait": 0.06, "swap_15": 0.65}, "model": "jev-1.13-free", "action_tool": "click"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 29, "choice": "wait", "at": "2026-10-03T15:54:06", "finished_at": "2026-10-03T15:54:07", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1687, "action_ms": 688, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 30, "choice": "wait", "at": "2026-10-03T15:54:09", "finished_at": "2026-10-03T15:54:10", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1719, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 31, "choice": "wait", "at": "2026-10-03T15:54:12", "finished_at": "2026-10-03T15:54:12", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1687, "action_ms": 704, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 32, "choice": "swap_15", "at": "2026-10-03T15:54:16", "finished_at": "2026-10-03T15:54:16", "state": "running", "decision_engine": "jev", "jev_ms": 1329, "decision_ms": 1329, "ocr_ms": 1687, "action_ms": 281, "confidence": 0.56, "probabilities": {"wait": 0.14, "requires_analysis": 0.15, "swap_15": 0.71}, "model": "jev-1.13-free", "action_tool": "click"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 33, "choice": "wait", "at": "2026-10-03T15:54:18", "finished_at": "2026-10-03T15:54:19", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1688, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 34, "choice": "swap_15", "at": "2026-10-03T15:54:22", "finished_at": "2026-10-03T15:54:22", "state": "running", "decision_engine": "jev", "jev_ms": 1047, "decision_ms": 1047, "ocr_ms": 1781, "action_ms": 281, "confidence": 0.39, "probabilities": {"requires_analysis": 0.23, "wait": 0.18, "swap_15": 0.59}, "model": "jev-1.13-free", "action_tool": "click"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 35, "choice": "swap_15", "at": "2026-10-03T15:54:25", "finished_at": "2026-10-03T15:54:26", "state": "running", "decision_engine": "jev", "jev_ms": 1172, "decision_ms": 1172, "ocr_ms": 1719, "action_ms": 281, "confidence": 0.73, "probabilities": {"wait": 0.05, "swap_15": 0.82, "requires_analysis": 0.13}, "model": "jev-1.13-free", "action_tool": "click"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 36, "choice": "wait", "at": "2026-10-03T15:54:28", "finished_at": "2026-10-03T15:54:29", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1765, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 37, "choice": "wait", "at": "2026-10-03T15:54:31", "finished_at": "2026-10-03T15:54:31", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1703, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 38, "choice": "swap_15", "at": "2026-10-03T15:54:34", "finished_at": "2026-10-03T15:54:35", "state": "running", "decision_engine": "jev", "jev_ms": 1079, "decision_ms": 1079, "ocr_ms": 1718, "action_ms": 265, "confidence": 0.58, "probabilities": {"swap_15": 0.72, "wait": 0.11, "requires_analysis": 0.17}, "model": "jev-1.13-free", "action_tool": "click"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 39, "choice": "wait", "at": "2026-10-03T15:54:37", "finished_at": "2026-10-03T15:54:38", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1765, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 40, "choice": "wait", "at": "2026-10-03T15:54:40", "finished_at": "2026-10-03T15:54:40", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1687, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 41, "choice": "swap_15", "at": "2026-10-03T15:54:52", "finished_at": "2026-10-03T15:54:52", "state": "running", "decision_engine": "jev", "jev_ms": 9203, "decision_ms": 9203, "ocr_ms": 1719, "action_ms": 281, "confidence": 0.53, "probabilities": {"requires_analysis": 0.16, "swap_15": 0.69, "wait": 0.15}, "model": "jev-1.13-free", "action_tool": "click"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 42, "choice": "swap_15", "at": "2026-10-03T15:54:55", "finished_at": "2026-10-03T15:54:55", "state": "running", "decision_engine": "jev", "jev_ms": 1172, "decision_ms": 1172, "ocr_ms": 1703, "action_ms": 297, "confidence": 0.61, "probabilities": {"requires_analysis": 0.2, "wait": 0.06, "swap_15": 0.74}, "model": "jev-1.13-free", "action_tool": "click"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 43, "choice": "swap_14", "at": "2026-10-03T15:54:59", "finished_at": "2026-10-03T15:54:59", "state": "running", "decision_engine": "jev", "jev_ms": 1203, "decision_ms": 1203, "ocr_ms": 1750, "action_ms": 282, "confidence": 0.57, "probabilities": {"swap_14": 0.71, "wait": 0.05, "requires_analysis": 0.24}, "model": "jev-1.13-free", "action_tool": "click"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 44, "choice": "wait", "at": "2026-10-03T15:55:01", "finished_at": "2026-10-03T15:55:02", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1703, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 45, "choice": "wait", "at": "2026-10-03T15:55:04", "finished_at": "2026-10-03T15:55:04", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1719, "action_ms": 687, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 46, "choice": "wait", "at": "2026-10-03T15:55:07", "finished_at": "2026-10-03T15:55:07", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1703, "action_ms": 687, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 47, "choice": "wait", "at": "2026-10-03T15:55:09", "finished_at": "2026-10-03T15:55:10", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1765, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 48, "choice": "requires_analysis", "at": "2026-10-03T15:55:13", "state": "requires_analysis", "decision_engine": "jev", "jev_ms": 1172, "decision_ms": 1172, "ocr_ms": 1719, "confidence": 0.42, "probabilities": {"wait": 0.29, "requires_analysis": 0.71}, "model": "jev-1.13-free", "action_tool": "requires_analysis"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 0, "choice": "shop_refresh", "at": "2026-10-03T15:59:24", "finished_at": "2026-10-03T15:59:24", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1812, "action_ms": 297, "action_tool": "click"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 1, "choice": "wait", "at": "2026-10-03T15:59:26", "finished_at": "2026-10-03T15:59:27", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1828, "action_ms": 704, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 2, "choice": "shop_refresh", "at": "2026-10-03T15:59:29", "finished_at": "2026-10-03T15:59:29", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1782, "action_ms": 297, "action_tool": "click"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 3, "choice": "wait", "at": "2026-10-03T15:59:31", "finished_at": "2026-10-03T15:59:32", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1782, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 4, "choice": "shop_refresh", "at": "2026-10-03T15:59:34", "finished_at": "2026-10-03T15:59:34", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1734, "action_ms": 281, "action_tool": "click"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 5, "choice": "shop_refresh", "at": "2026-10-03T15:59:37", "finished_at": "2026-10-03T15:59:37", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1719, "action_ms": 297, "action_tool": "click"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 6, "choice": "wait", "at": "2026-10-03T15:59:39", "finished_at": "2026-10-03T15:59:40", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1750, "action_ms": 704, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 7, "choice": "button_34", "at": "2026-10-03T15:59:42", "finished_at": "2026-10-03T15:59:42", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1672, "action_ms": 156, "action_tool": "keypress"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 8, "choice": "button_35", "at": "2026-10-03T15:59:44", "finished_at": "2026-10-03T15:59:44", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1875, "action_ms": 281, "action_tool": "click"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 9, "choice": "confirm_26", "at": "2026-10-03T15:59:48", "finished_at": "2026-10-03T15:59:48", "state": "running", "decision_engine": "jev", "jev_ms": 1266, "decision_ms": 1266, "ocr_ms": 1593, "action_ms": 297, "confidence": 0.41, "probabilities": {"wait": 0.05, "confirm_26": 0.61, "requires_analysis": 0.34}, "model": "jev-1.13-free", "action_tool": "click"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 10, "choice": "button_34", "at": "2026-10-03T15:59:50", "finished_at": "2026-10-03T15:59:50", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1797, "action_ms": 157, "action_tool": "keypress"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 11, "choice": "route_d", "at": "2026-10-03T15:59:53", "finished_at": "2026-10-03T15:59:55", "state": "running", "decision_engine": "jev", "jev_ms": 1047, "decision_ms": 1047, "ocr_ms": 1297, "action_ms": 1719, "confidence": 0.64, "probabilities": {"requires_analysis": 0.23, "route_d": 0.76, "wait": 0.01}, "model": "jev-1.13-free", "action_tool": "route"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 12, "choice": "wait", "at": "2026-10-03T15:59:58", "finished_at": "2026-10-03T15:59:59", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 2734, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 13, "choice": "wait", "at": "2026-10-03T16:00:01", "finished_at": "2026-10-03T16:00:02", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 2062, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 14, "choice": "wait", "at": "2026-10-03T16:00:04", "finished_at": "2026-10-03T16:00:04", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1375, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 15, "choice": "battle", "at": "2026-10-03T16:00:06", "finished_at": "2026-10-03T16:00:54", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1500, "action_ms": 47750, "action_tool": "battle"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 16, "choice": "battle", "at": "2026-10-03T16:00:56", "finished_at": "2026-10-03T16:01:04", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1110, "action_ms": 8078, "action_tool": "battle"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 17, "choice": "wait", "at": "2026-10-03T16:01:05", "finished_at": "2026-10-03T16:01:06", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1000, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 18, "choice": "wait", "at": "2026-10-03T16:01:07", "finished_at": "2026-10-03T16:01:08", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 984, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 19, "choice": "wait", "at": "2026-10-03T16:01:09", "finished_at": "2026-10-03T16:01:10", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 984, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 20, "choice": "wait", "at": "2026-10-03T16:01:11", "finished_at": "2026-10-03T16:01:12", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1062, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 21, "choice": "wait", "at": "2026-10-03T16:01:13", "finished_at": "2026-10-03T16:01:14", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1000, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 22, "choice": "wait", "at": "2026-10-03T16:01:15", "finished_at": "2026-10-03T16:01:16", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1062, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 23, "choice": "wait", "at": "2026-10-03T16:01:17", "finished_at": "2026-10-03T16:01:18", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1000, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 24, "choice": "wait", "at": "2026-10-03T16:01:19", "finished_at": "2026-10-03T16:01:20", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1015, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 25, "choice": "wait", "at": "2026-10-03T16:01:22", "finished_at": "2026-10-03T16:01:22", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1062, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 26, "choice": "wait", "at": "2026-10-03T16:01:24", "finished_at": "2026-10-03T16:01:24", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 984, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 27, "choice": "wait", "at": "2026-10-03T16:01:26", "finished_at": "2026-10-03T16:01:26", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 984, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 28, "choice": "wait", "at": "2026-10-03T16:01:28", "finished_at": "2026-10-03T16:01:28", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1000, "action_ms": 704, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 29, "choice": "wait", "at": "2026-10-03T16:01:30", "finished_at": "2026-10-03T16:01:31", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1016, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 30, "choice": "wait", "at": "2026-10-03T16:01:32", "finished_at": "2026-10-03T16:01:33", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1047, "action_ms": 688, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 31, "choice": "wait", "at": "2026-10-03T16:01:34", "finished_at": "2026-10-03T16:01:35", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1016, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 32, "choice": "wait", "at": "2026-10-03T16:01:36", "finished_at": "2026-10-03T16:01:37", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 985, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 33, "choice": "wait", "at": "2026-10-03T16:01:38", "finished_at": "2026-10-03T16:01:39", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1015, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 34, "choice": "wait", "at": "2026-10-03T16:01:40", "finished_at": "2026-10-03T16:01:41", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1016, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 35, "choice": "wait", "at": "2026-10-03T16:01:42", "finished_at": "2026-10-03T16:01:43", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1000, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 36, "choice": "wait", "at": "2026-10-03T16:01:44", "finished_at": "2026-10-03T16:01:45", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1000, "action_ms": 688, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 37, "choice": "wait", "at": "2026-10-03T16:01:46", "finished_at": "2026-10-03T16:01:47", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1047, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 38, "choice": "wait", "at": "2026-10-03T16:01:48", "finished_at": "2026-10-03T16:01:49", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1016, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 39, "choice": "wait", "at": "2026-10-03T16:01:50", "finished_at": "2026-10-03T16:01:51", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1015, "action_ms": 704, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 40, "choice": "wait", "at": "2026-10-03T16:01:53", "finished_at": "2026-10-03T16:01:53", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 969, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 41, "choice": "wait", "at": "2026-10-03T16:01:55", "finished_at": "2026-10-03T16:01:55", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1016, "action_ms": 687, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 42, "choice": "wait", "at": "2026-10-03T16:01:57", "finished_at": "2026-10-03T16:01:57", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1000, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 43, "choice": "wait", "at": "2026-10-03T16:01:59", "finished_at": "2026-10-03T16:01:59", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1000, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 44, "choice": "wait", "at": "2026-10-03T16:02:01", "finished_at": "2026-10-03T16:02:01", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1032, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 45, "choice": "wait", "at": "2026-10-03T16:02:03", "finished_at": "2026-10-03T16:02:04", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 985, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 46, "choice": "wait", "at": "2026-10-03T16:02:05", "finished_at": "2026-10-03T16:02:06", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1094, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 47, "choice": "wait", "at": "2026-10-03T16:02:07", "finished_at": "2026-10-03T16:02:08", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1000, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 48, "choice": "wait", "at": "2026-10-03T16:02:09", "finished_at": "2026-10-03T16:02:10", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 984, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 49, "choice": "wait", "at": "2026-10-03T16:02:11", "finished_at": "2026-10-03T16:02:12", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1031, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 50, "choice": "wait", "at": "2026-10-03T16:02:13", "finished_at": "2026-10-03T16:02:14", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1000, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 51, "choice": "wait", "at": "2026-10-03T16:02:15", "finished_at": "2026-10-03T16:02:16", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 984, "action_ms": 704, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 52, "choice": "wait", "at": "2026-10-03T16:02:17", "finished_at": "2026-10-03T16:02:18", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1016, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 53, "choice": "wait", "at": "2026-10-03T16:02:19", "finished_at": "2026-10-03T16:02:20", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 984, "action_ms": 704, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 54, "choice": "wait", "at": "2026-10-03T16:02:21", "finished_at": "2026-10-03T16:02:22", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1062, "action_ms": 704, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 55, "choice": "wait", "at": "2026-10-03T16:02:24", "finished_at": "2026-10-03T16:02:24", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1000, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 56, "choice": "wait", "at": "2026-10-03T16:02:26", "finished_at": "2026-10-03T16:02:26", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1015, "action_ms": 704, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 57, "choice": "wait", "at": "2026-10-03T16:02:28", "finished_at": "2026-10-03T16:02:28", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1016, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 58, "choice": "wait", "at": "2026-10-03T16:02:30", "finished_at": "2026-10-03T16:02:30", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1000, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 59, "choice": "wait", "at": "2026-10-03T16:02:32", "finished_at": "2026-10-03T16:02:33", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1047, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 60, "choice": "wait", "at": "2026-10-03T16:02:34", "finished_at": "2026-10-03T16:02:35", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1016, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 61, "choice": "wait", "at": "2026-10-03T16:02:36", "finished_at": "2026-10-03T16:02:37", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1000, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 62, "choice": "wait", "at": "2026-10-03T16:02:38", "finished_at": "2026-10-03T16:02:39", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1000, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 63, "choice": "wait", "at": "2026-10-03T16:02:40", "finished_at": "2026-10-03T16:02:41", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 984, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 64, "choice": "wait", "at": "2026-10-03T16:02:42", "finished_at": "2026-10-03T16:02:43", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1000, "action_ms": 704, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 65, "choice": "wait", "at": "2026-10-03T16:02:44", "finished_at": "2026-10-03T16:02:45", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1016, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 66, "choice": "wait", "at": "2026-10-03T16:02:46", "finished_at": "2026-10-03T16:02:47", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1047, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 67, "choice": "wait", "at": "2026-10-03T16:02:48", "finished_at": "2026-10-03T16:02:49", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1000, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 68, "choice": "wait", "at": "2026-10-03T16:02:50", "finished_at": "2026-10-03T16:02:51", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1031, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 69, "choice": "wait", "at": "2026-10-03T16:02:52", "finished_at": "2026-10-03T16:02:53", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1031, "action_ms": 688, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 70, "choice": "wait", "at": "2026-10-03T16:02:55", "finished_at": "2026-10-03T16:02:55", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1047, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 71, "choice": "wait", "at": "2026-10-03T16:02:57", "finished_at": "2026-10-03T16:02:57", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1015, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 72, "choice": "wait", "at": "2026-10-03T16:02:59", "finished_at": "2026-10-03T16:02:59", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1000, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 73, "choice": "wait", "at": "2026-10-03T16:03:01", "finished_at": "2026-10-03T16:03:01", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 984, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 74, "choice": "wait", "at": "2026-10-03T16:03:03", "finished_at": "2026-10-03T16:03:04", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1015, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 75, "choice": "wait", "at": "2026-10-03T16:03:05", "finished_at": "2026-10-03T16:03:06", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1015, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 76, "choice": "wait", "at": "2026-10-03T16:03:07", "finished_at": "2026-10-03T16:03:08", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1031, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 77, "choice": "wait", "at": "2026-10-03T16:03:09", "finished_at": "2026-10-03T16:03:10", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1016, "action_ms": 687, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 78, "choice": "wait", "at": "2026-10-03T16:03:11", "finished_at": "2026-10-03T16:03:12", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1000, "action_ms": 704, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 79, "choice": "wait", "at": "2026-10-03T16:03:13", "finished_at": "2026-10-03T16:03:14", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 985, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 80, "choice": "wait", "at": "2026-10-03T16:03:15", "finished_at": "2026-10-03T16:03:16", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1000, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 81, "choice": "wait", "at": "2026-10-03T16:03:17", "finished_at": "2026-10-03T16:03:18", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1015, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 82, "choice": "wait", "at": "2026-10-03T16:03:19", "finished_at": "2026-10-03T16:03:20", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1015, "action_ms": 704, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 83, "choice": "wait", "at": "2026-10-03T16:03:21", "finished_at": "2026-10-03T16:03:22", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1063, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 84, "choice": "wait", "at": "2026-10-03T16:03:24", "finished_at": "2026-10-03T16:03:24", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1000, "action_ms": 688, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 85, "choice": "wait", "at": "2026-10-03T16:03:26", "finished_at": "2026-10-03T16:03:26", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1016, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 86, "choice": "wait", "at": "2026-10-03T16:03:28", "finished_at": "2026-10-03T16:03:28", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1063, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 87, "choice": "wait", "at": "2026-10-03T16:03:30", "finished_at": "2026-10-03T16:03:31", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1109, "action_ms": 688, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 88, "choice": "wait", "at": "2026-10-03T16:03:32", "finished_at": "2026-10-03T16:03:33", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1109, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 89, "choice": "wait", "at": "2026-10-03T16:03:34", "finished_at": "2026-10-03T16:03:35", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1078, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 90, "choice": "wait", "at": "2026-10-03T16:03:36", "finished_at": "2026-10-03T16:03:37", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1032, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 91, "choice": "wait", "at": "2026-10-03T16:03:38", "finished_at": "2026-10-03T16:03:39", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1078, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 92, "choice": "wait", "at": "2026-10-03T16:03:40", "finished_at": "2026-10-03T16:03:41", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1000, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 93, "choice": "wait", "at": "2026-10-03T16:03:43", "finished_at": "2026-10-03T16:03:43", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 984, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 94, "choice": "wait", "at": "2026-10-03T16:03:45", "finished_at": "2026-10-03T16:03:45", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1000, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 95, "choice": "wait", "at": "2026-10-03T16:03:47", "finished_at": "2026-10-03T16:03:47", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1000, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 96, "choice": "wait", "at": "2026-10-03T16:03:49", "finished_at": "2026-10-03T16:03:49", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1062, "action_ms": 704, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 97, "choice": "wait", "at": "2026-10-03T16:03:51", "finished_at": "2026-10-03T16:03:51", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1000, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 98, "choice": "wait", "at": "2026-10-03T16:03:53", "finished_at": "2026-10-03T16:03:54", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1015, "action_ms": 704, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 99, "choice": "wait", "at": "2026-10-03T16:03:55", "finished_at": "2026-10-03T16:03:56", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1000, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 100, "choice": "wait", "at": "2026-10-03T16:03:57", "finished_at": "2026-10-03T16:03:58", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1000, "action_ms": 704, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 101, "choice": "wait", "at": "2026-10-03T16:03:59", "finished_at": "2026-10-03T16:04:00", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1000, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 102, "choice": "wait", "at": "2026-10-03T16:04:01", "finished_at": "2026-10-03T16:04:02", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1000, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 103, "choice": "wait", "at": "2026-10-03T16:04:03", "finished_at": "2026-10-03T16:04:04", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1032, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 104, "choice": "wait", "at": "2026-10-03T16:04:05", "finished_at": "2026-10-03T16:04:06", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 985, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 105, "choice": "wait", "at": "2026-10-03T16:04:07", "finished_at": "2026-10-03T16:04:08", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 985, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 106, "choice": "wait", "at": "2026-10-03T16:04:09", "finished_at": "2026-10-03T16:04:10", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 985, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 107, "choice": "wait", "at": "2026-10-03T16:04:11", "finished_at": "2026-10-03T16:04:12", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1031, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 108, "choice": "wait", "at": "2026-10-03T16:04:13", "finished_at": "2026-10-03T16:04:14", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 984, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 109, "choice": "wait", "at": "2026-10-03T16:04:16", "finished_at": "2026-10-03T16:04:16", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1000, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 110, "choice": "wait", "at": "2026-10-03T16:04:18", "finished_at": "2026-10-03T16:04:18", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1062, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 111, "choice": "wait", "at": "2026-10-03T16:04:20", "finished_at": "2026-10-03T16:04:20", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1016, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 112, "choice": "wait", "at": "2026-10-03T16:04:22", "finished_at": "2026-10-03T16:04:22", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1016, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 113, "choice": "wait", "at": "2026-10-03T16:04:24", "finished_at": "2026-10-03T16:04:25", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1000, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 114, "choice": "wait", "at": "2026-10-03T16:04:26", "finished_at": "2026-10-03T16:04:27", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1000, "action_ms": 704, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 115, "choice": "wait", "at": "2026-10-03T16:04:28", "finished_at": "2026-10-03T16:04:29", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 969, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 116, "choice": "wait", "at": "2026-10-03T16:04:30", "finished_at": "2026-10-03T16:04:31", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1234, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 117, "choice": "wait", "at": "2026-10-03T16:04:32", "finished_at": "2026-10-03T16:04:33", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1109, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 118, "choice": "wait", "at": "2026-10-03T16:04:35", "finished_at": "2026-10-03T16:04:35", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1141, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 119, "choice": "wait", "at": "2026-10-03T16:04:37", "finished_at": "2026-10-03T16:04:37", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1031, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 120, "choice": "wait", "at": "2026-10-03T16:04:39", "finished_at": "2026-10-03T16:04:39", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1047, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 121, "choice": "wait", "at": "2026-10-03T16:04:41", "finished_at": "2026-10-03T16:04:41", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1000, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 122, "choice": "wait", "at": "2026-10-03T16:04:43", "finished_at": "2026-10-03T16:04:44", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1015, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 123, "choice": "wait", "at": "2026-10-03T16:04:45", "finished_at": "2026-10-03T16:04:46", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1047, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 124, "choice": "wait", "at": "2026-10-03T16:04:47", "finished_at": "2026-10-03T16:04:48", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1015, "action_ms": 704, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 125, "choice": "wait", "at": "2026-10-03T16:04:49", "finished_at": "2026-10-03T16:04:50", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1110, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 126, "choice": "wait", "at": "2026-10-03T16:04:51", "finished_at": "2026-10-03T16:04:52", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1015, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 127, "choice": "wait", "at": "2026-10-03T16:04:53", "finished_at": "2026-10-03T16:04:54", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1000, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 128, "choice": "wait", "at": "2026-10-03T16:04:55", "finished_at": "2026-10-03T16:04:56", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1015, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 129, "choice": "wait", "at": "2026-10-03T16:04:59", "finished_at": "2026-10-03T16:05:00", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 2406, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 130, "choice": "wait", "at": "2026-10-03T16:05:01", "finished_at": "2026-10-03T16:05:02", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1000, "action_ms": 704, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 131, "choice": "wait", "at": "2026-10-03T16:05:03", "finished_at": "2026-10-03T16:05:04", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1032, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 132, "choice": "wait", "at": "2026-10-03T16:05:05", "finished_at": "2026-10-03T16:05:06", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1047, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 133, "choice": "wait", "at": "2026-10-03T16:05:07", "finished_at": "2026-10-03T16:05:08", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1125, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 134, "choice": "wait", "at": "2026-10-03T16:05:09", "finished_at": "2026-10-03T16:05:10", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1172, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 135, "choice": "wait", "at": "2026-10-03T16:05:12", "finished_at": "2026-10-03T16:05:12", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1079, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 136, "choice": "wait", "at": "2026-10-03T16:05:14", "finished_at": "2026-10-03T16:05:14", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1047, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 137, "choice": "wait", "at": "2026-10-03T16:05:16", "finished_at": "2026-10-03T16:05:16", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1016, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 138, "choice": "wait", "at": "2026-10-03T16:05:18", "finished_at": "2026-10-03T16:05:19", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1000, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 139, "choice": "wait", "at": "2026-10-03T16:05:20", "finished_at": "2026-10-03T16:05:21", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1016, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 140, "choice": "wait", "at": "2026-10-03T16:05:22", "finished_at": "2026-10-03T16:05:23", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1062, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 141, "choice": "wait", "at": "2026-10-03T16:05:24", "finished_at": "2026-10-03T16:05:25", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 984, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 142, "choice": "wait", "at": "2026-10-03T16:05:26", "finished_at": "2026-10-03T16:05:27", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1000, "action_ms": 704, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 143, "choice": "requires_analysis", "at": "2026-10-03T16:05:30", "state": "requires_analysis", "decision_engine": "jev", "jev_ms": 1203, "decision_ms": 1203, "ocr_ms": 1672, "confidence": 0.37, "probabilities": {"reward_card_1": 0.28, "close_13": 0.01, "wait": 0.12, "reward_card_2": 0.09, "requires_analysis": 0.5}, "model": "jev-1.13-free", "action_tool": "requires_analysis"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 0, "choice": "retry_network", "at": "2026-10-03T16:11:50", "finished_at": "2026-10-03T16:11:50", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1469, "action_ms": 297, "action_tool": "click"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 1, "choice": "wait", "at": "2026-10-03T16:11:52", "finished_at": "2026-10-03T16:11:52", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1063, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 2, "choice": "wait", "at": "2026-10-03T16:11:54", "finished_at": "2026-10-03T16:11:54", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1078, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 3, "choice": "wait", "at": "2026-10-03T16:11:56", "finished_at": "2026-10-03T16:11:57", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1016, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 4, "choice": "wait", "at": "2026-10-03T16:11:58", "finished_at": "2026-10-03T16:11:59", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 985, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 5, "choice": "wait", "at": "2026-10-03T16:12:00", "finished_at": "2026-10-03T16:12:01", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1016, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 6, "choice": "wait", "at": "2026-10-03T16:12:02", "finished_at": "2026-10-03T16:12:03", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1031, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 7, "choice": "wait", "at": "2026-10-03T16:12:04", "finished_at": "2026-10-03T16:12:05", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1031, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 8, "choice": "wait", "at": "2026-10-03T16:12:06", "finished_at": "2026-10-03T16:12:07", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1015, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 9, "choice": "wait", "at": "2026-10-03T16:12:08", "finished_at": "2026-10-03T16:12:09", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1016, "action_ms": 687, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 10, "choice": "wait", "at": "2026-10-03T16:12:10", "finished_at": "2026-10-03T16:12:11", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1031, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 11, "choice": "wait", "at": "2026-10-03T16:12:12", "finished_at": "2026-10-03T16:12:13", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1000, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 12, "choice": "wait", "at": "2026-10-03T16:12:14", "finished_at": "2026-10-03T16:12:15", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1000, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 13, "choice": "wait", "at": "2026-10-03T16:12:16", "finished_at": "2026-10-03T16:12:17", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1016, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 14, "choice": "wait", "at": "2026-10-03T16:12:19", "finished_at": "2026-10-03T16:12:19", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1000, "action_ms": 688, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 15, "choice": "wait", "at": "2026-10-03T16:12:21", "finished_at": "2026-10-03T16:12:21", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1047, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 16, "choice": "retry_network", "at": "2026-10-03T16:12:23", "finished_at": "2026-10-03T16:12:23", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1453, "action_ms": 297, "action_tool": "click"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 17, "choice": "retry_network", "at": "2026-10-03T16:12:25", "finished_at": "2026-10-03T16:12:26", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1437, "action_ms": 297, "action_tool": "click"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 18, "choice": "retry_network", "at": "2026-10-03T16:12:27", "finished_at": "2026-10-03T16:12:28", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1407, "action_ms": 297, "action_tool": "click"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 19, "choice": "wait", "at": "2026-10-03T16:12:29", "finished_at": "2026-10-03T16:12:30", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1078, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 20, "choice": "wait", "at": "2026-10-03T16:12:31", "finished_at": "2026-10-03T16:12:32", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1031, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 21, "choice": "wait", "at": "2026-10-03T16:12:33", "finished_at": "2026-10-03T16:12:34", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 984, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 22, "choice": "wait", "at": "2026-10-03T16:12:35", "finished_at": "2026-10-03T16:12:36", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1000, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 23, "choice": "wait", "at": "2026-10-03T16:12:37", "finished_at": "2026-10-03T16:12:38", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1016, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 24, "choice": "wait", "at": "2026-10-03T16:12:39", "finished_at": "2026-10-03T16:12:40", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1062, "action_ms": 688, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 25, "choice": "wait", "at": "2026-10-03T16:12:41", "finished_at": "2026-10-03T16:12:42", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 985, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 26, "choice": "wait", "at": "2026-10-03T16:12:43", "finished_at": "2026-10-03T16:12:44", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1016, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 27, "choice": "wait", "at": "2026-10-03T16:12:46", "finished_at": "2026-10-03T16:12:46", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1000, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 28, "choice": "wait", "at": "2026-10-03T16:12:48", "finished_at": "2026-10-03T16:12:48", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1031, "action_ms": 704, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 29, "choice": "wait", "at": "2026-10-03T16:12:50", "finished_at": "2026-10-03T16:12:50", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1000, "action_ms": 687, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 30, "choice": "wait", "at": "2026-10-03T16:12:52", "finished_at": "2026-10-03T16:12:52", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1047, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 31, "choice": "wait", "at": "2026-10-03T16:12:54", "finished_at": "2026-10-03T16:12:55", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1000, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 32, "choice": "wait", "at": "2026-10-03T16:12:56", "finished_at": "2026-10-03T16:12:57", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1047, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 33, "choice": "wait", "at": "2026-10-03T16:12:58", "finished_at": "2026-10-03T16:12:59", "state": "running", "decision_engine": "rules", "jev_ms": 0, "ocr_ms": 1016, "action_ms": 703, "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 34, "choice": "wait", "at": "2026-10-03T16:13:02", "finished_at": "2026-10-03T16:13:03", "state": "running", "decision_engine": "jev", "jev_ms": 1641, "decision_ms": 1641, "ocr_ms": 1421, "action_ms": 703, "confidence": 0.09, "probabilities": {"requires_analysis": 0.46, "wait": 0.54}, "model": "jev-1.13-free", "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 35, "choice": "wait", "at": "2026-10-03T16:13:06", "finished_at": "2026-10-03T16:13:06", "state": "running", "decision_engine": "jev", "jev_ms": 1156, "decision_ms": 1156, "ocr_ms": 1406, "action_ms": 703, "confidence": 0.15, "probabilities": {"wait": 0.57, "requires_analysis": 0.43}, "model": "jev-1.13-free", "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 36, "choice": "wait", "at": "2026-10-03T16:13:09", "finished_at": "2026-10-03T16:13:10", "state": "running", "decision_engine": "jev", "jev_ms": 1047, "decision_ms": 1047, "ocr_ms": 1422, "action_ms": 703, "confidence": 0.19, "probabilities": {"wait": 0.59, "requires_analysis": 0.41}, "model": "jev-1.13-free", "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 37, "choice": "wait", "at": "2026-10-03T16:13:13", "finished_at": "2026-10-03T16:13:14", "state": "running", "decision_engine": "jev", "jev_ms": 1172, "decision_ms": 1172, "ocr_ms": 1406, "action_ms": 703, "confidence": 0.24, "probabilities": {"wait": 0.62, "requires_analysis": 0.38}, "model": "jev-1.13-free", "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 38, "choice": "wait", "at": "2026-10-03T16:13:17", "finished_at": "2026-10-03T16:13:17", "state": "running", "decision_engine": "jev", "jev_ms": 1188, "decision_ms": 1188, "ocr_ms": 1421, "action_ms": 703, "confidence": 0.25, "probabilities": {"requires_analysis": 0.37, "wait": 0.63}, "model": "jev-1.13-free", "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 39, "choice": "wait", "at": "2026-10-03T16:13:20", "finished_at": "2026-10-03T16:13:21", "state": "running", "decision_engine": "jev", "jev_ms": 1172, "decision_ms": 1172, "ocr_ms": 1422, "action_ms": 703, "confidence": 0.18, "probabilities": {"wait": 0.59, "requires_analysis": 0.41}, "model": "jev-1.13-free", "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 40, "choice": "wait", "at": "2026-10-03T16:13:24", "finished_at": "2026-10-03T16:13:25", "state": "running", "decision_engine": "jev", "jev_ms": 1141, "decision_ms": 1141, "ocr_ms": 1437, "action_ms": 703, "confidence": 0.08, "probabilities": {"wait": 0.54, "requires_analysis": 0.46}, "model": "jev-1.13-free", "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 41, "choice": "wait", "at": "2026-10-03T16:13:28", "finished_at": "2026-10-03T16:13:28", "state": "running", "decision_engine": "jev", "jev_ms": 1172, "decision_ms": 1172, "ocr_ms": 1437, "action_ms": 703, "confidence": 0.17, "probabilities": {"requires_analysis": 0.41, "wait": 0.59}, "model": "jev-1.13-free", "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 42, "choice": "wait", "at": "2026-10-03T16:13:31", "finished_at": "2026-10-03T16:13:32", "state": "running", "decision_engine": "jev", "jev_ms": 1062, "decision_ms": 1062, "ocr_ms": 1406, "action_ms": 703, "confidence": 0.07, "probabilities": {"wait": 0.54, "requires_analysis": 0.46}, "model": "jev-1.13-free", "action_tool": "wait"}
|
||||
{"run_id": "mirror_20261003_142030", "step": 43, "choice": "requires_analysis", "at": "2026-10-03T16:13:42", "state": "requires_analysis", "decision_engine": "jev", "jev_ms": 8328, "decision_ms": 8328, "ocr_ms": 1391, "confidence": 0.71, "probabilities": {"requires_analysis": 0.86, "wait": 0.14}, "model": "jev-1.13-free", "action_tool": "requires_analysis"}
|
||||
{"run_id": "mirror_20261003_142030", "at": "2026-10-03T16:51:48.476032+08:00", "event": "login_recovery_failed", "controller_stopped": true, "timer_reset": false, "dungeon_completed": false, "verified_background_title_input": true}
|
||||
@@ -0,0 +1,331 @@
|
||||
# 2026-10-04 本机部署实测记录
|
||||
|
||||
在一台**远程、无人在场**的 Windows 机器上从零部署 lc-mcp 并跑通镜牢的完整记录。
|
||||
包含六个真实失败及其根因、验证过的部分、以及**仍未验证的边界**。
|
||||
|
||||
上游无此环境的相关文档,所以把踩过的坑写成可复用的形式。
|
||||
|
||||
## 环境
|
||||
|
||||
| 项 | 值 |
|
||||
|---|---|
|
||||
| 系统 | Windows,GPU 为 Intel Iris Xe(集显),另有 ToDesk 虚拟显示器适配器 |
|
||||
| 会话 | DSH 与 lc-mcp 服务跑在**会话 2**;**无人在物理机前**,全部远程操作 |
|
||||
| 接入方式 | RDP / ToDesk,**分辨率随客户端变化**(实测 1600×900 / 1872×921 / 1920×1080) |
|
||||
| 游戏 | Limbus Company,Steam 版,装在 `D:\SteamLibrary`(**非**默认 C 盘路径) |
|
||||
| Python | 系统只有 3.8.6,AALC 要求 ≥3.12 → 由 uv 装 CPython 3.13.6 |
|
||||
| 网络 | 直连外网约 12–28 KB/s;Clash 代理 `127.0.0.1:6789` 约 4.18 MB/s(快 11 倍) |
|
||||
|
||||
**账号状态**:LV 37 的早期账号,**首次进入镜牢**,因此触发了大量一次性新手引导。
|
||||
|
||||
## 结果
|
||||
|
||||
```text
|
||||
一局完整镜牢:2026-10-04 23:49:42 → 2026-10-05 00:29:10
|
||||
耗时 00:39:28,exit code 0,日志零 [ERROR]
|
||||
[INFO] 已完成 1 次镜牢
|
||||
```
|
||||
|
||||
单测:`Ran 171 tests ... OK`(见 `test-results.txt`)。
|
||||
里程碑全文见 `logs/successful-run-milestones.txt`(98 行)。
|
||||
|
||||
## 六个失败与根因
|
||||
|
||||
### 1. 截图全黑 —— 会话 `Disc` 导致桌面停止渲染 ★
|
||||
|
||||
**症状**:`get_state` 返回全黑图、OCR 为空;AALC 报
|
||||
|
||||
```text
|
||||
OpenCV(4.11.0) templmatch.cpp:1175: error: (-215:Assertion failed)
|
||||
_img.size().height <= _templ.size().height && _img.size().width <= _templ.size().width
|
||||
```
|
||||
|
||||
即**截图比模板图还小**。
|
||||
|
||||
**根因**:DSH 与服务跑在会话 2。RDP 一旦断开,Windows 会**拆掉该会话的显示表面**。
|
||||
进程还活着、日志还在滚,但:
|
||||
|
||||
```text
|
||||
BitBlt(screenDC) → ret=0 err=6 (ERROR_INVALID_HANDLE)
|
||||
OpenInputDesktop → 0 (失败)
|
||||
GetForegroundWindow→ 0
|
||||
qwinsta → > YWS-HHH 2 Disc
|
||||
```
|
||||
|
||||
**这不是权限问题,是根本没有显示设备。** 一开始误判成权限/沙箱问题,绕了弯路。
|
||||
|
||||
**修复**:把会话挂到物理控制台,之后无人连接也持续渲染。
|
||||
|
||||
```powershell
|
||||
tscon 2 /dest:console # 需要管理员
|
||||
```
|
||||
|
||||
`tscon` 需要 `SeTcbPrivilege`;普通令牌只有 `SeShutdownPrivilege`,直接跑报
|
||||
`Error 5: Access is denied`。
|
||||
|
||||
**⚠️ 会反复**:之后再 RDP 连上又断开,会话被拉回 RDP,断开后又变黑。
|
||||
因此新增了看门狗任务(见下),已实测能自愈。
|
||||
|
||||
### 2. `sinner_order` 全 0 —— 编队死循环 ★最隐蔽
|
||||
|
||||
**症状**:日志里每 2 秒一次 `开始执行 罪人编队` → `结束执行 罪人编队`,永远不出结果;
|
||||
游戏停在配队界面。
|
||||
|
||||
**根因**:`tasks/teams/team_formation.py`
|
||||
|
||||
```python
|
||||
for i in range(1, 13):
|
||||
if i in sinner_team:
|
||||
sinner = sinner_team.index(i)
|
||||
else:
|
||||
return # 任何一个缺失就立刻返回, 什么都不做
|
||||
```
|
||||
|
||||
而自动生成的 `config.yaml` 里 `chosen_sinners` / `sinner_order` **默认全是 0**
|
||||
(`module/config/config_typing.py` 里 `[0] * 12`)。于是第一个 `i=1` 就命中 `return`,
|
||||
队伍永远是空的;`mirror.py` 又检测到 `teams/none_sinner_assets.png`("没有罪人")
|
||||
再次调用编队,形成无限循环。
|
||||
|
||||
**为什么难发现**:配置文件是自动生成的、字段名看起来正常;**AALC 不报任何错**。
|
||||
|
||||
**修复**(`vendor\aalc\config.yaml` → `teams: '1':`):
|
||||
|
||||
```yaml
|
||||
sinners_be_select: 12
|
||||
chosen_sinners: [1,1,1,1,1,1,1,1,1,1,1,1]
|
||||
sinner_order: [1,2,3,4,5,6,7,8,9,10,11,12]
|
||||
```
|
||||
|
||||
队伍启用队列是单一事实源,`teams_be_select` 由它派生:
|
||||
|
||||
```yaml
|
||||
teams_active_queue: [1]
|
||||
select_team_by_order: true
|
||||
```
|
||||
|
||||
`select_team_by_order: true` 让选队按列表位置点选,而不是匹配队名
|
||||
(默认按名字找 `编队#N` / `TEAMS #N`,队名不符就失败)。
|
||||
|
||||
### 3. `background_click: false` 会因 `SetForegroundWindow` 崩掉整个任务
|
||||
|
||||
`module/game_and_screen/screen.py` 的 `set_win()`:
|
||||
|
||||
```python
|
||||
if not cfg.background_click:
|
||||
self.handle.setForeground() # 后台进程抢前台会抛 pywintypes.error
|
||||
```
|
||||
|
||||
会话状态不健康时这里抛异常 → `init_game()` 崩 → 任务秒退:
|
||||
|
||||
```text
|
||||
pywintypes.error: (0, 'SetForegroundWindow', 'No error message is available')
|
||||
```
|
||||
|
||||
`background_click` 同时决定截图方式,两者耦合:
|
||||
|
||||
| `background_click` | 截图 | 特点 |
|
||||
|---|---|---|
|
||||
| `true` | `PrintWindow(hwnd, dc, 3)` | **按窗口抓图**,不受屏幕尺寸/遮挡影响 |
|
||||
| `false` | `take_screenshot_gdi` | 全屏 BitBlt 再裁窗口,**窗口超出屏幕就被裁掉** |
|
||||
|
||||
### 4. 窗口尺寸必须留出标题栏 —— `set_win_size: 900` 在 1600×900 桌面上无法达成 ★
|
||||
|
||||
`set_win_size` 指的是**客户区高度**,但窗口还要加上标题栏和边框:
|
||||
|
||||
```text
|
||||
set_win_size: 900 → 客户区 1600×900 → 窗口需要 1616×939
|
||||
```
|
||||
|
||||
在 1600×900 的桌面上,939 > 900,**窗口装不下**,Windows 会把高度压到 877:
|
||||
|
||||
```text
|
||||
game client: 1600x877 ratio=1.824 *** 不是 16:9 ***
|
||||
```
|
||||
|
||||
而 `set_win()` 的校正循环只在任务启动那一刻跑一次,之后没人纠正。
|
||||
|
||||
**修复**:改用 `set_win_size: 720`(客户区 1280×720,窗口 1296×759),
|
||||
在 1600×900 及以上的桌面上都装得下。
|
||||
|
||||
实测确认:
|
||||
|
||||
```text
|
||||
window=(0,0,1296,759) client=1280x720 ratio=1.778 OK 16:9
|
||||
battle/win_rate_card.png → found (1129, 564) ← 720 缩放下模板匹配正常
|
||||
```
|
||||
|
||||
### 5. 窗口被拉伸成非 16:9 → 模板匹配全面崩坏 ★最值得记
|
||||
|
||||
**症状**:镜牢跑到一半突然不再推进。日志没有 `[ERROR]`,进程健在,只是永远停在
|
||||
`mirror.py` 的"防卡死"兜底分支反复 `点击(1,1)空白位置`。
|
||||
画面是个正常的**战斗部署界面**,右下角 `START` 按钮高亮等着被点。
|
||||
|
||||
**根因**:中途 RDP 重连,桌面分辨率变化,**Unity 把游戏窗口自动拉伸填满桌面**,
|
||||
客户区变成非 16:9(实测 1872×898,比例 2.08:1)。
|
||||
|
||||
而 AALC 按 `cfg.set_win_size` **等比**缩放模板,假设客户区是 16:9:
|
||||
|
||||
```text
|
||||
模板缩放 = set_win_size / 1440 → 假设宽 = 高 × 16/9
|
||||
实际宽 ≠ 高 × 16/9 → 横向差 17%
|
||||
```
|
||||
|
||||
于是**全部模板匹配分数崩塌**(对比同一批模板):
|
||||
|
||||
| 模板 | 正常时 | 出问题时 |
|
||||
|---|---|---|
|
||||
| `battle/win_rate_card.png` | ~0.9 | **0.68** |
|
||||
| `battle/turn_assets.png` | ~0.9 | **0.37** |
|
||||
| `teams/identify_assets.png` | 0.99 | **0.43** |
|
||||
| `home/first_prompt_assets.png` | 1.00 | **0.56** |
|
||||
|
||||
全都在阈值(0.8)以下 → AALC 认不出任何界面元素 → 走兜底分支 → 看起来"卡死"。
|
||||
|
||||
**为什么难发现**:日志里**没有任何报错**,只有一堆相似度数字。
|
||||
不看分数分布,根本看不出这是"全面的、而非局部的"匹配失败。
|
||||
|
||||
**修复**:把窗口恢复成 16:9。修复后同一批模板立刻恢复:
|
||||
`battle/win_rate_card.png` → found (1121, 564);被卡住的那场战斗 78 秒内打完。
|
||||
|
||||
**未解决**:运行中若再次发生分辨率变化仍会重现,目前靠人工/重启任务纠正。
|
||||
根本解法是让 `set_win()` 的校正循环周期性重跑,或监听 `WM_DISPLAYCHANGE`。
|
||||
|
||||
### 6. UTF-8 无 BOM 的中文注释会让 Windows PowerShell 5.1 解析失败 ★
|
||||
|
||||
**症状**:脚本报出莫名其妙的语法错误,且**行号对不上**:
|
||||
|
||||
```text
|
||||
At keep_display.ps1:9 char:22
|
||||
+ [switch]$Verbose,
|
||||
+ ~
|
||||
Missing expression after ','.
|
||||
```
|
||||
|
||||
第 9 行其实是一句注释,`[switch]$Verbose,` 在第 16 行。
|
||||
|
||||
**根因**:文件是 **UTF-8 无 BOM**。Windows PowerShell 5.1 在无 BOM 时按**系统 ANSI
|
||||
代码页**(本机 936/GBK)解码,中文注释变成乱码:
|
||||
|
||||
```text
|
||||
原: # 看门狗: 会话掉回 "Disc" 时重新挂到物理控制台
|
||||
GBK 解码: # 鐪嬮棬鐙? 浼氳瘽鎺夊洖 "Disc" 鏃堕噸鏂版寕鍒扮墿鐞嗘帶鍒跺
|
||||
```
|
||||
|
||||
乱码字节序列会在解析层面制造出多余的引号/标记,破坏语法。
|
||||
**行号错位**正是这个问题的特征信号。
|
||||
|
||||
**这个坑我先误判了两次**:一次以为是 here-string 的问题(改掉了写法),
|
||||
一次以为是 `param()` 里夹注释的问题(删掉了注释)。两次都"绕过"了而不是修好。
|
||||
|
||||
**修复**:脚本存成 **UTF-8 with BOM**(`EF BB BF`)。
|
||||
|
||||
> 注:仓库里原有的 `install_logon_task.ps1` 同样是无 BOM + 中文,却能正常执行。
|
||||
> 差异未查明,可能与其注释内容/长度有关。**保险做法是一律加 BOM。**
|
||||
|
||||
## 三种输入模式都在抢桌面
|
||||
|
||||
| 模式 | 挪什么 | 代价 |
|
||||
|---|---|---|
|
||||
| `background` | **真实鼠标指针**(`set_mouse_pos` 后 `move_back` 复位) | 用户点不到别的窗口、抢不到前台 |
|
||||
| `window_move` | **游戏窗口**(挪到指针底下再挪回) | 窗口剧烈闪烁(每次点击一次) |
|
||||
| `foreground` | 真实指针(pyautogui 真实点击) | **游戏必须保持前台**,一旦失去焦点,真实点击会落到别的窗口上 |
|
||||
|
||||
三者**都会**调 `set_active()` 向游戏窗口发 `WM_ACTIVATE / WA_ACTIVE`
|
||||
(`input_handlers/input.py:507` 与 `:828`)。AALC 的设计前提是"运行时独占桌面",
|
||||
**没有配置能关掉**。
|
||||
|
||||
**实测结论**:
|
||||
|
||||
- `foreground` 在**有人守着**时体验最好(真实光标操作、可观看),但**无人值守时不可用**——
|
||||
没人保证游戏处于前台,任何抢焦点(包括人工点一下别的窗口)都会让点击落到错误窗口。
|
||||
- `background` **不依赖前台状态**,最适合无人值守。代价是抢占鼠标指针——
|
||||
没人在场时无所谓。
|
||||
|
||||
**本项目最终选择 `background`**(无人值守场景)。
|
||||
|
||||
## 其他环境坑
|
||||
|
||||
- **游戏路径**:`config.yaml` 默认指向 `C:\Program Files (x86)\Steam\...`,
|
||||
实际在 `D:\SteamLibrary`,必须改。
|
||||
- **AALC 会整份回写 `config.yaml`**:手写的注释会被抹掉,改完要复查。
|
||||
- **`qwinsta` 在计划任务上下文里没有任何输出**(所以初版看门狗任务失败),
|
||||
要用 WTS API(见 `scripts/session_state.py`)。
|
||||
- **游戏窗口最小化后 rect 是 `(-32000,-32000,...)`**,先 `ShowWindow(SW_RESTORE)`。
|
||||
- **`SetForegroundWindow` 可当健康探针**:会话不渲染时失败,渲染正常时成功。
|
||||
- **首次进镜牢有约 60 页引导**(两个轮播)。AALC 的兜底分支要求
|
||||
`home/first_prompt_assets.png` 与 `home/back_assets.png` **同时**命中,
|
||||
但后者只有 0.43(低于阈值),于是退化成反复点空白。需人工点掉:
|
||||
右边缘 `(1805,540)` 翻页,翻完点左上角 `(130,70)` 退出。一次性成本。
|
||||
- **`task_status` 返回 `succeeded` 不等于成功**:AALC 单次战斗失败后会继续跑完并 exit 0,
|
||||
必须同时看 `errors` 字段。
|
||||
|
||||
## 新增的可复用工具
|
||||
|
||||
### `scripts/session_state.py`
|
||||
|
||||
用 WTS API 查询会话连接状态,输出 `Active` / `Disc` 等。
|
||||
替代在计划任务上下文里失灵的 `qwinsta`。
|
||||
|
||||
### `scripts/render_check.py`
|
||||
|
||||
从屏幕 DC 做一次 BitBlt,判断桌面是否正在出图。退出码 0/1。
|
||||
|
||||
### `scripts/keep_display.ps1`
|
||||
|
||||
看门狗:会话掉到 `Disc` 时用提权 `tscon` 重新挂 console,恢复渲染。
|
||||
|
||||
**安全设计**:只在状态为 `Disc`(确认无人连接)时动作。用户正通过 RDP/ToDesk
|
||||
连着(`Active`/`Connected`)时**绝不插手**,否则会把用户挤下线。
|
||||
|
||||
**提权方式**:`tscon` 需要 `SeTcbPrivilege`,普通令牌拿不到,脚本用
|
||||
`Start-Process -Verb RunAs`。在 `ConsentPromptBehaviorAdmin=0`("从不通知")的机器上
|
||||
提权静默通过、不弹框。
|
||||
|
||||
**实测验证**(两条路径都跑过):
|
||||
|
||||
```text
|
||||
正常路径 session 2 is Active; nothing to do ← 正确跳过,不写日志
|
||||
修复路径 session 2 is Disc -> re-attaching to console
|
||||
session 2 now: Active ← tscon 真的生效
|
||||
render check: BitBlt=1 desktop=1920x1080 ← 渲染恢复
|
||||
```
|
||||
|
||||
修复路径用 `-ForceDisc` 开关验证(跳过状态判断直接跑),
|
||||
因为会话已在 console 时 `tscon` 是幂等的,不会造成影响。
|
||||
|
||||
另外单独验证过:**计划任务上下文(Limited 权限)里 `Start-Process -Verb RunAs`
|
||||
可以静默提权**——这是看门狗能工作的前提。用一个临时任务验证后已清理。
|
||||
|
||||
## 当前生效配置
|
||||
|
||||
```yaml
|
||||
game_path: D:\SteamLibrary\steamapps\common\Limbus Company\LimbusCompany.exe
|
||||
background_click: true
|
||||
win_input_type: background
|
||||
set_win_size: 720
|
||||
set_windows: true
|
||||
select_team_by_order: true
|
||||
teams_active_queue: [1]
|
||||
```
|
||||
|
||||
任务次数由 `run_task` 参数临时覆盖,结束后自动写回原值
|
||||
(原值落盘在 `~/lc_mcp/runs/*.restore.json`,防强杀丢失)。
|
||||
|
||||
## 仍未验证 / 已知限制
|
||||
|
||||
1. **分辨率中途变化会重现问题 5**,目前无自动纠正机制。
|
||||
2. **`foreground` 模式在无人值守下不可用**(见上),已改用 `background`。
|
||||
3. **多局连刷的稳定性未验证**:只完整跑通 1 局;
|
||||
`count=3` 的批处理两次都在中途被打断(第一次因问题 5,第二次因问题 1)。
|
||||
4. **未使用 Jev / 决策模型**:全部走 AALC 内置规则流程,`decisionEngine` 未接入。
|
||||
5. 账号为 LV 37 早期账号,**主线未通关**(镜牢界面可见 `Clear Canto 8` 等解锁条件),
|
||||
因此结论只覆盖普通镜牢,不覆盖困难镜牢与主线。
|
||||
6. **看门狗只覆盖"桌面变黑"这一类故障**。识别失败、卡在未知界面等其他问题
|
||||
仍需人工介入——问题 5 就是例子。
|
||||
7. `720p` 下模板缩放为 `720/1440 = 0.5`。实测战斗界面匹配正常,
|
||||
但**未做过全流程的识别成功率对比**,小图标场景可能劣于 1080p。
|
||||
|
||||
## 本次导出排除的内容
|
||||
|
||||
API key、MCP token(`~/lc_mcp/token`)、私有配置文件、完整会话转录、
|
||||
以及账号 UID 可见的底部栏截图。
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 2.4 MiB |
Binary file not shown.
|
After Width: | Height: | Size: 697 KiB |
@@ -0,0 +1,8 @@
|
||||
[36m[DEBUG] 2026-10-04 23:10:05,506 [AALC] module\automation\automation.py:83: 使用后台点击模块[0m
|
||||
[lc_mcp] listening on 127.0.0.1:8765 (token: C:\Users\YWS-HHH\lc_mcp\token)
|
||||
[36m[DEBUG] 2026-10-04 23:19:50,811 [AALC] module\automation\automation.py:83: 使用后台点击模块[0m
|
||||
[lc_mcp] listening on 127.0.0.1:8765 (token: C:\Users\YWS-HHH\lc_mcp\token)
|
||||
[36m[DEBUG] 2026-10-04 23:30:39,791 [AALC] module\automation\automation.py:88: 使用前台点击模块[0m
|
||||
[lc_mcp] listening on 127.0.0.1:8765 (token: C:\Users\YWS-HHH\lc_mcp\token)
|
||||
[36m[DEBUG] 2026-10-04 23:47:18,039 [AALC] module\automation\automation.py:88: 使用前台点击模块[0m
|
||||
[lc_mcp] listening on 127.0.0.1:8765 (token: C:\Users\YWS-HHH\lc_mcp\token)
|
||||
@@ -0,0 +1,60 @@
|
||||
[DEBUG] 2026-10-05 01:01:54,822 [AALC] module\automation\automation.py:152: 点击(1,1)空白位置
|
||||
[DEBUG] 2026-10-05 01:01:57,503 [AALC] module\automation\automation.py:152: 点击(1,1)空白位置
|
||||
[DEBUG] 2026-10-05 01:02:00,225 [AALC] module\automation\automation.py:152: 点击(1,1)空白位置
|
||||
[DEBUG] 2026-10-05 01:02:02,907 [AALC] module\automation\automation.py:152: 点击(1,1)空白位置
|
||||
[DEBUG] 2026-10-05 01:02:05,608 [AALC] module\automation\automation.py:152: 点击(1,1)空白位置
|
||||
[DEBUG] 2026-10-05 01:02:08,344 [AALC] module\automation\automation.py:152: 点击(1,1)空白位置
|
||||
[DEBUG] 2026-10-05 01:02:11,090 [AALC] module\automation\automation.py:152: 点击(1,1)空白位置
|
||||
[DEBUG] 2026-10-05 01:02:13,801 [AALC] module\automation\automation.py:152: 点击(1,1)空白位置
|
||||
[DEBUG] 2026-10-05 01:02:16,503 [AALC] module\automation\automation.py:152: 点击(1,1)空白位置
|
||||
[DEBUG] 2026-10-05 01:02:19,252 [AALC] module\automation\automation.py:152: 点击(1,1)空白位置
|
||||
[DEBUG] 2026-10-05 01:02:21,925 [AALC] module\automation\automation.py:152: 点击(1,1)空白位置
|
||||
[DEBUG] 2026-10-05 01:02:24,650 [AALC] module\automation\automation.py:152: 点击(1,1)空白位置
|
||||
[DEBUG] 2026-10-05 01:02:27,386 [AALC] module\automation\automation.py:152: 点击(1,1)空白位置
|
||||
[DEBUG] 2026-10-05 01:02:30,083 [AALC] module\automation\automation.py:152: 点击(1,1)空白位置
|
||||
[DEBUG] 2026-10-05 01:02:32,929 [AALC] module\automation\automation.py:152: 点击(1,1)空白位置
|
||||
[DEBUG] 2026-10-05 01:02:35,546 [AALC] module\automation\automation.py:152: 点击(1,1)空白位置
|
||||
[DEBUG] 2026-10-05 01:02:38,238 [AALC] module\automation\automation.py:152: 点击(1,1)空白位置
|
||||
[DEBUG] 2026-10-05 01:02:40,938 [AALC] module\automation\automation.py:152: 点击(1,1)空白位置
|
||||
[DEBUG] 2026-10-05 01:02:43,913 [AALC] module\automation\automation.py:152: 点击(1,1)空白位置
|
||||
[DEBUG] 2026-10-05 01:02:46,383 [AALC] module\automation\automation.py:152: 点击(1,1)空白位置
|
||||
[DEBUG] 2026-10-05 01:02:49,078 [AALC] module\automation\automation.py:152: 点击(1,1)空白位置
|
||||
[DEBUG] 2026-10-05 01:02:51,783 [AALC] module\automation\automation.py:152: 点击(1,1)空白位置
|
||||
[DEBUG] 2026-10-05 01:02:54,500 [AALC] module\automation\automation.py:152: 点击(1,1)空白位置
|
||||
[DEBUG] 2026-10-05 01:02:57,224 [AALC] module\automation\automation.py:152: 点击(1,1)空白位置
|
||||
[DEBUG] 2026-10-05 01:02:59,914 [AALC] module\automation\automation.py:152: 点击(1,1)空白位置
|
||||
[DEBUG] 2026-10-05 01:03:02,647 [AALC] module\automation\automation.py:152: 点击(1,1)空白位置
|
||||
[DEBUG] 2026-10-05 01:03:05,417 [AALC] module\automation\automation.py:152: 点击(1,1)空白位置
|
||||
[DEBUG] 2026-10-05 01:03:08,170 [AALC] module\automation\automation.py:152: 点击(1,1)空白位置
|
||||
[DEBUG] 2026-10-05 01:03:10,861 [AALC] module\automation\automation.py:152: 点击(1,1)空白位置
|
||||
[DEBUG] 2026-10-05 01:03:13,561 [AALC] module\automation\automation.py:152: 点击(1,1)空白位置
|
||||
[DEBUG] 2026-10-05 01:03:16,258 [AALC] module\automation\automation.py:152: 点击(1,1)空白位置
|
||||
[DEBUG] 2026-10-05 01:03:19,007 [AALC] module\automation\automation.py:152: 点击(1,1)空白位置
|
||||
[DEBUG] 2026-10-05 01:03:21,782 [AALC] module\automation\automation.py:152: 点击(1,1)空白位置
|
||||
[DEBUG] 2026-10-05 01:03:24,438 [AALC] module\automation\automation.py:152: 点击(1,1)空白位置
|
||||
[DEBUG] 2026-10-05 01:03:27,307 [AALC] module\automation\automation.py:152: 点击(1,1)空白位置
|
||||
[DEBUG] 2026-10-05 01:03:29,893 [AALC] module\automation\automation.py:152: 点击(1,1)空白位置
|
||||
[DEBUG] 2026-10-05 01:03:32,609 [AALC] module\automation\automation.py:152: 点击(1,1)空白位置
|
||||
[DEBUG] 2026-10-05 01:03:35,309 [AALC] module\automation\automation.py:152: 点击(1,1)空白位置
|
||||
[DEBUG] 2026-10-05 01:03:38,074 [AALC] module\automation\automation.py:152: 点击(1,1)空白位置
|
||||
[DEBUG] 2026-10-05 01:03:40,788 [AALC] module\automation\automation.py:152: 点击(1,1)空白位置
|
||||
[DEBUG] 2026-10-05 01:03:43,440 [AALC] module\automation\automation.py:152: 点击(1,1)空白位置
|
||||
[DEBUG] 2026-10-05 01:03:46,135 [AALC] module\automation\automation.py:152: 点击(1,1)空白位置
|
||||
[DEBUG] 2026-10-05 01:03:48,866 [AALC] module\automation\automation.py:152: 点击(1,1)空白位置
|
||||
[DEBUG] 2026-10-05 01:03:51,613 [AALC] module\automation\automation.py:152: 点击(1,1)空白位置
|
||||
[DEBUG] 2026-10-05 01:03:54,301 [AALC] module\automation\automation.py:152: 点击(1,1)空白位置
|
||||
[DEBUG] 2026-10-05 01:03:57,048 [AALC] module\automation\automation.py:152: 点击(1,1)空白位置
|
||||
[DEBUG] 2026-10-05 01:03:59,772 [AALC] module\automation\automation.py:152: 点击(1,1)空白位置
|
||||
[DEBUG] 2026-10-05 01:04:02,468 [AALC] module\automation\automation.py:152: 点击(1,1)空白位置
|
||||
[DEBUG] 2026-10-05 01:04:05,190 [AALC] module\automation\automation.py:152: 点击(1,1)空白位置
|
||||
[DEBUG] 2026-10-05 01:04:08,042 [AALC] module\automation\automation.py:152: 点击(1,1)空白位置
|
||||
[DEBUG] 2026-10-05 01:04:10,632 [AALC] module\automation\automation.py:152: 点击(1,1)空白位置
|
||||
[DEBUG] 2026-10-05 01:04:13,378 [AALC] module\automation\automation.py:152: 点击(1,1)空白位置
|
||||
[DEBUG] 2026-10-05 01:04:16,082 [AALC] module\automation\automation.py:152: 点击(1,1)空白位置
|
||||
[DEBUG] 2026-10-05 01:04:18,834 [AALC] module\automation\automation.py:152: 点击(1,1)空白位置
|
||||
[DEBUG] 2026-10-05 01:04:21,524 [AALC] module\automation\automation.py:152: 点击(1,1)空白位置
|
||||
[DEBUG] 2026-10-05 01:04:24,262 [AALC] module\automation\automation.py:152: 点击(1,1)空白位置
|
||||
[DEBUG] 2026-10-05 01:04:26,991 [AALC] module\automation\automation.py:152: 点击(1,1)空白位置
|
||||
[DEBUG] 2026-10-05 01:04:29,699 [AALC] module\automation\automation.py:152: 点击(1,1)空白位置
|
||||
[DEBUG] 2026-10-05 01:04:32,379 [AALC] module\automation\automation.py:152: 点击(1,1)空白位置
|
||||
[DEBUG] 2026-10-05 01:04:35,261 [AALC] module\automation\automation.py:152: 点击(1,1)空白位置
|
||||
@@ -0,0 +1,98 @@
|
||||
[INFO] 2026-10-04 23:49:42,796 [AALC] tasks\base\script_task_scheme.py:337: 开始执行 一次镜牢
|
||||
[INFO] 2026-10-04 23:49:49,028 [AALC] module\automation\automation.py:435: 主题:default
|
||||
[INFO] 2026-10-04 23:49:52,013 [AALC] tasks\mirror\mirror.py:268: 开始执行 选择镜牢主题包
|
||||
[INFO] 2026-10-04 23:49:55,630 [AALC] module\decorator\decorator.py:18: 语言: 英文
|
||||
[INFO] 2026-10-04 23:50:02,238 [AALC] tasks\mirror\select_theme_pack.py:122: 此次选择卡包关键词:judgment
|
||||
[INFO] 2026-10-04 23:50:02,240 [AALC] tasks\mirror\mirror.py:268: 结束执行 选择镜牢主题包
|
||||
[INFO] 2026-10-04 23:50:02,242 [AALC] tasks\mirror\mirror.py:44: 启动后第2层卡包,该楼层时间不完整 总耗时:497538:36:41
|
||||
[INFO] 2026-10-04 23:50:05,795 [AALC] tasks\mirror\mirror.py:109: 开始执行 镜牢寻路
|
||||
[INFO] 2026-10-04 23:50:15,941 [AALC] tasks\mirror\mirror.py:109: 结束执行 镜牢寻路
|
||||
[INFO] 2026-10-04 23:50:39,852 [AALC] tasks\mirror\mirror.py:109: 开始执行 镜牢寻路
|
||||
[INFO] 2026-10-04 23:50:42,352 [AALC] tasks\mirror\mirror.py:109: 结束执行 镜牢寻路
|
||||
[INFO] 2026-10-04 23:50:44,150 [AALC] tasks\mirror\mirror.py:338: 开始执行 罪人编队
|
||||
[INFO] 2026-10-04 23:50:55,188 [AALC] tasks\mirror\mirror.py:338: 结束执行 罪人编队
|
||||
[INFO] 2026-10-04 23:51:04,503 [AALC] tasks\mirror\mirror.py:109: 开始执行 一次战斗
|
||||
[INFO] 2026-10-04 23:52:44,374 [AALC] tasks\mirror\mirror.py:109: 结束执行 一次战斗
|
||||
[INFO] 2026-10-04 23:52:54,060 [AALC] tasks\mirror\mirror.py:109: 开始执行 镜牢寻路
|
||||
[INFO] 2026-10-04 23:52:56,567 [AALC] tasks\mirror\mirror.py:109: 结束执行 镜牢寻路
|
||||
[INFO] 2026-10-04 23:53:16,306 [AALC] tasks\mirror\mirror.py:109: 开始执行 镜牢寻路
|
||||
[INFO] 2026-10-04 23:53:18,816 [AALC] tasks\mirror\mirror.py:109: 结束执行 镜牢寻路
|
||||
[INFO] 2026-10-04 23:53:28,554 [AALC] tasks\mirror\mirror.py:109: 开始执行 一次战斗
|
||||
[INFO] 2026-10-04 23:55:08,785 [AALC] tasks\mirror\mirror.py:109: 结束执行 一次战斗
|
||||
[INFO] 2026-10-04 23:55:21,831 [AALC] tasks\mirror\mirror.py:109: 开始执行 镜牢寻路
|
||||
[INFO] 2026-10-04 23:55:24,343 [AALC] tasks\mirror\mirror.py:109: 结束执行 镜牢寻路
|
||||
[INFO] 2026-10-04 23:55:26,233 [AALC] tasks\mirror\mirror.py:109: 开始执行 镜牢商店
|
||||
[INFO] 2026-10-04 23:56:44,367 [AALC] tasks\mirror\mirror.py:109: 结束执行 镜牢商店
|
||||
[INFO] 2026-10-04 23:56:48,588 [AALC] tasks\mirror\mirror.py:109: 开始执行 镜牢寻路
|
||||
[INFO] 2026-10-04 23:56:51,084 [AALC] tasks\mirror\mirror.py:109: 结束执行 镜牢寻路
|
||||
[INFO] 2026-10-04 23:57:00,792 [AALC] tasks\mirror\mirror.py:109: 开始执行 一次战斗
|
||||
[INFO] 2026-10-05 00:01:06,172 [AALC] tasks\mirror\mirror.py:109: 结束执行 一次战斗
|
||||
[INFO] 2026-10-05 00:01:08,161 [AALC] tasks\mirror\mirror.py:434: 开始执行 镜牢获取奖励卡
|
||||
[INFO] 2026-10-05 00:01:14,084 [AALC] tasks\mirror\mirror.py:434: 结束执行 镜牢获取奖励卡
|
||||
[INFO] 2026-10-05 00:01:37,548 [AALC] tasks\mirror\mirror.py:268: 开始执行 选择镜牢主题包
|
||||
[INFO] 2026-10-05 00:01:47,209 [AALC] tasks\mirror\select_theme_pack.py:122: 此次选择卡包关键词:nsignif
|
||||
[INFO] 2026-10-05 00:01:47,211 [AALC] tasks\mirror\mirror.py:268: 结束执行 选择镜牢主题包
|
||||
[INFO] 2026-10-05 00:01:47,212 [AALC] tasks\mirror\mirror.py:44: 启动后第3层卡包 总耗时:00:11:44
|
||||
[INFO] 2026-10-05 00:01:50,772 [AALC] tasks\mirror\mirror.py:109: 开始执行 镜牢寻路
|
||||
[INFO] 2026-10-05 00:02:00,951 [AALC] tasks\mirror\mirror.py:109: 结束执行 镜牢寻路
|
||||
[INFO] 2026-10-05 00:02:15,648 [AALC] tasks\mirror\mirror.py:109: 开始执行 镜牢寻路
|
||||
[INFO] 2026-10-05 00:02:18,166 [AALC] tasks\mirror\mirror.py:109: 结束执行 镜牢寻路
|
||||
[INFO] 2026-10-05 00:02:27,946 [AALC] tasks\mirror\mirror.py:109: 开始执行 一次战斗
|
||||
[INFO] 2026-10-05 00:04:27,763 [AALC] tasks\mirror\mirror.py:109: 结束执行 一次战斗
|
||||
[INFO] 2026-10-05 00:04:32,181 [AALC] tasks\mirror\mirror.py:109: 开始执行 镜牢寻路
|
||||
[INFO] 2026-10-05 00:04:34,677 [AALC] tasks\mirror\mirror.py:109: 结束执行 镜牢寻路
|
||||
[INFO] 2026-10-05 00:04:44,451 [AALC] tasks\mirror\mirror.py:109: 开始执行 一次战斗
|
||||
[INFO] 2026-10-05 00:07:24,851 [AALC] tasks\mirror\mirror.py:109: 结束执行 一次战斗
|
||||
[INFO] 2026-10-05 00:07:29,247 [AALC] tasks\mirror\mirror.py:109: 开始执行 镜牢寻路
|
||||
[INFO] 2026-10-05 00:07:31,754 [AALC] tasks\mirror\mirror.py:109: 结束执行 镜牢寻路
|
||||
[INFO] 2026-10-05 00:07:56,867 [AALC] tasks\mirror\mirror.py:109: 开始执行 镜牢寻路
|
||||
[INFO] 2026-10-05 00:07:59,367 [AALC] tasks\mirror\mirror.py:109: 结束执行 镜牢寻路
|
||||
[INFO] 2026-10-05 00:08:01,268 [AALC] tasks\mirror\mirror.py:109: 开始执行 镜牢商店
|
||||
[INFO] 2026-10-05 00:09:13,353 [AALC] tasks\mirror\mirror.py:109: 结束执行 镜牢商店
|
||||
[INFO] 2026-10-05 00:09:17,534 [AALC] tasks\mirror\mirror.py:109: 开始执行 镜牢寻路
|
||||
[INFO] 2026-10-05 00:09:20,043 [AALC] tasks\mirror\mirror.py:109: 结束执行 镜牢寻路
|
||||
[INFO] 2026-10-05 00:09:29,800 [AALC] tasks\mirror\mirror.py:109: 开始执行 一次战斗
|
||||
[INFO] 2026-10-05 00:14:23,370 [AALC] tasks\mirror\mirror.py:109: 结束执行 一次战斗
|
||||
[INFO] 2026-10-05 00:14:25,326 [AALC] tasks\mirror\mirror.py:434: 开始执行 镜牢获取奖励卡
|
||||
[INFO] 2026-10-05 00:14:27,822 [AALC] tasks\mirror\mirror.py:434: 结束执行 镜牢获取奖励卡
|
||||
[INFO] 2026-10-05 00:14:52,226 [AALC] tasks\mirror\mirror.py:268: 开始执行 选择镜牢主题包
|
||||
[INFO] 2026-10-05 00:15:01,683 [AALC] tasks\mirror\select_theme_pack.py:122: 此次选择卡包关键词:addict
|
||||
[INFO] 2026-10-05 00:15:01,684 [AALC] tasks\mirror\mirror.py:268: 结束执行 选择镜牢主题包
|
||||
[INFO] 2026-10-05 00:15:01,686 [AALC] tasks\mirror\mirror.py:44: 启动后第4层卡包 总耗时:00:13:14
|
||||
[INFO] 2026-10-05 00:15:05,235 [AALC] tasks\mirror\mirror.py:109: 开始执行 镜牢寻路
|
||||
[INFO] 2026-10-05 00:15:15,405 [AALC] tasks\mirror\mirror.py:109: 结束执行 镜牢寻路
|
||||
[INFO] 2026-10-05 00:15:40,768 [AALC] tasks\mirror\mirror.py:109: 开始执行 镜牢寻路
|
||||
[INFO] 2026-10-05 00:15:43,267 [AALC] tasks\mirror\mirror.py:109: 结束执行 镜牢寻路
|
||||
[INFO] 2026-10-05 00:15:53,021 [AALC] tasks\mirror\mirror.py:109: 开始执行 一次战斗
|
||||
[INFO] 2026-10-05 00:19:13,160 [AALC] tasks\mirror\mirror.py:109: 结束执行 一次战斗
|
||||
[INFO] 2026-10-05 00:19:15,155 [AALC] tasks\mirror\mirror.py:434: 开始执行 镜牢获取奖励卡
|
||||
[INFO] 2026-10-05 00:19:21,069 [AALC] tasks\mirror\mirror.py:434: 结束执行 镜牢获取奖励卡
|
||||
[INFO] 2026-10-05 00:19:25,374 [AALC] tasks\mirror\mirror.py:109: 开始执行 镜牢寻路
|
||||
[INFO] 2026-10-05 00:19:27,881 [AALC] tasks\mirror\mirror.py:109: 结束执行 镜牢寻路
|
||||
[INFO] 2026-10-05 00:19:37,628 [AALC] tasks\mirror\mirror.py:109: 开始执行 一次战斗
|
||||
[INFO] 2026-10-05 00:23:07,182 [AALC] tasks\mirror\mirror.py:109: 结束执行 一次战斗
|
||||
[INFO] 2026-10-05 00:23:11,600 [AALC] tasks\mirror\mirror.py:109: 开始执行 镜牢寻路
|
||||
[INFO] 2026-10-05 00:23:14,098 [AALC] tasks\mirror\mirror.py:109: 结束执行 镜牢寻路
|
||||
[INFO] 2026-10-05 00:23:39,214 [AALC] tasks\mirror\mirror.py:109: 开始执行 镜牢寻路
|
||||
[INFO] 2026-10-05 00:23:41,720 [AALC] tasks\mirror\mirror.py:109: 结束执行 镜牢寻路
|
||||
[INFO] 2026-10-05 00:23:43,615 [AALC] tasks\mirror\mirror.py:109: 开始执行 镜牢商店
|
||||
[INFO] 2026-10-05 00:24:41,532 [AALC] tasks\mirror\mirror.py:109: 结束执行 镜牢商店
|
||||
[INFO] 2026-10-05 00:24:45,739 [AALC] tasks\mirror\mirror.py:109: 开始执行 镜牢寻路
|
||||
[INFO] 2026-10-05 00:24:48,247 [AALC] tasks\mirror\mirror.py:109: 结束执行 镜牢寻路
|
||||
[INFO] 2026-10-05 00:24:58,028 [AALC] tasks\mirror\mirror.py:109: 开始执行 一次战斗
|
||||
[INFO] 2026-10-05 00:28:50,253 [AALC] tasks\mirror\mirror.py:109: 结束执行 一次战斗
|
||||
[INFO] 2026-10-05 00:28:51,387 [AALC] tasks\mirror\mirror.py:494: 开始进行镜牢奖励领取
|
||||
[INFO] 2026-10-05 00:28:55,140 [AALC] tasks\mirror\mirror.py:625: 本次镜牢领取45个通行证经验
|
||||
[INFO] 2026-10-05 00:29:06,019 [AALC] tasks\mirror\mirror.py:44: 启动后第4层卡包 总耗时:00:14:04
|
||||
[INFO] 2026-10-05 00:29:06,020 [AALC] tasks\mirror\mirror.py:44: 此次镜牢在战斗 总耗时:00:27:41
|
||||
[INFO] 2026-10-05 00:29:06,021 [AALC] tasks\mirror\mirror.py:727: 此次镜牢走的事件次数6
|
||||
[INFO] 2026-10-05 00:29:06,022 [AALC] tasks\mirror\mirror.py:44: 此次镜牢在事件 总耗时:00:01:17
|
||||
[INFO] 2026-10-05 00:29:06,023 [AALC] tasks\mirror\mirror.py:44: 此次镜牢中在商店 总耗时:00:03:28
|
||||
[INFO] 2026-10-05 00:29:06,024 [AALC] tasks\mirror\mirror.py:44: 此次镜牢中在寻路 总耗时:00:01:08
|
||||
[INFO] 2026-10-05 00:29:06,026 [AALC] tasks\mirror\mirror.py:44: 此次镜牢使用burn体系队伍 总耗时:00:39:23
|
||||
[INFO] 2026-10-05 00:29:06,027 [AALC] tasks\base\script_task_scheme.py:100: 开始执行 返回主界面
|
||||
[INFO] 2026-10-05 00:29:07,239 [AALC] tasks\base\script_task_scheme.py:100: 结束执行 返回主界面
|
||||
[INFO] 2026-10-05 00:29:07,241 [AALC] tasks\base\script_task_scheme.py:101: 开始执行 体力换饼
|
||||
[INFO] 2026-10-05 00:29:10,858 [AALC] tasks\base\script_task_scheme.py:101: 结束执行 体力换饼
|
||||
[INFO] 2026-10-05 00:29:10,859 [AALC] tasks\base\script_task_scheme.py:337: 结束执行 一次镜牢
|
||||
[INFO] 2026-10-05 00:29:10,869 [AALC] tasks\base\script_task_scheme.py:351: 已完成 1 次镜牢
|
||||
@@ -0,0 +1,59 @@
|
||||
{
|
||||
"exported_at_utc": "2026-10-04T17:19:53.700710+00:00",
|
||||
"base_commit": "073e407346d83c734724be42103e5b5baa100a85",
|
||||
"host": "Windows, remote unattended session (RDP/ToDesk), no one at the machine",
|
||||
"game": "Limbus Company (Steam), account LV 37, first-ever Mirror Dungeon entry",
|
||||
"test_exit_code": 0,
|
||||
"tests_passed": 171,
|
||||
"mirror_runs_completed": 1,
|
||||
"mirror_run_duration": "00:39:28",
|
||||
"mirror_run_errors": 0,
|
||||
"distinct_failures_documented": 6,
|
||||
"unattended_selfheal_task_verified": true,
|
||||
"screenshots": 2,
|
||||
"log_excerpts": 3,
|
||||
"excluded": [
|
||||
"API keys",
|
||||
"MCP token",
|
||||
"private configurations",
|
||||
"session transcripts",
|
||||
"account-UID screenshots"
|
||||
],
|
||||
"files": [
|
||||
{
|
||||
"path": "README.md",
|
||||
"bytes": 14114,
|
||||
"sha256": "be63ab5ecf21b944b59df3d357eeba826694114a19e899e154ee28d6293f1c44"
|
||||
},
|
||||
{
|
||||
"path": "captures/stall-wrong-aspect-1872x898.png",
|
||||
"bytes": 2480446,
|
||||
"sha256": "122c5d6aabe04225c2388531271a88c869311ef7181e197320e871e86010fd5f"
|
||||
},
|
||||
{
|
||||
"path": "captures/working-1280x720.png",
|
||||
"bytes": 714175,
|
||||
"sha256": "a6a2fd75d767c9fc9675eb7390aa03dc611807d60c53c67d960310103576c36f"
|
||||
},
|
||||
{
|
||||
"path": "logs/server-excerpt.txt",
|
||||
"bytes": 748,
|
||||
"sha256": "d1828b44d247b66c06558b42c277be5391faaa60f6e616669e6195cd9ecd2dfe"
|
||||
},
|
||||
{
|
||||
"path": "logs/stalled-run-tail.txt",
|
||||
"bytes": 6420,
|
||||
"sha256": "de8f2d714f726cdc10ad55cf442d171cfd51afa64ec7e138df420d1ff3b9a05c"
|
||||
},
|
||||
{
|
||||
"path": "logs/successful-run-milestones.txt",
|
||||
"bytes": 9562,
|
||||
"sha256": "459b746eea2a85870f8c1a89c59a3d65e1558472a2c9f3b0c9af24d682f26d75"
|
||||
},
|
||||
{
|
||||
"path": "test-results.txt",
|
||||
"bytes": 1236,
|
||||
"sha256": "8200e288e3570c08e76097ec5622382453850cc0ef5673bd12fc27a7bc66d1a0"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{"step": 0, "run_id": "47442136bf99427d96dd53decc47c426", "choice": "wait", "action": {"tool": "wait", "args": {"seconds": 0.7}}, "jev_ms": 0, "ocr_ms": 0, "screen": null, "at": "2026-10-05T01:09:00", "decision_engine": "rules", "action_ms": 0, "finished_at": "2026-10-05T01:09:00", "result": {"ok": true, "waited": 0.7}, "state": "running", "battle_context": false}
|
||||
{"step": 1, "run_id": "47442136bf99427d96dd53decc47c426", "choice": "wait", "action": {"tool": "wait", "args": {"seconds": 0.7}}, "jev_ms": 0, "ocr_ms": 0, "screen": null, "at": "2026-10-05T01:09:00", "decision_engine": "rules", "action_ms": 0, "finished_at": "2026-10-05T01:09:00", "result": {"ok": true, "waited": 0.7}, "state": "running", "battle_context": false}
|
||||
.................................................................................................unknown params for mirror: exp
|
||||
usage: python -m lc_mcp.aalc_task <all|daily|reward|enkephalin|mirror> [json]
|
||||
......................................[lc_mcp] rejected connection from ('127.0.0.1', 60318)
|
||||
..[lc_mcp] rejected connection from ('127.0.0.1', 60322)
|
||||
..................................
|
||||
----------------------------------------------------------------------
|
||||
Ran 171 tests in 11.603s
|
||||
|
||||
OK
|
||||
@@ -0,0 +1,360 @@
|
||||
# 踩坑全记录(2026-10-05 自动化实战)
|
||||
|
||||
这一天把 lc-mcp 从"能手动跑"推到"能无人值守自动养号",一路上挖出
|
||||
**14 个坑**。其中 6 个是 AALC 自身的缺陷或脆弱点,4 个是游戏 UI 的
|
||||
反直觉设计,4 个是我自己写自动化时踩的。
|
||||
|
||||
按"离奇程度"排序,最有价值的放前面。
|
||||
|
||||
---
|
||||
|
||||
## 坑 1:人格详情页是**长按**打开的 ★★★★★
|
||||
|
||||
罪人界面(Sinners → Identities)的身份卡片:
|
||||
|
||||
| 操作 | 结果 |
|
||||
|---|---|
|
||||
| 单击 | 只是**选中/取消选中**(队伍预设增删成员) |
|
||||
| **长按** | **打开人格详情页**(升级 / 同步入口) |
|
||||
|
||||
**代价**:我单击试遍了卡片头像、SELECTED 横幅、名字等级区、双击、
|
||||
右侧 Selected Identity 面板、左侧罪人头像栏、右上 `i`、`Details` 按钮
|
||||
—— **全都只能选中**。花了十几轮才由用户一句话点破。
|
||||
|
||||
**为什么反直觉**:这是移动端移植 UI,长按在手机上很自然,在桌面端
|
||||
用鼠标时几乎没人会想到。
|
||||
|
||||
**自动化实现**:lc-mcp 没有 long-press 工具,但 `drag` 是
|
||||
`按下 → 移动 → 抬起`,**起点终点相同**就是长按:
|
||||
|
||||
```python
|
||||
probe('drag', {'from_x': x, 'from_y': y, 'to_x': x, 'to_y': y})
|
||||
```
|
||||
|
||||
实测稳定可复现(`duration` 约 1.0s)。
|
||||
|
||||
---
|
||||
|
||||
## 坑 2:按名字选队会**子串误匹配** ★★★★★
|
||||
|
||||
`tasks/teams/team_formation.py`:
|
||||
|
||||
```python
|
||||
team_name_en = [f"TEAMS #{num}", f"TEAMS#{num}", f"TFAMS#{num}"] # num=1
|
||||
```
|
||||
|
||||
**`"TEAMS #1"` 是 `"TEAMS #10"`~`"TEAMS #19"` 的子串。**
|
||||
|
||||
本机账号有 **40 个队伍预设**,所以查找 `TEAMS #1` 极易命中 `TEAMS #10`。
|
||||
|
||||
**症状极其误导**:日志写
|
||||
|
||||
```text
|
||||
[INFO] team_formation.py:188: 成功找到队伍 # 1 ← 假阳性
|
||||
```
|
||||
|
||||
看起来一切正常,但紧接着:
|
||||
|
||||
```text
|
||||
[DEBUG] team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] battle.py:66: 目标图片:battle/normal_to_battle_assets.png 相似度:0.99
|
||||
[DEBUG] automation.py:152: 点击位置:(1439,737) ← 无限点"开战",开不了
|
||||
```
|
||||
|
||||
`0/5` 出现 **306 次**,空转 27 分钟。因为它选中了一个**空预设**。
|
||||
|
||||
**教训**:**日志说"成功"不等于成功**。判断选队是否真的生效,
|
||||
要看 `配队人数` 那一行是不是 `N/5`(N>0),不能只看 `成功找到队伍`。
|
||||
|
||||
---
|
||||
|
||||
## 坑 3:位置法选队会在列表滚动时漂移 ★★★★☆
|
||||
|
||||
关掉名字查找、改用 `select_team_by_order: true`(按坐标点第 N 行)后:
|
||||
|
||||
```python
|
||||
first_position = [position[0], position[1] + 70 * scale] # 偏移 70 ≈ 一行高
|
||||
# 常量: ORDERED_TEAM_ROW_HEIGHT = 72.5
|
||||
```
|
||||
|
||||
**它落到第 2 行(TEAMS #2)而不是第 1 行**,日志依旧报
|
||||
`成功找到队伍 # 1`(`team_formation.py:163` 是位置法分支)。
|
||||
|
||||
我试过"上移一个行高"的补丁(`- ORDERED_TEAM_ROW_HEIGHT * scale`)——
|
||||
**无效**。因为它的前置"复位滑动"终点本身在漂移,固定偏移量治不了
|
||||
**移动的目标**。已把补丁还原,不在 vendored 代码里留无效改动。
|
||||
|
||||
**两种选队方式各自的死法**:
|
||||
|
||||
| 方式 | 失效条件 | 表现 |
|
||||
|---|---|---|
|
||||
| 按名字 | 预设名互为子串 | 选中 `TEAMS #10`(空队) |
|
||||
| 按位置 | 列表滚动位置漂移 | 选中 `TEAMS #2`(空队) |
|
||||
|
||||
---
|
||||
|
||||
## 坑 4:解法是**让落点无意义**——把队伍复制到多个预设 ★★★★★
|
||||
|
||||
既然落点在 #1/#2 之间漂移、名字查找又不可靠,那就不去修定位,
|
||||
而是**让两个预设装同一支队**。落到哪个都对。
|
||||
|
||||
游戏内其实有 **Team Code**(队伍码)功能,入口是队伍标题栏的剪贴板图标:
|
||||
|
||||
```text
|
||||
[TEAMS #1] [✏️] [📋] ← 📋 = Team Code
|
||||
```
|
||||
|
||||
点开后:
|
||||
|
||||
```text
|
||||
[Copy Team Code] @ (816, 414)
|
||||
[Load Team Code] @ (798, 510)
|
||||
```
|
||||
|
||||
**关键技巧:`Copy Team Code` 不显示码,直接写进系统剪贴板**,
|
||||
所以界面上看不到任何变化(我一度以为点击失败了)。可以直接读出来:
|
||||
|
||||
```powershell
|
||||
Get-Clipboard -Raw
|
||||
# H4sIAAAAAAAACnM0dEx3BAJnIAQBz0BPEOUUDBF2c3R2A0lEAiVA...(108 字符 base64)
|
||||
```
|
||||
|
||||
然后到目标预设 `Load Team Code` → `type_text` 输入 → `Confirm`。
|
||||
|
||||
**验证结果**:TEAMS #2 载入后与 #1 完全一致
|
||||
(`LV.34 / Lv.35 / LV.37 / LV.35 / LV.36 / Lv.35` + `LV.26 / Lv.35 / LV.29 / LV.29`)。
|
||||
|
||||
**修复后**:`0/5` 卡死 **306 次 → 0 次**,此后 10 轮 daily 全部
|
||||
`6/6 选队成功 · 0 卡死 · 0 错误`。
|
||||
|
||||
> **通用教训**:当两个方案的失效条件互补时,与其选一个去修,
|
||||
> 不如**消除对它的依赖**。
|
||||
|
||||
---
|
||||
|
||||
## 坑 5:同步成功会播剧情,导致**假阴性** ★★★★☆
|
||||
|
||||
同步(Uptie)到三阶会**解锁并自动播放该人格的剧情**。此时界面上
|
||||
既没有 `Uptied` 字样,也不是失败——脚本按"没看到成功关键字"判了 FAIL。
|
||||
|
||||
**症状**:`同步: FAIL` 后面跟着一段角色台词:
|
||||
|
||||
```text
|
||||
同步未生效: swear, I swear to you! I will return this favor... Fuhu!
|
||||
```
|
||||
|
||||
**修复**:加 `skip_cutscene()`——检测到 `skip` 提示就发 ESC 弹跳过框、
|
||||
点 `Confirm`,然后把同步判为成功。
|
||||
|
||||
```python
|
||||
if 'skip' in txt.lower():
|
||||
conf = next(i for i in items if i['text'].startswith('Confirm'))
|
||||
click(conf['x'], conf['y'])
|
||||
return True, '同步成功(并跳过了解锁的人格剧情)'
|
||||
```
|
||||
|
||||
**同一类问题的第二种表现**:ESC 弹出的"是否跳过"框本身也带 `Cancel`,
|
||||
所以**判定不能用模糊字样**——详情页本来就有 `Uptie+`,用它判断
|
||||
"同步弹窗是否打开"会永远为真,必须先点 `Uptie` 再看有没有
|
||||
`Currency Req` / `Stats Increased` 这些**弹窗独有**文本。
|
||||
|
||||
---
|
||||
|
||||
## 坑 6:等级数字的 OCR **两处都不可靠** ★★★★☆
|
||||
|
||||
| 位置 | 字号 | 实测误读 |
|
||||
|---|---|---|
|
||||
| 网格卡片 | 小号艺术字 | `LV14` → `Lv.1`;`LV24` → `LV2H` |
|
||||
| 详情页大号 | 艺术字 | LCB 罪人页**完全认不出** "LV 17" |
|
||||
|
||||
**后果**:`weakest` 选目标会选错人;LCB 罪人那两张卡一直被跳过。
|
||||
|
||||
**解法:用 EXP 进度条反推等级**(纯数字,OCR 很准):
|
||||
|
||||
```text
|
||||
547/885 → Lv.17 (885 = 17→18 所需经验)
|
||||
2037/2674 → Lv.24 (与直读 LV24 一致 ✅)
|
||||
```
|
||||
|
||||
分母 = 当前等级升下一级所需经验,查 wiki 的 "EXP per Level" 表即可。
|
||||
表里有重复值(4899 对应 30/33/36),用网格读到的值做 tiebreak。
|
||||
|
||||
**同时保留双通道**:详情页直读的 LV 值 + 进度条反推,两者差异 >2 时告警。
|
||||
|
||||
---
|
||||
|
||||
## 坑 7:主界面上按"返回键"会**进入剧情 Drive** ★★★☆☆
|
||||
|
||||
我写恢复流程时盲目点左上返回键 `(85,75)`。在**主界面上**那会进入剧情,
|
||||
掉进过场动画,还得靠 AALC 的 `reward` 任务(它开头有"返回主界面")
|
||||
才救回来。
|
||||
|
||||
**修复**:恢复路径只点 `Sinners` 按钮 `(1130,805)`;返回键改成
|
||||
"只在确实需要退一层时"才按,且每次按完都检查是否已到目标界面。
|
||||
|
||||
---
|
||||
|
||||
## 坑 8:预设列表滚动——**拖拽起点必须在列表内部** ★★★☆☆
|
||||
|
||||
TEAMS 预设列表可以拖拽滚动,但:
|
||||
|
||||
```text
|
||||
drag(130,330 → 130,740) 起点在列表上方 → 完全无反应
|
||||
drag(170,390 → 170,720) 起点在列表内 → 列表 #35 → #28 ✅
|
||||
drag(200,420 → 200,730) 再拖 → #28 → #21 ✅
|
||||
```
|
||||
|
||||
**向下拖拽 = 内容下移 = 露出更靠前的预设。**
|
||||
|
||||
另有 `▲` 箭头在列表顶部 `(162,375)`,但它**盖在首行上**,点它会
|
||||
选中那一行而不是滚动。
|
||||
|
||||
**注意**:当列表已在顶部时,拖拽自然无效(不是坏了)。
|
||||
|
||||
---
|
||||
|
||||
## 坑 9:狂气(Lunacy)必须**只用于抽卡** ★★★★☆
|
||||
|
||||
用户明确要求:**不得消耗狂气**。
|
||||
|
||||
AALC 默认会在体力不足时用狂气换体力(`体力换饼`),配置项:
|
||||
|
||||
```yaml
|
||||
set_lunacy_to_enkephalin: 2 # 0 不购买, 1 购买一次, 2 购买两次, 3 购买三次
|
||||
```
|
||||
|
||||
**三层防护**:
|
||||
|
||||
1. 配置成 `0` —— AALC 根本不买
|
||||
2. 脚本 `lunacy_guard()` —— 每轮读余额,**一旦下降立即中止**
|
||||
3. 基线落盘 `~/lc_mcp/lunacy_baseline.txt`,只增不减
|
||||
|
||||
**实测核对 9 次:`3436 → 3476`(净增 40,只涨不跌)** ✅
|
||||
|
||||
> 日志里出现 `开始执行 体力换饼` **不代表真的花了狂气**——
|
||||
> 要看它是否匹配到 `enkephalin_cancel_assets` 并点了取消。
|
||||
> 实测那两次都走了取消分支。
|
||||
|
||||
---
|
||||
|
||||
## 坑 10:`BACK` 常量作用域 bug——**测试假通过** ★★★☆☆
|
||||
|
||||
我把 `ensure_team1()` 写进 `auto_cycle.py` 时用了 `levelup.py` 里的
|
||||
常量 `BACK`,但没在新文件里定义:
|
||||
|
||||
```text
|
||||
NameError: name 'BACK' is not defined
|
||||
File "auto_cycle.py", line 107, in ensure_team1
|
||||
click(*BACK)
|
||||
```
|
||||
|
||||
**第一次测试"通过"是假象**:当时恰好在 TEAMS 页,`ensure_team1()`
|
||||
走了提前返回的分支,**根本没执行到那一行**。只有从网格启动才会暴露。
|
||||
|
||||
**教训**:测一个有多分支的函数,**必须把每个分支都走到**,
|
||||
否则"测过了"毫无意义。
|
||||
|
||||
---
|
||||
|
||||
## 坑 11:经验本产量有**账号进度天花板** ★★★☆☆
|
||||
|
||||
我一直以为产量低是配置问题,直到日志里偶然露出经验本的真实内容:
|
||||
|
||||
```text
|
||||
'EXPLuxcavation #1' 'Difficulty: Lv 8'
|
||||
'EXPLuxcavation #2' 'Difficulty: Lv 18'
|
||||
'EXPLuxcavation #3' 'Difficulty: Lv 28'
|
||||
'ConsecutiveBattlex1' '> Skip Battle'
|
||||
```
|
||||
|
||||
**这个账号只有 3 关经验本**(wiki 说的 #1–#10 是新版本内容)。
|
||||
所以上限就是 `3 × 4,800 = 14,400 EXP/轮`,和实测完全吻合。
|
||||
|
||||
**AALC 的档位选择已经是最优的**(按 x 从大到小、最右优先、失败才降级)。
|
||||
|
||||
另外 `Skip Battle` 给 +50% 奖励但**耗 2 倍体力模组**,单位体力效率
|
||||
反而更低——AALC 不跳战是对的。
|
||||
|
||||
---
|
||||
|
||||
## 坑 12:同步 Tier IV 需要**自我碎片**(不是 bug) ★★☆☆☆
|
||||
|
||||
每轮同步都报 FAIL,看起来像 bug。实际是:
|
||||
|
||||
```text
|
||||
Currency Req. [Season8] Heathcliff's Egoshard (Owned:2)
|
||||
```
|
||||
|
||||
**Tier IV 需要 50 个对应罪人的自我碎片**(只有 2–3 个)。
|
||||
而解锁技能 3 的 **Tier III 只需要纺锤**——关键提升早就拿到了。
|
||||
|
||||
碎片必须从**镜牢**刷,不是配置能解决的。**不要把这个当故障处理。**
|
||||
|
||||
---
|
||||
|
||||
## 坑 13:游戏窗口丢失 → AALC 会**自行重启游戏** ★★☆☆☆
|
||||
|
||||
最后一次运行的日志:
|
||||
|
||||
```text
|
||||
[ERROR] module\automation\screenshot.py:244: 未能获取到游戏窗口
|
||||
[ERROR] tasks\base\script_task_scheme.py:175: 未能获取到游戏窗口
|
||||
[DEBUG] module\game_and_screen\game.py:28: 游戏已启动:LimbusCompany.exe,进程ID:17220
|
||||
```
|
||||
|
||||
**AALC 内置"检测不到窗口就重启游戏"的逻辑**,而且它是用 Steam 命令
|
||||
启动的。如果用户手动关了游戏,会被它重新拉起来——**看起来像"关不掉"**。
|
||||
|
||||
> **2026-10-13 复核**:`task_20261005_201312_daily` 这一次并不是用户关了游戏。
|
||||
> 20:23–20:24 日志里 `点击(1,1)空白位置` 刷了 27 次(防卡死兜底),随后
|
||||
> `back_init_menu.py:27: 无法返回主界面,尝试重启游戏`——是 AALC 卡在未知界面后
|
||||
> **自己杀掉并重启了游戏**,窗口丢失是结果而不是原因。
|
||||
|
||||
---
|
||||
|
||||
## 坑 14:会话模型——RDP 与自动化**互斥** ★★★★★
|
||||
|
||||
(详细记录见 `docs/feedback/2026-10-04/README.md`,此处只记要点)
|
||||
|
||||
```text
|
||||
会话在物理 console、无人远程连接 → ✅ 自动化正常
|
||||
用户用 RDP 连着 → ❌ 会话被夺走, 显示面被拆
|
||||
GetCursorPos/SetCursorPos 返回 err=5
|
||||
BitBlt=0
|
||||
```
|
||||
|
||||
`tscon <id> /dest:console` 能修,但**Windows 拒绝移动正在被使用的会话**。
|
||||
必须先让用户断开。
|
||||
|
||||
看门狗 `keep_display.ps1` 只在会话为 `Disc`(确认无人连接)时动作,
|
||||
有人在用绝不插手。
|
||||
|
||||
---
|
||||
|
||||
## 附:自动化链路一览
|
||||
|
||||
```text
|
||||
scripts/keep_display.ps1 会话掉 Disc 时提权 tscon 重挂 console(看门狗)
|
||||
scripts/session_state.py WTS API 查会话状态(qwinsta 在计划任务里没输出)
|
||||
scripts/render_check.py BitBlt 渲染自检
|
||||
scripts/mcp_probe.py MCP 握手 + 单次工具调用
|
||||
scripts/levelup.py 长按→详情→升级→同步(含 EXP 条反推等级)
|
||||
scripts/auto_cycle.py 一轮:刷材料→升级→同步→前后对比
|
||||
```
|
||||
|
||||
`auto_cycle.py` **刻意只做一轮,不做无限循环**——由外层按轮驱动,
|
||||
便于每轮核对与随时中止,避免无人监督地长时间空转。
|
||||
|
||||
---
|
||||
|
||||
## 战果
|
||||
|
||||
```text
|
||||
daily 完整成功轮次 10 次(6/6 选队 · 0 卡死 · 0 错误)
|
||||
升级人格 5 个(Rosespanner 04→36, N Corp 14→33,
|
||||
Zwei 14→33, LCB Sinner 17→33, LCB Sinner 17→30)
|
||||
同步成功 Rosespanner(三阶: 技能3 + 新被动 Chronic Fatigue)
|
||||
N Corp(三阶)
|
||||
账号等级 037 → 041
|
||||
狂气 2896 → 3476(只增不减,一分未花)✅
|
||||
```
|
||||
@@ -0,0 +1,177 @@
|
||||
# 2026-10-05 人格升级自动化与选队定位缺陷
|
||||
|
||||
接 `docs/feedback/2026-10-04/`。这一天的工作从"能刷"推进到"能养":
|
||||
把**人格升级/同步**这条原本只存在于 GUI 的链路自动化,并定位到一个会
|
||||
静默选错队伍的配置陷阱。
|
||||
|
||||
## 结果
|
||||
|
||||
```text
|
||||
daily 一轮 18 分钟,exit 0,0 错误
|
||||
自动化一整轮 刷材料 -> 升级 -> 同步 -> 前后对比,约 20 分钟
|
||||
实测升级 N Corp. Mittelhammer Lv.14 -> Lv.26
|
||||
实测升级 Rosespanner Workshop Fixer Lv.04 -> Lv.36
|
||||
HP 87->173,Defense Level 4->36
|
||||
实测同步 Rosespanner Uptie 二阶->三阶
|
||||
解锁 Skill 3「Saddled Tasks」+ 新被动 Chronic Fatigue
|
||||
```
|
||||
|
||||
## 一、人格详情页是长按打开的 ★
|
||||
|
||||
**这是整件事的关键,也是最反直觉的一点。**
|
||||
|
||||
罪人界面(Sinners → Identities)的卡片:
|
||||
|
||||
| 操作 | 结果 |
|
||||
|---|---|
|
||||
| 单击 | 只是**选中/取消选中**(在队伍预设里增删成员) |
|
||||
| 长按 | **打开人格详情页** |
|
||||
|
||||
单击试遍了卡片头像、SELECTED 横幅、名字等级区、双击、右侧面板、
|
||||
左侧罪人栏、右上 `i`、Details 按钮——**全都只能选中**。长按一下,
|
||||
详情页里 `Level Up` 和 `Uptie` 两个按钮就在那里。
|
||||
|
||||
**自动化实现**:lc-mcp 没有 long-press 工具,但 `drag` 是
|
||||
`按下 -> 移动 -> 抬起`,**起点终点相同**就是长按:
|
||||
|
||||
```python
|
||||
probe('drag', {'from_x': x, 'from_y': y, 'to_x': x, 'to_y': y})
|
||||
```
|
||||
|
||||
实测稳定可复现。
|
||||
|
||||
### 完整坐标(1600x900 客户区)
|
||||
|
||||
```text
|
||||
罪人界面网格 列 x = 335 508 681 853 1026 1198
|
||||
行 y = 260 487 715 942
|
||||
人格详情页 Level Up (1164, 235) Uptie (1367, 235)
|
||||
升级(Power-up)窗口 券档位行 y = 383(IV) 490(III) 598(II)
|
||||
「全部投入」按钮 x = 1133(每行同 x)
|
||||
Confirm (1030, 670) Cancel (603, 670)
|
||||
同步(Uptie)窗口 Uptie (1085, 580) 完成 Confirm (772, 661)
|
||||
取消 (526, 660)
|
||||
```
|
||||
|
||||
## 二、`select_team_by_order: true` 会静默选错队伍 ★
|
||||
|
||||
> **2026-10-13 更正**:本节"改回按名字查找即修复"的结论**已被推翻**。
|
||||
> 同日 16:59 那轮按名字查找时,`TEAMS #1` 子串误匹配到 `TEAMS #10`(空预设),
|
||||
> 空转 27 分钟。两种选队方式各有失效条件,最终解法是用 Team Code 把
|
||||
> TEAMS #1 复制到 #2,让落点无所谓。以 `PITFALLS.md` 坑 2–4 为准。
|
||||
|
||||
**这个坑比看上去严重:它不报错,只是"刷了半天什么也没发生"。**
|
||||
|
||||
`tasks/teams/team_formation.py` 有两条选队路径:
|
||||
|
||||
```python
|
||||
if cfg.select_team_by_order:
|
||||
# 按"位置"点击:first_position + 行高 × 序号
|
||||
first_position = [position[0], position[1] + 70 * scale]
|
||||
...
|
||||
auto.mouse_click(first_position[0],
|
||||
first_position[1] + _ordered_team_click_offset(...) * scale)
|
||||
else:
|
||||
# 按"名字"查找
|
||||
team_name_en = [f"TEAMS #{num}", f"TEAMS#{num}", f"TFAMS#{num}"]
|
||||
if team_position := auto.find_language_text(team_name_zh, team_name_en, ...):
|
||||
auto.mouse_action_with_pos(team_position, offset=False)
|
||||
```
|
||||
|
||||
**位置法对列表滚动位置极其脆弱**:代码虽然会先做几次"复位滑动"
|
||||
(`_team_list_reset_swipe_count`),但只要复位不完美、或列表因为
|
||||
某些原因整体位移(实测位移了 75px),点击就会落到隔壁队伍上。
|
||||
|
||||
**实测后果**:
|
||||
|
||||
```text
|
||||
13:21:40 最后一次里程碑
|
||||
... 26 分钟没有任何日志(日志在涨,但只是 OCR 空转)
|
||||
画面 TEAMS #2 | You haven't Deployed any Sinners.
|
||||
Participant Limit 0/5
|
||||
```
|
||||
|
||||
队伍预设被切到了一个**空队伍**,AALC 找不到可用队伍 → 空转。
|
||||
|
||||
**修复**:改回按名字查找。
|
||||
|
||||
```yaml
|
||||
select_team_by_order: false
|
||||
```
|
||||
|
||||
修复后连续 4 次选队全部命中,日志行号从 `team_formation.py:163`
|
||||
(位置法)变成 `:188`(名字法),可以直接从日志判断走的是哪条路:
|
||||
|
||||
```text
|
||||
13:51:12 成功找到队伍 # 1
|
||||
13:54:26 成功找到队伍 # 1
|
||||
13:57:45 成功找到队伍 # 1
|
||||
14:00:27 成功找到队伍 # 1
|
||||
```
|
||||
|
||||
> **教训**:当初开 `select_team_by_order` 是为了绕过"编队名匹配失败"。
|
||||
> 但那个问题的真因是 `sinner_order` 全 0(见 10-04 的记录),
|
||||
> 修好之后名字匹配本来就能用。**为一个症状加的开关,在根因修好后
|
||||
> 反而变成了新的故障源。**
|
||||
|
||||
## 三、等级与材料数值(wiki 查证)
|
||||
|
||||
```text
|
||||
人格等级上限 新手期 Lv.40;通关 Canto V 后每章 +5(当前版本最高 Lv.65)
|
||||
经验本档位 AALC 按 x 从大到小遍历(最右优先),失败才降级——已是最优策略
|
||||
产量低是因为账号只解锁了前几档,不是选错
|
||||
训练券价值 I=50 II=200 III=1000 IV=3000 EXP
|
||||
升级到 Lv.40 累计 91,700 EXP(Lv.34 时已累计 55,048)
|
||||
同步(3★) II=20纺锤 III=80纺锤 IV=150纺锤+50自我碎片
|
||||
跳战 给 +50% 奖励但耗 2 倍体力模组——单位体力效率反而更低
|
||||
```
|
||||
|
||||
**实战消耗**:`Rosespanner` 从 Lv.04 拉到 Lv.36 用了
|
||||
52 张 III 券 + 71 张 II 券(共 66,200 EXP)+ 10 纺锤。
|
||||
|
||||
## 四、新增脚本
|
||||
|
||||
### `scripts/levelup.py`
|
||||
|
||||
长按打开人格详情 → 升级 → 同步。支持:
|
||||
|
||||
```bash
|
||||
python levelup.py list # 列出网格里的人格及等级/是否在队伍
|
||||
python levelup.py weakest [--uptie] # 对队内等级最低者执行升级
|
||||
python levelup.py card <col> <row> # 对指定卡片执行
|
||||
python levelup.py back # 返回网格
|
||||
```
|
||||
|
||||
**判定弹窗时不要用模糊字样**:详情页本身就有 `Uptie+`,
|
||||
用它判断"同步弹窗是否打开"会永远为真。要用弹窗独有文本:
|
||||
|
||||
```python
|
||||
# 升级窗口: 'Owned' + 'Cancel'
|
||||
# 同步窗口: 'Currency Req' / 'Stats Increased' / 'Skills Gained'
|
||||
```
|
||||
|
||||
**券余额不要靠券名判定档位**:OCR 会把 `III` 认成小写 `lll`,
|
||||
`'III' in text` 直接失效。改用行的 y 坐标(三行固定为 IV/III/II)。
|
||||
|
||||
### `scripts/auto_cycle.py`
|
||||
|
||||
一整轮:`daily` → 进网格 → 升最弱者 + 同步 → 输出前后对比。
|
||||
|
||||
**刻意只做一轮,不做无限循环**——由外层按轮驱动,便于每轮核对与中止,
|
||||
避免无人监督地长时间空转。
|
||||
|
||||
## 五、又一个自己制造的事故:返回键会进剧情
|
||||
|
||||
恢复流程里我从主界面点左上返回键(85, 75),**结果进了剧情 Drive**,
|
||||
掉进过场动画,还得靠 `reward` 任务的 `返回主界面` 才救回来。
|
||||
|
||||
**修复**:恢复路径只点 `Sinners` 按钮,返回键改成"只在确实需要退一层时"
|
||||
才按,且每次按完都检查是否已到目标界面。
|
||||
|
||||
## 仍未解决 / 已知限制
|
||||
|
||||
1. **升级后界面判断可能残留**:`do_level_up` 里目标等级靠 `▶` 字符解析,
|
||||
OCR 常把它认丢。已加"两段等级且后者更大"的兜底,但仍是启发式。
|
||||
2. **`daily` 产量受账号解锁进度限制**,无法通过配置提高。
|
||||
3. **看门狗只覆盖桌面变黑**,界面走丢(如本次进剧情)仍需外部恢复。
|
||||
4. 本轮只验证了**单个人格连升 + 同步**,多轮连续运行的稳定性未验证。
|
||||
@@ -0,0 +1,31 @@
|
||||
[DEBUG] 2026-10-05 19:10:31,855 [AALC] module\game_and_screen\game.py:28: 游戏已启动:LimbusCompany.exe,进程ID:21516
|
||||
[INFO] 2026-10-05 19:10:41,952 [AALC] tasks\base\script_task_scheme.py:262: 开始执行 一次经验本
|
||||
[INFO] 2026-10-05 19:11:01,380 [AALC] tasks\teams\team_formation.py:163: 成功找到队伍 # 1
|
||||
[INFO] 2026-10-05 19:11:04,733 [AALC] tasks\base\script_task_scheme.py:63: 开始执行 一次战斗
|
||||
[INFO] 2026-10-05 19:14:24,645 [AALC] tasks\base\script_task_scheme.py:262: 结束执行 一次经验本
|
||||
[DEBUG] 2026-10-05 19:14:24,646 [AALC] tasks\base\script_task_scheme.py:262: 结束执行 一次经验本 耗时:00:03:42
|
||||
[INFO] 2026-10-05 19:14:24,647 [AALC] tasks\base\script_task_scheme.py:262: 开始执行 一次经验本
|
||||
[INFO] 2026-10-05 19:14:44,310 [AALC] tasks\teams\team_formation.py:163: 成功找到队伍 # 1
|
||||
[INFO] 2026-10-05 19:14:47,582 [AALC] tasks\base\script_task_scheme.py:63: 开始执行 一次战斗
|
||||
[INFO] 2026-10-05 19:16:51,519 [AALC] tasks\base\script_task_scheme.py:262: 结束执行 一次经验本
|
||||
[DEBUG] 2026-10-05 19:16:51,521 [AALC] tasks\base\script_task_scheme.py:262: 结束执行 一次经验本 耗时:00:02:26
|
||||
[INFO] 2026-10-05 19:16:51,522 [AALC] tasks\base\script_task_scheme.py:262: 开始执行 一次经验本
|
||||
[INFO] 2026-10-05 19:17:11,178 [AALC] tasks\teams\team_formation.py:163: 成功找到队伍 # 1
|
||||
[INFO] 2026-10-05 19:17:14,456 [AALC] tasks\base\script_task_scheme.py:63: 开始执行 一次战斗
|
||||
[INFO] 2026-10-05 19:19:56,614 [AALC] tasks\base\script_task_scheme.py:262: 结束执行 一次经验本
|
||||
[DEBUG] 2026-10-05 19:19:56,615 [AALC] tasks\base\script_task_scheme.py:262: 结束执行 一次经验本 耗时:00:03:05
|
||||
[INFO] 2026-10-05 19:19:56,616 [AALC] tasks\base\script_task_scheme.py:264: 开始执行 一次纽本
|
||||
[INFO] 2026-10-05 19:20:18,975 [AALC] tasks\teams\team_formation.py:163: 成功找到队伍 # 1
|
||||
[INFO] 2026-10-05 19:20:22,251 [AALC] tasks\base\script_task_scheme.py:79: 开始执行 一次战斗
|
||||
[INFO] 2026-10-05 19:22:46,986 [AALC] tasks\base\script_task_scheme.py:264: 结束执行 一次纽本
|
||||
[DEBUG] 2026-10-05 19:22:46,987 [AALC] tasks\base\script_task_scheme.py:264: 结束执行 一次纽本 耗时:00:02:50
|
||||
[INFO] 2026-10-05 19:22:46,988 [AALC] tasks\base\script_task_scheme.py:264: 开始执行 一次纽本
|
||||
[INFO] 2026-10-05 19:23:09,326 [AALC] tasks\teams\team_formation.py:163: 成功找到队伍 # 1
|
||||
[INFO] 2026-10-05 19:23:12,600 [AALC] tasks\base\script_task_scheme.py:79: 开始执行 一次战斗
|
||||
[INFO] 2026-10-05 19:25:44,880 [AALC] tasks\base\script_task_scheme.py:264: 结束执行 一次纽本
|
||||
[DEBUG] 2026-10-05 19:25:44,881 [AALC] tasks\base\script_task_scheme.py:264: 结束执行 一次纽本 耗时:00:02:57
|
||||
[INFO] 2026-10-05 19:25:44,881 [AALC] tasks\base\script_task_scheme.py:264: 开始执行 一次纽本
|
||||
[INFO] 2026-10-05 19:26:07,111 [AALC] tasks\teams\team_formation.py:163: 成功找到队伍 # 1
|
||||
[INFO] 2026-10-05 19:26:10,394 [AALC] tasks\base\script_task_scheme.py:79: 开始执行 一次战斗
|
||||
[INFO] 2026-10-05 19:28:20,655 [AALC] tasks\base\script_task_scheme.py:264: 结束执行 一次纽本
|
||||
[DEBUG] 2026-10-05 19:28:20,657 [AALC] tasks\base\script_task_scheme.py:264: 结束执行 一次纽本 耗时:00:02:35
|
||||
@@ -0,0 +1,400 @@
|
||||
[DEBUG] 2026-10-05 16:59:13,162 [AALC] module\game_and_screen\game.py:28: 游戏已启动:LimbusCompany.exe,进程ID:21516
|
||||
[INFO] 2026-10-05 16:59:23,300 [AALC] tasks\base\script_task_scheme.py:262: 开始执行 一次经验本
|
||||
[INFO] 2026-10-05 16:59:50,767 [AALC] tasks\teams\team_formation.py:188: 成功找到队伍 # 1
|
||||
[DEBUG] 2026-10-05 16:59:54,738 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 16:59:57,457 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:00:00,183 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:00:02,922 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:00:05,625 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:00:08,344 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:00:11,071 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:00:13,782 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:00:16,501 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:00:19,229 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:00:22,038 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:00:24,777 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:00:27,478 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:00:30,210 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:00:32,939 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:00:35,643 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:00:38,339 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:00:41,072 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:00:43,804 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:00:46,541 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:00:49,314 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:00:52,059 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:00:54,775 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:00:57,480 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:01:00,223 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:01:02,933 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:01:05,657 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:01:08,389 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:01:11,113 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:01:13,817 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:01:16,551 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:01:19,246 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:01:21,962 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:01:24,708 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:01:27,434 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:01:30,144 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:01:32,874 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:01:35,564 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:01:38,289 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:01:40,987 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:01:43,692 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:01:46,393 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:01:49,124 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:01:51,822 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:01:54,568 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:01:57,276 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:01:59,976 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:02:02,704 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:02:05,445 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:02:08,164 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:02:10,878 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:02:13,567 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:02:16,312 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:02:19,015 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:02:21,713 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:02:24,452 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:02:27,171 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:02:29,874 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:02:32,600 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:02:35,319 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:02:37,971 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:02:40,717 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:02:43,416 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:02:46,122 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:02:48,867 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:02:51,571 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:02:54,256 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:02:56,994 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:02:59,729 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:03:02,424 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:03:05,136 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:03:07,824 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:03:10,546 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:03:13,236 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:03:15,952 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:03:18,661 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:03:21,349 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:03:24,072 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:03:26,788 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:03:29,487 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:03:32,204 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:03:34,941 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:03:37,627 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:03:40,361 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:03:43,114 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:03:45,815 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:03:48,563 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:03:51,268 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:03:53,963 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:03:56,683 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:03:59,385 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:04:02,085 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:04:04,792 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:04:07,477 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:04:10,203 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:04:12,911 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:04:15,619 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:04:18,329 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:04:21,031 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:04:23,695 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:04:26,419 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:04:29,144 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:04:31,847 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:04:34,551 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:04:37,291 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:04:40,003 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:04:42,687 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:04:45,425 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:04:48,169 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:04:50,874 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:04:53,590 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:04:56,290 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:04:58,983 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:05:01,780 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:05:04,486 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:05:07,235 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:05:09,948 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:05:12,627 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:05:15,356 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:05:18,050 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:05:20,762 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:05:23,490 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:05:26,244 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:05:28,927 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:05:31,605 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:05:34,326 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:05:37,029 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:05:39,735 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:05:42,471 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:05:45,190 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:05:47,912 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:05:50,593 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:05:53,430 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:05:56,155 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:05:58,835 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:06:01,562 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:06:04,262 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:06:06,963 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:06:09,721 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:06:12,447 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:06:15,158 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:06:17,864 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:06:20,561 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:06:23,271 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:06:25,971 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:06:28,662 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:06:31,374 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:06:34,103 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:06:36,825 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:06:39,523 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:06:42,256 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:06:44,959 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:06:47,674 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:06:50,414 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:06:53,109 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:06:55,814 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:06:58,524 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:07:01,209 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:07:03,938 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:07:06,642 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:07:09,332 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:07:12,075 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:07:14,775 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:07:17,507 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:07:20,309 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:07:23,031 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:07:25,804 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:07:28,564 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:07:31,338 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:07:34,086 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:07:36,860 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:07:39,580 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:07:42,367 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:07:45,123 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:07:47,918 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:07:50,704 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:07:53,464 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:07:56,202 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:07:58,885 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:08:01,604 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:08:04,319 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:08:07,030 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:08:09,762 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:08:12,481 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:08:15,198 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:08:17,887 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:08:20,598 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:08:23,307 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:08:26,013 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:08:28,709 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:08:31,420 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:08:34,140 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:08:36,842 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:08:39,542 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:08:42,262 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:08:44,984 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:08:47,673 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:08:50,418 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:08:53,144 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:08:55,857 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:08:58,584 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:09:01,298 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:09:03,983 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:09:06,720 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:09:09,451 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:09:12,151 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:09:14,863 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:09:17,547 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:09:20,268 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:09:22,980 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:09:25,688 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:09:28,400 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:09:31,119 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:09:33,777 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:09:36,541 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:09:39,207 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:09:41,907 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:09:44,623 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:09:47,339 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:09:50,076 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:09:52,804 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:09:55,503 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:09:58,206 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:10:00,924 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:10:03,648 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:10:06,349 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:10:09,066 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:10:11,744 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:10:14,463 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:10:17,188 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:10:19,897 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:10:22,625 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:10:25,331 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:10:28,030 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:10:30,728 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:10:33,435 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:10:36,137 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:10:38,889 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:10:41,588 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:10:44,296 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:10:47,040 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:10:49,766 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:10:52,494 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:10:55,225 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:10:57,872 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:11:00,594 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:11:03,323 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:11:06,028 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:11:08,738 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:11:11,453 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:11:14,178 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:11:16,895 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:11:19,609 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:11:22,309 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:11:25,020 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:11:27,712 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:11:30,422 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:11:33,158 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:11:35,885 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:11:38,609 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:11:41,345 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:11:44,060 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:11:46,774 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:11:49,554 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:11:52,256 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:11:54,971 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:11:57,686 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:12:00,400 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:12:03,125 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:12:05,815 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:12:08,521 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:12:11,248 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:12:13,971 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:12:16,667 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:12:19,397 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:12:22,104 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:12:24,835 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:12:27,534 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:12:30,237 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:12:32,940 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:12:35,688 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:12:38,381 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:12:41,086 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:12:43,811 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:12:46,528 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:12:49,222 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:12:51,978 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:12:54,670 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:12:57,419 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:13:00,125 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:13:02,830 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:13:05,538 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:13:08,248 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:13:10,958 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:13:13,648 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:13:16,359 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:13:19,062 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:13:21,766 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:13:24,482 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:13:27,212 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:13:29,939 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:13:32,666 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:13:35,400 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:13:38,107 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:13:40,832 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:13:43,534 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:13:46,259 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:13:48,957 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:13:51,686 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:13:54,389 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:13:57,106 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:13:59,802 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:14:02,520 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:14:05,223 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:14:07,936 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:14:10,659 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:14:13,380 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:14:16,087 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:14:18,813 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:14:21,503 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:14:24,222 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:14:26,899 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:14:29,587 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:14:32,321 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:14:35,028 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:14:37,745 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:14:40,486 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:14:43,138 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:14:45,898 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:14:48,584 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:14:51,329 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:14:54,038 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:14:56,745 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:14:59,448 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:15:02,234 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:15:04,929 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:15:07,682 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:15:10,421 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:15:13,119 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:15:15,820 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:15:18,615 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:15:21,358 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:15:24,124 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:15:26,832 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:15:29,534 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:15:32,251 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:15:34,979 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:15:37,674 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:15:40,402 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:15:43,122 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:15:45,823 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:15:48,554 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:15:51,312 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:15:54,015 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:15:56,727 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:15:59,446 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:16:02,163 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:16:04,998 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:16:07,735 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:16:10,484 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:16:13,199 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:16:15,914 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:16:18,677 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:16:21,375 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:16:24,082 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:16:26,815 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:16:29,532 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:16:32,220 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:16:34,952 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:16:37,677 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:16:40,400 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:16:43,139 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:16:45,850 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:16:48,587 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:16:51,361 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:16:54,065 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:16:56,793 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:16:59,510 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:17:02,222 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:17:04,965 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:17:07,681 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:17:10,391 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:17:13,126 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:17:15,813 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:17:18,514 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:17:21,232 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:17:23,941 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:17:26,660 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:17:29,382 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:17:32,095 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:17:34,795 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:17:37,494 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:17:40,206 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:17:42,914 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:17:45,607 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:17:48,311 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:17:51,077 [AALC] tasks\teams\team_formation.py:225: 对于配队人数OCR得到:/5Mrt
|
||||
@@ -0,0 +1,62 @@
|
||||
[DEBUG] 2026-10-05 17:46:17,983 [AALC] module\game_and_screen\game.py:28: 游戏已启动:LimbusCompany.exe,进程ID:21516
|
||||
[INFO] 2026-10-05 17:46:26,095 [AALC] tasks\base\script_task_scheme.py:262: 开始执行 一次经验本
|
||||
[INFO] 2026-10-05 17:46:45,562 [AALC] tasks\teams\team_formation.py:169: 成功找到队伍 # 1
|
||||
[DEBUG] 2026-10-05 17:46:49,709 [AALC] tasks\teams\team_formation.py:231: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:46:52,437 [AALC] tasks\teams\team_formation.py:231: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:46:55,180 [AALC] tasks\teams\team_formation.py:231: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:46:57,903 [AALC] tasks\teams\team_formation.py:231: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:47:00,609 [AALC] tasks\teams\team_formation.py:231: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:47:03,319 [AALC] tasks\teams\team_formation.py:231: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:47:06,024 [AALC] tasks\teams\team_formation.py:231: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:47:08,730 [AALC] tasks\teams\team_formation.py:231: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:47:11,452 [AALC] tasks\teams\team_formation.py:231: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:47:14,161 [AALC] tasks\teams\team_formation.py:231: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:47:16,884 [AALC] tasks\teams\team_formation.py:231: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:47:19,598 [AALC] tasks\teams\team_formation.py:231: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:47:22,315 [AALC] tasks\teams\team_formation.py:231: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:47:25,020 [AALC] tasks\teams\team_formation.py:231: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:47:27,739 [AALC] tasks\teams\team_formation.py:231: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:47:30,468 [AALC] tasks\teams\team_formation.py:231: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:47:33,191 [AALC] tasks\teams\team_formation.py:231: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:47:35,918 [AALC] tasks\teams\team_formation.py:231: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:47:38,646 [AALC] tasks\teams\team_formation.py:231: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:47:41,372 [AALC] tasks\teams\team_formation.py:231: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:47:44,071 [AALC] tasks\teams\team_formation.py:231: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:47:46,794 [AALC] tasks\teams\team_formation.py:231: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:47:49,547 [AALC] tasks\teams\team_formation.py:231: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:47:52,267 [AALC] tasks\teams\team_formation.py:231: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:47:54,977 [AALC] tasks\teams\team_formation.py:231: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:47:57,690 [AALC] tasks\teams\team_formation.py:231: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:48:00,410 [AALC] tasks\teams\team_formation.py:231: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:48:03,126 [AALC] tasks\teams\team_formation.py:231: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:48:05,833 [AALC] tasks\teams\team_formation.py:231: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:48:08,525 [AALC] tasks\teams\team_formation.py:231: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:48:11,228 [AALC] tasks\teams\team_formation.py:231: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:48:13,954 [AALC] tasks\teams\team_formation.py:231: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:48:16,681 [AALC] tasks\teams\team_formation.py:231: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:48:19,381 [AALC] tasks\teams\team_formation.py:231: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:48:22,096 [AALC] tasks\teams\team_formation.py:231: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:48:24,862 [AALC] tasks\teams\team_formation.py:231: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:48:27,728 [AALC] tasks\teams\team_formation.py:231: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:48:30,448 [AALC] tasks\teams\team_formation.py:231: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:48:33,123 [AALC] tasks\teams\team_formation.py:231: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:48:35,780 [AALC] tasks\teams\team_formation.py:231: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:48:38,505 [AALC] tasks\teams\team_formation.py:231: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:48:41,237 [AALC] tasks\teams\team_formation.py:231: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:48:43,944 [AALC] tasks\teams\team_formation.py:231: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:48:46,643 [AALC] tasks\teams\team_formation.py:231: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:48:49,371 [AALC] tasks\teams\team_formation.py:231: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:48:52,211 [AALC] tasks\teams\team_formation.py:231: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:48:54,991 [AALC] tasks\teams\team_formation.py:231: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:48:57,721 [AALC] tasks\teams\team_formation.py:231: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:49:00,457 [AALC] tasks\teams\team_formation.py:231: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:49:03,199 [AALC] tasks\teams\team_formation.py:231: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:49:06,073 [AALC] tasks\teams\team_formation.py:231: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:49:08,803 [AALC] tasks\teams\team_formation.py:231: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:49:11,509 [AALC] tasks\teams\team_formation.py:231: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:49:14,232 [AALC] tasks\teams\team_formation.py:231: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:49:16,958 [AALC] tasks\teams\team_formation.py:231: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:49:19,648 [AALC] tasks\teams\team_formation.py:231: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:49:22,366 [AALC] tasks\teams\team_formation.py:231: 对于配队人数OCR得到:/5Mrt
|
||||
[DEBUG] 2026-10-05 17:49:25,074 [AALC] tasks\teams\team_formation.py:231: 对于配队人数OCR得到:0/5
|
||||
[DEBUG] 2026-10-05 17:49:27,825 [AALC] tasks\teams\team_formation.py:231: 对于配队人数OCR得到:/5Mrt
|
||||
@@ -0,0 +1,37 @@
|
||||
[DEBUG] 2026-10-05 20:13:17,882 [AALC] module\game_and_screen\game.py:28: 游戏已启动:LimbusCompany.exe,进程ID:21516
|
||||
[INFO] 2026-10-05 20:13:26,177 [AALC] tasks\base\script_task_scheme.py:262: 开始执行 一次经验本
|
||||
[INFO] 2026-10-05 20:13:45,599 [AALC] tasks\teams\team_formation.py:163: 成功找到队伍 # 1
|
||||
[INFO] 2026-10-05 20:13:48,986 [AALC] tasks\base\script_task_scheme.py:63: 开始执行 一次战斗
|
||||
[INFO] 2026-10-05 20:16:23,667 [AALC] tasks\base\script_task_scheme.py:262: 结束执行 一次经验本
|
||||
[DEBUG] 2026-10-05 20:16:23,668 [AALC] tasks\base\script_task_scheme.py:262: 结束执行 一次经验本 耗时:00:02:57
|
||||
[INFO] 2026-10-05 20:16:23,668 [AALC] tasks\base\script_task_scheme.py:262: 开始执行 一次经验本
|
||||
[INFO] 2026-10-05 20:16:43,255 [AALC] tasks\teams\team_formation.py:163: 成功找到队伍 # 1
|
||||
[INFO] 2026-10-05 20:16:46,584 [AALC] tasks\base\script_task_scheme.py:63: 开始执行 一次战斗
|
||||
[INFO] 2026-10-05 20:19:10,296 [AALC] tasks\base\script_task_scheme.py:262: 结束执行 一次经验本
|
||||
[DEBUG] 2026-10-05 20:19:10,297 [AALC] tasks\base\script_task_scheme.py:262: 结束执行 一次经验本 耗时:00:02:46
|
||||
[INFO] 2026-10-05 20:19:10,298 [AALC] tasks\base\script_task_scheme.py:262: 开始执行 一次经验本
|
||||
[INFO] 2026-10-05 20:19:29,925 [AALC] tasks\teams\team_formation.py:163: 成功找到队伍 # 1
|
||||
[INFO] 2026-10-05 20:19:33,202 [AALC] tasks\base\script_task_scheme.py:63: 开始执行 一次战斗
|
||||
[ERROR] 2026-10-05 20:24:34,086 [AALC] tasks\base\back_init_menu.py:27: 无法返回主界面,尝试重启游戏
|
||||
[WARNING] 2026-10-05 20:24:34,527 [AALC] module\game_and_screen\screen.py:258: 窗口句柄无效,可能窗口已关闭,重新获取, 当前句柄为 9767274
|
||||
[ERROR] 2026-10-05 20:24:34,532 [AALC] module\game_and_screen\screen.py:103: 未能获取到游戏窗口
|
||||
[DEBUG] 2026-10-05 20:24:34,533 [AALC] module\game_and_screen\screen.py:42: 枚举窗口列表: []
|
||||
[ERROR] 2026-10-05 20:24:34,534 [AALC] module\game_and_screen\screen.py:103: 未能获取到游戏窗口
|
||||
[DEBUG] 2026-10-05 20:24:34,535 [AALC] module\game_and_screen\screen.py:42: 枚举窗口列表: []
|
||||
[ERROR] 2026-10-05 20:24:34,536 [AALC] module\game_and_screen\screen.py:140: 未能获取到游戏窗口
|
||||
[DEBUG] 2026-10-05 20:24:34,537 [AALC] module\game_and_screen\screen.py:42: 枚举窗口列表: []
|
||||
[ERROR] 2026-10-05 20:24:34,538 [AALC] module\game_and_screen\screen.py:223: 未能获取到游戏窗口
|
||||
[DEBUG] 2026-10-05 20:24:34,539 [AALC] module\game_and_screen\screen.py:42: 枚举窗口列表: []
|
||||
[ERROR] 2026-10-05 20:24:34,540 [AALC] module\automation\screenshot.py:188: 未能获取到游戏窗口
|
||||
[DEBUG] 2026-10-05 20:24:34,541 [AALC] module\game_and_screen\screen.py:42: 枚举窗口列表: []
|
||||
[ERROR] 2026-10-05 20:24:34,542 [AALC] module\automation\screenshot.py:238: 后台截图报错: 未找到游戏窗口句柄,无法截图,尝试重启游戏
|
||||
[ERROR] 2026-10-05 20:24:34,549 [AALC] module\automation\screenshot.py:244: 未能获取到游戏窗口
|
||||
[DEBUG] 2026-10-05 20:24:34,550 [AALC] module\game_and_screen\screen.py:42: 枚举窗口列表: []
|
||||
[DEBUG] 2026-10-05 20:24:34,947 [AALC] module\game_and_screen\game.py:28: 游戏已启动:LimbusCompany.exe,进程ID:21516
|
||||
[ERROR] 2026-10-05 20:24:34,962 [AALC] tasks\base\script_task_scheme.py:175: 未能获取到游戏窗口
|
||||
[DEBUG] 2026-10-05 20:24:34,964 [AALC] module\game_and_screen\screen.py:42: 枚举窗口列表: []
|
||||
[ERROR] 2026-10-05 20:24:34,965 [AALC] module\game_and_screen\screen.py:317: 未能获取到游戏窗口
|
||||
[DEBUG] 2026-10-05 20:24:34,966 [AALC] module\game_and_screen\screen.py:42: 枚举窗口列表: []
|
||||
[INFO] 2026-10-05 20:24:34,967 [AALC] module\game_and_screen\screen.py:318: 未能获取到游戏窗口: LimbusCompany,尝试启动游戏
|
||||
[INFO] 2026-10-05 20:24:35,370 [AALC] module\game_and_screen\game.py:58: 使用steam命令启动游戏
|
||||
[DEBUG] 2026-10-05 20:24:40,378 [AALC] module\game_and_screen\game.py:28: 游戏已启动:LimbusCompany.exe,进程ID:17220
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,177 @@
|
||||
[2026-10-05 01:15:26] ForceDisc: skipping state check (real state was 'Disc')
|
||||
[2026-10-05 01:15:26] session 2 is Disc -> re-attaching to console via elevated tscon
|
||||
[2026-10-05 01:15:58] tscon said: (no output file) | session 2 now: Active
|
||||
[2026-10-05 01:15:58] render check: BitBlt=1 desktop=1920x1080
|
||||
[2026-10-05 08:35:05] session 2 is Disc -> re-attaching to console via elevated tscon
|
||||
[2026-10-05 08:35:37] tscon said: (no output file) | session 2 now: Disc
|
||||
[2026-10-05 08:35:37] render check: BitBlt=0 desktop=1600x900
|
||||
[2026-10-05 08:35:37] WARN: session 2 still 'Disc' after tscon
|
||||
[2026-10-05 08:40:03] session 2 is Disc -> re-attaching to console via elevated tscon
|
||||
[2026-10-05 08:40:36] tscon said: (no output file) | session 2 now: Disc
|
||||
[2026-10-05 08:40:36] render check: BitBlt=0 desktop=1600x900
|
||||
[2026-10-05 08:40:36] WARN: session 2 still 'Disc' after tscon
|
||||
[2026-10-05 08:45:05] session 2 is Disc -> re-attaching to console via elevated tscon
|
||||
[2026-10-05 08:45:37] tscon said: (no output file) | session 2 now: Disc
|
||||
[2026-10-05 08:45:37] render check: BitBlt=0 desktop=1600x900
|
||||
[2026-10-05 08:45:37] WARN: session 2 still 'Disc' after tscon
|
||||
[2026-10-05 10:39:25] session 2 is Disc -> re-attaching to console via elevated tscon
|
||||
[2026-10-05 10:39:57] tscon said: (no output file) | session 2 now: Disc
|
||||
[2026-10-05 10:39:57] render check: BitBlt=0 desktop=2560x1600
|
||||
[2026-10-05 10:39:57] WARN: session 2 still 'Disc' after tscon
|
||||
[2026-10-05 10:40:03] session 2 is Disc -> re-attaching to console via elevated tscon
|
||||
[2026-10-05 10:40:37] tscon said: (no output file) | session 2 now: Active
|
||||
[2026-10-05 10:40:37] render check: BitBlt=1 desktop=1920x1080
|
||||
[2026-10-05 20:35:03] session 2 is Disc -> re-attaching to console via elevated tscon
|
||||
[2026-10-05 20:35:35] tscon said: (no output file) | session 2 now: Disc
|
||||
[2026-10-05 20:35:35] render check: BitBlt=0 desktop=2560x1600
|
||||
[2026-10-05 20:35:35] WARN: session 2 still 'Disc' after tscon
|
||||
[2026-10-05 20:40:03] session 2 is Disc -> re-attaching to console via elevated tscon
|
||||
[2026-10-05 20:40:35] tscon said: (no output file) | session 2 now: Disc
|
||||
[2026-10-05 20:40:35] render check: BitBlt=0 desktop=2560x1600
|
||||
[2026-10-05 20:40:35] WARN: session 2 still 'Disc' after tscon
|
||||
[2026-10-05 20:45:03] session 2 is Disc -> re-attaching to console via elevated tscon
|
||||
[2026-10-05 20:45:35] tscon said: (no output file) | session 2 now: Disc
|
||||
[2026-10-05 20:45:35] render check: BitBlt=0 desktop=2560x1600
|
||||
[2026-10-05 20:45:35] WARN: session 2 still 'Disc' after tscon
|
||||
[2026-10-05 20:50:03] session 2 is Disc -> re-attaching to console via elevated tscon
|
||||
[2026-10-05 20:50:35] tscon said: (no output file) | session 2 now: Disc
|
||||
[2026-10-05 20:50:35] render check: BitBlt=0 desktop=2560x1600
|
||||
[2026-10-05 20:50:35] WARN: session 2 still 'Disc' after tscon
|
||||
[2026-10-05 20:55:03] session 2 is Disc -> re-attaching to console via elevated tscon
|
||||
[2026-10-05 20:55:35] tscon said: (no output file) | session 2 now: Disc
|
||||
[2026-10-05 20:55:35] render check: BitBlt=0 desktop=2560x1600
|
||||
[2026-10-05 20:55:35] WARN: session 2 still 'Disc' after tscon
|
||||
[2026-10-05 21:00:03] session 2 is Disc -> re-attaching to console via elevated tscon
|
||||
[2026-10-05 21:00:35] tscon said: (no output file) | session 2 now: Disc
|
||||
[2026-10-05 21:00:35] render check: BitBlt=0 desktop=2560x1600
|
||||
[2026-10-05 21:00:35] WARN: session 2 still 'Disc' after tscon
|
||||
[2026-10-05 21:05:03] session 2 is Disc -> re-attaching to console via elevated tscon
|
||||
[2026-10-05 21:05:35] tscon said: (no output file) | session 2 now: Disc
|
||||
[2026-10-05 21:05:35] render check: BitBlt=0 desktop=2560x1600
|
||||
[2026-10-05 21:05:35] WARN: session 2 still 'Disc' after tscon
|
||||
[2026-10-05 21:10:03] session 2 is Disc -> re-attaching to console via elevated tscon
|
||||
[2026-10-05 21:10:35] tscon said: (no output file) | session 2 now: Disc
|
||||
[2026-10-05 21:10:35] render check: BitBlt=0 desktop=2560x1600
|
||||
[2026-10-05 21:10:35] WARN: session 2 still 'Disc' after tscon
|
||||
[2026-10-05 21:15:03] session 2 is Disc -> re-attaching to console via elevated tscon
|
||||
[2026-10-05 21:15:35] tscon said: (no output file) | session 2 now: Disc
|
||||
[2026-10-05 21:15:35] render check: BitBlt=0 desktop=2560x1600
|
||||
[2026-10-05 21:15:35] WARN: session 2 still 'Disc' after tscon
|
||||
[2026-10-05 21:20:03] session 2 is Disc -> re-attaching to console via elevated tscon
|
||||
[2026-10-05 21:20:35] tscon said: (no output file) | session 2 now: Disc
|
||||
[2026-10-05 21:20:35] render check: BitBlt=0 desktop=2560x1600
|
||||
[2026-10-05 21:20:35] WARN: session 2 still 'Disc' after tscon
|
||||
[2026-10-05 21:25:03] session 2 is Disc -> re-attaching to console via elevated tscon
|
||||
[2026-10-05 21:25:35] tscon said: (no output file) | session 2 now: Disc
|
||||
[2026-10-05 21:25:35] render check: BitBlt=0 desktop=2560x1600
|
||||
[2026-10-05 21:25:35] WARN: session 2 still 'Disc' after tscon
|
||||
[2026-10-05 21:30:03] session 2 is Disc -> re-attaching to console via elevated tscon
|
||||
[2026-10-05 21:30:35] tscon said: (no output file) | session 2 now: Disc
|
||||
[2026-10-05 21:30:35] render check: BitBlt=0 desktop=2560x1600
|
||||
[2026-10-05 21:30:35] WARN: session 2 still 'Disc' after tscon
|
||||
[2026-10-05 21:35:03] session 2 is Disc -> re-attaching to console via elevated tscon
|
||||
[2026-10-05 21:35:35] tscon said: (no output file) | session 2 now: Disc
|
||||
[2026-10-05 21:35:35] render check: BitBlt=0 desktop=2560x1600
|
||||
[2026-10-05 21:35:35] WARN: session 2 still 'Disc' after tscon
|
||||
[2026-10-05 21:40:03] session 2 is Disc -> re-attaching to console via elevated tscon
|
||||
[2026-10-05 21:40:35] tscon said: (no output file) | session 2 now: Disc
|
||||
[2026-10-05 21:40:35] render check: BitBlt=0 desktop=2560x1600
|
||||
[2026-10-05 21:40:35] WARN: session 2 still 'Disc' after tscon
|
||||
[2026-10-05 21:45:03] session 2 is Disc -> re-attaching to console via elevated tscon
|
||||
[2026-10-05 21:45:35] tscon said: (no output file) | session 2 now: Disc
|
||||
[2026-10-05 21:45:35] render check: BitBlt=0 desktop=2560x1600
|
||||
[2026-10-05 21:45:35] WARN: session 2 still 'Disc' after tscon
|
||||
[2026-10-05 21:50:02] session 2 is Disc -> re-attaching to console via elevated tscon
|
||||
[2026-10-05 21:50:34] tscon said: (no output file) | session 2 now: Disc
|
||||
[2026-10-05 21:50:34] render check: BitBlt=0 desktop=2560x1600
|
||||
[2026-10-05 21:50:34] WARN: session 2 still 'Disc' after tscon
|
||||
[2026-10-05 21:55:02] session 2 is Disc -> re-attaching to console via elevated tscon
|
||||
[2026-10-05 21:55:34] tscon said: (no output file) | session 2 now: Disc
|
||||
[2026-10-05 21:55:35] render check: BitBlt=0 desktop=2560x1600
|
||||
[2026-10-05 21:55:35] WARN: session 2 still 'Disc' after tscon
|
||||
[2026-10-05 22:00:02] session 2 is Disc -> re-attaching to console via elevated tscon
|
||||
[2026-10-05 22:00:34] tscon said: (no output file) | session 2 now: Disc
|
||||
[2026-10-05 22:00:34] render check: BitBlt=0 desktop=2560x1600
|
||||
[2026-10-05 22:00:34] WARN: session 2 still 'Disc' after tscon
|
||||
[2026-10-05 22:05:02] session 2 is Disc -> re-attaching to console via elevated tscon
|
||||
[2026-10-05 22:05:34] tscon said: (no output file) | session 2 now: Disc
|
||||
[2026-10-05 22:05:35] render check: BitBlt=0 desktop=2560x1600
|
||||
[2026-10-05 22:05:35] WARN: session 2 still 'Disc' after tscon
|
||||
[2026-10-05 22:10:02] session 2 is Disc -> re-attaching to console via elevated tscon
|
||||
[2026-10-05 22:10:34] tscon said: (no output file) | session 2 now: Disc
|
||||
[2026-10-05 22:10:34] render check: BitBlt=0 desktop=2560x1600
|
||||
[2026-10-05 22:10:34] WARN: session 2 still 'Disc' after tscon
|
||||
[2026-10-05 22:15:02] session 2 is Disc -> re-attaching to console via elevated tscon
|
||||
[2026-10-05 22:15:34] tscon said: (no output file) | session 2 now: Disc
|
||||
[2026-10-05 22:15:35] render check: BitBlt=0 desktop=2560x1600
|
||||
[2026-10-05 22:15:35] WARN: session 2 still 'Disc' after tscon
|
||||
[2026-10-05 22:20:02] session 2 is Disc -> re-attaching to console via elevated tscon
|
||||
[2026-10-05 22:20:34] tscon said: (no output file) | session 2 now: Disc
|
||||
[2026-10-05 22:20:35] render check: BitBlt=0 desktop=2560x1600
|
||||
[2026-10-05 22:20:35] WARN: session 2 still 'Disc' after tscon
|
||||
[2026-10-05 22:25:02] session 2 is Disc -> re-attaching to console via elevated tscon
|
||||
[2026-10-05 22:25:34] tscon said: (no output file) | session 2 now: Disc
|
||||
[2026-10-05 22:25:35] render check: BitBlt=0 desktop=2560x1600
|
||||
[2026-10-05 22:25:35] WARN: session 2 still 'Disc' after tscon
|
||||
[2026-10-05 22:30:02] session 2 is Disc -> re-attaching to console via elevated tscon
|
||||
[2026-10-05 22:30:21] tscon said: (no output file) | session 2 now: Active
|
||||
[2026-10-05 22:30:22] render check: BitBlt=1 desktop=1872x921
|
||||
[2026-10-05 22:35:02] session 2 is Disc -> re-attaching to console via elevated tscon
|
||||
[2026-10-05 22:35:35] tscon said: (no output file) | session 2 now: Disc
|
||||
[2026-10-05 22:35:35] render check: BitBlt=0 desktop=1600x900
|
||||
[2026-10-05 22:35:35] WARN: session 2 still 'Disc' after tscon
|
||||
[2026-10-05 22:40:02] session 2 is Disc -> re-attaching to console via elevated tscon
|
||||
[2026-10-05 22:40:35] tscon said: (no output file) | session 2 now: Disc
|
||||
[2026-10-05 22:40:35] render check: BitBlt=0 desktop=1600x900
|
||||
[2026-10-05 22:40:35] WARN: session 2 still 'Disc' after tscon
|
||||
[2026-10-05 22:45:02] session 2 is Disc -> re-attaching to console via elevated tscon
|
||||
[2026-10-05 22:45:35] tscon said: (no output file) | session 2 now: Disc
|
||||
[2026-10-05 22:45:35] render check: BitBlt=0 desktop=1600x900
|
||||
[2026-10-05 22:45:35] WARN: session 2 still 'Disc' after tscon
|
||||
[2026-10-05 22:50:02] session 2 is Disc -> re-attaching to console via elevated tscon
|
||||
[2026-10-05 22:50:35] tscon said: (no output file) | session 2 now: Disc
|
||||
[2026-10-05 22:50:35] render check: BitBlt=0 desktop=1600x900
|
||||
[2026-10-05 22:50:35] WARN: session 2 still 'Disc' after tscon
|
||||
[2026-10-05 22:55:02] session 2 is Disc -> re-attaching to console via elevated tscon
|
||||
[2026-10-05 22:55:35] tscon said: (no output file) | session 2 now: Disc
|
||||
[2026-10-05 22:55:35] render check: BitBlt=0 desktop=1600x900
|
||||
[2026-10-05 22:55:35] WARN: session 2 still 'Disc' after tscon
|
||||
[2026-10-05 23:00:02] session 2 is Disc -> re-attaching to console via elevated tscon
|
||||
[2026-10-05 23:00:35] tscon said: (no output file) | session 2 now: Disc
|
||||
[2026-10-05 23:00:35] render check: BitBlt=0 desktop=1600x900
|
||||
[2026-10-05 23:00:35] WARN: session 2 still 'Disc' after tscon
|
||||
[2026-10-05 23:05:02] session 2 is Disc -> re-attaching to console via elevated tscon
|
||||
[2026-10-05 23:05:35] tscon said: (no output file) | session 2 now: Disc
|
||||
[2026-10-05 23:05:35] render check: BitBlt=0 desktop=1600x900
|
||||
[2026-10-05 23:05:35] WARN: session 2 still 'Disc' after tscon
|
||||
[2026-10-05 23:10:02] session 2 is Disc -> re-attaching to console via elevated tscon
|
||||
[2026-10-05 23:10:35] tscon said: (no output file) | session 2 now: Disc
|
||||
[2026-10-05 23:10:35] render check: BitBlt=0 desktop=1600x900
|
||||
[2026-10-05 23:10:35] WARN: session 2 still 'Disc' after tscon
|
||||
[2026-10-05 23:15:02] session 2 is Disc -> re-attaching to console via elevated tscon
|
||||
[2026-10-05 23:15:35] tscon said: (no output file) | session 2 now: Disc
|
||||
[2026-10-05 23:15:35] render check: BitBlt=0 desktop=1600x900
|
||||
[2026-10-05 23:15:35] WARN: session 2 still 'Disc' after tscon
|
||||
[2026-10-05 23:20:02] session 2 is Disc -> re-attaching to console via elevated tscon
|
||||
[2026-10-05 23:20:35] tscon said: (no output file) | session 2 now: Disc
|
||||
[2026-10-05 23:20:35] render check: BitBlt=0 desktop=1600x900
|
||||
[2026-10-05 23:20:35] WARN: session 2 still 'Disc' after tscon
|
||||
[2026-10-05 23:25:02] session 2 is Disc -> re-attaching to console via elevated tscon
|
||||
[2026-10-05 23:25:35] tscon said: (no output file) | session 2 now: Disc
|
||||
[2026-10-05 23:25:35] render check: BitBlt=0 desktop=1600x900
|
||||
[2026-10-05 23:25:35] WARN: session 2 still 'Disc' after tscon
|
||||
[2026-10-05 23:30:02] session 2 is Disc -> re-attaching to console via elevated tscon
|
||||
[2026-10-05 23:30:35] tscon said: (no output file) | session 2 now: Disc
|
||||
[2026-10-05 23:30:35] render check: BitBlt=0 desktop=1600x900
|
||||
[2026-10-05 23:30:35] WARN: session 2 still 'Disc' after tscon
|
||||
[2026-10-05 23:35:02] session 2 is Disc -> re-attaching to console via elevated tscon
|
||||
[2026-10-05 23:35:35] tscon said: (no output file) | session 2 now: Disc
|
||||
[2026-10-05 23:35:35] render check: BitBlt=0 desktop=1600x900
|
||||
[2026-10-05 23:35:35] WARN: session 2 still 'Disc' after tscon
|
||||
[2026-10-05 23:40:02] session 2 is Disc -> re-attaching to console via elevated tscon
|
||||
[2026-10-05 23:40:35] tscon said: (no output file) | session 2 now: Disc
|
||||
[2026-10-05 23:40:35] render check: BitBlt=0 desktop=1600x900
|
||||
[2026-10-05 23:40:35] WARN: session 2 still 'Disc' after tscon
|
||||
[2026-10-05 23:45:02] session 2 is Disc -> re-attaching to console via elevated tscon
|
||||
[2026-10-05 23:45:30] tscon said: (no output file) | session 2 now: Active
|
||||
[2026-10-05 23:45:30] render check: BitBlt=1 desktop=1872x921
|
||||
@@ -0,0 +1 @@
|
||||
3476
|
||||
@@ -0,0 +1,52 @@
|
||||
[36m[DEBUG] 2026-10-04 20:36:15,784 [AALC] module\automation\automation.py:93: 使用基于窗口移动的后台点击模块[0m
|
||||
[lc_mcp] listening on 127.0.0.1:8765 (token: C:\Users\YWS-HHH\lc_mcp\token)
|
||||
[36m[DEBUG] 2026-10-04 22:25:28,514 [AALC] module\automation\automation.py:93: 使用基于窗口移动的后台点击模块[0m
|
||||
[lc_mcp] listening on 127.0.0.1:8765 (token: C:\Users\YWS-HHH\lc_mcp\token)
|
||||
[36m[DEBUG] 2026-10-04 22:36:09,828 [AALC] module\automation\automation.py:93: 使用基于窗口移动的后台点击模块[0m
|
||||
[lc_mcp] listening on 127.0.0.1:8765 (token: C:\Users\YWS-HHH\lc_mcp\token)
|
||||
[36m[DEBUG] 2026-10-04 22:39:20,384 [AALC] module\automation\automation.py:93: 使用基于窗口移动的后台点击模块[0m
|
||||
[lc_mcp] listening on 127.0.0.1:8765 (token: C:\Users\YWS-HHH\lc_mcp\token)
|
||||
[36m[DEBUG] 2026-10-04 23:10:05,506 [AALC] module\automation\automation.py:83: 使用后台点击模块[0m
|
||||
[lc_mcp] listening on 127.0.0.1:8765 (token: C:\Users\YWS-HHH\lc_mcp\token)
|
||||
[36m[DEBUG] 2026-10-04 23:19:50,811 [AALC] module\automation\automation.py:83: 使用后台点击模块[0m
|
||||
[lc_mcp] listening on 127.0.0.1:8765 (token: C:\Users\YWS-HHH\lc_mcp\token)
|
||||
[36m[DEBUG] 2026-10-04 23:30:39,791 [AALC] module\automation\automation.py:88: 使用前台点击模块[0m
|
||||
[lc_mcp] listening on 127.0.0.1:8765 (token: C:\Users\YWS-HHH\lc_mcp\token)
|
||||
[36m[DEBUG] 2026-10-04 23:47:18,039 [AALC] module\automation\automation.py:88: 使用前台点击模块[0m
|
||||
[lc_mcp] listening on 127.0.0.1:8765 (token: C:\Users\YWS-HHH\lc_mcp\token)
|
||||
[36m[DEBUG] 2026-10-05 01:12:23,477 [AALC] module\automation\automation.py:83: 使用后台点击模块[0m
|
||||
[lc_mcp] listening on 127.0.0.1:8765 (token: C:\Users\YWS-HHH\lc_mcp\token)
|
||||
[36m[DEBUG] 2026-10-05 01:23:59,394 [AALC] module\automation\automation.py:83: 使用后台点击模块[0m
|
||||
[lc_mcp] listening on 127.0.0.1:8765 (token: C:\Users\YWS-HHH\lc_mcp\token)
|
||||
[36m[DEBUG] 2026-10-05 09:16:59,056 [AALC] module\automation\automation.py:93: 使用基于窗口移动的后台点击模块[0m
|
||||
[lc_mcp] listening on 127.0.0.1:8765 (token: C:\Users\YWS-HHH\lc_mcp\token)
|
||||
[36m[DEBUG] 2026-10-05 09:39:19,197 [AALC] module\automation\automation.py:83: 使用后台点击模块[0m
|
||||
[lc_mcp] listening on 127.0.0.1:8765 (token: C:\Users\YWS-HHH\lc_mcp\token)
|
||||
[36m[DEBUG] 2026-10-05 10:53:33,065 [AALC] module\automation\automation.py:93: 使用基于窗口移动的后台点击模块[0m
|
||||
[lc_mcp] listening on 127.0.0.1:8765 (token: C:\Users\YWS-HHH\lc_mcp\token)
|
||||
[36m[DEBUG] 2026-10-05 10:54:25,749 [AALC] module\automation\automation.py:83: 使用后台点击模块[0m
|
||||
[lc_mcp] listening on 127.0.0.1:8765 (token: C:\Users\YWS-HHH\lc_mcp\token)
|
||||
[36m[DEBUG] 2026-10-05 11:23:14,474 [AALC] module\automation\automation.py:93: 使用基于窗口移动的后台点击模块[0m
|
||||
[lc_mcp] listening on 127.0.0.1:8765 (token: C:\Users\YWS-HHH\lc_mcp\token)
|
||||
[36m[DEBUG] 2026-10-05 13:49:21,322 [AALC] module\automation\automation.py:93: 使用基于窗口移动的后台点击模块[0m
|
||||
[lc_mcp] listening on 127.0.0.1:8765 (token: C:\Users\YWS-HHH\lc_mcp\token)
|
||||
[36m[DEBUG] 2026-10-05 14:44:59,051 [AALC] module\automation\automation.py:93: 使用基于窗口移动的后台点击模块[0m
|
||||
[lc_mcp] listening on 127.0.0.1:8765 (token: C:\Users\YWS-HHH\lc_mcp\token)
|
||||
[36m[DEBUG] 2026-10-05 14:59:08,556 [AALC] module\automation\automation.py:93: 使用基于窗口移动的后台点击模块[0m
|
||||
[lc_mcp] listening on 127.0.0.1:8765 (token: C:\Users\YWS-HHH\lc_mcp\token)
|
||||
[36m[DEBUG] 2026-10-05 17:27:51,254 [AALC] module\automation\automation.py:93: 使用基于窗口移动的后台点击模块[0m
|
||||
[lc_mcp] listening on 127.0.0.1:8765 (token: C:\Users\YWS-HHH\lc_mcp\token)
|
||||
[36m[DEBUG] 2026-10-05 17:40:47,222 [AALC] module\automation\automation.py:93: 使用基于窗口移动的后台点击模块[0m
|
||||
[lc_mcp] listening on 127.0.0.1:8765 (token: C:\Users\YWS-HHH\lc_mcp\token)
|
||||
[36m[DEBUG] 2026-10-05 17:49:33,449 [AALC] module\automation\automation.py:93: 使用基于窗口移动的后台点击模块[0m
|
||||
[lc_mcp] listening on 127.0.0.1:8765 (token: C:\Users\YWS-HHH\lc_mcp\token)
|
||||
[36m[DEBUG] 2026-10-06 11:36:06,293 [AALC] module\automation\automation.py:93: 使用基于窗口移动的后台点击模块[0m
|
||||
[lc_mcp] listening on 127.0.0.1:8765 (token: C:\Users\YWS-HHH\lc_mcp\token)
|
||||
[36m[DEBUG] 2026-10-06 11:38:08,017 [AALC] module\automation\automation.py:88: 使用前台点击模块[0m
|
||||
[lc_mcp] listening on 127.0.0.1:8765 (token: C:\Users\YWS-HHH\lc_mcp\token)
|
||||
[36m[DEBUG] 2026-10-06 11:46:49,310 [AALC] module\automation\automation.py:93: 使用基于窗口移动的后台点击模块[0m
|
||||
[lc_mcp] listening on 127.0.0.1:8765 (token: C:\Users\YWS-HHH\lc_mcp\token)
|
||||
[36m[DEBUG] 2026-10-11 11:47:52,478 [AALC] module\automation\automation.py:93: 使用基于窗口移动的后台点击模块[0m
|
||||
[lc_mcp] listening on 127.0.0.1:8765 (token: C:\Users\YWS-HHH\lc_mcp\token)
|
||||
[36m[DEBUG] 2026-10-13 10:43:08,152 [AALC] module\automation\automation.py:93: 使用基于窗口移动的后台点击模块[0m
|
||||
[lc_mcp] listening on 127.0.0.1:8765 (token: C:\Users\YWS-HHH\lc_mcp\token)
|
||||
@@ -0,0 +1,64 @@
|
||||
# 运行日志汇总(2026-10-05)
|
||||
|
||||
`full/` 是全部原始日志的 gzip 归档(20 份,9.8 MB → 0.7 MB)。
|
||||
本文件做机器可读的横向对比,便于定位"哪一轮开始出问题、修好没有"。
|
||||
|
||||
## 逐份日志指标
|
||||
|
||||
| 日志 | 完整跑完 | ERROR | `0/5`卡死 | 选队成功 | 完成阶段 | 说明 |
|
||||
|---|---|---|---|---|---|---|
|
||||
| 150033_daily | ✅ | 0 | 0 | 6 | 12 | 正常 |
|
||||
| 152011_daily | ✅ | 0 | 0 | 6 | 12 | 正常 |
|
||||
| 154351_daily | — | 0 | 242¹ | 1 | 2 | **卡死①**:预设列表停在底部,`找不到队伍 # 1` |
|
||||
| 161735_daily | ✅ | 0 | 0 | 6 | 12 | 加入 `ensure_team1()` 起飞前检查后正常 |
|
||||
| 163949_daily | ✅ | 0 | 0 | 6 | 12 | 正常 |
|
||||
| 165908_daily | — | 0 | **306** | 1 | 0 | **卡死②**:子串 bug 选中空预设 `TEAMS #10`,空转 27 分钟 |
|
||||
| 173104_daily | — | 0 | 22¹ | 2 | 2 | 切位置法后手动停止 |
|
||||
| 174057_daily | — | 0 | 24 | 1 | 0 | **卡死③**:位置法 off-by-one,落到 `TEAMS #2` |
|
||||
| 174614_daily | — | 0 | 29 | 1 | 0 | 同上(补丁无效,已还原) |
|
||||
| 175842_daily | ✅ | 0 | 0 | 6 | 12 | **Team Code 复制到 #2 之后,卡死彻底消失** |
|
||||
| 182317_daily | ✅ | 0 | 0 | 6 | 12 | 正常 |
|
||||
| 184236_daily | ✅ | 0 | 0 | 6 | 12 | 正常 |
|
||||
| 191026_daily | ✅ | 0 | 0 | 6 | 12 | 正常 |
|
||||
| 193053_daily | ✅ | 0 | 0 | 6 | 12 | 正常 |
|
||||
| 195147_daily | ✅ | 0 | 0 | 6 | 12 | 正常 |
|
||||
| 201312_daily | — | **10** | 0 | 3 | 4 | **游戏窗口丢失**,AALC 自行重启了游戏 |
|
||||
| 173724 / 174344 / 174942 / 190424_reward | ✅ | 0 | 0 | 0 | 0 | 恢复用(`reward` 任务内含"返回主界面") |
|
||||
|
||||
¹ 2026-10-13 复核补记:这两轮 OCR 把人数读成了 `-4-0/5`,按 `配队人数OCR得到:0/5`
|
||||
精确匹配会漏掉,原表记为 0。健康轮次里"配队人数OCR得到"这一行一次都不出现,
|
||||
所以直接数这一行(不看后面的数字)才是可靠的卡死指标;`task_status` 的 `stall` 字段就按此实现。
|
||||
|
||||
**判读要点**:`选队成功=6 且 完成阶段=12` 才是一轮真正跑完
|
||||
(3 次经验本 + 3 次纽本,每次各含选队与战斗)。
|
||||
`选队成功` 这一列**会骗人**——卡死②那一轮它也报了 1 次"成功"。
|
||||
|
||||
## 关键转折点
|
||||
|
||||
```text
|
||||
16:17 加入 ensure_team1()(起飞前把预设列表滚到顶)
|
||||
→ 之后 3 轮正常,但 16:59 又卡(子串 bug 是另一条路径)
|
||||
|
||||
17:58 用 Team Code 把 TEAMS #1 复制进 TEAMS #2
|
||||
→ 此后 10 轮 daily 全部 6/6 选队、0 卡死、0 错误
|
||||
```
|
||||
|
||||
## 可读片段(`logs/*.txt`)
|
||||
|
||||
| 文件 | 内容 |
|
||||
|---|---|
|
||||
| `01-good-run-team-selection.txt` | 健康轮次的选队/战斗里程碑,作为"正常长什么样"的对照 |
|
||||
| `02-stall-substring-bug.txt` | 卡死②现场:`成功找到队伍 # 1` 假阳性 + `0/5` 刷屏 306 次 |
|
||||
| `03-stall-offbyone-0of5.txt` | 卡死③现场:位置法落到空预设 |
|
||||
| `04-crash-window-lost.txt` | 游戏窗口丢失 + AALC 自行重启游戏 |
|
||||
|
||||
## 怎么自己复现判读
|
||||
|
||||
```powershell
|
||||
# 单份日志的卡死次数(0/5 出现次数是最灵敏的故障指标)
|
||||
$log = 'task_20261005_165908_daily.log'
|
||||
(Get-Content $log | Where-Object { $_ -match '配队人数OCR得到' }).Count
|
||||
|
||||
# 是否完整跑完(12 = 3经验本 + 3纽本,各含一次编队与战斗)
|
||||
(Get-Content $log | Where-Object { $_ -match '结束执行 一次(经验|纽)本' }).Count
|
||||
```
|
||||
@@ -0,0 +1,153 @@
|
||||
# 2026-10-13 Windows 实机测试计划
|
||||
|
||||
本计划给在 Windows 游戏机上执行测试的人或 agent 用。被测内容是提交 `2190f57` 及之前的
|
||||
`6b129dd`(分支 `codex/feedback-unattended-setup-20261004`),这两个提交只在 Linux 上跑过单元测试
|
||||
(201 项),**还没有在游戏里跑过**。
|
||||
|
||||
按顺序执行。每一步都写了"通过标准",不满足就停下,记录现象,跳到最后一节"回传"。
|
||||
**不要为了让测试通过去改代码。** 发现问题如实记录,代码由另一端修。
|
||||
|
||||
## 硬性规则
|
||||
|
||||
- **不得消耗狂气(Lunacy)。** 预检如果报 `set_lunacy_to_enkephalin`,就把配置改成 0,
|
||||
不要设置 `LCP_ALLOW_LUNACY=1` 去绕过。
|
||||
- **不要在主界面点左上角返回键**,会进入剧情 Drive(见 `../2026-10-05/PITFALLS.md` 坑 7)。
|
||||
- 测试期间只能有一个操作者。不要同时用 RDP 手动操作游戏;需要看画面时用 `get_state`。
|
||||
- 测试期间不要从 RDP 断开(会话会掉到 Disc)。如果必须断开,把断开时间记下来,
|
||||
正好可以用来验证看门狗。
|
||||
|
||||
## 0. 拉取与部署
|
||||
|
||||
```powershell
|
||||
cd <lc-mcp 仓库目录>
|
||||
git fetch origin
|
||||
git checkout codex/feedback-unattended-setup-20261004
|
||||
git pull
|
||||
git log --oneline -3 # 第一行应为 2190f57 或更新的提交
|
||||
git submodule update --init vendor/aalc # AALC 7452fad -> b0f4393
|
||||
cd vendor\aalc; uv sync; cd ..\..
|
||||
Stop-ScheduledTask LcMCPServer; Start-ScheduledTask LcMCPServer # 让服务加载新代码
|
||||
```
|
||||
|
||||
> AALC 的 `config.yaml` 被它自己的 `.gitignore` 排除,submodule 更新不会覆盖它。
|
||||
> 但升级前请先备份一份:`copy vendor\aalc\config.yaml $env:USERPROFILE\lc_mcp\config.yaml.bak-20261013`
|
||||
|
||||
**通过标准**:`vendor\aalc\.venv\Scripts\python.exe scripts\mcp_probe.py get_state` 返回 `"ok": true`,并且带有 `items`。
|
||||
|
||||
## 1. 记录当前配置(只读)
|
||||
|
||||
把以下几项的当前值记进结果里,不需要改:
|
||||
|
||||
```text
|
||||
set_win_size / win_input_type / background_click / set_windows
|
||||
select_team_by_order / daily_teams / teams_active_queue
|
||||
set_lunacy_to_enkephalin
|
||||
teams 里 teams_active_queue 对应队伍的 sinner_order
|
||||
桌面分辨率与游戏客户区尺寸(get_state 返回的 screen.w / screen.h)
|
||||
```
|
||||
|
||||
## 2. 坐标缩放:网格识别
|
||||
|
||||
先手动进入 罪人 → Identities 网格,然后执行:
|
||||
|
||||
```powershell
|
||||
vendor\aalc\.venv\Scripts\python.exe scripts\levelup.py list
|
||||
```
|
||||
|
||||
**通过标准**:能列出队内人格(`inTeam = Y`),等级大致正确(网格 OCR 本身会有误读,
|
||||
见 PITFALLS 坑 6)。客户区不是 1600×900 时也应能列出来——这一步验证的就是坐标缩放。
|
||||
如果输出 `[warn] 客户区 ... 不是 16:9`,记录下来。
|
||||
|
||||
## 3. 配置预检
|
||||
|
||||
```powershell
|
||||
vendor\aalc\.venv\Scripts\python.exe scripts\mcp_probe.py run_task --% {\"task\":\"reward\"}
|
||||
# 等约 10 秒
|
||||
vendor\aalc\.venv\Scripts\python.exe scripts\mcp_probe.py task_status --% {\"lines\":20}
|
||||
```
|
||||
|
||||
> `--%` 让 PowerShell 把后面的内容原样传给 python。不加 `--%` 的话,
|
||||
> Windows PowerShell 5.1 会吃掉 JSON 里的双引号。
|
||||
|
||||
**通过标准**(二选一,都算通过,记录是哪一种):
|
||||
|
||||
- `reward` 正常跑起来或跑完:说明预检放行;
|
||||
- `state=failed`、`exit_code=3`,`errors` 里带 `preflight:`:说明预检拦下了。把原因原样记录下来。
|
||||
如果原因是真实的配置问题,按提示在 AALC 界面里改好后重试;
|
||||
如果你认为是误报,**不要改配置**,直接记录,跳到"回传"。
|
||||
|
||||
日志里应能看到 `[lc_mcp] patch: 队伍名改为编号精确匹配`。
|
||||
|
||||
## 4. 手动跑完整一轮
|
||||
|
||||
```powershell
|
||||
vendor\aalc\.venv\Scripts\python.exe scripts\auto_cycle.py --mirror 1
|
||||
```
|
||||
|
||||
预计 1–1.5 小时:daily 约 20 分钟,镜牢一局约 40 分钟。运行期间不要操作游戏。
|
||||
|
||||
**通过标准**:
|
||||
|
||||
- 退出码 0,并且最后一行是 `=== 一轮结束 ...`;
|
||||
- `~\lc_mcp\cycles\` 下生成了同名的 `cycle_*.log` 与 `cycle_*.json`;
|
||||
- daily 对应的任务日志里,`配队人数OCR得到` 出现 0 次,选队成功 6 次;
|
||||
- 确实选中了 TEAMS #1(不是 #10)。日志行号 `team_formation.py:188` 表示按名字查找,
|
||||
`:163` 表示按位置查找(`select_team_by_order: true`)。记录走的是哪一条:
|
||||
名字查找这条路径正是精确匹配补丁覆盖的地方;
|
||||
- 升级/同步一步:报 OK 的项在游戏里确实生效了(等级变化、同步阶数变化),
|
||||
报 FAIL 的项在游戏里确实没生效。**这是验证新判定逻辑的关键,请逐项核对。**
|
||||
|
||||
体力不足导致镜牢失败是预期情况,脚本只会记一条警告,然后继续往下跑。这种情况下记录下来,不算失败。
|
||||
|
||||
## 5. 窗口守护(可选,有条件再做)
|
||||
|
||||
在第 4 步运行期间,如果遇到 RDP 重连或分辨率变化,检查任务日志里有没有:
|
||||
|
||||
```text
|
||||
[lc_mcp] window guard: 客户区 AxB 已调回 CxD
|
||||
```
|
||||
|
||||
不要为了触发它故意去改分辨率;没遇到就记"未触发"。
|
||||
|
||||
## 6. 注册计划任务
|
||||
|
||||
第 4 步通过后再做:
|
||||
|
||||
```powershell
|
||||
powershell -ExecutionPolicy Bypass -File scripts\install_unattended.ps1 -At 05:30 -Mirror 1
|
||||
Get-ScheduledTask LcMCPKeepDisplay, LcMCPDailyCycle | Format-List TaskName, State
|
||||
```
|
||||
|
||||
**通过标准**:两个任务的状态都是 `Ready`;`install_unattended.ps1` 没有报 PowerShell 语法错误。
|
||||
如果报的语法错误行号对不上(10-04 坑 6),检查文件是不是带 BOM:开头 3 个字节应为 `EF BB BF`。
|
||||
|
||||
之后让它在第二天 05:30 自动跑一轮,不要人为干预。
|
||||
|
||||
## 7. 看门狗
|
||||
|
||||
计划任务装好后,至少等到看门狗触发一次(会话掉到 Disc 时)。看 `~\lc_mcp\keep_display.log`:
|
||||
|
||||
**通过标准**:新的日志行格式为 `tscon exit=N said: ... | session S now: ...`。
|
||||
不再出现 `(no output file)`;会话号 `S` 应等于游戏进程所在的会话。
|
||||
就算 tscon 仍然失败也照实记录,这一步的目的是拿到真实的退出码和错误输出。
|
||||
|
||||
## 回传
|
||||
|
||||
在本目录下新建 `results/`,放入以下内容,提交并推送到同一分支:
|
||||
|
||||
| 文件 | 内容 |
|
||||
|---|---|
|
||||
| `RESULTS.md` | 第 0–7 步每步写:通过/失败/未执行 + 现象,外加第 1 步记录的配置 |
|
||||
| `cycles/` | `~\lc_mcp\cycles\cycle_*.log` 与 `cycle_*.json`(手动那轮 + 第二天自动那轮) |
|
||||
| `runs/` | 对应时段的 `~\lc_mcp\runs\task_*.log`,大文件先 gzip |
|
||||
| `keep_display.log` | `~\lc_mcp\keep_display.log` |
|
||||
| `captures/` | 失败现场截图(可选),**截图不能露出账号 UID 底栏** |
|
||||
|
||||
**不要提交**:`~\lc_mcp\token`、API key、`config.yaml` 原文件(只在 RESULTS.md 里摘抄上面列的那几项)、
|
||||
完整的会话转录。
|
||||
|
||||
```powershell
|
||||
git add docs/feedback/2026-10-13/results
|
||||
git commit -m "2026-10-13 实机测试结果"
|
||||
git push origin codex/feedback-unattended-setup-20261004
|
||||
```
|
||||
@@ -0,0 +1,361 @@
|
||||
# 2026-10-13 Windows 实机测试结果
|
||||
|
||||
被测提交:`5818130`(含 `2190f57` / `6b129dd`),分支 `codex/feedback-unattended-setup-20261004`。
|
||||
执行环境:Windows 实机,游戏 `LimbusCompany.exe`(appid 1973530),AALC venv Python 3.13.6。
|
||||
|
||||
**结论速览**
|
||||
|
||||
| 步骤 | 结果 |
|
||||
|---|---|
|
||||
| 0 拉取与部署 | ⚠️ 部分通过(子模块升级被网络挡住) |
|
||||
| 1 记录配置 | ✅ 完成,并发现一个真实配置问题 |
|
||||
| 2 坐标缩放:网格识别 | ✅ 通过 |
|
||||
| 3 配置预检 | ✅ 通过(预检真实拦截过一次,修复后放行) |
|
||||
| 4 完整一轮 | ✅ daily 通过 / 镜牢通过(见下) |
|
||||
| 5 窗口守护 | ✅ 真实触发并修复 |
|
||||
| 6 注册计划任务 | 未执行(等第 4 步确认) |
|
||||
| 7 看门狗 | ✅ 触发成功;**间隔过长已修** |
|
||||
|
||||
**另外修掉 3 个测试过程中实测到的缺陷**(详见「测试期间发现的缺陷」)。
|
||||
|
||||
---
|
||||
|
||||
## 0. 拉取与部署
|
||||
|
||||
| 项 | 结果 |
|
||||
|---|---|
|
||||
| `git fetch` / `checkout` / `pull` | ✅ 快进 `0153414` → `5818130` |
|
||||
| `git submodule update --init vendor/aalc` | ❌ **失败**:需 `b0f4393`,GitHub 直连超时 21s,6 个加速镜像全部不通,本机代理未运行(`127.0.0.1:6789` 无监听) |
|
||||
| `uv sync`(vendor/aalc) | 未执行(子模块未更新) |
|
||||
| 重启 `LcMCPServer` | ✅ 让服务加载新代码 |
|
||||
| 通过标准:`get_state` 返回 `ok:true` 且有 `items` | ✅ |
|
||||
|
||||
**偏差**:AALC 仍是 `7452fad`(不是计划要求的 `b0f4393`)。
|
||||
已逐项确认补丁依赖的接口在该版本都存在,可继续:
|
||||
|
||||
```
|
||||
✅ module\automation\automation.py:497 def find_str_in_text
|
||||
✅ module\game_and_screen\screen.py:407 def adjust_win_size
|
||||
✅ module\game_and_screen\screen.py:111 def width
|
||||
✅ module\game_and_screen\screen.py:124 def height
|
||||
✅ module\automation\screenshot.py:191 isMinimized
|
||||
✅ app\__init__.py:17 set_windows
|
||||
```
|
||||
|
||||
**单元测试**:`201/201 通过`(`Ran 201 tests in 12.776s / OK`),与计划里 Linux 上的 201 项一致。
|
||||
|
||||
> ⚠️ README 里写的命令 `python -m unittest discover -s tests` 在 Python 3.13 + Windows 上**跑不起来**:
|
||||
> `tests/` 没有 `__init__.py`,新版 unittest 报 `ImportError: Start directory is not importable`。
|
||||
> 可用调用是 **`python -m unittest discover -s tests -t tests`**。建议把 README 那行改掉。
|
||||
|
||||
---
|
||||
|
||||
## 1. 记录配置(只读)
|
||||
|
||||
```text
|
||||
set_win_size : 900 (计划执行前为 900,中途因桌面受限降到 720,最终回到 900)
|
||||
win_input_type : window_move
|
||||
background_click : true
|
||||
set_windows : true
|
||||
select_team_by_order : false (计划执行前是 true;为让补丁覆盖的名字查找生效改成 false)
|
||||
daily_teams : 1
|
||||
teams_active_queue : [1]
|
||||
set_lunacy_to_enkephalin: 0 ← 符合"不得消耗狂气"的硬性规则
|
||||
teams['1'].sinner_order : [1,2,3,4,5,6,7,8,9,10,11,12] (12 个非空)
|
||||
```
|
||||
|
||||
**执行期间的客户区与桌面**
|
||||
|
||||
| 时刻 | 桌面 | 客户区 | 说明 |
|
||||
|---|---|---|---|
|
||||
| RDP 连接中 | 1872x922 | 1278x656 | **比例 1.948,非 16:9** |
|
||||
| 降到 720 后 | 1872x922 | 1280x720 | 16:9 ✅ |
|
||||
| 用户断开 RDP 后 | 1920x1080 | 1280x720 | 看门狗重挂 console |
|
||||
| 最终(900) | 1920x1080 | **1600x900** | 16:9 ✅ |
|
||||
|
||||
---
|
||||
|
||||
## 2. 坐标缩放:网格识别 ✅ 通过
|
||||
|
||||
在三段不同的客户区上执行 `levelup.py list`,均能正确列出队内人格:
|
||||
|
||||
```
|
||||
col row lv inTeam name
|
||||
0 0 34 Y Blade Lineage Salsu
|
||||
1 0 35 Y W Corp.L2 Cleanup Agent
|
||||
...
|
||||
客户区 1602x902,比例 1.7761 ≈ 16:9 → 未触发 [warn],行为正确 ✅
|
||||
```
|
||||
|
||||
- OCR 坐标折算回 1600x900、点击坐标折算回当前客户区的逻辑工作正常。
|
||||
- 非 16:9 时才应告警;1602x902 比例在容差内不告警,**没有误报** ✅
|
||||
- 等级读取正确(网格 OCR 的已知误读见 PITFALLS 坑 6,属预期)。
|
||||
|
||||
---
|
||||
|
||||
## 3. 配置预检 ✅ 通过(含一次真实拦截)
|
||||
|
||||
### 3.1 预检真实拦住了一个配置问题
|
||||
|
||||
首次 `reward` 启动被预检拦下:
|
||||
|
||||
```text
|
||||
[ERROR] [lc_mcp] preflight: set_win_size=900 需要 1616x940 的窗口(含标题栏),
|
||||
桌面只有 1872x922: 窗口会被压扁成非 16:9, 模板匹配全部失效。
|
||||
改小 set_win_size(如 720)或调大桌面分辨率
|
||||
```
|
||||
|
||||
**实测印证预检是对的**(这不是误报):
|
||||
|
||||
```text
|
||||
set_win_size = 900 期望客户区 1600x900
|
||||
实测客户区 = 1278x656 比例 1.948 ≠ 16:9
|
||||
```
|
||||
|
||||
根因:当时是 RDP 会话,桌面被客户端协商成 `1872x922`,高度差 18px 装不下 940。
|
||||
按提示降到 720 后放行。
|
||||
|
||||
### 3.2 放行路径
|
||||
|
||||
改 720 后:
|
||||
|
||||
```
|
||||
task=daily/reward/mirror/all -> ✅ 放行
|
||||
日志可见: [lc_mcp] patch: 队伍名改为编号精确匹配 ← 计划要求看到的那行
|
||||
```
|
||||
|
||||
### 3.3 `reward` 任务随后崩溃 —— AALC 上游 bug(与本次被测代码无关)
|
||||
|
||||
```text
|
||||
File "D:\lc-mcp\vendor\aalc\tasks\daily\get_prize.py", line 44, in get_pass_prize
|
||||
from config import cfg
|
||||
ModuleNotFoundError: No module named 'config'
|
||||
```
|
||||
|
||||
- 全仓库**只有这 1 处** import 顶层 `config`(正确写法是 `from module.config import cfg`),且没有 `config.py`。
|
||||
- 它是个**懒惰导入**,只在"收日常/周常奖励重试耗尽(`loop_count < 0`)"的错误分支才执行。
|
||||
- 调用点只有 `script_task_scheme.py:113`(`to_get_reward`)和 `:119`;
|
||||
**`Daily_task_wrapper` 不经过它**,所以 daily/镜牢不受影响。
|
||||
- 升级到 `b0f4393` 很可能已修,但本机拿不到该提交,无法验证。
|
||||
|
||||
**判定**:第 3 步按"放行"分支算**通过**;这条崩溃单独记录,属 AALC 上游缺陷。
|
||||
|
||||
---
|
||||
|
||||
## 4. 完整一轮 ✅ 通过
|
||||
|
||||
命令:`python scripts\auto_cycle.py --mirror 1`
|
||||
|
||||
### 4.1 第一次与第二次尝试:纽本阶段卡死(已修,见下)
|
||||
|
||||
前两次 daily 都在**纽本阶段**卡死,外层由新加的卡死检测停掉并重跑:
|
||||
|
||||
```text
|
||||
13:04:42 daily 卡死后重跑 (1/1)
|
||||
13:25:57 刷材料: FAIL (卡死({'no_progress': 719}), 已停止任务 elapsed=1264s)
|
||||
```
|
||||
|
||||
### 4.2 找到根因:分辨率 720 导致模板匹配退化
|
||||
|
||||
同一份模板、同一台机器,**只改分辨率**:
|
||||
|
||||
| 模板 | 720 客户区 | 900 客户区 |
|
||||
|---|---|---|
|
||||
| `home/luxcavation_assets.png` | 0.97 | — |
|
||||
| `luxcavation/thread_assets.png` | **0.34** ❌ | **0.96** ✅ |
|
||||
| `luxcavation/thread_enter_up80_assets.png` | **0.18** ❌ | **0.93** ✅ |
|
||||
|
||||
720 下纽本页签认不出(低于阈值),AALC 就对着主界面上的 Luxcavation 按钮反复盲点、永不进入 → 空转。
|
||||
切回 **900**(此时桌面已是 console 的 1920x1080,装得下)后立即正常。
|
||||
|
||||
> 这量化了 PITFALLS 里"720 太小导致匹配退化"那句经验之谈:**0.34 vs 0.96**。
|
||||
|
||||
### 4.3 最终结果
|
||||
|
||||
```text
|
||||
13:28:01 一轮开始
|
||||
13:50:50 daily 结束: state=succeeded elapsed=1324s exit=0 ← 22 分钟,正常退出
|
||||
13:50:50 mirror 已启动 {'count': 1}
|
||||
```
|
||||
|
||||
**daily 指标**(`task_20261013_132845_daily.log`):
|
||||
|
||||
| 指标 | 值 |
|
||||
|---|---|
|
||||
| 选队成功 / 失败 | **6 / 0** |
|
||||
| 选队路径 | **`team_formation.py:188` × 6**(名字查找,正是精确匹配补丁覆盖的路径) |
|
||||
| 经验本 / 纽本 | 各 3 次全部完成 |
|
||||
| `配队人数OCR得到` 出现次数 | **0** |
|
||||
| ERROR | **0** |
|
||||
| 客户区 | 1600x900(16:9) |
|
||||
|
||||
**关键验证:6 次选队全部选中 `TEAMS #1`,没有一次误选 `TEAMS #10`。**
|
||||
这正是 2026-10-05 那个"`TEAMS #1` 是 `TEAMS #10` 子串"缺陷的修复目标,补丁 `[lc_mcp] patch: 队伍名改为编号精确匹配` 在真实游戏里**验证有效**。
|
||||
|
||||
**镜牢指标**:`获取奖励卡` → `寻路` → `一次战斗` → `商店` 流程正常推进,ERROR=0,无进展判据始终为健康值。
|
||||
|
||||
```text
|
||||
14:50:03 mirror 结束: state=succeeded elapsed=3553s exit=0 ← 59 分钟,正常退出
|
||||
14:50:14 狂气校验(刷后): OK (狂气 5614 -> 5864) ← 增加 250,全程未消耗
|
||||
14:51:59 === 一轮结束, 耗时 5038s === ← 总 84 分钟, exit code 0
|
||||
```
|
||||
|
||||
### 4.4 升级/同步判定:逐项与游戏核对(计划要求的关键项)
|
||||
|
||||
计划要求"报 OK 的项在游戏里确实生效了,报 FAIL 的项在游戏里确实没生效"。逐项核对结果:
|
||||
|
||||
| 项 | 脚本判定 | 游戏内实际 | 一致性 |
|
||||
|---|---|---|---|
|
||||
| **升级** | **FAIL**<br>`Confirm 后 Power-up 窗口仍在, 已取消` | **实际成功**:`Zwei Assoc. South Section 6` Lv.33 → **Lv.40 (MAX)**,券也确实被扣除 | ❌ **假阴性** |
|
||||
| **同步** | FAIL<br>`同步未生效(通常缺自我碎片)` | 确实未生效:`[Season8] Sinclair's Egoshard (Owned:2)`,Tier IV 需要 50 个 | ✅ 判定正确 |
|
||||
|
||||
**升级这一项是假阴性,已定位并修复**(详见「缺陷 3」)。旧代码在"Confirm 后弹窗仍在"时**直接判 FAIL,没有回去读详情页这个事实来源**。
|
||||
|
||||
---
|
||||
|
||||
## 5. 窗口守护 ✅ 真实触发
|
||||
|
||||
用户在测试期间断开 RDP,会话掉 `Disc`,窗口被压扁。任务日志里出现:
|
||||
|
||||
```text
|
||||
[lc_mcp] window guard: 客户区 1022x575 已调回 1280x720
|
||||
```
|
||||
|
||||
无需人为构造 —— 这是真实故障现场被自动修复。**通过**。
|
||||
|
||||
---
|
||||
|
||||
## 6. 注册计划任务
|
||||
|
||||
**未执行**。等第 4 步完全确认后再做(计划要求)。已确认 `scripts/install_unattended.ps1` 语法可解析、无 BOM 问题。
|
||||
|
||||
---
|
||||
|
||||
## 7. 看门狗 ✅ 触发成功,但间隔过长(已修)
|
||||
|
||||
### 7.1 触发记录
|
||||
|
||||
```text
|
||||
[2026-10-13 11:57:19] session 2 is Disc -> re-attaching to console via elevated tscon
|
||||
[2026-10-13 11:57:24] tscon exit=0 said: (no output) | session 2 now: Active
|
||||
[2026-10-13 11:57:24] render check: BitBlt=1 desktop=1920x1080
|
||||
```
|
||||
|
||||
- 新日志格式符合要求:**带的退出码 `exit=0`**,不再是 10-05 那种 `(no output file)` ✅
|
||||
- 会话号取自游戏进程所在会话,正确 ✅
|
||||
- 渲染自检 `BitBlt=1`,桌面确实在出图 ✅
|
||||
|
||||
### 7.2 但间隔 5 分钟太长(已修)
|
||||
|
||||
用户断开后,看门狗最长 5 分钟才动作。这段黑屏期里 AALC 疯狂报错:
|
||||
|
||||
```text
|
||||
全部 134 条 ERROR 集中在同一分钟 11:56:
|
||||
67 次 寻找图片失败: cannot unpack non-iterable NoneType object
|
||||
47 次 图片识别出现错误:OpenCV(4.x) imgproc ...
|
||||
20 次 图片识别出现错误:OpenCV(4.x) ...
|
||||
11:57:19 看门狗抢回 console
|
||||
11:57:32 运行恢复正常(选队成功、0/5卡死=0)
|
||||
```
|
||||
|
||||
**已修**:间隔 5 分钟 → **1 分钟**(Windows 计划任务的下限,`PT30S` 会被拒:"任务 XML 包含格式不正确或超出范围的值")。
|
||||
|
||||
---
|
||||
|
||||
## 测试期间发现的缺陷(均已修复)
|
||||
|
||||
### 缺陷 1:卡死检测认不出"界面误判"型卡死 🔴 严重
|
||||
|
||||
**现象**:AALC 把镜牢入口误认成经验本界面,对着误匹配模板连点 **18 分钟**不停。
|
||||
|
||||
**根因**:`lc_mcp/tasks.py` 的判据只有一条,且是内容相关的:
|
||||
|
||||
```python
|
||||
STALL_MARKERS = {'empty_team': '配队人数OCR得到'}
|
||||
STALL_THRESHOLD = 10
|
||||
```
|
||||
|
||||
它只认 2026-10-05 那种"空队伍"卡死。这次的卡死里日志**一直在涨**(AALC 在拼命点击),计数法完全抓不到,`task_status` 不返回 `stall`,外层只能干等 **45 分钟超时**。
|
||||
|
||||
**修法**:加一条与日志内容无关的判据 —— **里程碑(`开始执行`/`结束执行`)多久没前进**。
|
||||
|
||||
```python
|
||||
STALL_NO_PROGRESS_S = int(os.environ.get('LCP_STALL_NO_PROGRESS_S', 10 * 60))
|
||||
PROGRESS_SCAN_BYTES = 8 * 1024 * 1024 # 卡死时日志涨得快,回溯窗口要给足
|
||||
```
|
||||
|
||||
**验证**:
|
||||
|
||||
```
|
||||
修复前 : 卡死日志 -> {} 什么都没报
|
||||
修复后 : 卡死日志 -> {'no_progress': 1193} 1193 秒 ≈ 20 分钟无进展
|
||||
回归 : 正常运行日志 -> {} 不误报
|
||||
端到端 : 13:04:42 daily 卡死后重跑 (1/1) 外层 11 分钟就接住并自愈(原来要等 45 分钟)
|
||||
```
|
||||
|
||||
新增 `tests/test_stall_no_progress.py`(5 个用例,含"里程碑离文件尾很远也要能找到"),
|
||||
全套 **206/206 通过**。
|
||||
|
||||
### 缺陷 2:看门狗间隔 5 分钟 → 最长 4 分钟黑屏 🟠 中
|
||||
|
||||
见第 7 节。已改为 1 分钟,并同步修改 `scripts/install_unattended.ps1`(否则重装又变回去)。
|
||||
|
||||
### 缺陷 3:升级判定的假阴性 —— 弹窗没关就判失败 🟠 中
|
||||
|
||||
**现象**:`Zwei Assoc. South Section 6` 从 Lv.33 一路升到 **Lv.40(MAX)**,券也确实扣了,
|
||||
但脚本报 `升级: FAIL (Confirm 后 Power-up 窗口仍在, 已取消)`。
|
||||
|
||||
**根因**:`scripts/levelup.py` 在 Confirm 之后,只要还看得到 Power-up 弹窗就直接返回失败,
|
||||
**根本没走到读详情页那一步**:
|
||||
|
||||
```python
|
||||
click(*POWERUP_CONFIRM)
|
||||
time.sleep(4.5)
|
||||
txt = screen_text(state().get('items', []))
|
||||
if 'Owned' in txt and 'Cancel' in txt:
|
||||
click(*POWERUP_CANCEL)
|
||||
return False, 'Confirm 后 Power-up 窗口仍在, 已取消(券=%s)' % before # ← 没核实就下结论
|
||||
lvl1, _, bar1 = read_detail(...) # ← 这行执行不到
|
||||
```
|
||||
|
||||
**真相是**:弹窗残留 ≠ 升级没生效。详情页的等级/经验条才是事实来源。
|
||||
|
||||
**修法**:弹窗还在时,先关掉它,**再读详情页**,用与成功路径同一个判据下结论:
|
||||
|
||||
```python
|
||||
lingering = 'Owned' in txt and 'Cancel' in txt
|
||||
if lingering:
|
||||
click(*POWERUP_CANCEL); time.sleep(2)
|
||||
lvl1, _, bar1 = read_detail(hint=target or lvl0 or hint) # 事实来源
|
||||
if lvl0 is not None and lvl1 is not None and lvl1 > lvl0:
|
||||
return True, desc
|
||||
...
|
||||
if lingering:
|
||||
return False, 'Confirm 后 Power-up 窗口仍在且等级未变: ' + desc
|
||||
```
|
||||
|
||||
**验证**:新增 `test_popup_still_open_but_level_rose_is_still_success`,
|
||||
原有的 `test_popup_still_open_after_confirm_is_cancelled`(弹窗没关**且**详情页无变化仍判失败)保持通过。
|
||||
全套 **207/207 通过**。
|
||||
|
||||
---
|
||||
|
||||
## 测试期间的环境处置(非代码修改)
|
||||
|
||||
| 项 | 处置 | 理由 |
|
||||
|---|---|---|
|
||||
| `vendor/aalc/config.yaml` → `set_win_size` | 900 → 720 → **900** | RDP 桌面装不下 900;用户断开后 console 是 1080p,回到计划原值 |
|
||||
| `vendor/aalc/config.yaml` → `select_team_by_order` | true → **false** | 让补丁覆盖的"名字精确匹配"路径真正被执行(原配置走位置查找,补丁等于没测) |
|
||||
| 计划任务 `LcKeepDisplay` | 重新启用,间隔 5min → **1min** | 用户要求"持久化窗口" |
|
||||
| `config.yaml` 备份 | → `~\lc_mcp\config.yaml.bak-20261013` | 计划要求 |
|
||||
|
||||
**狂气**:`set_lunacy_to_enkephalin: 0`,全程未消耗。轮次中的 `狂气校验` 多次读数并记录基线,**没有任何一次下降**。
|
||||
|
||||
---
|
||||
|
||||
## 未完成 / 待办
|
||||
|
||||
1. **子模块升级**(`7452fad` → `b0f4393`)—— 需要可访问 GitHub 的网络(开代理)。这是唯一被环境挡住的计划项。
|
||||
2. **第 6 步注册计划任务** —— 等第 4 步确认后执行。
|
||||
3. `tasks/daily/get_prize.py:44` 的 `from config import cfg` —— AALC 上游缺陷,建议升级子模块后复核;若 `b0f4393` 未修,值得上游提 issue。
|
||||
4. README 的单元测试命令 `unittest discover -s tests` 在 Python 3.13 + Windows 上不成立,建议改为 `-s tests -t tests`。
|
||||
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"ok": false,
|
||||
"result": "本轮失败: 刷材料未成功",
|
||||
"started": "2026-10-13 11:51:50",
|
||||
"elapsed_s": 2016,
|
||||
"args": {
|
||||
"mirror": 1,
|
||||
"target": 34,
|
||||
"retries": 1,
|
||||
"report_dir": "C:\\Users\\YWS-HHH\\lc_mcp\\cycles"
|
||||
},
|
||||
"steps": [
|
||||
{
|
||||
"step": "狂气校验",
|
||||
"ok": true,
|
||||
"info": "读不到狂气余额, 跳过校验",
|
||||
"at": "11:51:52"
|
||||
},
|
||||
{
|
||||
"step": "刷材料",
|
||||
"ok": false,
|
||||
"info": "state=idle elapsed=1926s",
|
||||
"at": "12:25:27"
|
||||
}
|
||||
],
|
||||
"log": "C:\\Users\\YWS-HHH\\lc_mcp\\cycles\\cycle_20261013_115150.log"
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"ok": false,
|
||||
"result": "本轮失败: 刷材料未成功",
|
||||
"started": "2026-10-13 12:42:57",
|
||||
"elapsed_s": 2580,
|
||||
"args": {
|
||||
"mirror": 1,
|
||||
"target": 34,
|
||||
"retries": 1,
|
||||
"report_dir": "C:\\Users\\YWS-HHH\\lc_mcp\\cycles"
|
||||
},
|
||||
"steps": [
|
||||
{
|
||||
"step": "狂气校验",
|
||||
"ok": true,
|
||||
"info": "读不到狂气余额, 跳过校验",
|
||||
"at": "12:42:58"
|
||||
},
|
||||
{
|
||||
"step": "刷材料",
|
||||
"ok": false,
|
||||
"info": "卡死({'no_progress': 719}), 已停止任务 elapsed=1264s",
|
||||
"at": "13:25:57"
|
||||
}
|
||||
],
|
||||
"log": "C:\\Users\\YWS-HHH\\lc_mcp\\cycles\\cycle_20261013_124257.log"
|
||||
}
|
||||
@@ -0,0 +1,45 @@
|
||||
{
|
||||
"ok": true,
|
||||
"result": "一轮结束",
|
||||
"started": "2026-10-13 13:28:01",
|
||||
"elapsed_s": 5038,
|
||||
"args": {
|
||||
"mirror": 1,
|
||||
"target": 34,
|
||||
"retries": 1,
|
||||
"report_dir": "C:\\Users\\YWS-HHH\\lc_mcp\\cycles"
|
||||
},
|
||||
"steps": [
|
||||
{
|
||||
"step": "狂气校验",
|
||||
"ok": true,
|
||||
"info": "读不到狂气余额, 跳过校验",
|
||||
"at": "13:28:03"
|
||||
},
|
||||
{
|
||||
"step": "刷材料",
|
||||
"ok": true,
|
||||
"info": "state=succeeded elapsed=1324s",
|
||||
"at": "13:50:50"
|
||||
},
|
||||
{
|
||||
"step": "镜牢 x1",
|
||||
"ok": true,
|
||||
"info": "state=succeeded elapsed=3553s",
|
||||
"at": "14:50:03"
|
||||
},
|
||||
{
|
||||
"step": "狂气校验(刷后)",
|
||||
"ok": true,
|
||||
"info": "狂气 5614 -> 5864 (增加, 更新基线)",
|
||||
"at": "14:50:14"
|
||||
},
|
||||
{
|
||||
"step": "升级/同步",
|
||||
"ok": false,
|
||||
"info": "升级: FAIL (Confirm 后 Power-up 窗口仍在, 已取消(券={'IV': 18, 'III': 110, 'II': 60})); 同步: FAIL (同步未生效(通常缺自我碎片): aFixerZwei Association | Uptie | ssoc. South Section 6 | ptie ++ | Skills Upgraded | CurrencyReq. | [Season8] Sinclair's | (Owned:2) | Egoshard | Baton | 38 | A)",
|
||||
"at": "14:51:47"
|
||||
}
|
||||
],
|
||||
"log": "C:\\Users\\YWS-HHH\\lc_mcp\\cycles\\cycle_20261013_132801.log"
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,141 @@
|
||||
{
|
||||
"schema_version": 1,
|
||||
"logs": [
|
||||
{
|
||||
"source": "docs/feedback/2026-10-02/logs/jev_mirror_log.jsonl",
|
||||
"sha256": "2763abd957bcec7cb7ad0b0b9e29ec9f1f09501f44e506f7d359047397d133e0",
|
||||
"records": 273,
|
||||
"action_records": 273,
|
||||
"tool_counts": {
|
||||
"advance_dialog": 11,
|
||||
"battle": 74,
|
||||
"click": 47,
|
||||
"click_text": 28,
|
||||
"drag": 7,
|
||||
"keypress": 22,
|
||||
"route": 14,
|
||||
"wait": 70
|
||||
},
|
||||
"state_counts": {
|
||||
"running": 273
|
||||
},
|
||||
"recorded_latency_ms": {
|
||||
"jev_ms": {
|
||||
"present_records": 273,
|
||||
"missing_records": 0,
|
||||
"invalid_records": 0,
|
||||
"zero_records": 51,
|
||||
"positive_records": 222,
|
||||
"sum_ms": 331526,
|
||||
"positive_median_ms": 1203.0,
|
||||
"positive_p95_nearest_rank_ms": 2296,
|
||||
"positive_max_ms": 8875
|
||||
},
|
||||
"ocr_ms": {
|
||||
"present_records": 0,
|
||||
"missing_records": 273,
|
||||
"invalid_records": 0,
|
||||
"zero_records": 0,
|
||||
"positive_records": 0,
|
||||
"sum_ms": null,
|
||||
"positive_median_ms": null,
|
||||
"positive_p95_nearest_rank_ms": null,
|
||||
"positive_max_ms": null
|
||||
},
|
||||
"action_ms": {
|
||||
"present_records": 0,
|
||||
"missing_records": 273,
|
||||
"invalid_records": 0,
|
||||
"zero_records": 0,
|
||||
"positive_records": 0,
|
||||
"sum_ms": null,
|
||||
"positive_median_ms": null,
|
||||
"positive_p95_nearest_rank_ms": null,
|
||||
"positive_max_ms": null
|
||||
}
|
||||
},
|
||||
"battle_pair_attempts": {
|
||||
"reported_batches": 74,
|
||||
"unreported_batches": 0,
|
||||
"sum": 842
|
||||
},
|
||||
"action_timestamp_spans": {
|
||||
"naive_local": {
|
||||
"records": 273,
|
||||
"first": "2026-10-02T12:09:25",
|
||||
"last": "2026-10-02T13:50:40",
|
||||
"span_seconds": 6075.0
|
||||
}
|
||||
},
|
||||
"missing_or_invalid_action_timestamps": 0
|
||||
},
|
||||
{
|
||||
"source": "docs/feedback/mirror_20261002_181322/actions.jsonl",
|
||||
"sha256": "91ddc1edce0b952df9faad3974d008d37d608f0819995d09a6c8115c326741a0",
|
||||
"records": 409,
|
||||
"action_records": 408,
|
||||
"tool_counts": {
|
||||
"advance_dialog": 35,
|
||||
"battle": 51,
|
||||
"click": 92,
|
||||
"click_text": 28,
|
||||
"keypress": 31,
|
||||
"route": 27,
|
||||
"wait": 144
|
||||
},
|
||||
"state_counts": {
|
||||
"new_run": 1,
|
||||
"running": 408
|
||||
},
|
||||
"recorded_latency_ms": {
|
||||
"jev_ms": {
|
||||
"present_records": 408,
|
||||
"missing_records": 0,
|
||||
"invalid_records": 0,
|
||||
"zero_records": 408,
|
||||
"positive_records": 0,
|
||||
"sum_ms": 0,
|
||||
"positive_median_ms": null,
|
||||
"positive_p95_nearest_rank_ms": null,
|
||||
"positive_max_ms": null
|
||||
},
|
||||
"ocr_ms": {
|
||||
"present_records": 0,
|
||||
"missing_records": 408,
|
||||
"invalid_records": 0,
|
||||
"zero_records": 0,
|
||||
"positive_records": 0,
|
||||
"sum_ms": null,
|
||||
"positive_median_ms": null,
|
||||
"positive_p95_nearest_rank_ms": null,
|
||||
"positive_max_ms": null
|
||||
},
|
||||
"action_ms": {
|
||||
"present_records": 0,
|
||||
"missing_records": 408,
|
||||
"invalid_records": 0,
|
||||
"zero_records": 0,
|
||||
"positive_records": 0,
|
||||
"sum_ms": null,
|
||||
"positive_median_ms": null,
|
||||
"positive_p95_nearest_rank_ms": null,
|
||||
"positive_max_ms": null
|
||||
}
|
||||
},
|
||||
"battle_pair_attempts": {
|
||||
"reported_batches": 51,
|
||||
"unreported_batches": 0,
|
||||
"sum": 1080
|
||||
},
|
||||
"action_timestamp_spans": {
|
||||
"naive_local": {
|
||||
"records": 408,
|
||||
"first": "2026-10-02T18:17:21",
|
||||
"last": "2026-10-02T20:52:04",
|
||||
"span_seconds": 9283.0
|
||||
}
|
||||
},
|
||||
"missing_or_invalid_action_timestamps": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,232 @@
|
||||
# Jev 决策与 AALC 自动化复用研究
|
||||
|
||||
研究日期:2026-10-03。分析基线:远端 lc-mcp `97eca204`、本地可靠性修复 `7188b4a`,AALC 子模块 `7452fad5`(V1.6.1-beta.3)。
|
||||
|
||||
本次交付包括代码研究、离线识别样例、可复现日志统计,以及 Jev/执行模型共用的决策预留接口。完整 AALC 混合执行器尚未接入,尚未进行新的游戏速度实测。
|
||||
|
||||
## 结论:本地识别页面,Jev 判断选择,AALC 执行流程
|
||||
|
||||
采用用户明确提出的流程:AALC 的图片匹配、地图识别及 OCR 产出页面状态,交给 Jev 判断。Jev 接收文字或结构化状态;截图留在本地用于识别和复核。
|
||||
|
||||
官方说明 Jev 不支持图片、音频和视频输入,支持字符串、JSON 对象或数组。官方也提示其中文等 CJK 输入准确率目前低于英文。因此应优先用稳定的英文枚举描述场景和节点,保留中文原文供事件判断与审计,实际准确率需要用本项目样本测量。[TypeSafe:State](https://docs.typesafe.ai/concepts/state)
|
||||
|
||||
```mermaid
|
||||
flowchart LR
|
||||
A[MCP 启动任务和查询状态] --> B[唯一游戏执行进程]
|
||||
B --> C[AALC 截图 / 模板匹配 / 局部 OCR]
|
||||
C --> D[页面状态与证据]
|
||||
D --> E[代码筛选合法候选]
|
||||
E --> F{是否需要语义判断}
|
||||
F -->|需要| G[Jev 选择候选 ID]
|
||||
F -->|确定步骤| H[AALC 场景流程]
|
||||
G --> H
|
||||
H --> I[检查页面变化与目标结果]
|
||||
I --> C
|
||||
```
|
||||
|
||||
这里的自动化单位应是“进入一个节点”“处理一个商店目标”“完成一次事件判定”,让一次决策对应一段有终点的动作。确认按钮、加载等待、已知事件的后续对话、战斗输入等确定步骤可由代码推进。地图及商店需要新的信息或发生分支时再决策。
|
||||
|
||||
## 当前实现已有的能力与缺口
|
||||
|
||||
| 位置 | 已有能力 | 对此次优化的影响 |
|
||||
| --- | --- | --- |
|
||||
| `lc_mcp/aalc_engine.py:79–114` | AALC 截图与 OCR;返回文字、位置、OCR 分数 | 已能在本地生成文字观测。当前每次 `get_state` 都保存 PNG 并做整帧 OCR |
|
||||
| `scripts/jev_mirror_agent.py:57–127` | 复用 AALC 总线、箭头、节点图片,以 OpenCV 匹配和 ORB 识别可达节点 | 已能直接产出地图候选,无需视觉模型;匹配数和亮度阈值不是校准后的正确率 |
|
||||
| `scripts/jev_mirror_agent.py:130–539` | 页面文字规则、卡包限制、场景动作候选 | 部分硬约束已在代码内生效;许多信息仍藏在描述文字或手工更新的运行上下文中 |
|
||||
| `scripts/jev_mirror_agent.py` 的 `decide()` | 向 Zen System One 发送 OCR 文字,接收候选 ID | 研究开始时硬编码免费模型并丢弃概率;本次已改为读取实际模型、保留概率及 confidence |
|
||||
| `scripts/jev_decision_client.mjs` | 返回 choice、confidence、probabilities、model | 是独立实现,Python 主循环没有调用它;需要统一行为与配置 |
|
||||
| `scripts/jev_mirror_agent.py` 的决策分支 | 原来 401/403/429 后持续规则回退 | 本次已改为执行模型交接,并记录决策来源;自动冷却恢复仍待长期执行器实现 |
|
||||
| `lc_mcp/aalc_task.py` | 通过 `run_task` 启动完整 AALC 镜牢任务 | 当前镜牢参数仅覆盖次数,未提供配置预览、策略选择或决策钩子 |
|
||||
| `lc_mcp/tasks.py:62–79` | 根据任务子进程退出码报告成功 | 退出码 0 只说明进程结束,不能直接代表完成镜牢及领取奖励 |
|
||||
|
||||
目前 Jev 输入包含全屏 OCR、候选描述、最近动作和所有全局规则。应改成针对当前页面的状态及规则,避免将楼层、技能、卡包、商店、战斗等要求同时塞入每次选择。
|
||||
|
||||
## 离线证明:现成识别代码已经能输出可用状态
|
||||
|
||||
对 `tests/fixtures/floor4_white_events.png` 调用现有 `map_candidates()`,识别出:
|
||||
|
||||
- `route_w`:上方可达事件节点,ORB 匹配数 53。
|
||||
- `route_d`:正前方可达事件节点,ORB 匹配数 30。
|
||||
|
||||
导出文件:[页面状态与 Jev 请求样例](jev_page_state_example_20261003.json)。此次只读取现有测试图片,未向 Jev 请求,也未向游戏发送输入。样例中的楼层明确标为未提取,不能因为文件名带有 floor4 就当成识别结果。
|
||||
|
||||
现成函数返回的是候选描述。下一步应让识别器直接返回 `node_type`、`reachable`、匹配分数、证据区域和动作引用,减少再次解析自然语言描述。候选坐标由执行器持有,Jev 只需要知道节点语义及合法候选 ID。
|
||||
|
||||
建议的页面状态合同如下,数值仅用于说明结构:
|
||||
|
||||
```json
|
||||
{
|
||||
"schema_version": 1,
|
||||
"observation_id": "frame-123",
|
||||
"scene": {"value": "shop", "status": "observed", "evidence": ["shop_coins_template"]},
|
||||
"floor": {"value": 3, "status": "confirmed"},
|
||||
"coins": {"value": 350, "status": "observed", "source": "shop_coin_ocr"},
|
||||
"goals": ["enhance_core_gift", "replace_allowed_skills"],
|
||||
"legal_candidates": [
|
||||
{"id": "enhance_core", "kind": "enhance", "affordable": true},
|
||||
{"id": "leave_shop", "kind": "leave"}
|
||||
],
|
||||
"unknown_fields": ["current_gift_upgrade_level"],
|
||||
"last_action": {"id": "open_enhance", "verified_effect": false}
|
||||
}
|
||||
```
|
||||
|
||||
`status` 要区分本帧观测、先前确认、未知及冲突。OCR 分数、模板分数、场景识别强度、Jev 的 confidence 分别记录,不能混成一个“可信度”。空 OCR 可能是动画或加载,必须结合场景证据和前一动作判断。
|
||||
|
||||
同一帧的观测供识别与候选生成共用;输入后使旧观测失效。执行前校验 observation ID、页面关键标志和候选是否仍可用。结果没有证据时保留“待确认”,不能仅因点击 API 返回 `ok` 就把库存升级等目标标为完成。
|
||||
|
||||
## 可以复用的 AALC 配置与流程
|
||||
|
||||
配置来源为 `vendor/aalc/module/config/config_typing.py`、`assets/config/config.example.yaml`,以下映射根据实际消费配置的代码核对。
|
||||
|
||||
| 场景 | 现有配置 | 现有执行点 | 复用边界 |
|
||||
| --- | --- | --- | --- |
|
||||
| 任务与队伍 | `teams_active_queue`、`teams`、`fixed_team_use`、`fixed_team_use_select`、`hard_mirror` | `script_task_scheme.Mirror_task()`,`Mirror` 初始化与选队 | 复用有效队伍队列及普通/困难适用范围,启动前检查确有可执行队伍 |
|
||||
| 队伍与编队 | `sinner_order`、`chosen_sinners`、`team_number`、`re_formation_each_floor` | `Mirror.select_mirror_team()`、战斗编队流程 | `sinner_order` 是各罪人的优先序,不能直接当成角色 ID 数组 |
|
||||
| 开局增益与饰品 | `opening_bonus`、`opening_items`、`opening_items_select`、`opening_items_system`、`use_starlight` | `Mirror.enter_mir_with_star()`、开局饰品选择 | 优先使用已有配置;枚举索引与用户指定饰品需用资源及页面核对 |
|
||||
| 地图 | `mirror_keyboard_navigation`、`mirror_keyboard_simple_pathfinding` | `MirrorMap`、`Mirror.search_road()`、`enter_next_node()` | 正常模式已有节点图及路线缓存;简单模式总选上方,不能保证更快通关 |
|
||||
| 卡包 | `theme_pack_list.yaml`、每队 `theme_pack_weight_team_N.yaml`、`use_custom_theme_pack_weight` | `select_theme_pack()` | 权重是偏好,低权重仍可能在最终回退时被选中;不等价于按楼层禁选 |
|
||||
| 商店购物与刷新 | `shopping_strategy`、`shopping_strategy_select`、`max_keyword_refresh`、`max_normal_refresh`、`ignore_shop` | `Shop.buy_gifts()`、`Shop.in_shop()` | 可复用商品识别及购买流程;需要与当前 MCP 的每店刷新限制统一 |
|
||||
| 合成与强化 | `shop_strategy`、`do_not_fuse`、`do_not_enhance`、`aggressive_save_systems`、`second_system*` | `Shop.fuse_gift()`、`enhance_gifts()`、`ego_gift_to_power_up()` | 支持体系策略,但不是任意指定核心饰品的保护与预算规则 |
|
||||
| 技能替换 | `skill_replacement`、`skill_replacement_select`、`skill_replacement_mode` | `Shop.replacement_skill()` | 原生模式按优先角色集合使用同一个替换模式,缺少每角色、每楼层规则 |
|
||||
| 事件与判定 | 原生事件模板及判定识别 | `Mirror.event_handling()`、`tasks/event` | 复用判定及后续点击;选项未知时需要 Jev 判断,不能套用首项回退 |
|
||||
| 奖励与结束 | `reward_cards*`、`save_rewards`、`no_weekly_bonuses` 等 | `Mirror.run()` 结算流程、`run_state.py` | 根据配置明确是否领取;正常完整运行需有实际结算与返回大厅的证据 |
|
||||
| 战斗 | `defense_*` 等 | `battle.fight()` 或已验证的 P+Enter 宏 | 原生完整战斗逻辑包含不同策略,需要匹配本次运行策略后才能替换 |
|
||||
|
||||
### 三个不能只靠原配置解决的要求
|
||||
|
||||
1. **按楼层严格选择卡包。** 当前 MCP 已实现前四层不选 2 号线、第五层指定 2 号线的部分候选过滤。AALC `select_theme_pack.py:111–149` 在刷新回退后仍选择最高权重,所以把禁选包权重设为 -5 不保证禁选。应保留硬过滤,再复用卡包识别、权重及拖动动作。`select_event_pack` 只是第五层选最左侧包,也不是指定包名。
|
||||
2. **按罪人及楼层替换技能。** AALC `in_shop.py:1210–1233` 选择前 1/3/7/12 个优先罪人,所有人用同一 `skill_replacement_mode`。当前规则中的奥提斯 2→3、其他角色 1→3、辛克莱从第三层开始,需额外策略表及对应执行适配。
|
||||
3. **跨体系保护核心与先后预算。** AALC 激进合成保护表及体系保护见 `in_shop.py:417–445`,普通合成还依赖舍弃体系及固定资源列表。不能假定破裂队配置会保护标准负载电池等全部指定核心。原生商店顺序为技能→治疗→出售→购买→合成→强化;“先把核心强化到目标等级并保留技能预算”需要明确动作顺序和每次付款后的验证。
|
||||
|
||||
这些确定约束应放在代码和配置里。Jev 只在通过约束的候选之间判断。
|
||||
|
||||
## 已接入的决策预留接口
|
||||
|
||||
新增 `scripts/decision_router.py`,并接入当前 `jev_mirror_agent.py`。支持四个模式:
|
||||
|
||||
| 模式 | 行为 |
|
||||
| --- | --- |
|
||||
| `auto`(缺省) | 指定 Jev model 且有凭据时调用 Jev;否则交给执行模型 |
|
||||
| `jev` | 使用明确配置的 Jev;未配置完整或调用失败时交给执行模型 |
|
||||
| `executor` | 交给当前执行模型,即使配置里有 Jev 凭据也不调用 Jev |
|
||||
| `fixed` | 显式使用原固定策略;保留 `LC_FIXED_FALLBACK=1` 的覆盖行为 |
|
||||
|
||||
统一接口接收页面状态、合法候选、最近动作和 run ID,返回候选 ID 及决策来源。Jev 成功时保留 model、confidence、probabilities 和耗时;失败时使用执行模型回调或发布交接请求。
|
||||
|
||||
嵌入运行时的回调形式是 `executor_decider(request)`,可传给 `DecisionRouter` 或当前主脚本的 `main(executor_decider=...)`。它可返回候选 ID,或 `{"request_id": "同一个请求 ID", "choice": "合法候选 ID"}`。执行模型得到独立的观测和候选副本,不能通过修改请求来改变执行器持有的动作。未列出的候选和不匹配的请求 ID 被拒绝。凭据及 Provider 配置不在交接内容中。
|
||||
|
||||
独立脚本没有访问当前聊天模型的 API,因此通过 stdout、状态文件及 `decision_request.json` 发布 `requires_decision` 并退出当前控制循环。调用方的执行模型接收交接、重新检查页面并处理,然后 `--resume` 继续本局;这类状态已加入可续跑集合。嵌入长期执行器时由调用方提供回调,可在同一进程中连续完成选择与执行。
|
||||
|
||||
交接请求包括 run ID、request ID、观测、候选、规则和最近动作,并明确要求外部输入前重新观察。它是一次观测的决策通知,不能自动执行遗留请求文件。当前实现尚未提供从响应文件自动消费答案的命令,也尚未实现执行模型的自动调度连接。
|
||||
|
||||
### 启动前需要的配置检查
|
||||
|
||||
本地当前 checkout 没有 `vendor/aalc/config.yaml`,其他电脑实测反馈也没有提供完整运行配置。配置表依据源码和示例文件,不代表已读取另一台电脑的实际配置。
|
||||
|
||||
未来增加只读配置预览,列出有效队伍、队列、镜牢模式、开局配置、商店策略、卡包权重及与额外约束的冲突。沿用 AALC 现有队列迁移规则,不能随意重建队伍序号。
|
||||
|
||||
`Mirror_task()` 在没有适用队伍或队列为空时直接退出循环(`script_task_scheme.py:321–325`),当前任务包装仍可能以 0 退出并报告 `succeeded`。启动预检查应阻止这种空执行;运行结果应包含请求次数、实际完成次数和结算状态。
|
||||
|
||||
## Jev 接入方案
|
||||
|
||||
OpenCode 官方列出 `jev-1.13`、`jev-1.13-free` 及 `https://opencode.ai/zen/v1/systemone`,支持 `choice`、`noul`、`score` 和单请求多问题。免费别名被标为限时提供,不能把它硬编码为长期可用前提。[OpenCode:Jev](https://opencode.ai/docs/zen/#jev)
|
||||
|
||||
TypeSafe 直连接口使用 `https://api.typesafe.ai/v1/systemone`。Provider、model、endpoint 和对应凭据应成套配置;不能直接把 Zen 凭据或模型别名套入另一个 Provider。[TypeSafe:API](https://docs.typesafe.ai/api)
|
||||
|
||||
统一 Provider 选择已由本次 `DecisionRouter` 落地;后续完善场景输入及客户端生命周期:
|
||||
|
||||
- 已读取实际 model,校验候选 ID 和响应类型;Provider endpoint 与 timeout 的完整配置仍待扩展。
|
||||
- 已保留 choice、probabilities、confidence、返回 model 和请求耗时,并记录交接原因。
|
||||
- `choice` 用于当前路线、事件选项或合法商品选择;`noul` 可判断某事件描述是否包含额外战斗;数量、预算、刷新次数和楼层比较由代码计算。
|
||||
- 同一页面上相互独立的问题可以合并成一次请求,例如事件选项分类与选项选择;需要先买入商品才能知道的新库存不能在旧状态下并行决定。[TypeSafe:多问题模式](https://docs.typesafe.ai/patterns/fan-out)
|
||||
- 429 使用有上限的退避及可恢复的冷却状态;可行时读取 Retry-After。401/403 单独记录配置问题。重试失败不自动切换到付费模型。
|
||||
- 合法确定动作在回退期间可继续执行。未知选择按当前策略重新观察或暂停,不能将回退称为 Jev 已成功判断。
|
||||
|
||||
Confidence 是根据选项概率计算的统计量,不能直接当作“动作正确率”。应保存它及前两名的差距,用本项目标注样本分别校准事件、卡包和商店阈值。[TypeSafe:Confidence](https://docs.typesafe.ai/confidence)
|
||||
|
||||
官方明确指出 Jev 的精确计算、复杂间接推理、无关长状态和候选顺序等局限。对应本项目应做候选预过滤、使用每场景短规则,并在离线评测中变换候选顺序检查一致性。[TypeSafe:Jev 1.13 局限](https://docs.typesafe.ai/model-jaggedness/jev-1.13)
|
||||
|
||||
JSON 状态经 Zen 网关的实际兼容性仍需真实请求确认;适配层可先将精简 JSON 序列化为字符串,保留同样字段与语义。此次没有做 API 可用性或中文准确率实测。
|
||||
|
||||
## 实测日志对速度优化的约束
|
||||
|
||||
由新工具 `scripts/analyze_feedback.py` 统计,完整数据和输入 SHA-256 见 [统计结果](feedback_latency_profile_20261003.json)。
|
||||
|
||||
| 指标 | 2026-10-02 第一批日志 | mirror_20261002_181322 |
|
||||
| --- | ---: | ---: |
|
||||
| JSONL 记录数 | 273 | 409 |
|
||||
| 动作记录数 | 273 | 408(另 1 条为 new_run) |
|
||||
| 正值 `jev_ms` 记录 | 222 | 0 |
|
||||
| 记录的 Jev 耗时之和 | 331.526 秒 | 0 秒 |
|
||||
| 正值 Jev 中位数 / P95 | 1.203 / 2.296 秒 | 无 |
|
||||
| battle 批次数 | 74 | 51 |
|
||||
| 记录的 P+Enter 尝试数 | 842 | 1080 |
|
||||
| wait 动作数 | 70 | 144 |
|
||||
| 单独记录 `ocr_ms` / `action_ms` | 均无 | 均无 |
|
||||
|
||||
第一批日志是过程快照,最终记录说明通关后由用户按 Enter 确认领取,不能作为全自动完成证据。第二轮 `run.json` 记录因 HTTP 429 回退、两次游戏重启及最终人工接管,总时长 9738.9 秒;没有记录完成镜牢或领取最终奖励。
|
||||
|
||||
正值 `jev_ms` 是日志所记录请求耗时,失败或未落盘的请求可能不在其中。P+Enter 次数是输入尝试,不是游戏接受次数或战斗回合数。动作时间戳跨度包含加载、停顿与人工处理,不能按截图或时间差推断 OCR、游戏动画和人工时间的各自占比。
|
||||
|
||||
从现有证据可以得出:降低 Jev 延迟是可测量的一部分,但无法单独解决第二轮的长时间卡住和接管。必须同时提高状态识别、关键目标完成率和无进展恢复能力。
|
||||
|
||||
### 优先验证的速度改进
|
||||
|
||||
| 改进 | 源码依据 | 测量方式 |
|
||||
| --- | --- | --- |
|
||||
| 模板先识别场景,再按场景做局部 OCR | 当前 `get_state` 整帧 OCR;许多页面已有 AALC 特征模板 | 同一截图集对比识别准确率与 capture/template/OCR 耗时 |
|
||||
| 复用一帧观测及已核实目标坐标 | 当前 `click_text` 在 `get_state` 后又做一次 OCR(`protocol.py:151–164`) | 统计一次场景动作中的 OCR 调用数;输入后检查观测失效 |
|
||||
| 一次 Jev 决策运行一段 AALC 流程 | 当前路线、事件、商店多次 MCP 往返,确定步骤也可能反复决策 | 每节点、每商店的 Jev 次数、MCP 次数、耗时与失败率 |
|
||||
| 保留地图路线缓存,按需求更新节点成本 | AALC `MirrorMap` 缓存路线;图权重 event=1、shop=2、battle=4 | 选路误判率、实际战斗次数、每层耗时;不能用“总选上方”代替 |
|
||||
| 以场景变化结束等待,保留有上限的重试 | AALC 商店、卡包、路线有固定等待;当前 agent 也有固定 sleep | 动画完成到下一动作的空闲时间、漏输入率及卡住时间 |
|
||||
| 检测语义状态无进展并重新识别 | 旧记录存在重复战斗输入、特殊商店漏判和无响应 | 当前回合/场景关键标志等语义状态的停留时间,避免把战斗动画当无进展 |
|
||||
|
||||
**不能仅调配置就宣称当前 MCP 加速。** AALC `auto.take_screenshot()` 默认按 `screenshot_interval`(0.85 秒)节流,但 MCP `_grab()` 直接调用 `ScreenShot.take_screenshot()`,不经过该节流。把配置间隔调小不会直接改变当前 `get_state` 的耗时。`mouse_action_interval` 也只覆盖相关 AALC 操作,不能替代 agent 内部固定等待。
|
||||
|
||||
当前后台按键的按下/释放持续时间是先前可靠性验证的一部分。应先减少重复观测和跨进程往返,再根据游戏接受率调整间隔,不能用按键尝试数增长作为速度改善证据。
|
||||
|
||||
## 单一执行进程与接入边界
|
||||
|
||||
当前 MCP 已在 AALC 长任务运行时阻止手动输入(`protocol.py:145–146`)。混合模式应让同一个任务进程读取配置、观察页面、请求 Jev、执行 AALC 动作并发布状态;主 MCP 负责启动、状态和停止。
|
||||
|
||||
`Mirror` 初始化时复制 TeamSetting,并持有 Shop、地图缓存与统计状态,适合在一次运行中持续复用。不能每次 Jev 选择后重新启动整套 AALC 任务,也不能让外部 agent 与正在运行的 AALC 同时操作。
|
||||
|
||||
原生 AALC 尚没有通用决策插件接口。`Mirror.run()` 直接调用模块级 `select_theme_pack()`;仅继承 `Mirror` 不能自动接管该分支。接入需要明确边界:
|
||||
|
||||
1. 先在 lc-mcp 增加配置检查、统一 DecisionClient 和页面状态层。
|
||||
2. 建立一个持续的混合任务进程,持有本次 Mirror/Shop 状态。
|
||||
3. 为地图、卡包、事件、商店目标添加小范围决策钩子或适配入口;保留已有执行方法。涉及 AALC 调用点的改动需以独立、可维护的补丁管理,避免全局 monkeypatch。
|
||||
4. 对带有角色、楼层及核心预算要求的商店流程使用专门适配,不能直接调用整段 `Shop.in_shop()` 并假定其固定顺序符合额外规则。
|
||||
|
||||
## 实施顺序与验收
|
||||
|
||||
| 阶段 | 交付 | 先通过的检查 |
|
||||
| --- | --- | --- |
|
||||
| 1. 状态与配置 | 只读 profile 预览、队伍预检查、页面状态合同、分段计时 | 不导入有副作用的配置初始化来做静态预览;不泄漏凭据;空队列明确报错 |
|
||||
| 2. Jev 决策 | 统一 Python 客户端、紧凑输入、概率保留、429 冷却恢复 | 离线响应回放覆盖未知候选、低信息、限流、超时和中止;真实连接测试单独记录 |
|
||||
| 3. AALC 复用 | 单进程混合执行、地图/事件/卡包入口,再逐步接商店 | 关键目标有结果证据;候选过期停止;运行中可取消;原配置与额外约束同时遵守 |
|
||||
| 4. 提速实测 | 基线与混合模式在同机、同队伍/规则/分辨率下比较多次运行 | 全自动完成及确认领取、人工接管次数、每层/每商店耗时、无进展时间、OCR/Jev/MCP 次数 |
|
||||
|
||||
新增计时应至少分为 capture、template、ocr、decision、input、等待及验证;为失败的 Jev 请求另记 attempt 延迟。保存实际决策引擎、model、profile 摘要哈希、页面类型、执行目标和结果证据。此前 `ocr_ms` 实际包裹整个 `get_state` 往返,不能称为纯 OCR 内核耗时。
|
||||
|
||||
离线截图集先覆盖已知问题:紫色可达节点、特殊商店、加载中的旧库存、事件判定、卡包楼层限制、最终领取及返回大厅。用标注页面/选项评估识别和决策,随后做实机验证。没有相同条件的新实测前,不承诺具体通关分钟数。
|
||||
|
||||
## 本次可复现产物
|
||||
|
||||
- 本报告:`docs/jev_aalc_automation_research_20261003.md`。
|
||||
- 离线页面状态及请求样例:`docs/jev_page_state_example_20261003.json`。
|
||||
- 日志统计:`docs/feedback_latency_profile_20261003.json`。
|
||||
- 统计工具:`scripts/analyze_feedback.py`(标准库,只读日志,不连接游戏、MCP 或网络)。
|
||||
|
||||
在仓库根目录运行:
|
||||
|
||||
```powershell
|
||||
python scripts/analyze_feedback.py docs/feedback/2026-10-02/logs/jev_mirror_log.jsonl docs/feedback/mirror_20261002_181322/actions.jsonl
|
||||
```
|
||||
|
||||
决策接口实现:`scripts/decision_router.py`,主脚本接入及续跑支持:`scripts/jev_mirror_agent.py`、`scripts/run_state.py`。验证覆盖 Provider 路由、无配置交接、Jev 限流/超时/无效回复、候选及请求 ID 校验、交接无输入和本局续跑。
|
||||
|
||||
本次全量离线回归:124 项全部通过,耗时 8.670 秒。执行模型回调到路线动作的闭环使用 mock MCP 验证;图片匹配使用真实测试截图离线验证。日志统计重新生成一致,缺失耗时没有被当成 0。`git diff --check` 通过。
|
||||
|
||||
本次未改变正在运行的输入方式、系统驱动或 AALC 运行配置;未发送真实 Jev 请求。完整 AALC 混合执行器、配置工具和分段识别方案仍为后续实施设计。
|
||||
@@ -0,0 +1,69 @@
|
||||
{
|
||||
"schema_version": 1,
|
||||
"source": {
|
||||
"mode": "offline_fixture",
|
||||
"fixture": "tests/fixtures/floor4_white_events.png",
|
||||
"sha256": "55ecd21353493b15c2967a7f6a0de34ce6ce9e3402eac63a42a69f74234ebcc8",
|
||||
"recognizer": "scripts/jev_mirror_agent.py:map_candidates",
|
||||
"method": "OpenCV template matching, arrow brightness and ORB icon matching; no vision-model API"
|
||||
},
|
||||
"observed_candidates": {
|
||||
"route_w": {
|
||||
"description": "上方有高亮可达节点:事件,图标匹配数53,中心(1059,343)。按方向键选中后直接回车进入,无需二次确认。",
|
||||
"action": {
|
||||
"tool": "route",
|
||||
"args": {
|
||||
"key": "w"
|
||||
}
|
||||
}
|
||||
},
|
||||
"route_d": {
|
||||
"description": "正前方有高亮可达节点:事件,图标匹配数30,中心(1059,680)。按方向键选中后直接回车进入,无需二次确认。",
|
||||
"action": {
|
||||
"tool": "route",
|
||||
"args": {
|
||||
"key": "d"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"jev_request_example": {
|
||||
"model": "jev-1.13-free",
|
||||
"state": {
|
||||
"scene": "map",
|
||||
"scene_evidence": "Bus template and adjacent-node observations from the offline map fixture",
|
||||
"floor": {
|
||||
"value": null,
|
||||
"status": "not_extracted_from_this_image"
|
||||
},
|
||||
"routes": [
|
||||
{
|
||||
"id": "route_w",
|
||||
"observation": "上方有高亮可达节点:事件,图标匹配数53,中心(1059,343)。按方向键选中后直接回车进入,无需二次确认。"
|
||||
},
|
||||
{
|
||||
"id": "route_d",
|
||||
"observation": "正前方有高亮可达节点:事件,图标匹配数30,中心(1059,680)。按方向键选中后直接回车进入,无需二次确认。"
|
||||
}
|
||||
],
|
||||
"goal": "Prefer a reachable event or shop over battle when the node type is reliably identified."
|
||||
},
|
||||
"questions": {
|
||||
"next_route": {
|
||||
"type": "choice",
|
||||
"instructions": "Choose one supplied route from the current observations. Choose reobserve if the available information is insufficient.",
|
||||
"criteria": {
|
||||
"route_w": "上方有高亮可达节点:事件,图标匹配数53,中心(1059,343)。按方向键选中后直接回车进入,无需二次确认。",
|
||||
"route_d": "正前方有高亮可达节点:事件,图标匹配数30,中心(1059,680)。按方向键选中后直接回车进入,无需二次确认。",
|
||||
"reobserve": "Refresh the local template/OCR observation if no route has a reliably identified type."
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"limitations": [
|
||||
"Offline recognition only; the example request was not sent to Jev.",
|
||||
"The existing recognizer emits textual node descriptions rather than typed node fields.",
|
||||
"Reachability/icon-match observations do not establish a calibrated accuracy or confidence probability.",
|
||||
"The adapter must validate structured state support at the configured gateway; JSON-as-text is a compatible fallback."
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
# MCP 运行可靠性改进(2026-10-03)
|
||||
|
||||
基于 `97eca204` 的代码与另一台电脑提交的 2026-10-02 实测资料,修复离线复现确认的问题。改动未修改 AALC 子模块、输入后端或系统驱动;未启动游戏或重启常驻服务。
|
||||
|
||||
原先运行结束后,`claim_requested` 等上下文会遗留在磁盘。下一次执行器若读到这个标记与大厅文字,会把一个新的运行记录直接写成完成。现在运行记录与上下文共享 `run_id`;已完成局的状态不会被新局复用。领取和返回截图绑定当前局,缺少证据时不能设置完成字段。默认续跑有效的未完成记录;`--new-run` 建立全新状态,`--resume` 要求已有未完成记录。
|
||||
|
||||
旧版本未完成记录允许迁移:保留楼层、强化等进度,删除未绑定当前局的领取及战斗标记。没有运行记录的孤立上下文会重置。两份记录的标识不一致时停止并报告原因。JSON 快照改为临时文件写完后原子替换,中断不再留下半份 JSON。战斗上下文随当前局保存,也不再为推断它而读取全部历史动作日志。
|
||||
|
||||
原先客户端会无限阻塞在回复读取上;标准错误管道无人读取时也可能堵住子进程。现在标准输入、输出和错误流由独立线程处理,请求有期限,并在等待期间检查停止标记与运行预算。默认期限 30 秒,文字等待工具按其轮询时长增加 5 秒余量,仍受控制器总预算约束。初始化失败、超时、停止或无效回复均清理客户端子进程和管道。错误日志仅保留有限尾部供本地诊断。
|
||||
|
||||
超时不代表远端动作没有执行。客户端关闭连接后不会重放请求;状态日志记录 `outcome_unknown` 和相关工具名。停止或总预算耗尽时标记 stopped;超时和其他异常标记 requires_analysis。领取、完成、要求分析和异常终止会留下日志;步骤上限到达时也有明确停止状态。固定候选模式不再强制要求无用的 API 密钥。连接清理即使出错,也会释放执行器互斥句柄。
|
||||
|
||||
独立 `battle_batch.py` 原先漏掉判定、奖励卡与全员死亡界面。现在两个战斗入口共享场景识别,并在每个按键前检查停止标记和预算;空 OCR 的特写仍允许继续当前战斗,明确的退出界面则返回。新客户端在等待 MCP 回复期间也能响应停止。普通睡眠与已接收的服务端操作不保证立即取消。
|
||||
|
||||
MCP 请求现在先验证 JSON-RPC 外层、参数对象与工具名称/参数类型。坏请求返回协议错误,后续合法请求继续处理;通知不返回响应,也不能作为无 ID 的输入调用执行。`null` 请求不再被当作空行忽略。另修复完整任务启动与已经开始的手动输入之间的竞态:忙碌时立即拒绝启动完整任务,查询与停止任务仍不等待游戏工具锁。
|
||||
|
||||
验证使用 Python 3.12 的临时环境。全套 unittest:**105 项通过,无跳过**,其中原有 73 项,新增 32 项。新增测试包含真实子进程管道的无响应、阻塞写入、密集 stderr、中文响应、初始化失败与取消;还通过实际 bridge 连入隔离的 FakeEngine TCP 服务,验证新客户端与原有桥接的兼容性。其他测试核对旧状态迁移、领取证据、原子写入失败、任务并发、按键中途停止和终止界面。所有游戏输入均为 mock 或 FakeEngine,没有操作真实游戏。
|
||||
|
||||
测试通过证明这些离线边界已修复,不能证明自动通关或提速。另一台电脑的第一局最后确认由用户完成,第二局以人工接管结束;后续完整流程、截图识别和速度效果仍需要新的一局实测。商店合成/强化、未明确识别的事件等仍可能要求主助手核对。约 70 MB 历史截图压缩包未下载,已分析保存的独立证据截图与日志。
|
||||
|
||||
下一轮实测应从开局到领取后返回大厅使用同一 run_id,保留人工干预记录;出现 outcome_unknown 时先核对游戏画面,避免重复确认已经执行的操作。新开局使用 --new-run,重启游戏后继续同一存档使用 --resume。停止文件需要在准备继续时移除。
|
||||
|
||||
本轮提交只包含程序、测试和说明文件,没有包含个人运行记录、凭据、虚拟环境或历史物理驱动资料。
|
||||
@@ -35,7 +35,7 @@ description: 继续或重开边狱公司(Limbus Company)的镜像迷宫/
|
||||
|
||||
## 速度与完成标准
|
||||
|
||||
用户已明确指定 Jev 负责固定场景、路线及常规操作决策。调用方式见 [Jev 接入](references/jev.md)。主助手只在 Jev 返回 `requires_analysis` 或出现具体接口故障时分析、修复,然后交回 Jev。最新战斗指令优先:一旦战斗开始,仅执行 P+回车直到结算,不再逐批请求模型;有界批次末只检查是否结算,未结算继续下一批。执行器仅暴露当前画面核对过的候选动作,不能执行模型返回的任意代码。当前执行器为 lc-mcp 仓库的 `scripts/jev_mirror_agent.py`,状态与问题保存在运行目录(默认 `~/lc_mcp/jev`,可用 `LC_JEV_HOME` 指定)的 `jev_mirror_status.json`。
|
||||
用户最初指定 Jev 负责场景、路线及常规操作决策。后续指令(2026-10-03)要求保留执行模型接管:配置 Jev 模型和凭据时使用 Jev,未配置或调用失败时交给执行模型。调用方式见 [决策接入](references/jev.md)。最新战斗指令优先:一旦战斗开始,仅执行 P+回车直到结算,不再逐批请求模型;有界批次末只检查是否结算,未结算继续下一批。执行器仅暴露当前画面核对过的候选动作,不能执行模型返回的任意代码。仓库执行器为 [scripts/jev_mirror_agent.py](../../../scripts/jev_mirror_agent.py),运行目录默认是 `~/lc_mcp/jev`,可用 `LC_JEV_HOME` 覆盖;状态文件为 `jev_mirror_status.json`。
|
||||
|
||||
略过无关观测、采购、调队和反复比较,保留符咒 ++、快感 ++ 与关键技能替换。雷枝是用户允许的观测例外,不将此授权扩展为所有饰品的无界观测。大量理智损失可能增加纯 P 战斗回合,不能只按当前事件点击次数选择。
|
||||
|
||||
@@ -43,4 +43,8 @@ description: 继续或重开边狱公司(Limbus Company)的镜像迷宫/
|
||||
|
||||
持续到本局通关结算,或用户中止/必须手动接管的具体步骤。只有看到最终通关结算才能报告完成。研究完攻略或做完一层不算通关;不承诺复现视频的 12 分钟用时。
|
||||
|
||||
用户纠正流程时,在授权范围内更新相应参考文件和现有速通笔记(lc-mcp 仓库 `docs/mirror_dungeon_speedrun_notes.md`);先读笔记,保留用户其他编辑。资料核对日期:2026-10-02。
|
||||
用户纠正流程时,在授权范围内更新相应参考文件和仓库 [速通笔记](../../mirror_dungeon_speedrun_notes.md);先读笔记,保留用户其他编辑。攻略资料核对日期:2026-10-02;执行接口说明更新于 2026-10-03。
|
||||
|
||||
## 文档与程序的对应范围
|
||||
|
||||
本 skill 和参考文件是执行助手的工作说明,文件存在不表示 Python 自动加载全部攻略。当前脚本把部分用户规则写入 `SYSTEM_RULES`、候选筛选和动作宏;楼层完整目标、事件速查与合成预算还需要进一步接入。按当前游戏文字核实强化、库存和预算,不能用文档中的期望状态代替实际持有状态。具体对应关系见 [执行流程与资料覆盖](../../execution_flow_and_guide_coverage_20261003.md)。
|
||||
|
||||
@@ -3,14 +3,14 @@
|
||||
2026-10-01 用户授权通过其 OpenCode API 接入 Jev,目标为加快镜牢推进。
|
||||
|
||||
- 官方接口:`https://opencode.ai/zen/v1/systemone`;用户给的 Go 模型列表中没有 Jev,不把 Go chat/completions 当作 Jev 接口。
|
||||
- 已实测 `jev-1.13-free` 返回 HTTP 200,结构为 `answers.action.choice`,当前请求耗时约 1.3–1.5 秒。这不是整局速度保证。
|
||||
- 现有客户端:lc-mcp 仓库的 `scripts/jev_decision_client.mjs`,导出的 `decide(state, criteria, options)` 返回有限选项编号、概率和请求耗时。
|
||||
- 历史实测 `jev-1.13-free` 返回 HTTP 200,结构为 `answers.action.choice`,当时请求耗时约 1.3–1.5 秒。这不代表当前接口已连接,也不是整局速度保证。
|
||||
- 当前 Python 执行路径为仓库 [jev_mirror_agent.py](../../../../scripts/jev_mirror_agent.py),通过 [decision_router.py](../../../../scripts/decision_router.py) 选择 Jev 或执行模型,并返回候选 ID、概率及耗时;Jev 请求由 [jev_client.py](../../../../scripts/jev_client.py) 发出(支持 `baseUrl`、`transport: curl`)。仓库另有独立的 `scripts/jev_decision_client.mjs`,Python 主循环不调用它。
|
||||
- 密钥从 `options.apiKey`、`OPENCODE_API_KEY` 或用户已有本机配置注入;不把密钥复制到脚本、笔记、skill 或日志,也不打印配置全文。重启后若没有凭据,不能假装已接通。
|
||||
- 只发送精简游戏状态和选项文字,避免整段聊天、其他窗口、完整桌面截图等无关内容。
|
||||
- 先按用户规则排除不合适的选项,再将候选交给模型。当前界面和用户新指令优先;不把模型置信度当作游戏事实。
|
||||
- 用户更新(2026-10-02):固定场景、路线及所有常规动作均由 Jev 从候选中选择;主助手仅在 `requires_analysis` 或具体接口故障后介入。战斗动作可包含有界 P→回车短批次。API 短暂错误可重试一次,持续失败交回主助手修复。
|
||||
- 后续战斗指令覆盖逐批决策:战斗开始后仅 P+回车循环直至结算;有界批次末检查结束标志,战斗中不再调用 Jev 或分析拼点。结算后恢复 Jev 决策。
|
||||
- 执行器 lc-mcp 仓库的 `scripts/jev_mirror_agent.py` 通过 limbus MCP 操作;Windows 单实例互斥避免输入交叠。状态为 `jev_mirror_status.json`,动作日志为 `jev_mirror_log.jsonl`。确认弹窗候选使用当前截图坐标并排除背景按钮。商店没有出战角色技能替换时,每店最多刷新 4 次。
|
||||
- 执行器通过 limbus MCP 操作;Windows 单实例互斥避免输入交叠。运行目录默认 `~/lc_mcp/jev`,可用 `LC_JEV_HOME` 覆盖;状态为 `jev_mirror_status.json`,动作日志为 `jev_mirror_log.jsonl`。确认弹窗候选使用当前截图坐标并排除背景按钮。商店没有出战角色技能替换时,每店最多刷新 4 次。
|
||||
|
||||
## 已落实的执行边界(2026-10-02)
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
- 层末选择数达到要求后,一次发送三个回车;事件结果用短批次回车。同一画面仍未推进时,点击本候选绑定的确认控件,避免命中背景按钮。
|
||||
- 判定优先 OCR 明确的极高/非常高,其次高;没有清晰文字才按金黄色标识选。没有结果文字的事件选项不能当免费奖励;明确触发战斗的选项排除,选择前读取事件速查。
|
||||
- 雷枝观测领取后记为待强化,商店打开强化面板;快感取得后记为待 ++。主助手付款并确认实际库存后清除对应待办标记;雷枝预算不足可记录延后,不能把预览当完成。快感尽量在第二、三层处理。
|
||||
- Jev 返回 401/403/429 时不反复等待请求,当前执行会话转为固定候选回退,并将 HTTP 原因写入日志;回退不是 Jev 成功决策。
|
||||
- 2026-10-03 后续指令与实现:未指定 Jev 模型、缺少凭据或 Jev 请求失败时交给执行模型。嵌入运行可提供 `executor_decider(request)` 回调;独立脚本发布 `requires_decision` 和 `decision_request.json`,由调用方读取、重新核对页面并处理,再续跑同一局。固定候选回退需显式设置 `decisionEngine=fixed` 或 `LC_FIXED_FALLBACK=1`。回退和接管均不记为 Jev 成功决策。
|
||||
- 用户接管时逐键检查停止标记。日志新增 OCR 毫秒、动作毫秒、动作结束时间;未执行完的批次不伪造完整按键数。优化代码期间保持停止状态。
|
||||
|
||||
依据:[OpenCode Zen:Jev](https://opencode.ai/docs/zen/#jev)。
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
- **商店资料**:100 经费可用于单人恢复 50% 体力、45 理智,或全队恢复 20% 体力、15 理智;也有复活选项。1→2/2→3/1→3 技能替换报价分别为 45/75/120。实际购买以当前界面为准。[镜牢商店](https://wikiwiki.jp/lcbwiki/鏡ダンジョン)
|
||||
- **速通推断**:明显低血、低理智时,最后商店一次有用恢复可能比团灭重试省时;这不是每店必买的新规则。不假定能回到已经离开的商店。
|
||||
- **E.G.O.**:有浮士德不代表装备了治疗 E.G.O.;手动处理先看实际装备、资源和效果。普通战斗仍执行用户的 P+回车;上一局头目手动授权仅适用于那次尝试。[E.G.O. 使用机制](https://limbuscompany.huijiwiki.com/wiki/E.G.O)
|
||||
- **结束识别**:全体死亡/重试界面也是战斗结束,不能继续 P+回车,也不能自动接受死亡或放弃本局。此项来自上局执行缺陷,当前控制器仍待补充终止识别。
|
||||
- **结束识别**:全体死亡/重试界面也是战斗结束,不能继续 P+回车,也不能自动接受死亡或放弃本局。此项来自上局执行缺陷;2026-10-03 主脚本与 `battle_batch.py` 已共用 `game_scenes.py` 的死亡/重试识别,并通过离线回归,新的整局实机验证仍待完成。
|
||||
- **计时**:包含配置、模型等待、加载、修复、失败和所有停顿。用户接管后只记交接前耗时;未取得最终通关奖励不能记为自动成功。
|
||||
|
||||
## 资料入口
|
||||
|
||||
+73
-5
@@ -79,6 +79,19 @@ class AalcEngine(Engine):
|
||||
self.images_root = os.path.join(root, 'assets', 'images')
|
||||
|
||||
# ---- 看 ----
|
||||
def show_game_background(self):
|
||||
if self.cfg.simulator:
|
||||
raise RuntimeError('后台恢复窗口仅支持 Windows 游戏客户端')
|
||||
hwnd = self.screen.handle.hwnd
|
||||
if not hwnd:
|
||||
raise RuntimeError('未找到游戏窗口,未修改其他窗口')
|
||||
import win32con
|
||||
import win32gui
|
||||
foreground = win32gui.GetForegroundWindow()
|
||||
win32gui.ShowWindow(hwnd, win32con.SW_SHOWNOACTIVATE)
|
||||
return {'visible': bool(win32gui.IsWindowVisible(hwnd)),
|
||||
'foreground_changed': win32gui.GetForegroundWindow() != foreground}
|
||||
|
||||
def _grab(self, gray):
|
||||
if not self.cfg.simulator and not self.screen.handle.hwnd:
|
||||
raise RuntimeError('未找到游戏窗口 %r: 先启动游戏(run_task 会自动启动)' % self.cfg.game_title_name)
|
||||
@@ -198,19 +211,45 @@ class AalcEngine(Engine):
|
||||
if not handle.isActive:
|
||||
raise RuntimeError('无法激活游戏窗口,未发送输入')
|
||||
|
||||
def _background_mouse(self, message, x, y, held=False):
|
||||
"""Deliver client coordinates without moving the user's system pointer."""
|
||||
import win32api
|
||||
import win32con
|
||||
hwnd = self.screen.handle.hwnd
|
||||
if not hwnd:
|
||||
raise RuntimeError('未找到游戏窗口,未发送鼠标消息')
|
||||
win32api.PostMessage(hwnd, message, win32con.MK_LBUTTON if held else 0,
|
||||
win32api.MAKELONG(int(x), int(y)))
|
||||
|
||||
def _restore_background_position(self, position):
|
||||
import win32con
|
||||
import win32gui
|
||||
win32gui.SetWindowPos(self.screen.handle.hwnd, 0, *position, 0, 0,
|
||||
win32con.SWP_NOSIZE | win32con.SWP_NOZORDER |
|
||||
win32con.SWP_NOACTIVATE)
|
||||
|
||||
def click(self, x, y, times=1):
|
||||
self._prepare_input()
|
||||
if not self.cfg.simulator and self.cfg.win_input_type == 'background':
|
||||
if not self.cfg.simulator and self.cfg.win_input_type in ('background', 'window_move'):
|
||||
import win32con
|
||||
handler = self.auto.input_handler
|
||||
self.auto.wait_pause()
|
||||
for _ in range(int(times)):
|
||||
handler.set_mouse_pos(int(x), int(y))
|
||||
position = None
|
||||
if self.cfg.win_input_type == 'window_move':
|
||||
self.screen.handle.set_window_transparent(True)
|
||||
position = handler._set_window_pos(int(x), int(y))
|
||||
handler.set_active()
|
||||
handler.mouse_down(int(x), int(y))
|
||||
self._background_mouse(win32con.WM_MOUSEMOVE, x, y)
|
||||
time.sleep(0.12)
|
||||
self._background_mouse(win32con.WM_LBUTTONDOWN, x, y, held=True)
|
||||
try:
|
||||
time.sleep(0.12)
|
||||
finally:
|
||||
handler.mouse_up(int(x), int(y))
|
||||
self._background_mouse(win32con.WM_LBUTTONUP, x, y)
|
||||
if position is not None:
|
||||
time.sleep(0.12)
|
||||
self._restore_background_position(position)
|
||||
# Let Unity consume the release before another target is selected.
|
||||
time.sleep(0.12)
|
||||
elif not self.cfg.simulator and self.cfg.win_input_type == 'foreground':
|
||||
@@ -236,7 +275,7 @@ class AalcEngine(Engine):
|
||||
if k not in self.key_names:
|
||||
raise ValueError('AALC 不支持按键 %r, 可用: %s' % (key, ' '.join(self.key_names)))
|
||||
self._prepare_input()
|
||||
if not self.cfg.simulator and self.cfg.win_input_type == 'background':
|
||||
if not self.cfg.simulator and self.cfg.win_input_type in ('background', 'window_move'):
|
||||
# Unity 可能在同一帧收到 down/up,导致快捷键被吞掉。
|
||||
handler = self.auto.input_handler
|
||||
self.auto.wait_pause()
|
||||
@@ -262,6 +301,35 @@ class AalcEngine(Engine):
|
||||
if not (0 <= x < img.width and 0 <= y < img.height):
|
||||
raise ValueError('拖动坐标超出游戏客户区 %sx%s' % (img.width, img.height))
|
||||
self._prepare_input()
|
||||
if not self.cfg.simulator and self.cfg.win_input_type in ('background', 'window_move'):
|
||||
import win32con
|
||||
self.auto.wait_pause()
|
||||
position = None
|
||||
if self.cfg.win_input_type == 'window_move':
|
||||
self.screen.handle.set_window_transparent(True)
|
||||
position = self.auto.input_handler._set_window_pos(int(from_x), int(from_y))
|
||||
self.auto.input_handler.set_active()
|
||||
self._background_mouse(win32con.WM_MOUSEMOVE, from_x, from_y)
|
||||
time.sleep(0.12)
|
||||
self._background_mouse(win32con.WM_LBUTTONDOWN, from_x, from_y, held=True)
|
||||
last_x, last_y = from_x, from_y
|
||||
try:
|
||||
time.sleep(0.12)
|
||||
steps = max(1, int(float(duration) / 0.02))
|
||||
for step in range(1, steps + 1):
|
||||
last_x = round(from_x + (to_x - from_x) * step / steps)
|
||||
last_y = round(from_y + (to_y - from_y) * step / steps)
|
||||
if position is not None:
|
||||
self.auto.input_handler._set_window_pos(last_x, last_y)
|
||||
self._background_mouse(win32con.WM_MOUSEMOVE, last_x, last_y, held=True)
|
||||
time.sleep(float(duration) / steps)
|
||||
time.sleep(0.12)
|
||||
finally:
|
||||
self._background_mouse(win32con.WM_LBUTTONUP, last_x, last_y)
|
||||
if position is not None:
|
||||
time.sleep(0.12)
|
||||
self._restore_background_position(position)
|
||||
return
|
||||
if not self.cfg.simulator and self.cfg.win_input_type == 'foreground':
|
||||
import pyautogui
|
||||
start = self.auto.input_handler.pos_offset(int(from_x), int(from_y))
|
||||
|
||||
@@ -0,0 +1,96 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
"""任务子进程里对 AALC 的运行时补丁。不改 vendor/aalc 的源码。
|
||||
|
||||
1. 队伍名精确匹配
|
||||
AALC 的 find_str_in_text 用子串匹配, "TEAMS #1" 会命中 "TEAMS #10"(中文 "编队#1"
|
||||
同理)。账号有 10 个以上预设时就会选中别的(常常是空)队伍, 然后在编队人数检查里
|
||||
无限空转——2026-10-05 一次空转了 27 分钟。这里只接管队伍名这一种目标, 要求编号
|
||||
完全相同, 其他文本仍走 AALC 原逻辑。
|
||||
|
||||
2. 窗口比例守护
|
||||
RDP 重连改变桌面分辨率后, Unity 会把窗口拉伸成非 16:9。AALC 只在任务开始时校正
|
||||
一次, 之后全部模板匹配分数掉到阈值以下, 表现为原地空转、不报错。这里在后台定期
|
||||
检查客户区尺寸, 偏离 set_win_size 时调回去。
|
||||
"""
|
||||
import re
|
||||
import threading
|
||||
import time
|
||||
|
||||
TEAM_TARGET = re.compile(r'(?:TEAMS|TFAMS|编队)#(\d+)', re.IGNORECASE)
|
||||
|
||||
|
||||
def team_number(text):
|
||||
"""'TEAMS #12' / 'TFAMS#3' / '编队#1' -> '12' / '3' / '1'; 不是队伍名返回 None。"""
|
||||
m = TEAM_TARGET.fullmatch(text.replace(' ', '').strip())
|
||||
return m.group(1) if m else None
|
||||
|
||||
|
||||
def find_team_text(want, ocr_dict):
|
||||
"""在 OCR 结果里找编号恰好为 want 的队伍名, 返回其坐标或 False。"""
|
||||
for text, position in ocr_dict.items():
|
||||
for hit in TEAM_TARGET.finditer(text.replace(' ', '')):
|
||||
if hit.group(1) == want:
|
||||
return position
|
||||
return False
|
||||
|
||||
|
||||
def install_exact_team_match(auto, log=print):
|
||||
original = auto.find_str_in_text
|
||||
|
||||
def find_str_in_text(target, ocr_dict):
|
||||
want = team_number(str(target))
|
||||
if want is None:
|
||||
return original(target, ocr_dict)
|
||||
return find_team_text(want, ocr_dict)
|
||||
|
||||
auto.find_str_in_text = find_str_in_text
|
||||
log('[lc_mcp] patch: 队伍名改为编号精确匹配')
|
||||
|
||||
|
||||
class WindowGuard(threading.Thread):
|
||||
"""后台检查游戏客户区, 不是 set_win_size 对应的 16:9 尺寸就调回去。"""
|
||||
|
||||
def __init__(self, screen, cfg, interval=15.0, log=print):
|
||||
super().__init__(name='lc_mcp-window-guard', daemon=True)
|
||||
self.screen, self.cfg, self.interval, self.log = screen, cfg, interval, log
|
||||
self.stopped = threading.Event()
|
||||
self.fixes = 0
|
||||
self._failed = None # 同一尺寸调不回来只报一次, 免得每 15 秒刷一条 ERROR
|
||||
|
||||
def want(self):
|
||||
size = int(self.cfg.set_win_size)
|
||||
return int(size * 16 / 9), size
|
||||
|
||||
def check_once(self):
|
||||
"""返回 'ok' / 'fixed' / 'failed' / None(没有可检查的窗口)。"""
|
||||
handle = self.screen.handle
|
||||
# set_windows 关闭表示用户自己管窗口, AALC 也不调, 这里同样不插手
|
||||
if self.cfg.simulator or not self.cfg.set_windows or not handle._hwnd or handle.isMinimized:
|
||||
return None
|
||||
current = (handle.width(True), handle.height(True))
|
||||
want = self.want()
|
||||
if current == want or 0 in current:
|
||||
return 'ok' if current == want else None
|
||||
self.screen.adjust_win_size(want)
|
||||
time.sleep(1)
|
||||
after = (handle.width(True), handle.height(True))
|
||||
if after == want:
|
||||
self.fixes += 1
|
||||
self._failed = None
|
||||
self.log('[lc_mcp] window guard: 客户区 %sx%s 已调回 %sx%s' % (current + want))
|
||||
return 'fixed'
|
||||
if after != self._failed:
|
||||
self._failed = after
|
||||
self.log('[ERROR] [lc_mcp] window guard: 客户区 %sx%s 调整后仍为 %sx%s(目标 %sx%s),'
|
||||
' 桌面可能放不下窗口' % (current + after + want))
|
||||
return 'failed'
|
||||
|
||||
def run(self):
|
||||
while not self.stopped.wait(self.interval):
|
||||
try:
|
||||
self.check_once()
|
||||
except Exception as e: # 守护线程不能把任务带崩
|
||||
self.log('[lc_mcp] window guard: 检查出错 %s: %s' % (type(e).__name__, e))
|
||||
|
||||
def stop(self):
|
||||
self.stopped.set()
|
||||
+25
-2
@@ -9,7 +9,9 @@ import json
|
||||
import os
|
||||
import sys
|
||||
|
||||
from . import preflight
|
||||
from .aalc_engine import bootstrap
|
||||
from .aalc_patches import WindowGuard, install_exact_team_match
|
||||
|
||||
# 任务 -> {参数名: AALC 配置项}; 参数只在本次运行内生效
|
||||
TASKS = {
|
||||
@@ -20,6 +22,11 @@ TASKS = {
|
||||
'mirror': {'count': 'set_mirror_count'},
|
||||
}
|
||||
RESTORE_ENV = 'LCP_RESTORE_FILE'
|
||||
PREFLIGHT_EXIT = 3
|
||||
|
||||
|
||||
def log(msg):
|
||||
print(msg, flush=True)
|
||||
|
||||
|
||||
def apply_overrides(cfg, task, params, restore_path=None):
|
||||
@@ -61,17 +68,28 @@ def run(task, params):
|
||||
bootstrap()
|
||||
from module.automation import auto
|
||||
from module.config import cfg
|
||||
from module.game_and_screen import screen
|
||||
from tasks.base import script_task_scheme as scheme
|
||||
from tasks.base.retry_monitor import retry_monitor
|
||||
from tasks.battle import battle
|
||||
from utils.path_manager import path_manager
|
||||
|
||||
problems = preflight.check(preflight.collect(cfg), task,
|
||||
desktop=None if cfg.simulator else preflight.desktop_size())
|
||||
if problems:
|
||||
for p in problems:
|
||||
log('[ERROR] [lc_mcp] preflight: %s' % p)
|
||||
return PREFLIGHT_EXIT
|
||||
|
||||
install_exact_team_match(auto, log)
|
||||
guard = WindowGuard(screen, cfg, log=log)
|
||||
guard.start()
|
||||
restore_path = os.environ.get(RESTORE_ENV)
|
||||
originals = apply_overrides(cfg, task, params, restore_path)
|
||||
try:
|
||||
if task == 'all':
|
||||
scheme.script_task()
|
||||
return
|
||||
return 0
|
||||
# 与 script_task() 相同的前置步骤
|
||||
scheme.init_game()
|
||||
path_manager.initialize_paths()
|
||||
@@ -87,7 +105,9 @@ def run(task, params):
|
||||
'enkephalin': scheme.Buy_enkephalin,
|
||||
'mirror': scheme.Mirror_task,
|
||||
}[task]()
|
||||
return 0
|
||||
finally:
|
||||
guard.stop()
|
||||
retry_monitor.stop()
|
||||
restore(cfg, originals, restore_path)
|
||||
|
||||
@@ -107,7 +127,10 @@ def main(argv):
|
||||
print('unknown params for %s: %s' % (task, ', '.join(sorted(unknown))), file=sys.stderr)
|
||||
return 2
|
||||
print('[lc_mcp] task %s start %s' % (task, json.dumps(params)), flush=True)
|
||||
run(task, params)
|
||||
code = run(task, params)
|
||||
if code:
|
||||
print('[lc_mcp] task %s aborted (exit %s)' % (task, code), flush=True)
|
||||
return code
|
||||
print('[lc_mcp] task %s done' % task, flush=True)
|
||||
return 0
|
||||
|
||||
|
||||
@@ -36,6 +36,10 @@ class Engine:
|
||||
"""截图并落盘。返回 {'path': str, 'w': int, 'h': int}。"""
|
||||
raise NotImplementedError
|
||||
|
||||
def show_game_background(self):
|
||||
"""Show the game window without activating it or sending input."""
|
||||
raise NotImplementedError
|
||||
|
||||
def ocr(self):
|
||||
"""截图 + OCR。返回 (shot, items); items = [{text, x, y, w, h, score}]。"""
|
||||
raise NotImplementedError
|
||||
|
||||
@@ -16,6 +16,10 @@ class FakeEngine(Engine):
|
||||
self.shots += 1
|
||||
return {'path': 'fake/shot_%d.png' % self.shots, 'w': 1920, 'h': 1080}
|
||||
|
||||
def show_game_background(self):
|
||||
self.actions.append(('show_game_background',))
|
||||
return {'visible': True, 'foreground_changed': False}
|
||||
|
||||
def ocr(self):
|
||||
shot = self.screenshot()
|
||||
items = self.frames.pop(0) if len(self.frames) > 1 else self.frames[0]
|
||||
|
||||
@@ -0,0 +1,72 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
"""任务启动前的配置检查。
|
||||
|
||||
10-04/05 的几次长时间空转都源于配置: AALC 不报错, 只是一直原地打转。
|
||||
这里把已知的坑在启动前拦下来, 返回人能看懂的原因。
|
||||
|
||||
check() 只吃普通 dict, 不依赖 AALC, 便于单测; collect() 负责从 AALC cfg 取值。
|
||||
"""
|
||||
import os
|
||||
|
||||
# 窗口边框 + 标题栏(100% 缩放下实测 16x39, 留一点余量)
|
||||
FRAME_W, FRAME_H = 16, 40
|
||||
ALLOW_LUNACY_ENV = 'LCP_ALLOW_LUNACY'
|
||||
|
||||
|
||||
def collect(cfg):
|
||||
teams = {}
|
||||
for key, team in (cfg.get_value('teams') or {}).items():
|
||||
data = team.model_dump() if hasattr(team, 'model_dump') else dict(team)
|
||||
teams[str(key)] = data
|
||||
return {
|
||||
'simulator': bool(cfg.get_value('simulator')),
|
||||
'mirror': bool(cfg.get_value('mirror')),
|
||||
'set_win_size': int(cfg.get_value('set_win_size')),
|
||||
'set_lunacy_to_enkephalin': int(cfg.get_value('set_lunacy_to_enkephalin') or 0),
|
||||
'teams_active_queue': list(cfg.get_value('teams_active_queue') or []),
|
||||
'teams': teams,
|
||||
}
|
||||
|
||||
|
||||
def desktop_size():
|
||||
"""主显示器分辨率(进程已由 bootstrap 设为 DPI aware, 取到的是物理像素)。"""
|
||||
from ctypes import windll
|
||||
return windll.user32.GetSystemMetrics(0), windll.user32.GetSystemMetrics(1)
|
||||
|
||||
|
||||
def check(values, task, desktop=None, env=None):
|
||||
"""返回问题列表; 空列表表示可以启动。"""
|
||||
env = os.environ if env is None else env
|
||||
problems = []
|
||||
|
||||
lunacy = values.get('set_lunacy_to_enkephalin', 0)
|
||||
if lunacy and task != 'enkephalin' and env.get(ALLOW_LUNACY_ENV) != '1':
|
||||
problems.append(
|
||||
'set_lunacy_to_enkephalin=%s: 体力不足时会花狂气换体力。狂气只用于抽卡, 请在 AALC 里改成 0'
|
||||
'(确需使用时设环境变量 %s=1)' % (lunacy, ALLOW_LUNACY_ENV))
|
||||
|
||||
# all 只在 AALC 里勾选了镜牢时才会编队
|
||||
if task == 'mirror' or (task == 'all' and values.get('mirror')):
|
||||
teams = values.get('teams', {})
|
||||
for num in values.get('teams_active_queue', []):
|
||||
team = teams.get(str(num))
|
||||
if team is None:
|
||||
problems.append('teams_active_queue 里的队伍 %s 没有配置' % num)
|
||||
continue
|
||||
order = list(team.get('sinner_order') or [])
|
||||
# team_formation 从 1 开始按顺序找罪人, 缺 1 就一个都不选, 然后无限重试编队
|
||||
if 1 not in order:
|
||||
problems.append(
|
||||
'队伍 %s 的 sinner_order 没有罪人(全是 0): 镜牢编队会选空队伍并无限重试。'
|
||||
'在 AALC 队伍设置里勾选罪人并排序' % num)
|
||||
|
||||
if not values.get('simulator') and desktop:
|
||||
size = values.get('set_win_size', 0)
|
||||
need_w = int(size * 16 / 9) + FRAME_W
|
||||
need_h = size + FRAME_H
|
||||
if need_w > desktop[0] or need_h > desktop[1]:
|
||||
problems.append(
|
||||
'set_win_size=%s 需要 %sx%s 的窗口(含标题栏), 桌面只有 %sx%s: 窗口会被压扁成非 16:9,'
|
||||
' 模板匹配全部失效。改小 set_win_size(如 720)或调大桌面分辨率'
|
||||
% (size, need_w, need_h, desktop[0], desktop[1]))
|
||||
return problems
|
||||
+37
-9
@@ -11,7 +11,7 @@ from .engine import find_hits
|
||||
|
||||
MAX_WAIT = 300.0
|
||||
WAIT_INTERVAL = 1.0
|
||||
INPUT_TOOLS = {'click', 'click_text', 'click_image', 'keypress', 'type_text', 'drag'}
|
||||
INPUT_TOOLS = {'click', 'click_text', 'click_image', 'keypress', 'type_text', 'drag', 'show_game_background'}
|
||||
TASK_TOOLS = {'run_task', 'task_status', 'stop_task'}
|
||||
|
||||
|
||||
@@ -31,6 +31,8 @@ _IMG = {'name': {'type': 'string', 'description': 'AALC 模板图相对路径,
|
||||
'description': 'clam=只在模板原位置找, normal=扩大范围, aggressive=全屏'}}
|
||||
|
||||
TOOLS = [
|
||||
{'name': 'show_game_background', 'description': '后台显示/恢复游戏窗口,使隐藏窗口继续渲染;不激活前台、不发送鼠标或键盘输入。',
|
||||
'inputSchema': _obj()},
|
||||
{'name': 'get_state', 'description': '截图 + OCR, 返回游戏窗口内全部文字(含坐标/置信度)。决策前先调这个, 不要猜坐标',
|
||||
'inputSchema': _obj()},
|
||||
{'name': 'click_text', 'description': '按文字点击: OCR 定位后点中心。子串匹配、忽略空格, 完全相同的优先; index 选第几个命中',
|
||||
@@ -58,7 +60,8 @@ TOOLS = [
|
||||
'enkephalin=狂气换体力(times); mirror=镜牢(count 次数)。任务运行期间禁止手动点击类工具'),
|
||||
'inputSchema': _obj({'task': {'type': 'string', 'enum': sorted(TASKS)},
|
||||
'exp': _NUM, 'thread': _NUM, 'times': _NUM, 'count': _NUM}, ['task'])},
|
||||
{'name': 'task_status', 'description': '查看任务状态(idle/running/succeeded/failed/stopped)和日志尾部',
|
||||
{'name': 'task_status', 'description': '查看任务状态(idle/running/succeeded/failed/stopped)和日志尾部。'
|
||||
'succeeded 也要看 errors; running 时出现 stall 说明 AALC 在空转(如选中空队伍), 应 stop_task',
|
||||
'inputSchema': _obj({'lines': {'type': 'number', 'default': 30}})},
|
||||
{'name': 'stop_task', 'description': '强制停止当前任务(杀掉任务进程)', 'inputSchema': _obj()},
|
||||
]
|
||||
@@ -78,6 +81,18 @@ class Server:
|
||||
if not isinstance(msg, dict):
|
||||
return _error(None, -32600, 'request must be a JSON object')
|
||||
method, mid = msg.get('method'), msg.get('id')
|
||||
valid_id = (mid is None or isinstance(mid, str) or
|
||||
isinstance(mid, (int, float)) and not isinstance(mid, bool) and
|
||||
(not isinstance(mid, float) or math.isfinite(mid)))
|
||||
if msg.get('jsonrpc') != '2.0' or not isinstance(method, str) or not method or not valid_id:
|
||||
return _error(mid if valid_id else None, -32600, 'invalid JSON-RPC request')
|
||||
notification = 'id' not in msg
|
||||
params = msg.get('params', {})
|
||||
if not isinstance(params, dict):
|
||||
return None if notification else _error(mid, -32602, 'params must be an object')
|
||||
# Notifications never produce responses or trigger request-only tools.
|
||||
if notification:
|
||||
return None
|
||||
if method == 'initialize':
|
||||
return _ok(mid, {'protocolVersion': '2024-11-05',
|
||||
'capabilities': {'tools': {'listChanged': False}},
|
||||
@@ -87,17 +102,17 @@ class Server:
|
||||
if method == 'tools/list':
|
||||
return _ok(mid, {'tools': TOOLS})
|
||||
if method == 'tools/call':
|
||||
params = msg.get('params') or {}
|
||||
result = self.call_tool(params.get('name'), params.get('arguments') or {})
|
||||
name, arguments = params.get('name'), params.get('arguments', {})
|
||||
if not isinstance(name, str) or not name.strip() or not isinstance(arguments, dict):
|
||||
return _error(mid, -32602, 'tools/call requires a name and object arguments')
|
||||
result = self.call_tool(name, arguments)
|
||||
return _ok(mid, {'content': [{'type': 'text', 'text': json.dumps(result, ensure_ascii=False)}],
|
||||
'isError': not result.get('ok', False)})
|
||||
if mid is None:
|
||||
return None # 通知 (notifications/*) 不回
|
||||
return _error(mid, -32601, 'method not found: %s' % method)
|
||||
|
||||
def call_tool(self, name, args):
|
||||
try:
|
||||
if name in TASK_TOOLS: # 不抢游戏锁: wait_for_text 期间也能查任务/停任务
|
||||
if name in TASK_TOOLS: # 查任务/停任务不等待正在执行的游戏工具
|
||||
return self._task_tool(name, args)
|
||||
with self.lock:
|
||||
return self._call(name, args)
|
||||
@@ -113,7 +128,14 @@ class Server:
|
||||
if task not in TASKS:
|
||||
raise ValueError('unknown task %r' % task)
|
||||
params = {k: int(a[k]) for k in TASKS[task] if a.get(k) is not None}
|
||||
return self.tasks.start(task, params)
|
||||
# Starting must not race a click that has already checked running().
|
||||
# Reject promptly when busy instead of waiting behind a long OCR poll.
|
||||
if not self.lock.acquire(blocking=False):
|
||||
return {'ok': False, 'error': 'MCP 工具正在执行,完成后再启动 AALC 任务'}
|
||||
try:
|
||||
return self.tasks.start(task, params)
|
||||
finally:
|
||||
self.lock.release()
|
||||
if name == 'task_status':
|
||||
return self.tasks.status(a.get('lines', 30))
|
||||
return self.tasks.stop()
|
||||
@@ -127,6 +149,9 @@ class Server:
|
||||
return {'ok': False, 'error': 'AALC 任务 %s 正在运行, 手动输入会打乱它; 先 stop_task' % self.tasks.info['task']}
|
||||
e = self.engine
|
||||
|
||||
if name == 'show_game_background':
|
||||
return dict(e.show_game_background(), ok=True)
|
||||
|
||||
if name == 'screenshot':
|
||||
return dict(e.screenshot(), ok=True)
|
||||
if name == 'get_state':
|
||||
@@ -216,6 +241,9 @@ def parse_line(line):
|
||||
if not line:
|
||||
return None, None
|
||||
try:
|
||||
return json.loads(line), None
|
||||
msg = json.loads(line)
|
||||
if msg is None:
|
||||
return None, _error(None, -32600, 'request must be a JSON object')
|
||||
return msg, None
|
||||
except ValueError as e:
|
||||
return None, _error(None, -32700, 'parse error: %s' % e)
|
||||
|
||||
+83
-1
@@ -3,6 +3,7 @@
|
||||
import glob
|
||||
import json
|
||||
import os
|
||||
import re
|
||||
import signal
|
||||
import subprocess
|
||||
import sys
|
||||
@@ -35,6 +36,80 @@ def tail(path, n):
|
||||
return []
|
||||
|
||||
|
||||
ERROR_MARKERS = ('[ERROR]', 'Traceback (most recent call last)')
|
||||
ERROR_SCAN_LINES = 400
|
||||
|
||||
|
||||
def log_errors(path, limit=3):
|
||||
"""挑出日志尾部的报错行。
|
||||
|
||||
AALC 的每日流程在单次战斗失败后会继续跑完并正常退出(exit 0), 只看退出码
|
||||
会把"超出最大尝试次数,未能进入战斗"这类失败当成成功, 所以状态里额外附上
|
||||
日志里的报错行。
|
||||
"""
|
||||
hits = [line for line in tail(path, ERROR_SCAN_LINES)
|
||||
if any(marker in line for marker in ERROR_MARKERS)]
|
||||
return hits[-limit:]
|
||||
|
||||
|
||||
# AALC 卡死时不报错、进程健在, 只是反复输出同一类日志。
|
||||
# "配队人数OCR得到" 只在编队人数检查失败的重试里打印, 健康运行中一次都不会出现;
|
||||
# 2026-10-05 的三次空队伍卡死里它分别刷了 242/306/24 次。
|
||||
STALL_MARKERS = {'empty_team': '配队人数OCR得到'}
|
||||
STALL_THRESHOLD = 10
|
||||
|
||||
# 计数法抓不到"界面误判"型卡死: AALC 把别的界面认成目标界面, 对着误匹配的
|
||||
# 模板反复盲点, 日志照样疯涨, 只是再没有任何流程进展。2026-10-13 实测在镜牢
|
||||
# 入口把 home/luxcavation_assets.png 匹配到 0.836, 连点 18 分钟不停。
|
||||
# 所以再加一条与内容无关的判据: 里程碑(开始执行/结束执行)多久没前进了。
|
||||
STALL_NO_PROGRESS_S = int(os.environ.get('LCP_STALL_NO_PROGRESS_S', 10 * 60))
|
||||
# 里程碑可能离文件尾很远(卡死期间日志涨得很快), 回溯窗口给大一点
|
||||
PROGRESS_SCAN_BYTES = 8 * 1024 * 1024
|
||||
TIMESTAMP_RE = re.compile(r'(\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2})')
|
||||
PROGRESS_RE = re.compile(r'(开始执行|结束执行)\s')
|
||||
|
||||
|
||||
def last_progress_epoch(path):
|
||||
"""日志里最后一条里程碑的时间戳(epoch 秒); 找不到返回 None。"""
|
||||
try:
|
||||
with open(path, 'rb') as f:
|
||||
f.seek(0, os.SEEK_END)
|
||||
f.seek(max(0, f.tell() - PROGRESS_SCAN_BYTES))
|
||||
blob = f.read().decode('utf-8', 'replace')
|
||||
except OSError:
|
||||
return None
|
||||
last = None
|
||||
for line in blob.splitlines():
|
||||
if not PROGRESS_RE.search(line):
|
||||
continue
|
||||
m = TIMESTAMP_RE.search(line)
|
||||
if not m:
|
||||
continue
|
||||
try:
|
||||
last = time.mktime(time.strptime(m.group(1), '%Y-%m-%d %H:%M:%S'))
|
||||
except ValueError:
|
||||
continue
|
||||
return last
|
||||
|
||||
|
||||
def log_stalls(path):
|
||||
"""统计日志尾部的卡死信号, 达到阈值的返回 {名称: 次数}。"""
|
||||
lines = tail(path, ERROR_SCAN_LINES)
|
||||
counts = {name: sum(marker in line for line in lines) for name, marker in STALL_MARKERS.items()}
|
||||
stalls = {name: n for name, n in counts.items() if n >= STALL_THRESHOLD}
|
||||
|
||||
# 无进展判据: 用日志自身的最后写入时间当"现在", 避免与调用方时钟不一致
|
||||
progress = last_progress_epoch(path)
|
||||
if progress is not None:
|
||||
try:
|
||||
idle = os.path.getmtime(path) - progress
|
||||
except OSError:
|
||||
idle = 0
|
||||
if idle >= STALL_NO_PROGRESS_S:
|
||||
stalls['no_progress'] = int(idle)
|
||||
return stalls
|
||||
|
||||
|
||||
class TaskRunner:
|
||||
|
||||
def __init__(self, run_dir, argv_factory=default_argv, keep_logs=20, restore_argv=default_restore_argv):
|
||||
@@ -110,8 +185,15 @@ class TaskRunner:
|
||||
r = {'ok': True, 'state': state, 'task': self.info['task'], 'params': self.info['params'],
|
||||
'elapsed_s': int((self.info.get('ended') or time.time()) - self.info['started']),
|
||||
'log': self.info['log'], 'log_tail': tail(self.info['log'], max(1, min(int(lines), 200)))}
|
||||
if code is not None:
|
||||
if code is None:
|
||||
stalls = log_stalls(self.info['log'])
|
||||
if stalls:
|
||||
r['stall'] = stalls
|
||||
else:
|
||||
r['exit_code'] = code
|
||||
errors = log_errors(self.info['log'])
|
||||
if errors:
|
||||
r['errors'] = errors
|
||||
pending = self._pending_restores()
|
||||
if pending:
|
||||
r['pending_restore'] = [os.path.basename(p) for p in pending]
|
||||
|
||||
@@ -0,0 +1,128 @@
|
||||
#!/usr/bin/env python3
|
||||
"""Summarize recorded MCP actions without starting the game or importing AALC.
|
||||
|
||||
Only records containing an action object contribute to action/latency statistics.
|
||||
These records do not prove that the game accepted an input. Missing timings
|
||||
remain missing: older logs cannot separate observation and execution.
|
||||
Positive jev_ms values are recorded request latencies, not proof of a successful
|
||||
decision or an exhaustive account of all API attempts.
|
||||
"""
|
||||
import argparse
|
||||
from collections import Counter
|
||||
from datetime import datetime
|
||||
import hashlib
|
||||
import json
|
||||
import math
|
||||
from pathlib import Path
|
||||
import statistics
|
||||
|
||||
|
||||
def latency_summary(records, field):
|
||||
values = []
|
||||
invalid = 0
|
||||
for record in records:
|
||||
if field not in record:
|
||||
continue
|
||||
value = record[field]
|
||||
if isinstance(value, bool) or not isinstance(value, (int, float)) or not math.isfinite(value) or value < 0:
|
||||
invalid += 1
|
||||
continue
|
||||
values.append(value)
|
||||
positive = sorted(value for value in values if value > 0)
|
||||
return {
|
||||
'present_records': len(values),
|
||||
'missing_records': sum(field not in record for record in records),
|
||||
'invalid_records': invalid,
|
||||
'zero_records': sum(value == 0 for value in values),
|
||||
'positive_records': len(positive),
|
||||
'sum_ms': round(sum(values), 3) if values else None,
|
||||
'positive_median_ms': statistics.median(positive) if positive else None,
|
||||
'positive_p95_nearest_rank_ms': positive[math.ceil(len(positive) * .95) - 1] if positive else None,
|
||||
'positive_max_ms': positive[-1] if positive else None,
|
||||
}
|
||||
|
||||
|
||||
def summarize(path):
|
||||
path = Path(path)
|
||||
raw = path.read_bytes()
|
||||
records = []
|
||||
for line_number, line in enumerate(raw.decode('utf-8-sig').splitlines(), 1):
|
||||
if not line.strip():
|
||||
continue
|
||||
value = json.loads(line)
|
||||
if not isinstance(value, dict):
|
||||
raise ValueError(f'{path}:{line_number}: expected a JSON object')
|
||||
records.append(value)
|
||||
actions = [row for row in records if isinstance(row.get('action'), dict)]
|
||||
tools = Counter(str(row['action'].get('tool', 'unknown')) for row in actions)
|
||||
states = Counter(str(row.get('state', 'missing')) for row in records)
|
||||
battle_pairs = []
|
||||
for row in actions:
|
||||
if row['action'].get('tool') != 'battle':
|
||||
continue
|
||||
result = row.get('result')
|
||||
value = result.get('pairs') if isinstance(result, dict) else None
|
||||
if isinstance(value, int) and not isinstance(value, bool) and value >= 0:
|
||||
battle_pairs.append(value)
|
||||
# Split aware/naive timestamps rather than silently invent a timezone.
|
||||
timestamp_groups = {'naive_local': [], 'aware': []}
|
||||
bad_timestamps = 0
|
||||
for row in actions:
|
||||
stamp = row.get('at')
|
||||
if not isinstance(stamp, str):
|
||||
bad_timestamps += 1
|
||||
continue
|
||||
try:
|
||||
parsed = datetime.fromisoformat(stamp.replace('Z', '+00:00'))
|
||||
except ValueError:
|
||||
bad_timestamps += 1
|
||||
continue
|
||||
group = 'aware' if parsed.utcoffset() is not None else 'naive_local'
|
||||
timestamp_groups[group].append(parsed)
|
||||
spans = {}
|
||||
for name, stamps in timestamp_groups.items():
|
||||
if not stamps:
|
||||
continue
|
||||
ordered = sorted(stamps)
|
||||
spans[name] = {
|
||||
'records': len(ordered),
|
||||
'first': ordered[0].isoformat(),
|
||||
'last': ordered[-1].isoformat(),
|
||||
'span_seconds': (ordered[-1] - ordered[0]).total_seconds(),
|
||||
}
|
||||
return {
|
||||
'source': path.as_posix(),
|
||||
'sha256': hashlib.sha256(raw).hexdigest(),
|
||||
'records': len(records),
|
||||
'action_records': len(actions),
|
||||
'tool_counts': dict(sorted(tools.items())),
|
||||
'state_counts': dict(sorted(states.items())),
|
||||
'recorded_latency_ms': {field: latency_summary(actions, field) for field in ('jev_ms', 'ocr_ms', 'action_ms')},
|
||||
'battle_pair_attempts': {
|
||||
'reported_batches': len(battle_pairs),
|
||||
'unreported_batches': tools.get('battle', 0) - len(battle_pairs),
|
||||
'sum': sum(battle_pairs) if battle_pairs else None,
|
||||
},
|
||||
'action_timestamp_spans': spans,
|
||||
'missing_or_invalid_action_timestamps': bad_timestamps,
|
||||
}
|
||||
|
||||
|
||||
def main():
|
||||
parser = argparse.ArgumentParser(description=__doc__)
|
||||
parser.add_argument('logs', nargs='+', type=Path, help='JSONL action logs')
|
||||
parser.add_argument('--output', type=Path, help='Save the summary as JSON; otherwise print it')
|
||||
args = parser.parse_args()
|
||||
try:
|
||||
report = {'schema_version': 1, 'logs': [summarize(path) for path in args.logs]}
|
||||
except (OSError, ValueError) as error:
|
||||
parser.error(str(error))
|
||||
payload = json.dumps(report, ensure_ascii=False, indent=2) + '\n'
|
||||
if args.output:
|
||||
args.output.write_text(payload, encoding='utf-8')
|
||||
else:
|
||||
print(payload, end='')
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
@@ -0,0 +1,235 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
"""值守体检: 日志与报告交叉核对, 并挑出可疑记录。
|
||||
|
||||
用法: python audit_runs.py [--dir DIR] [--json]
|
||||
退出码: 0 一切吻合 / 1 发现不一致
|
||||
|
||||
为什么需要这个脚本:
|
||||
上一轮我照着自己写在 docs/WATCH.md 里的办法做核对, 结果 6 条全部报"对不上" ——
|
||||
但数据其实是吻合的。坑在于: **日志的结论行写在一轮结束时, 报告的 started 是
|
||||
开始时**, 两者天然差一个 elapsed_s。拿两个时间戳直接比必然全部失败。
|
||||
|
||||
正确关系是: 报告.started + elapsed ≈ 日志结论时刻。
|
||||
|
||||
代码里的时间关系比人记的可靠, 所以把核对做成脚本而不是让人照着文档敲
|
||||
PowerShell —— 我手敲那次就误判了。
|
||||
|
||||
检查三件事:
|
||||
1. 每份报告都能在日志里找到对应结论(时间对得上, 耗时和结果文本一致)
|
||||
2. 日志里每条结论都有对应报告(没有"跑了但没留报告"的运行)
|
||||
3. 疑似 mock 残留: 同一秒扎堆、或内容自相矛盾的结论行
|
||||
"""
|
||||
import argparse
|
||||
import glob
|
||||
import json
|
||||
import os
|
||||
import re
|
||||
import sys
|
||||
from collections import defaultdict
|
||||
from datetime import datetime, timedelta
|
||||
|
||||
DIR = os.path.expanduser(os.path.join('~', 'lc_mcp', 'modules'))
|
||||
LOG_NAME = 'convert.log'
|
||||
# 报告.started 与日志结论时刻的允许偏差(两边各写一次时间戳)
|
||||
TOL_S = 5
|
||||
|
||||
CONCLUSION_RE = re.compile(
|
||||
r'^\[(?P<t>\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2})\]\s*===\s*(?P<result>.+?)\s*'
|
||||
r'\((?P<ok>\w+)\), 耗时 (?P<secs>\d+)s ===')
|
||||
START_RE = re.compile(
|
||||
r'^\[(?P<t>\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2})\]\s*===\s*开始: 体力换模块\s*===')
|
||||
# 明显不可能出现在真实运行里的说法
|
||||
IMPOSSIBLE = ('powershell not found', 'not found', 'No such file')
|
||||
|
||||
|
||||
def parse_runs(path):
|
||||
"""把日志解析成一轮一轮的 (开始, 结束, 结果, 耗时)。
|
||||
|
||||
⛔ 为什么要配对而不是只取结论行: 第一版只用结论行, 拿"报告.started + elapsed"
|
||||
去和结论时刻比 —— 能对上就说明 elapsed 一致, 所以"耗时不符"那个分支永远不可能
|
||||
触发, 是死代码。看起来在查、实际查不到的东西比没有更糟。
|
||||
改成按日志里的"=== 开始: 体力换模块 ===" 配对, 报告的 started 才能和**开始**时刻
|
||||
真正对照, 耗时也能独立核对。
|
||||
"""
|
||||
out = []
|
||||
if not os.path.exists(path):
|
||||
return out
|
||||
pending = []
|
||||
with open(path, encoding='utf-8') as f:
|
||||
for line in f:
|
||||
line = line.strip()
|
||||
ms = START_RE.match(line)
|
||||
if ms:
|
||||
pending.append(datetime.strptime(ms.group('t'), '%Y-%m-%d %H:%M:%S'))
|
||||
continue
|
||||
mc = CONCLUSION_RE.match(line)
|
||||
if mc:
|
||||
start = pending.pop(0) if pending else None
|
||||
out.append({'start': start,
|
||||
'end': datetime.strptime(mc.group('t'), '%Y-%m-%d %H:%M:%S'),
|
||||
'result': mc.group('result'), 'ok': mc.group('ok'),
|
||||
'secs': int(mc.group('secs')), 'line': line})
|
||||
return out
|
||||
|
||||
|
||||
# 兼容旧名字: 只要结论行
|
||||
def parse_log(path):
|
||||
return parse_runs(path)
|
||||
|
||||
|
||||
def load_reports(d):
|
||||
out = []
|
||||
for p in sorted(glob.glob(os.path.join(d, 'convert_*.json'))):
|
||||
try:
|
||||
with open(p, encoding='utf-8') as f:
|
||||
r = json.load(f)
|
||||
except (OSError, ValueError):
|
||||
continue
|
||||
out.append({'file': os.path.basename(p),
|
||||
'start': datetime.strptime(r['started'], '%Y-%m-%d %H:%M:%S'),
|
||||
'secs': r.get('elapsed_s'), 'result': r.get('result', ''),
|
||||
'ok': bool(r.get('ok')),
|
||||
# ⛔ steps / converted 也得留着: 第一版只挑了 5 个字段, 结果
|
||||
# "跨轮检查模组数"拿不到数据, 又是个查不出东西的检查。
|
||||
'steps': r.get('steps') or [],
|
||||
'converted': r.get('converted')})
|
||||
out.sort(key=lambda r: r['start'])
|
||||
return out
|
||||
|
||||
|
||||
def same_second_clusters(conclusions):
|
||||
"""同一秒里出现多行结论 = 几乎必然是测试批量产生的。"""
|
||||
bysec = defaultdict(list)
|
||||
for c in conclusions:
|
||||
bysec[c['end']].append(c)
|
||||
return {k: v for k, v in bysec.items() if len(v) > 1}
|
||||
|
||||
|
||||
def impossible_claims(conclusions):
|
||||
"""内容自相矛盾的结论(比如 powershell 明明在却说找不到)。"""
|
||||
out = []
|
||||
for c in conclusions:
|
||||
low = c['result']
|
||||
if any(k.lower() in low.lower() for k in IMPOSSIBLE):
|
||||
out.append(c)
|
||||
return out
|
||||
|
||||
|
||||
OWNED_RE = re.compile(r'模组\s*(\d+)\s*->\s*(\d+)')
|
||||
|
||||
|
||||
def module_trajectory(reports):
|
||||
"""跨轮检查模组数有没有减少。
|
||||
|
||||
⛔ 2026-10-17 遇到一次: 22:05 合成后是 35, 而 06:04 那轮读到的合成前是 33。
|
||||
当时怀疑是强制关游戏丢了未保存状态, 追查了一轮 —— **结果是人自己升阶用掉了**。
|
||||
(所以现在 close_game 仍是优雅关闭: 那是独立的健壮性改进, 和这件事无关。)
|
||||
|
||||
教训: 这类"数字对不上"的现象, **默认解释可能是人手动操作**, 而不是 bug。
|
||||
所以这里的措辞是"需要确认", 不是"出问题了" —— 唯一的例外是它能反过来证明
|
||||
某件自动化的事: 如果模组数**自己变多了**, 那才是真异常(自动化之外的来源)。
|
||||
|
||||
自己从 steps[0].info 里解出模组数(不依赖调用方预先算好)。只比较**接连两轮都
|
||||
成功合成**的情况, 免得把"跳过轮次"误判成倒退。
|
||||
"""
|
||||
seq = [r for r in reports if r.get('converted')]
|
||||
seq.sort(key=lambda r: r['start'])
|
||||
owned = []
|
||||
for r in seq:
|
||||
step = (r.get('steps') or [{}])[0]
|
||||
m = OWNED_RE.search(step.get('info', '') or '')
|
||||
owned.append((r, (int(m.group(1)), int(m.group(2))) if m else None))
|
||||
|
||||
out = []
|
||||
for (prev, pa), (cur, ca) in zip(owned, owned[1:]):
|
||||
if pa is None or ca is None:
|
||||
continue
|
||||
if ca[0] < pa[1]:
|
||||
out.append('模组数比上一轮少: %s 合成后是 %s, 而 %s 读到合成前只有 %s '
|
||||
'—— 若是人工升阶用掉的属正常; 否则要查'
|
||||
% (prev['start'].strftime('%m-%d %H:%M'), pa[1],
|
||||
cur['start'].strftime('%m-%d %H:%M'), ca[0]))
|
||||
elif ca[0] > pa[1]:
|
||||
# 自动化只会按合成前后的差值增加, 无端变多说明有别的来源
|
||||
out.append('模组数无端变多: %s 合成后是 %s, 而 %s 读到合成前有 %s '
|
||||
'—— 自动化之外还有别的来源, 值得看一眼'
|
||||
% (prev['start'].strftime('%m-%d %H:%M'), pa[1],
|
||||
cur['start'].strftime('%m-%d %H:%M'), ca[0]))
|
||||
return out
|
||||
|
||||
|
||||
def audit(d):
|
||||
runs = parse_runs(os.path.join(d, LOG_NAME))
|
||||
reports = load_reports(d)
|
||||
problems = []
|
||||
|
||||
# 0. 跨轮: 模组数不该倒退
|
||||
problems.extend(module_trajectory(reports))
|
||||
|
||||
# 1. 每份报告都要有对应的一轮
|
||||
for r in reports:
|
||||
hit = [c for c in runs if c['start'] is not None
|
||||
and abs((c['start'] - r['start']).total_seconds()) <= TOL_S]
|
||||
if not hit:
|
||||
problems.append('报告 %s (started %s) 在日志里找不到对应的开始行'
|
||||
% (r['file'], r['start']))
|
||||
continue
|
||||
c = hit[0]
|
||||
# 结论时刻应当 = 开始 + 耗时
|
||||
expect_end = c['start'] + timedelta(seconds=r['secs'] or 0)
|
||||
if abs((c['end'] - expect_end).total_seconds()) > TOL_S:
|
||||
problems.append('%s 时间对不上: 开始 %s + 报告耗时 %ss 应为 %s, 日志结论在 %s'
|
||||
% (r['file'], c['start'].strftime('%H:%M:%S'), r['secs'],
|
||||
expect_end.strftime('%H:%M:%S'), c['end'].strftime('%H:%M:%S')))
|
||||
if c['secs'] != r['secs']:
|
||||
problems.append('%s 耗时不符: 日志 %ss vs 报告 %ss'
|
||||
% (r['file'], c['secs'], r['secs']))
|
||||
if c['result'] != r['result']:
|
||||
problems.append('%s 结果文本不符:\n 日志 %s\n 报告 %s'
|
||||
% (r['file'], c['result'], r['result']))
|
||||
|
||||
# 2. 每一轮都要有对应报告
|
||||
for c in runs:
|
||||
hit = [r for r in reports
|
||||
if c['start'] is not None
|
||||
and abs((r['start'] - c['start']).total_seconds()) <= TOL_S]
|
||||
if not hit:
|
||||
problems.append('日志 %s 那轮没有对应报告: %s'
|
||||
% (c['end'].strftime('%H:%M:%S'), c['result'][:50]))
|
||||
|
||||
# 3. mock 残留
|
||||
for sec, group in same_second_clusters(runs).items():
|
||||
problems.append('同一秒(%s)出现 %d 行结论, 疑似测试残留'
|
||||
% (sec.strftime('%H:%M:%S'), len(group)))
|
||||
for c in impossible_claims(runs):
|
||||
problems.append('可疑内容(%s): %s'
|
||||
% (c['end'].strftime('%H:%M:%S'), c['result'][:60]))
|
||||
|
||||
return {'runs': len(runs), 'reports': len(reports), 'problems': problems}
|
||||
|
||||
|
||||
def main(argv=None):
|
||||
ap = argparse.ArgumentParser(description='值守体检: 日志与报告交叉核对')
|
||||
ap.add_argument('--dir', default=DIR)
|
||||
ap.add_argument('--json', action='store_true')
|
||||
args = ap.parse_args(argv)
|
||||
|
||||
r = audit(args.dir)
|
||||
if args.json:
|
||||
json.dump(r, sys.stdout, ensure_ascii=False, indent=2)
|
||||
print()
|
||||
return 1 if r['problems'] else 0
|
||||
|
||||
print('日志 %d 轮 / 报告 %d 份' % (r['runs'], r['reports']))
|
||||
if not r['problems']:
|
||||
print('✅ 全部吻合, 没有可疑记录')
|
||||
return 0
|
||||
# 不叫"问题" —— 有些只是"需要确认"(比如人手动升阶用掉了模块)
|
||||
print('⚠️ 有 %d 处需要确认:' % len(r['problems']))
|
||||
for p in r['problems']:
|
||||
print(' - %s' % p)
|
||||
return 1
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
raise SystemExit(main())
|
||||
@@ -0,0 +1,379 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
"""一轮自动推进: 刷材料 -> (镜牢) -> 升级最弱人格 -> 同步 -> 报告。
|
||||
|
||||
用法: python auto_cycle.py [--mirror N] [--target LV] [--retries N] [--report-dir DIR]
|
||||
退出码: 0 正常完成一轮 / 1 失败
|
||||
|
||||
每轮在 report-dir(默认 ~/lc_mcp/cycles)写一份 cycle_<时间>.log 与同名 .json 报告,
|
||||
计划任务无人值守跑完后据此核对。
|
||||
|
||||
设计: 只做"一轮",不做无限循环——由外层(goal 轮次)负责重复与判断,
|
||||
避免无人监督地长时间空转。每轮输出结构化报告供上层核对。
|
||||
"""
|
||||
import argparse
|
||||
import json
|
||||
import os
|
||||
import time
|
||||
|
||||
from lc_ui import HERE, PY, click, drag, items, keypress, probe, run
|
||||
|
||||
LEVELUP = os.path.join(HERE, 'levelup.py')
|
||||
# 手动抽卡花掉狂气后, 删掉这个文件重新记基线, 否则每轮都会中止
|
||||
LUNACY_BASELINE = os.path.expanduser(os.path.join('~', 'lc_mcp', 'lunacy_baseline.txt'))
|
||||
|
||||
# 导航
|
||||
BACK = (85, 75) # 只在 Sinners 内部退层用, 主界面上按它会进剧情
|
||||
BTN_SINNERS = (1130, 805) # 主界面底部 Sinners
|
||||
TAB_ALL_IDENTITIES = (1472, 245) # TEAMS 页 -> All Identities
|
||||
|
||||
# AALC 任务轮询上限
|
||||
DAILY_TIMEOUT_S = 45 * 60
|
||||
# 每局镜牢。10-04 首次 39 分钟、10-13 两局分别 59 与 >70 分钟(19 场战斗仍未结束),
|
||||
# 所以 70 分钟不够用 —— 实测撞过超时, 强杀后游戏停在副本里, 连升级都进不去。
|
||||
MIRROR_TIMEOUT_S = 100 * 60
|
||||
POLL_S = 60
|
||||
# task_status 连续几次报 stall 就判定卡死并停任务
|
||||
STALL_POLLS = 2
|
||||
# 卡死后重跑次数。AALC 任务开头会自己回主界面, 重跑通常就能脱困
|
||||
STALL_RETRIES = 1
|
||||
DEFAULT_REPORT_DIR = os.path.expanduser(os.path.join('~', 'lc_mcp', 'cycles'))
|
||||
|
||||
_log_file = None
|
||||
|
||||
|
||||
def log(msg):
|
||||
line = '[%s] %s' % (time.strftime('%H:%M:%S'), msg)
|
||||
print(line, flush=True)
|
||||
if _log_file:
|
||||
with open(_log_file, 'a', encoding='utf-8') as f:
|
||||
f.write(line + '\n')
|
||||
|
||||
|
||||
def goto_identities():
|
||||
"""从任意位置尽力走到 罪人 -> Identities 网格。
|
||||
|
||||
只点 Sinners 按钮, 绝不点左上返回键——主界面上的返回键会进入剧情(Drive),
|
||||
实测会掉进过场动画, 需要额外恢复。
|
||||
"""
|
||||
for attempt in range(5):
|
||||
its = items()
|
||||
txt = ' | '.join(i.get('text', '') for i in its)
|
||||
if 'IDENTITIES' in txt and 'Facades' in txt:
|
||||
return True
|
||||
if 'TEAMS #1' in txt or 'SIN COST' in txt or 'All Idensities' in txt:
|
||||
click(*TAB_ALL_IDENTITIES)
|
||||
time.sleep(3)
|
||||
continue
|
||||
if 'LUXCAVATION' in txt.upper() or 'MIRROR' in txt.upper():
|
||||
# 在副本/关卡菜单里, 先回主界面
|
||||
keypress('esc')
|
||||
time.sleep(2)
|
||||
continue
|
||||
click(*BTN_SINNERS)
|
||||
time.sleep(3.5)
|
||||
its = items()
|
||||
txt = ' | '.join(i.get('text', '') for i in its)
|
||||
return 'IDENTITIES' in txt and 'Facades' in txt
|
||||
|
||||
|
||||
def on_teams_screen(txt):
|
||||
"""TEAMS 界面的判定。
|
||||
|
||||
实测 OCR 会把 "SIN COST" 输出成 "SINICOST"(无空格), 直接匹配 'SIN COST'
|
||||
会漏判 —— 于是 ensure_team1() 以为不在 TEAMS 页, 去点 Sinners 按钮空转,
|
||||
最后报 "未能确认选中 TEAMS #1"。所以先去空格再比。
|
||||
"""
|
||||
t = txt.replace(' ', '').upper()
|
||||
return ('SINCOST' in t or 'SINICOST' in t
|
||||
or 'ALLIDENTITIES' in t or 'ALLE.G.0' in t or 'ALLE.G.O' in t)
|
||||
|
||||
|
||||
def on_grid(txt):
|
||||
return 'IDENTITIES' in txt and 'Facades' in txt
|
||||
|
||||
|
||||
def ensure_team1():
|
||||
"""进 TEAMS 界面, 把预设列表滚到顶并选中 TEAMS #1。
|
||||
|
||||
实测坑: 这个账号有 40 个队伍预设, 而 AALC 的选队搜索只朝列表下方扫
|
||||
(dy 为负), 列表一旦停在底部就永远找不到 TEAMS #1, 日志表现为
|
||||
"找不到队伍 # 1" 然后整轮空转。所以每轮开跑前先把列表拉回顶部。
|
||||
"""
|
||||
for _ in range(5):
|
||||
its = items()
|
||||
txt = ' | '.join(i.get('text', '') for i in its)
|
||||
if on_teams_screen(txt):
|
||||
break
|
||||
if on_grid(txt):
|
||||
click(*BACK) # 网格 -> TEAMS, 仍在 Sinners 内, 安全
|
||||
time.sleep(3)
|
||||
continue
|
||||
click(*BTN_SINNERS)
|
||||
time.sleep(3.5)
|
||||
|
||||
for _ in range(10):
|
||||
its = items()
|
||||
cand = [i for i in its
|
||||
if i.get('text', '').strip().replace(' ', '') in
|
||||
('TEAMS#1', 'TFAMS#1') and i.get('x', 999) < 320]
|
||||
if cand:
|
||||
top = min(cand, key=lambda i: i.get('y', 0))
|
||||
click(top['x'], top['y'])
|
||||
time.sleep(2.5)
|
||||
return True
|
||||
# 向下拖拽 = 列表内容下移 = 露出更靠前的预设
|
||||
drag(190, 400, 190, 700)
|
||||
time.sleep(2)
|
||||
return False
|
||||
|
||||
|
||||
def clear_blocking_modal():
|
||||
"""清掉挡在 AALC 前面的模态框, 返回清掉的说明或 None。
|
||||
|
||||
2026-10-13 实测: Enkephalin Modules 不足时游戏弹出
|
||||
"You don't have enough Enkephalin Modules. / Would you like to go assemble some?"
|
||||
而 AALC 的 Luxcavation 流程不认这个框 —— 它一直在后面点被挡住的 Enter 按钮,
|
||||
每次都要等满 10 分钟被 no_progress 判据救回来。点 Cancel 拒绝去组装,
|
||||
AALC 就会自己往下走(该关卡过不去, 它会降级试下一关)。
|
||||
|
||||
只在轮询里做这件事, 不碰 AALC 自己的识别; 模态框本来就挡住了一切输入,
|
||||
点它的 Cancel 不会造成误操作。
|
||||
"""
|
||||
its = items()
|
||||
txt = ' '.join(i.get('text', '') for i in its).replace(' ', '')
|
||||
if 'enoughEnkephalinModules' not in txt:
|
||||
return None
|
||||
for it in its:
|
||||
if 'cancel' in it.get('text', '').lower():
|
||||
w = it.get('w') or 0
|
||||
h = it.get('h') or 0
|
||||
click(it['x'] + w / 2.0, it['y'] + h / 2.0)
|
||||
return 'Enkephalin Modules 不足 -> 点 Cancel'
|
||||
return None
|
||||
|
||||
|
||||
# 同一轮里连着这么多次看到"模组不足", 就不是偶发了, 是资源真的见底
|
||||
RESOURCE_OUT_LIMIT = 3
|
||||
|
||||
|
||||
def poll_task(task, timeout_s, sleep=time.sleep):
|
||||
"""轮询到任务结束。返回 (ok, 说明, 是否因卡死被停)。"""
|
||||
t0 = time.time()
|
||||
stalled = 0
|
||||
cleared = 0
|
||||
while time.time() - t0 < timeout_s:
|
||||
sleep(POLL_S)
|
||||
st = probe('task_status', {'lines': 1})
|
||||
s = st.get('state')
|
||||
el = int(time.time() - t0)
|
||||
if s != 'running':
|
||||
log('%s 结束: state=%s elapsed=%ds exit=%s' % (task, s, el, st.get('exit_code')))
|
||||
# AALC 单次战斗失败后仍会 exit 0, succeeded 还要看 errors
|
||||
if st.get('errors'):
|
||||
return False, '%s: %s' % (s, st['errors'][-1]), False
|
||||
return s == 'succeeded', 'state=%s elapsed=%ds' % (s, el), False
|
||||
try:
|
||||
msg = clear_blocking_modal()
|
||||
except Exception as e: # 清道夫不该拖垮轮询
|
||||
msg = None
|
||||
log(' [warn] 清模态框时出错: %s' % e)
|
||||
if msg:
|
||||
cleared += 1
|
||||
log(' [fix] %s (%d/%d)' % (msg, cleared, RESOURCE_OUT_LIMIT))
|
||||
if cleared >= RESOURCE_OUT_LIMIT:
|
||||
# 反复缺模组 = 体力/模组真的见底了。继续点下去只是空转到超时,
|
||||
# 浪费掉这一轮的时间(实测每次都烧满 10 分钟)。直接收工, 等下一轮。
|
||||
probe('stop_task')
|
||||
return False, 'RESOURCE_OUT', False
|
||||
stalled = stalled + 1 if st.get('stall') else 0
|
||||
if stalled >= STALL_POLLS:
|
||||
probe('stop_task')
|
||||
return False, '卡死(%s), 已停止任务 elapsed=%ds' % (st['stall'], el), True
|
||||
if el % 600 < POLL_S:
|
||||
log(' ...%s running %ds' % (task, el))
|
||||
probe('stop_task')
|
||||
return False, '超时 %ds' % timeout_s, False
|
||||
|
||||
|
||||
def run_aalc(task, params, timeout_s, retries=STALL_RETRIES, sleep=time.sleep):
|
||||
"""跑一个 AALC 任务; 卡死时停掉重跑, 最多 retries 次。返回 (ok, 说明)。"""
|
||||
info = ''
|
||||
for attempt in range(retries + 1):
|
||||
if attempt:
|
||||
log('%s 卡死后重跑 (%d/%d)' % (task, attempt, retries))
|
||||
sleep(10)
|
||||
r = probe('run_task', dict(params, task=task))
|
||||
if not r.get('ok'):
|
||||
return False, 'run_task 失败: %s' % r.get('error', r)
|
||||
log('%s 已启动 %s, 开始轮询' % (task, params or ''))
|
||||
ok, info, stalled = poll_task(task, timeout_s, sleep=sleep)
|
||||
if ok or not stalled:
|
||||
return ok, info
|
||||
return False, info
|
||||
|
||||
|
||||
def report_grid():
|
||||
out = run([PY, '-X', 'utf8', LEVELUP, 'list'])
|
||||
return out.strip()
|
||||
|
||||
|
||||
MAIN_MENU_MARKERS = ('SINNERS', 'WINDOW', 'DISPENSE', 'THEATER', 'EXTRACT')
|
||||
|
||||
|
||||
def read_lunacy(reads=5, pause=1.0):
|
||||
"""读狂气余额。取多次读数的**众数**, 读不到返回 None。
|
||||
|
||||
两个实测坑(2026-10-13):
|
||||
1. OCR 偶尔漏掉 LUNACY 标签, 所以多读几次。
|
||||
2. **同一个画面上数字本身就会抖**: 放大 6 倍肉眼确认余额是 6388, 而 OCR 在
|
||||
同一画面连读 5 次得到 6388 四次、8859 一次。8859 被当成基线后, 之后正确
|
||||
的 6388 反而被判成"已消耗"并中止整轮 —— 一次误读就能造成一次误报。
|
||||
所以取众数(至少出现 2 次才采信), 而不是"最后读到什么就是什么"。
|
||||
|
||||
曾经试过"只在主界面取数", 但那样几乎总是读不到(轮次开始/结束时常停在副本、
|
||||
网格、结算页), 守卫直接跳过 —— 防线等于没有。众数投票已经能压住误读,
|
||||
覆盖率更重要。
|
||||
"""
|
||||
votes = {}
|
||||
for attempt in range(reads):
|
||||
its = items()
|
||||
lab = None
|
||||
for it in its:
|
||||
if 'LUNACY' in it.get('text', '').upper():
|
||||
lab = it
|
||||
break
|
||||
if lab:
|
||||
best = None
|
||||
for it in its:
|
||||
t = it.get('text', '').strip()
|
||||
if t.isdigit() and len(t) >= 3:
|
||||
dy = it.get('y', 0) - lab.get('y', 0)
|
||||
dx = abs(it.get('x', 0) - lab.get('x', 0))
|
||||
if 0 < dy < 70 and dx < 130:
|
||||
best = int(t)
|
||||
if best is not None:
|
||||
votes[best] = votes.get(best, 0) + 1
|
||||
if votes[best] >= 2:
|
||||
return best
|
||||
if attempt < reads - 1:
|
||||
time.sleep(pause)
|
||||
return None
|
||||
|
||||
|
||||
def lunacy_guard():
|
||||
"""狂气只许不降。用户明确要求狂气只能用于抽卡。
|
||||
|
||||
返回 (ok, 说明)。首次运行写入基线。
|
||||
"""
|
||||
cur = read_lunacy()
|
||||
if cur is None:
|
||||
return True, '读不到狂气余额, 跳过校验'
|
||||
base = None
|
||||
if os.path.exists(LUNACY_BASELINE):
|
||||
try:
|
||||
base = int(open(LUNACY_BASELINE, encoding='utf-8').read().strip())
|
||||
except ValueError:
|
||||
base = None
|
||||
if base is None:
|
||||
with open(LUNACY_BASELINE, 'w', encoding='utf-8') as f:
|
||||
f.write(str(cur))
|
||||
return True, '记录狂气基线 %d' % cur
|
||||
if cur < base:
|
||||
return False, '狂气从 %d 降到 %d —— 已消耗, 立即停止' % (base, cur)
|
||||
if cur > base:
|
||||
with open(LUNACY_BASELINE, 'w', encoding='utf-8') as f:
|
||||
f.write(str(cur))
|
||||
return True, '狂气 %d -> %d (增加, 更新基线)' % (base, cur)
|
||||
return True, '狂气 %d 未变' % cur
|
||||
|
||||
|
||||
def main(argv=None):
|
||||
global _log_file
|
||||
ap = argparse.ArgumentParser(description='一轮: 刷材料 -> 镜牢 -> 升级/同步')
|
||||
ap.add_argument('--mirror', type=int, default=0, help='本轮镜牢局数, 默认 0')
|
||||
ap.add_argument('--target', type=int, default=34, help='把队内人格升到的等级')
|
||||
ap.add_argument('--retries', type=int, default=STALL_RETRIES, help='AALC 卡死后重跑次数')
|
||||
ap.add_argument('--report-dir', default=DEFAULT_REPORT_DIR)
|
||||
args = ap.parse_args(argv)
|
||||
|
||||
os.makedirs(args.report_dir, exist_ok=True)
|
||||
base = os.path.join(args.report_dir, 'cycle_' + time.strftime('%Y%m%d_%H%M%S'))
|
||||
_log_file = base + '.log'
|
||||
t_start = time.time()
|
||||
steps = []
|
||||
|
||||
def step(name, ok, info):
|
||||
steps.append({'step': name, 'ok': ok, 'info': info, 'at': time.strftime('%H:%M:%S')})
|
||||
log('%s: %s (%s)' % (name, 'OK' if ok else 'FAIL', info))
|
||||
return ok
|
||||
|
||||
def finish(code, why):
|
||||
log('=== %s, 耗时 %ds ===' % (why, int(time.time() - t_start)))
|
||||
report = {'ok': code == 0, 'result': why, 'started': time.strftime(
|
||||
'%Y-%m-%d %H:%M:%S', time.localtime(t_start)), 'elapsed_s': int(time.time() - t_start),
|
||||
'args': vars(args), 'steps': steps, 'log': _log_file}
|
||||
with open(base + '.json', 'w', encoding='utf-8') as f:
|
||||
json.dump(report, f, ensure_ascii=False, indent=2)
|
||||
return code
|
||||
|
||||
log('=== 一轮开始 ===')
|
||||
if not step('狂气校验', *lunacy_guard()):
|
||||
return finish(1, '中止: 狂气被消耗, 按用户要求不得使用')
|
||||
|
||||
# 先把预设列表拉回顶部并选中 TEAMS #1——AALC 只朝列表下方找, 停在底部会找不到
|
||||
if not ensure_team1():
|
||||
log('[warn] 未能确认选中 TEAMS #1, 继续尝试')
|
||||
|
||||
ok, info = run_aalc('daily', {}, DAILY_TIMEOUT_S, args.retries)
|
||||
if info == 'RESOURCE_OUT':
|
||||
# 体力/模组见底, Luxcavation 打不了。这不是故障, 是资源周期 —— 体力和燃料
|
||||
# 都会自然恢复, 下一轮(计划任务 2.5 小时后再来)通常就能继续。空转没有意义。
|
||||
step('刷材料', False, '体力/模组不足, 本轮跳过')
|
||||
log('[warn] 体力或模组见底, 本轮不再刷材料; 等自然恢复后下一轮继续')
|
||||
return finish(0, '一轮结束(资源不足, 跳过刷取)')
|
||||
if not step('刷材料', ok, info):
|
||||
return finish(1, '本轮失败: 刷材料未成功')
|
||||
|
||||
if args.mirror > 0:
|
||||
# 镜牢掉落自我碎片, 同步到 IV 阶要用
|
||||
ok, info = run_aalc('mirror', {'count': args.mirror},
|
||||
MIRROR_TIMEOUT_S * args.mirror, args.retries)
|
||||
if not step('镜牢 x%d' % args.mirror, ok, info):
|
||||
log('[warn] 镜牢未完成, 继续升级')
|
||||
|
||||
# AALC 任务结束后在主界面, 这里才是能读到 LUNACY 的时机
|
||||
time.sleep(8)
|
||||
if not step('狂气校验(刷后)', *lunacy_guard()):
|
||||
return finish(1, '中止: 狂气被消耗, 按用户要求不得使用')
|
||||
|
||||
if not goto_identities():
|
||||
# 镜牢超时被强杀时游戏还停在副本里, 这时进不去网格是正常的, 不是缺陷。
|
||||
# 刷取本身已经发生, 不该因为附加的升级环节把整轮判死 —— 下一轮 AALC
|
||||
# 的 back_init_menu 会自行把游戏带回主界面。
|
||||
step('进入 Identities 网格', False, '找不到网格(可能仍停在镜牢内), 跳过升级')
|
||||
log('[warn] 进不去网格, 跳过升级; 下一轮的 AALC 会自行回到主界面')
|
||||
return finish(0, '一轮结束(跳过升级)')
|
||||
log('升级前:\n' + report_grid())
|
||||
|
||||
log('对队内低于 Lv.%d 的人格升级 + 同步' % args.target)
|
||||
# 用 progress 而非 weakest: 网格 OCR 会把 LV14 读成 Lv.1,
|
||||
# progress 会逐个打开详情页以真实等级判断目标。
|
||||
out = run([PY, '-X', 'utf8', LEVELUP, 'progress', str(args.target), '--uptie'])
|
||||
lines = out.strip().splitlines()
|
||||
for line in lines:
|
||||
log(' ' + line)
|
||||
step('升级/同步', not any('FAIL' in l for l in lines),
|
||||
'; '.join(l.strip() for l in lines if '升级:' in l or '同步:' in l) or '无需升级')
|
||||
|
||||
time.sleep(5)
|
||||
if not goto_identities():
|
||||
# 同上: 升级结果已经拿到, 回不到网格只影响下一轮的起点
|
||||
step('回到网格', False, '升级后无法回到网格, 不影响本轮产出')
|
||||
log('[warn] 升级后回不到网格')
|
||||
else:
|
||||
log('升级后:\n' + report_grid())
|
||||
return finish(0, '一轮结束')
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
raise SystemExit(main())
|
||||
+46
-29
@@ -1,16 +1,18 @@
|
||||
"""Bounded Win Rate batches through MCP, with a fresh UI check per turn."""
|
||||
import argparse
|
||||
import json
|
||||
import math
|
||||
import os
|
||||
import time
|
||||
from mcp_session import Session
|
||||
from pathlib import Path
|
||||
from mcp_session import Session, SessionCancelled, SessionTimeout
|
||||
from game_scenes import battle_is_terminal, battle_is_visible
|
||||
|
||||
STOP_FILE = Path(os.environ.get('LC_JEV_HOME', str(Path.home() / 'lc_mcp' / 'jev'))) / 'JEV_STOP'
|
||||
|
||||
|
||||
def is_terminal(state):
|
||||
texts = [item['text'].replace(' ', '') for item in state.get('items', [])]
|
||||
return any(text.upper() in ('VICTORY', 'DEFEAT') or
|
||||
any(marker in text for marker in ('正在探索', '获得E.G.O饰品', '选择主题卡包',
|
||||
'开始战斗', '选择一位罪人', '选项事件'))
|
||||
for text in texts)
|
||||
return battle_is_terminal(state)
|
||||
|
||||
|
||||
def main():
|
||||
@@ -18,32 +20,47 @@ def main():
|
||||
parser.add_argument('--seconds', type=float, default=40)
|
||||
parser.add_argument('--battle-confirmed', action='store_true')
|
||||
args = parser.parse_args()
|
||||
if not math.isfinite(args.seconds) or args.seconds <= 0:
|
||||
parser.error('--seconds must be finite and positive')
|
||||
deadline = time.monotonic() + min(50, max(1, args.seconds))
|
||||
pairs = 0
|
||||
with Session(raise_on_error=False) as client:
|
||||
state = client.call('get_state')
|
||||
texts = ' '.join(item['text'] for item in state.get('items', []))
|
||||
active = args.battle_confirmed or any(marker in texts.upper() for marker in ('WAVE', 'TURN', 'DURANTE', '胜率', '伤害'))
|
||||
while time.monotonic() < deadline:
|
||||
# 战斗特写会隐藏 HUD;只有明确的结算/地图/选项信号才退出。
|
||||
if not active or is_terminal(state):
|
||||
break
|
||||
# P cycles between Win Rate and Damage in current game versions.
|
||||
# Only start a turn when its explicit Win Rate control is visible.
|
||||
labels = [item['text'].replace(' ', '').lower()
|
||||
for item in state.get('items', [])]
|
||||
target = next((item['text'] for item in state.get('items', [])
|
||||
if item['text'].replace(' ', '').lower()
|
||||
in ('win', 'winrate', '胜率')), None)
|
||||
if target and any(label in ('turn', 'wave', '回合', '波次') for label in labels):
|
||||
selected = client.call('click_text', {'text': target})
|
||||
if selected.get('ok'):
|
||||
time.sleep(.5)
|
||||
client.call('keypress', {'key': 'enter'})
|
||||
pairs += 1
|
||||
time.sleep(2.5)
|
||||
state = {}
|
||||
def cancelled():
|
||||
return STOP_FILE.exists() or time.monotonic() >= deadline
|
||||
try:
|
||||
if cancelled():
|
||||
raise SessionCancelled('Battle batch stopped before connecting')
|
||||
with Session(cancelled=cancelled, raise_on_error=False) as client:
|
||||
state = client.call('get_state')
|
||||
print(json.dumps({'pairs': pairs, 'state': state}, ensure_ascii=False))
|
||||
active = args.battle_confirmed or battle_is_visible(state)
|
||||
while not cancelled():
|
||||
# Cinematics hide the HUD; explicit scene boundaries end combat.
|
||||
if not state.get('ok') or not active or is_terminal(state):
|
||||
break
|
||||
# P cycles between Win Rate and Damage in current game versions.
|
||||
# Only start a turn when its explicit Win Rate control is visible.
|
||||
items = state.get('items', [])
|
||||
labels = [item['text'].replace(' ', '').lower() for item in items]
|
||||
target = next((item['text'] for item, label in zip(items, labels)
|
||||
if label in ('win', 'winrate', '胜率')), None)
|
||||
# OCR 常把回合数连在一起(如 'WAVE 1' -> 'wave1'), 用包含匹配
|
||||
if target and any(m in label for label in labels for m in ('turn', 'wave', '回合', '波次')):
|
||||
selected = client.call('click_text', {'text': target})
|
||||
if selected.get('ok'):
|
||||
time.sleep(.5)
|
||||
if cancelled():
|
||||
raise SessionCancelled('Battle batch stopped between Win Rate and Enter')
|
||||
client.call('keypress', {'key': 'enter'})
|
||||
pairs += 1
|
||||
time.sleep(min(2.5, max(0, deadline - time.monotonic())))
|
||||
if cancelled():
|
||||
break
|
||||
state = client.call('get_state')
|
||||
result = {'pairs': pairs, 'state': state, 'stopped': cancelled()}
|
||||
except (SessionCancelled, SessionTimeout) as error:
|
||||
result = {'pairs': pairs, 'state': state, 'stopped': True,
|
||||
'error': str(error), 'outcome_unknown': error.outcome_unknown}
|
||||
print(json.dumps(result, ensure_ascii=False))
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
||||
@@ -0,0 +1,784 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
"""到点启动游戏 -> 把体力合成成模块 -> 关掉游戏。不跑任何战斗任务。
|
||||
|
||||
用法: python convert_modules.py [--keep-game] [--start-timeout S]
|
||||
退出码: 0 完成(含"体力不够, 无需合成") / 1 失败
|
||||
|
||||
为什么要单独一个脚本:
|
||||
用户要的是"挂机等体力恢复, 攒模块", 但**不要打任何关卡**。AALC 的
|
||||
make_enkephalin_module 是挂在 Luxcavation 流程里的(打完一次才顺手换一次),
|
||||
没有独立的入口, 所以这里直接用界面操作, 不经过 AALC 的任务系统。
|
||||
|
||||
界面流程(1600x900 基准坐标, lc_ui 负责换算到实际客户区):
|
||||
主界面 -> 点模组图标 -> 弹出 Charge Enkephalin
|
||||
-> 页签 [Modules] / [Use Lunacy] / [Use Boxes]
|
||||
-> 停在 Modules(免费合成) -> 点 » 取最大 -> Confirm
|
||||
-> 体力 -20 换 1 模块
|
||||
|
||||
硬规则(用户明确要求):
|
||||
1. **绝不消费狂气**。Use Lunacy 页签的坐标 USE_LUNACY_TAB 在代码里只用于
|
||||
"确认自己没点到它", 任何点击路径都不会碰它。
|
||||
2. **不打任何关卡**。全程只碰底栏模组图标和合成面板。
|
||||
3. 合成前后各读一次狂气, 不一致就报错退出(宁可不合成, 也不冒险)。
|
||||
"""
|
||||
import argparse
|
||||
import json
|
||||
import os
|
||||
import subprocess
|
||||
import sys
|
||||
import time
|
||||
|
||||
from lc_ui import HERE, click, items, keypress, probe, screen_text
|
||||
|
||||
GAME_EXE = r'D:\SteamLibrary\steamapps\common\Limbus Company\LimbusCompany.exe'
|
||||
GAME_PROC = 'LimbusCompany'
|
||||
REPO = os.path.dirname(HERE) if os.path.basename(HERE) == 'scripts' else HERE
|
||||
PYW = os.path.join(REPO, 'vendor', 'aalc', '.venv', 'Scripts', 'pythonw.exe')
|
||||
SERVER_PORT = 8765
|
||||
|
||||
# --- 坐标(1600x900 基准; lc_ui 会换算到真实客户区) ---
|
||||
# 合成面板有三个页签, 从左到右: Modules / Use Lunacy / Use Boxes
|
||||
# Modules (619,283) 免费合成, 本项目只走这条
|
||||
# Use Lunacy(797,283) ⛔ 花狂气, 绝对不许点
|
||||
# Use Boxes (957,283) 用体力箱, 本项目不用 —— 不定义常量: 定义了却没人用
|
||||
# 会让人以为某条路径处理了它, 死代码比没有更糟
|
||||
MODULE_ICON = (390, 805) # 主界面底栏, 绿胶囊图标(点开合成面板)
|
||||
TAB_MODULES = (619, 283) # 免费合成页签
|
||||
USE_LUNACY_TAB = (797, 283) # ⛔ 绝对不许点
|
||||
BTN_MAX = (1019, 413) # »: 取当前能合成的最大数量
|
||||
BTN_CONFIRM = (943, 671) # 确认合成
|
||||
BTN_CANCEL = (656, 670) # 取消 / 关闭面板
|
||||
|
||||
MAIN_MENU_MARKERS = ('Window', 'Sinners', 'Drive', 'Theater', 'Extract', 'Dispense')
|
||||
PANEL_MARKER = 'Charge Enkephalin'
|
||||
|
||||
LOG_DIR = os.path.expanduser(os.path.join('~', 'lc_mcp', 'modules'))
|
||||
LOG_FILE = os.path.join(LOG_DIR, 'convert.log')
|
||||
_result = {}
|
||||
|
||||
|
||||
def log(msg):
|
||||
line = '[%s] %s' % (time.strftime('%Y-%m-%d %H:%M:%S'), msg)
|
||||
print(line, flush=True)
|
||||
try:
|
||||
os.makedirs(LOG_DIR, exist_ok=True)
|
||||
with open(LOG_FILE, 'a', encoding='utf-8') as f:
|
||||
f.write(line + '\n')
|
||||
except OSError:
|
||||
pass
|
||||
|
||||
|
||||
# ---------------------------------------------------------------- MCP 服务
|
||||
|
||||
def server_listening(host='127.0.0.1', port=SERVER_PORT, timeout=1.0):
|
||||
import socket
|
||||
s = socket.socket()
|
||||
s.settimeout(timeout)
|
||||
try:
|
||||
s.connect((host, port))
|
||||
return True
|
||||
except OSError:
|
||||
return False
|
||||
finally:
|
||||
s.close()
|
||||
|
||||
|
||||
def ensure_server(timeout_s=90):
|
||||
"""确保 lc-mcp 的 TCP 服务在监听, 不在就拉起来。
|
||||
|
||||
值守场景下没人手动救它。虽然计划任务 LcMCPServer 配了 RestartCount=3,
|
||||
但那只在进程"崩溃"时生效; 服务没起来(或重启后没登录)时, 这边的合成会
|
||||
直接因为连不上而失败。自己拉一把最省事。
|
||||
"""
|
||||
if server_listening():
|
||||
return True
|
||||
log('MCP 服务(%d)未监听, 尝试拉起' % SERVER_PORT)
|
||||
try:
|
||||
subprocess.Popen([PYW, '-m', 'lc_mcp.server'], cwd=REPO, close_fds=True)
|
||||
except OSError as e:
|
||||
log('拉起服务失败: %s' % e)
|
||||
return False
|
||||
t0 = time.time()
|
||||
while time.time() - t0 < timeout_s:
|
||||
time.sleep(2)
|
||||
if server_listening():
|
||||
log('服务已就绪 (%.0fs)' % (time.time() - t0))
|
||||
return True
|
||||
log('等服务就绪超时(%ds)' % timeout_s)
|
||||
return False
|
||||
|
||||
|
||||
# ---------------------------------------------------------------- 桌面渲染
|
||||
|
||||
def render_ok():
|
||||
"""桌面是否在出图(BitBlt 能否成功)。"""
|
||||
from ctypes import windll
|
||||
u, g = windll.user32, windll.gdi32
|
||||
hdc = u.GetDC(0)
|
||||
mem = g.CreateCompatibleDC(hdc)
|
||||
bmp = g.CreateCompatibleBitmap(hdc, 64, 64)
|
||||
g.SelectObject(mem, bmp)
|
||||
r = g.BitBlt(mem, 0, 0, 64, 64, hdc, 0, 0, 0x00CC0020)
|
||||
g.DeleteObject(bmp)
|
||||
g.DeleteDC(mem)
|
||||
u.ReleaseDC(0, hdc)
|
||||
return bool(r)
|
||||
|
||||
|
||||
def parse_session_table(text):
|
||||
"""解析 `query session` 的输出。
|
||||
|
||||
实测格式(注意: 成功时返回码也是 1, 不能拿返回码判断成败):
|
||||
SESSIONNAME USERNAME ID STATE TYPE DEVICE
|
||||
services 0 Disc
|
||||
>console YWS-HHH 1 Active
|
||||
31c5ce94259d4... 65536 Listen
|
||||
rdp-tcp 65537 Listen
|
||||
|
||||
行首的 '>' 标出**当前**会话。用户从 RDP 连进来时会变成:
|
||||
>rdp-tcp#70 YWS-HHH 1 Active
|
||||
console 3 Conn
|
||||
这时物理 console 的画面是空的, BitBlt 采集不到东西。
|
||||
"""
|
||||
current = rdp_active = console = None
|
||||
for line in text.splitlines():
|
||||
raw = line.rstrip()
|
||||
stripped = raw.strip()
|
||||
if not stripped or stripped.lower().startswith('sessionname'):
|
||||
continue
|
||||
is_current = raw.lstrip().startswith('>')
|
||||
parts = stripped.lstrip('>').split()
|
||||
if len(parts) < 3:
|
||||
continue
|
||||
name = parts[0]
|
||||
# ID 列: 从后往前找第一个纯数字, 比按固定列切更耐得住用户名带空格
|
||||
sid = None
|
||||
for tok in parts[1:]:
|
||||
if tok.isdigit():
|
||||
sid = tok
|
||||
break
|
||||
state = 'Active' if 'active' in stripped.lower() else (
|
||||
'Disc' if 'disc' in stripped.lower() else '')
|
||||
if is_current:
|
||||
current = name
|
||||
if name.startswith('rdp-tcp#') and state == 'Active':
|
||||
rdp_active = name
|
||||
if name == 'console':
|
||||
console = sid
|
||||
return {'current': current, 'rdp_active': rdp_active, 'console': console}
|
||||
|
||||
|
||||
def session_state():
|
||||
"""查当前会话归属, 用于把"截不到图"的原因说清楚。
|
||||
|
||||
实测两种都会让 BitBlt 失败, 但性质完全不同:
|
||||
* 会话掉到 Disc -> 看门狗能把它挂回 console, 自愈
|
||||
* RDP 会话 Active 占着显示 -> console 画面是空的, 看门狗**不会动**(它只看 Disc)
|
||||
不区分的话日志里只会留一句"会话被断开", 排查时会被带偏。
|
||||
"""
|
||||
try:
|
||||
out = subprocess.run(['query', 'session'], capture_output=True, text=True,
|
||||
errors='ignore', timeout=20).stdout
|
||||
except (OSError, subprocess.SubprocessError):
|
||||
return None
|
||||
if not isinstance(out, str):
|
||||
# 拿到的不是文本就别硬解析 —— 这只是诊断信息, 不值得为它炸掉整轮
|
||||
return None
|
||||
st = parse_session_table(out)
|
||||
return st if any(st.values()) else None
|
||||
|
||||
|
||||
def ensure_display(timeout_s=90):
|
||||
"""确认桌面在出图, 不在就先跑看门狗把它挂回来。
|
||||
|
||||
为什么这轮必须自己做: RDP 断开时 Windows 会把显示表面拆掉, 截图全黑,
|
||||
之后所有模板匹配和 OCR 都是瞎的。看门狗 LcKeepDisplay 每分钟修一次, 但
|
||||
整轮合成只跑 3 分钟左右 —— 断线正好落在这 3 分钟里的话, 这一轮必然失败,
|
||||
而下一轮要等 4 小时。实测 2026-10-16 一天内会话掉了两次, 不是小概率。
|
||||
"""
|
||||
if render_ok():
|
||||
return True
|
||||
st = session_state()
|
||||
if st and st.get('rdp_active'):
|
||||
# RDP 会话 Active 时 console 画面是空的, 看门狗按设计不会动它(它只处理 Disc)。
|
||||
# 硬把它踢到 console 会把正在用的人踢下线, 所以这里只报告, 不擅自动手。
|
||||
log('桌面未在出图, 而 RDP 会话 %s 处于 Active(占着显示) —— '
|
||||
'看门狗只处理 Disc, 这种情况要人工把 RDP 断开; 本轮跳过' % st['rdp_active'])
|
||||
return False
|
||||
log('桌面未在出图(BitBlt 失败), 跑看门狗把显示挂回 console'
|
||||
+ ('(会话状态: %s)' % st if st else ''))
|
||||
watchdog = os.path.join(HERE, 'keep_display.ps1')
|
||||
try:
|
||||
subprocess.run(['powershell.exe', '-NoProfile', '-ExecutionPolicy', 'Bypass',
|
||||
'-File', watchdog], capture_output=True, text=True,
|
||||
errors='ignore', timeout=120)
|
||||
except (OSError, subprocess.SubprocessError) as e:
|
||||
log('看门狗执行失败: %s' % e)
|
||||
t0 = time.time()
|
||||
while time.time() - t0 < timeout_s:
|
||||
time.sleep(3)
|
||||
if render_ok():
|
||||
log('显示已恢复 (%.0fs)' % (time.time() - t0))
|
||||
return True
|
||||
log('显示仍未恢复, 这轮大概会失败')
|
||||
return False
|
||||
|
||||
|
||||
# ---------------------------------------------------------------- 屏幕判定
|
||||
|
||||
def screen():
|
||||
return screen_text(items())
|
||||
|
||||
|
||||
def on_main_menu(txt):
|
||||
return sum(1 for m in MAIN_MENU_MARKERS if m in txt) >= 4
|
||||
|
||||
|
||||
def panel_open(txt):
|
||||
return PANEL_MARKER in txt
|
||||
|
||||
|
||||
# ---------------------------------------------------------------- 狂气
|
||||
|
||||
LABEL_KEY = 'NACY' # 见下: LUNACY 的首字母常被 OCR 吃掉, 只认后半段
|
||||
|
||||
|
||||
def find_lunacy_label():
|
||||
"""找狂气标签所在的那个 OCR 元素。
|
||||
|
||||
⛔ 实测坑(2026-10-16 11:11): OCR 把 "LUNACY" 读成了 **"UNACY"** —— 首字母 L
|
||||
被吃掉了。而代码原本写的是 `'LUNACY' in text`, "UNACY" 不含 "LUNACY",
|
||||
于是每次都被判成"读不到", 狂气校验直接退化成 None -> 跳过比对, 防线形同虚设。
|
||||
(同一块底栏的体力却一直读得到, 所以只看日志很难发现。)
|
||||
|
||||
改成认后半段 "NACY": LUNACY / UNACY / 甚至 NACY 都能命中, 而这个词根
|
||||
在游戏界面里不会出现在别处。
|
||||
"""
|
||||
its = items()
|
||||
for it in its:
|
||||
if LABEL_KEY in it.get('text', '').upper():
|
||||
return it
|
||||
# 再退一步: 底栏那一带最靠左的短文本元素(标签位置很固定)
|
||||
near = [it for it in its
|
||||
if 775 < it.get('y', 0) < 815 and it.get('x', 0) < 700
|
||||
and (it.get('w') or 0) < 100]
|
||||
if near:
|
||||
return sorted(near, key=lambda it: it.get('x', 0))[-1]
|
||||
return None
|
||||
|
||||
|
||||
def read_lunacy(reads=5, pause=1.0):
|
||||
"""读狂气余额, 取多次读数的众数。
|
||||
|
||||
两个实测坑:
|
||||
1. 标签首字母会被 OCR 吃掉(LUNACY -> UNACY), 所以不能整词匹配, 见 find_lunacy_label。
|
||||
2. 数字是像素风艺术字, OCR 很容易把 6 认成 9、3 认成 8 —— 实测同一个画面上
|
||||
真实 6636 会被读成 9699、真实 6388 被读成 8859。所以取众数, 并且合成前后
|
||||
各读一次做**相对**比对(同一画面同一字体, 误读方式一致), 这样即使绝对值
|
||||
读错, 也能发现"数字变了"。
|
||||
"""
|
||||
votes = {}
|
||||
for i in range(reads):
|
||||
its = items()
|
||||
lab = find_lunacy_label()
|
||||
if lab:
|
||||
best = None
|
||||
for it in its:
|
||||
t = it.get('text', '').strip()
|
||||
if t.isdigit() and len(t) >= 3:
|
||||
dy = it.get('y', 0) - lab.get('y', 0)
|
||||
dx = abs(it.get('x', 0) - lab.get('x', 0))
|
||||
if 0 < dy < 70 and dx < 130:
|
||||
best = int(t)
|
||||
if best is not None:
|
||||
votes[best] = votes.get(best, 0) + 1
|
||||
if votes[best] >= 2:
|
||||
return best
|
||||
if i < reads - 1:
|
||||
time.sleep(pause)
|
||||
return None
|
||||
|
||||
|
||||
# 狂气那个数字的 OCR 读法**不稳定**: 同一个真值(6636)实测被读成过
|
||||
# 6636 / 9699 / 6388 / 8859 —— 艺术字加抗锯齿, 同一画面连读几次都可能不一样。
|
||||
#
|
||||
# ⛔ 所以最初那套"前后读数不同 = 真的变了"是错的(2026-10-16 22:03 误报过一次:
|
||||
# 前 6636 后 9699, 复读仍是 9699, 于是报了"狂气读数发生变化" —— 但那一轮脚本
|
||||
# 只点了模组图标和面板内的 » / 确认, 根本没碰 Use Lunacy 页签, 没有任何消费)。
|
||||
#
|
||||
# 能站得住的判断只有两种:
|
||||
# * 后读数落在"已知读法"集合里 -> 视为没变(可能只是换了个误读法)
|
||||
# * 后读数不在集合里 -> 出现了从没见过的值, 值得人工看一眼
|
||||
# 真正的防线是结构性的(只点 Modules 页签, 且 Use Lunacy 坐标被测试盯着),
|
||||
# 这里只是补一层"数字有没有变成陌生值"的旁证。
|
||||
LUNACY_KNOWN_READINGS = (6636, 9699, 6388, 8859)
|
||||
|
||||
|
||||
def lunacy_verdict(before, after):
|
||||
"""返回 (是否可疑, 说明)。宁可说"不确定", 也不要把误读当消费。"""
|
||||
if before is None or after is None:
|
||||
return False, '读数不完整(%s -> %s), 本次未做比对' % (before, after)
|
||||
if before == after:
|
||||
return False, '前后读数一致 %s' % after
|
||||
if after in LUNACY_KNOWN_READINGS:
|
||||
return False, ('前后读法不同(%s -> %s), 但 %s 是已知读法之一, 判为 OCR 抖动, '
|
||||
'不算消费' % (before, after, after))
|
||||
return True, ('读数 %s -> %s, 而 %s 不在已知读法 %s 里, 需人工核查'
|
||||
% (before, after, after, list(LUNACY_KNOWN_READINGS)))
|
||||
|
||||
|
||||
def read_owned(retries=3, pause=2.0):
|
||||
"""从合成面板上读 'Owned NN'(当前模组数量)。读不到返回 None。
|
||||
|
||||
这个读数是判断"到底换到没有"的依据, 所以第一次没读到要再试几次 ——
|
||||
面板刚打开时数字还在刷新, 单次读容易拿到 None。
|
||||
"""
|
||||
for i in range(retries):
|
||||
v = _read_owned_once()
|
||||
if v is not None:
|
||||
return v
|
||||
if i < retries - 1:
|
||||
time.sleep(pause)
|
||||
return None
|
||||
|
||||
|
||||
def _read_owned_once():
|
||||
import re
|
||||
its = items()
|
||||
for it in its:
|
||||
m = re.search(r'Owned\s*(\d+)', it.get('text', ''), re.I)
|
||||
if m:
|
||||
return int(m.group(1))
|
||||
# OCR 有可能会把 'Owned 23' 拆开, 退一步找面板里的裸数字
|
||||
for it in its:
|
||||
t = it.get('text', '').strip()
|
||||
if t.isdigit() and 300 < it.get('y', 0) < 360:
|
||||
return int(t)
|
||||
return None
|
||||
|
||||
|
||||
ENKEPHALIN_PER_MODULE = 20
|
||||
|
||||
|
||||
def read_enkephalin():
|
||||
"""读主界面底栏的体力 'x/126'。读不到返回 None。
|
||||
|
||||
只认 y>700 的读数 —— 合成面板里也有一个 x/126(那是"合成后"的预览值),
|
||||
用高度把它排除掉, 免得把预览当余额。
|
||||
"""
|
||||
import re
|
||||
for it in items():
|
||||
t = it.get('text', '').replace(' ', '')
|
||||
m = re.search(r'(\d{1,4})/126', t)
|
||||
if m and it.get('y', 0) > 700:
|
||||
return int(m.group(1))
|
||||
return None
|
||||
|
||||
|
||||
# ---------------------------------------------------------------- 游戏进程
|
||||
|
||||
def game_running():
|
||||
out = subprocess.run(['tasklist', '/FI', 'IMAGENAME eq %s.exe' % GAME_PROC],
|
||||
capture_output=True, text=True, errors='ignore')
|
||||
return GAME_PROC.lower() in (out.stdout or '').lower()
|
||||
|
||||
|
||||
# ---------------------------------------------------------------- 窗口尺寸
|
||||
|
||||
def _find_hwnd():
|
||||
from ctypes import windll
|
||||
return windll.user32.FindWindowW(None, 'LimbusCompany')
|
||||
|
||||
|
||||
def _client_size(hwnd):
|
||||
from ctypes import windll, wintypes
|
||||
r = wintypes.RECT()
|
||||
windll.user32.GetClientRect(hwnd, __import__('ctypes').byref(r))
|
||||
return r.right - r.left, r.bottom - r.top
|
||||
|
||||
|
||||
def _move_window(hwnd, width, height, cur):
|
||||
"""把窗口调到客户区正好 width x height。"""
|
||||
from ctypes import windll, wintypes, byref
|
||||
wr = wintypes.RECT()
|
||||
windll.user32.GetWindowRect(hwnd, byref(wr))
|
||||
# 边框/标题栏占掉的差值 = 窗口尺寸 - 客户区尺寸
|
||||
frame_w = (wr.right - wr.left) - cur[0]
|
||||
frame_h = (wr.bottom - wr.top) - cur[1]
|
||||
windll.user32.MoveWindow(hwnd, wr.left, wr.top,
|
||||
width + frame_w, height + frame_h, True)
|
||||
|
||||
|
||||
def ensure_window_size(width, height, find=None, client=None, resize=None):
|
||||
"""把游戏客户区调成 width x height, 返回调完后的 (w, h)。
|
||||
|
||||
为什么要管这个: RDP 断线重连会把窗口改小(实测 1600x900 -> 1278x719), 之后
|
||||
OCR 质量明显下降 —— 连底栏的 LUNACY 标签都读不出来, 狂气校验直接变成
|
||||
"读不到, 跳过"。AALC 自己的 WindowGuard 只在跑任务时才生效, 而这个脚本
|
||||
不跑任务, 所以得自己调。
|
||||
|
||||
find/client/resize 可注入, 便于测试 —— 默认走 ctypes 真实实现。
|
||||
"""
|
||||
find = find or _find_hwnd
|
||||
client = client or _client_size
|
||||
resize = resize or _move_window
|
||||
hwnd = find()
|
||||
if not hwnd:
|
||||
return None
|
||||
cur = client(hwnd)
|
||||
if cur == (width, height):
|
||||
return cur # 已经对了就别动它
|
||||
resize(hwnd, width, height, cur)
|
||||
time.sleep(2)
|
||||
after = client(hwnd)
|
||||
log('窗口客户区 %sx%s -> %sx%s (目标 %sx%s)' % (cur + after + (width, height)))
|
||||
return after
|
||||
|
||||
|
||||
def launch_game(timeout_s=240, tries=3):
|
||||
"""启动游戏, 分几次尝试。
|
||||
|
||||
⛔ 2026-10-17 02:03 实测: 那一轮 exe 起来就退了 —— Steam 的 content_log 里
|
||||
02:0x 毫无记录(上一轮 22:03:43 有 "App Running"), 应用事件日志也没有报错,
|
||||
游戏进程始终没出现。而 13 分钟后我手动启动, 5 秒就起来了。
|
||||
时间线上, 01:49 刚发生过一次会话断开重连, Steam 的 webhelper 直到 02:16 才恢复活动。
|
||||
|
||||
原来的写法是"点一次火, 干等 240 秒", 碰上一次静默失败就白丢一整轮(这轮体力白攒)。
|
||||
改成多次尝试 —— 中间隔一会儿再来一次, 大多数瞬时故障都能靠这个救回来。
|
||||
"""
|
||||
if game_running():
|
||||
log('游戏已在运行')
|
||||
return True
|
||||
log('Steam 进程数: %d' % len([p for p in _popen_psutil('steam')]))
|
||||
each = max(40, timeout_s // max(1, tries))
|
||||
for i in range(tries):
|
||||
log('启动游戏(第 %d/%d 次, 每次等 %ds): %s' % (i + 1, tries, each, GAME_EXE))
|
||||
subprocess.Popen([GAME_EXE], close_fds=True)
|
||||
t0 = time.time()
|
||||
while time.time() - t0 < each:
|
||||
time.sleep(5)
|
||||
if game_running():
|
||||
log('游戏进程已出现 (%.0fs)' % (time.time() - t0))
|
||||
return True
|
||||
log(' 这一次没等到游戏进程')
|
||||
log('游戏启动超时(试了 %d 次)' % tries)
|
||||
return False
|
||||
|
||||
|
||||
def _popen_psutil(name):
|
||||
"""按进程名查进程(只用于日志, 失败返回空)。"""
|
||||
try:
|
||||
out = subprocess.run(['tasklist', '/FI', 'IMAGENAME eq %s.exe' % name],
|
||||
capture_output=True, text=True, errors='ignore').stdout
|
||||
return [l for l in out.splitlines() if l.lower().startswith(name.lower())]
|
||||
except OSError:
|
||||
return []
|
||||
|
||||
|
||||
def close_game(graceful_s=20):
|
||||
"""关游戏。先好好关, 关不掉再强杀。
|
||||
|
||||
⛔ 原来是一上来就 taskkill /F。2026-10-17 发现一次可疑的"换到的模块没保留":
|
||||
18:10 合成后 31 -> 33
|
||||
22:05 合成前 33, 合成后 33 -> 35 (消耗了 40 点体力)
|
||||
06:04 合成前 **33** <- 22:05 那两个模块不见了
|
||||
原因没查明(也可能是人手动用掉了), 但强制结束本来就有丢未保存状态的风险,
|
||||
换成优雅关闭成本很低, 顺手把这条路堵上。
|
||||
|
||||
步骤: 先只发关闭请求(taskkill 不带 /F), 等它自己退; 超时再强杀。
|
||||
"""
|
||||
if not game_running():
|
||||
log('游戏未在运行')
|
||||
return
|
||||
subprocess.run(['taskkill', '/IM', '%s.exe' % GAME_PROC],
|
||||
capture_output=True, text=True, errors='ignore')
|
||||
t0 = time.time()
|
||||
while time.time() - t0 < graceful_s:
|
||||
time.sleep(2)
|
||||
if not game_running():
|
||||
log('游戏已正常关闭 (%.0fs)' % (time.time() - t0))
|
||||
return
|
||||
log(' 优雅关闭没成功, 改用强制结束')
|
||||
subprocess.run(['taskkill', '/IM', '%s.exe' % GAME_PROC, '/F'],
|
||||
capture_output=True, text=True, errors='ignore')
|
||||
time.sleep(3)
|
||||
log('游戏已关闭' if not game_running() else '游戏仍在运行(关闭失败)')
|
||||
|
||||
|
||||
def wait_main_menu(timeout_s=300):
|
||||
"""等游戏进到主界面。中途用 Enter/点击推进标题、剧情、公告。"""
|
||||
t0 = time.time()
|
||||
last = ''
|
||||
while time.time() - t0 < timeout_s:
|
||||
try:
|
||||
txt = screen()
|
||||
except Exception as e:
|
||||
log(' 读取画面失败(%s), 稍后再试' % type(e).__name__)
|
||||
time.sleep(8)
|
||||
continue
|
||||
if on_main_menu(txt):
|
||||
log('已进入主界面')
|
||||
return True
|
||||
if txt != last:
|
||||
log(' 等待中: %s' % txt[:90])
|
||||
last = txt
|
||||
if 'DOWNLOADING' in txt.upper():
|
||||
time.sleep(10)
|
||||
continue
|
||||
# 标题/剧情/公告: 先点一下再按 Enter, 覆盖两种推进方式。
|
||||
# ⛔ 位置选屏幕中央而不是下方: 底栏 (800,830) 正好落在 Inventory 按钮里
|
||||
# (实测 OCR: Inventory @(759,834) w=91, 跨度 759~850)。上面虽然每轮都先
|
||||
# 查过"是不是主界面", 但画面恰在这一瞬切过去的话, 这一下就点在 Inventory
|
||||
# 上了 —— 后果不重(只是开个背包), 却会让循环卡在一个预期之外的界面上。
|
||||
click(800, 450)
|
||||
time.sleep(1.2)
|
||||
keypress('enter')
|
||||
time.sleep(2.0)
|
||||
log('等待主界面超时')
|
||||
return False
|
||||
|
||||
|
||||
# ---------------------------------------------------------------- 合成
|
||||
|
||||
def open_panel(tries=4):
|
||||
"""点开合成面板。成功返回 True。
|
||||
|
||||
点击后要等 UI 真的出来再截图判定 —— 实测立刻截图会拿到点击前的旧帧,
|
||||
于是误判成"点了没反应", 白折腾很多轮。
|
||||
"""
|
||||
for i in range(tries):
|
||||
txt = screen()
|
||||
if panel_open(txt):
|
||||
return True
|
||||
log(' 点模组图标 %s (第 %d 次)' % (MODULE_ICON, i + 1))
|
||||
click(*MODULE_ICON)
|
||||
time.sleep(3.5)
|
||||
return panel_open(screen())
|
||||
|
||||
|
||||
# 免费合成页签独有的问句 —— 这句话在别的页签上不会出现
|
||||
MODULES_QUESTION = 'assemble Enkephalin Modules'
|
||||
|
||||
|
||||
def on_modules_tab():
|
||||
"""确认停在 Modules(免费合成)页签。
|
||||
|
||||
⛔ 实测坑(2026-10-16 18:03): 原来只看"兑换区显示体力条 x/126", 但 OCR 会把相邻
|
||||
几行合并成一个元素(那次 "Enkephalin Module Owned 31" 的框高 38、宽 351, 把下面
|
||||
的 x/126 一起吞了), 于是判定失败 —— 整轮拒绝合成, 一个模块没换到。
|
||||
|
||||
现在认面板自己的问句 "Would you like to assemble Enkephalin Modules?":
|
||||
它只在免费页签出现, 而且实测单独成行、不会被合并吃掉。
|
||||
体力条那条留着当备用信号(两条任一成立即可)。
|
||||
|
||||
判不出来时返回 False, 调用方拒绝合成 —— 宁可漏一轮, 也不在不知道哪个页签上点确认。
|
||||
"""
|
||||
its = items()
|
||||
flat = ' '.join(it.get('text', '') for it in its).replace(' ', '')
|
||||
if MODULES_QUESTION.replace(' ', '') in flat:
|
||||
return True
|
||||
for it in its:
|
||||
if 470 < it.get('y', 0) < 560 and '/126' in it.get('text', '').replace(' ', ''):
|
||||
return True
|
||||
return False
|
||||
|
||||
|
||||
def convert_once(tries=2):
|
||||
"""打开面板 -> 取最大 -> 合成。返回 (ok, 说明, 合成数量)。
|
||||
|
||||
为什么默认重试一次: "点了确认但模组没变"有两种完全不同的原因 ——
|
||||
1. 游戏限制了本轮/本日能换的数量(正常)
|
||||
2. 界面这一次没响应(偶发, 重开面板通常就好了)
|
||||
只做一次的话分不清这两者, 而它们该有不同的处置。重试第二次仍然不变,
|
||||
就按"换不了"如实报告。
|
||||
"""
|
||||
last = '未尝试'
|
||||
for attempt in range(tries):
|
||||
if attempt:
|
||||
log(' 第一次没换到, 关掉面板重开再试一次')
|
||||
close_panel()
|
||||
time.sleep(3)
|
||||
ok, info, got = _convert_attempt()
|
||||
if ok:
|
||||
return ok, info, got
|
||||
last = info
|
||||
return False, last, 0
|
||||
|
||||
|
||||
def _convert_attempt():
|
||||
"""一次合成尝试。返回 (ok, 说明, 合成数量)。"""
|
||||
if not open_panel():
|
||||
return False, '打不开合成面板', 0
|
||||
|
||||
# 显式回到 Modules 页签。即使上一轮停在别处, 这一步也把它拨回来。
|
||||
click(*TAB_MODULES)
|
||||
time.sleep(2.0)
|
||||
if not on_modules_tab():
|
||||
return False, '确认不在 Modules(免费合成)页签, 为安全起见不合成', 0
|
||||
|
||||
before = read_owned()
|
||||
log(' 合成前模组: %s' % before)
|
||||
if before is None:
|
||||
# 读不到起点就无从判断有没有换到。这里**不能报成功** —— 那是假装验证过,
|
||||
# 和"狂气读不到就静默跳过"是同一类毛病。宁可不合成, 下一轮再来。
|
||||
return False, '读不到合成前的模组数, 无法确认结果, 本轮不合成', 0
|
||||
|
||||
click(*BTN_MAX)
|
||||
time.sleep(2.5)
|
||||
click(*BTN_CONFIRM)
|
||||
|
||||
# 面板会自己刷新 Owned。等它变大, 最多等 20 秒。
|
||||
t0 = time.time()
|
||||
while time.time() - t0 < 20:
|
||||
time.sleep(2.5)
|
||||
now = read_owned()
|
||||
if now is not None and now > before:
|
||||
return True, '模组 %d -> %d (+%d)' % (before, now, now - before), now - before
|
||||
|
||||
after = read_owned()
|
||||
if after is None:
|
||||
return False, '合成后读不到模组数, 无法确认结果(合成前为 %d)' % before, 0
|
||||
if after == before:
|
||||
# 走到这里时调用方已经确认体力 >= 20, 所以"体力不足"不是可能的原因,
|
||||
# 写进去只会把排查方向带偏。真实原因只有这两种。
|
||||
return False, ('点了确认但模组没变(%s): 可能已达兑换上限, 或界面没响应'
|
||||
% after), 0
|
||||
return True, '模组 %d -> %d (+%d)' % (before, after, after - before), after - before
|
||||
|
||||
|
||||
def close_panel():
|
||||
for _ in range(4):
|
||||
if not panel_open(screen()):
|
||||
return True
|
||||
click(*BTN_CANCEL)
|
||||
time.sleep(2.0)
|
||||
return not panel_open(screen())
|
||||
|
||||
|
||||
# ---------------------------------------------------------------- 主流程
|
||||
|
||||
def main(argv=None):
|
||||
ap = argparse.ArgumentParser(description='启动游戏 -> 体力合成模块 -> 关掉游戏')
|
||||
ap.add_argument('--keep-game', action='store_true', help='合成完不关游戏(调试用)')
|
||||
ap.add_argument('--start-timeout', type=int, default=300, help='等主界面的秒数')
|
||||
ap.add_argument('--report-dir', default=LOG_DIR)
|
||||
args = ap.parse_args(argv)
|
||||
|
||||
t_start = time.time()
|
||||
_result.update({'started': time.strftime('%Y-%m-%d %H:%M:%S'), 'steps': []})
|
||||
|
||||
def done(code, why):
|
||||
_result['ok'] = code == 0
|
||||
_result['result'] = why
|
||||
_result['elapsed_s'] = int(time.time() - t_start)
|
||||
os.makedirs(args.report_dir, exist_ok=True)
|
||||
p = os.path.join(args.report_dir, 'convert_%s.json' % time.strftime('%Y%m%d_%H%M%S'))
|
||||
with open(p, 'w', encoding='utf-8') as f:
|
||||
json.dump(_result, f, ensure_ascii=False, indent=2)
|
||||
log('=== %s (%s), 耗时 %ds ===' % (why, 'OK' if code == 0 else 'FAIL',
|
||||
int(time.time() - t_start)))
|
||||
return code
|
||||
|
||||
log('=== 开始: 体力换模块 ===')
|
||||
|
||||
if not ensure_server():
|
||||
return done(1, 'MCP 服务连不上, 也没能拉起来')
|
||||
# 断线会让截图全黑, 那之后什么都做不了 —— 先确认桌面在出图再动游戏
|
||||
if not ensure_display():
|
||||
return done(1, '桌面不在出图(会话被断开), 本轮跳过')
|
||||
if not launch_game():
|
||||
return done(1, '游戏启动失败')
|
||||
if not wait_main_menu(args.start_timeout):
|
||||
if not args.keep_game:
|
||||
close_game()
|
||||
return done(1, '等不到主界面')
|
||||
|
||||
# 窗口被 RDP 改小过的话先调回去, 否则底栏 OCR 会读不出来
|
||||
got_size = ensure_window_size(1600, 900)
|
||||
if got_size != (1600, 900):
|
||||
log('[warn] 客户区没能调到 1600x900(现为 %s), OCR 可能不稳定' % (got_size,))
|
||||
|
||||
time.sleep(3)
|
||||
# 刚进主界面时底栏还在淡入, 单次读常常是 None(实测 11:01 那次), 那样
|
||||
# 合成前后的相对比对就白做了。这里也重试几次。
|
||||
lunacy_before = None
|
||||
for _ in range(4):
|
||||
lunacy_before = read_lunacy()
|
||||
if lunacy_before is not None:
|
||||
break
|
||||
time.sleep(3)
|
||||
log('合成前狂气(OCR, 作相对比对用): %s' % lunacy_before)
|
||||
# 读到就记进报告 —— 后面可能因为体力不足提前收工, 那时这条读数不该丢。
|
||||
_result['lunacy_before'] = lunacy_before
|
||||
_result['converted'] = False
|
||||
|
||||
# 体力读数也要重试。单次读成 None 的话, 下面"体力不足就收工"这层判断会被
|
||||
# 整个跳过, 于是明明只是体力不够, 却要去点合成、最后报成 FAIL(退出码 1) ——
|
||||
# 给值守留下一条误导性的失败记录。
|
||||
enk = None
|
||||
for _ in range(4):
|
||||
enk = read_enkephalin()
|
||||
if enk is not None:
|
||||
break
|
||||
time.sleep(3)
|
||||
log('当前体力: %s/126 (合成 1 个模块需要 %d)' % (enk, ENKEPHALIN_PER_MODULE))
|
||||
if enk is None:
|
||||
log('[warn] 体力读数没拿到, 这轮按"不确定"处理, 不主动点合成')
|
||||
close_panel()
|
||||
if not args.keep_game:
|
||||
close_game()
|
||||
return done(0, '读不到体力读数, 本轮跳过(下一轮再试)')
|
||||
if enk < ENKEPHALIN_PER_MODULE:
|
||||
# 体力不够换一个模块 —— 这是正常情况(挂机等恢复), 不是失败。
|
||||
# 直接收工, 免得每轮都在计划任务里报错。
|
||||
close_panel()
|
||||
if not args.keep_game:
|
||||
close_game()
|
||||
return done(0, '体力不足(%s<%d), 本轮无需合成' % (enk, ENKEPHALIN_PER_MODULE))
|
||||
|
||||
ok, info, got = convert_once()
|
||||
_result['steps'].append({'step': '合成', 'ok': ok, 'info': info})
|
||||
_result['converted'] = bool(got)
|
||||
log('合成: %s (%s)' % ('OK' if ok else 'FAIL', info))
|
||||
|
||||
time.sleep(2)
|
||||
close_panel()
|
||||
# 关面板后画面要缓一下才稳定, 立刻读会得到 None(实测), 那样相对比对就白做了
|
||||
lunacy_after = None
|
||||
for _ in range(4):
|
||||
time.sleep(3)
|
||||
lunacy_after = read_lunacy()
|
||||
if lunacy_after is not None:
|
||||
break
|
||||
log('合成后狂气(OCR): %s' % lunacy_after)
|
||||
|
||||
# ⛔ 先记进报告再判 —— 22:03 那次是在判断之后才记, 结果告警分支提前 return,
|
||||
# 报告里 lunacy_after 留了个 None, 事后想复核这次读数都无从下手。
|
||||
# (和第 10 轮修过的"提前收工导致读数丢失"是同一个毛病, 这次犯在告警分支上。)
|
||||
_result['lunacy_before'] = lunacy_before
|
||||
_result['lunacy_after'] = lunacy_after
|
||||
_result['lunacy_checked'] = (lunacy_before is not None and lunacy_after is not None)
|
||||
|
||||
# ⛔ 这里原来是"前后读数不同就报违规", 已证明是错的(2026-10-16 22:03 误报):
|
||||
# 同一个真值 6636 的 OCR 读法本身就不固定(6636/9699/6388/8859 都出现过),
|
||||
# 所以"不同"完全可能只是换了个误读法。判据换成 lunacy_verdict():
|
||||
# 只有读到**从没见过的值**才算可疑, 已知读法之间的抖动不算。
|
||||
suspicious, why = lunacy_verdict(lunacy_before, lunacy_after)
|
||||
if suspicious:
|
||||
log(' [warn] %s' % why)
|
||||
if not args.keep_game:
|
||||
close_game()
|
||||
return done(1, '⚠️ %s' % why)
|
||||
log('狂气校验: %s' % why)
|
||||
if not args.keep_game:
|
||||
close_game()
|
||||
|
||||
if not ok:
|
||||
return done(1, '合成未成功: %s' % info)
|
||||
if got == 0:
|
||||
return done(0, '本轮无需合成(体力不足或已达上限): %s' % info)
|
||||
return done(0, '合成完成: %s' % info)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
raise SystemExit(main())
|
||||
@@ -0,0 +1,134 @@
|
||||
"""Select a decision provider without giving providers control of game input.
|
||||
|
||||
An embedding controller can supply executor_decider(request) for its active
|
||||
model. Standalone scripts publish DecisionRequired for their caller to handle;
|
||||
they cannot invoke the caller's model themselves.
|
||||
"""
|
||||
from dataclasses import dataclass
|
||||
import json
|
||||
import math
|
||||
import time
|
||||
import urllib.error
|
||||
import uuid
|
||||
|
||||
|
||||
class DecisionRequired(RuntimeError):
|
||||
def __init__(self, request):
|
||||
super().__init__('The execution model must choose a candidate')
|
||||
self.request = request
|
||||
|
||||
|
||||
@dataclass
|
||||
class Decision:
|
||||
choice: str
|
||||
engine: str
|
||||
latency_ms: int
|
||||
jev_ms: int = 0
|
||||
confidence: float | None = None
|
||||
probabilities: dict | None = None
|
||||
model: str | None = None
|
||||
fallback_reason: str | None = None
|
||||
failed_jev_ms: int | None = None
|
||||
candidate_scope: list | None = None
|
||||
|
||||
|
||||
def _answer(answer, options):
|
||||
if isinstance(answer, str):
|
||||
answer = {'choice': answer, 'latency_ms': 0}
|
||||
elif isinstance(answer, tuple) and len(answer) == 2:
|
||||
answer = {'choice': answer[0], 'latency_ms': answer[1]}
|
||||
if not isinstance(answer, dict) or not isinstance(answer.get('choice'), str) or answer['choice'] not in options:
|
||||
raise ValueError('Decision provider returned an unsupported candidate')
|
||||
latency = answer.get('latency_ms', 0)
|
||||
if isinstance(latency, bool) or not isinstance(latency, (int, float)) or not math.isfinite(latency) or latency < 0:
|
||||
raise ValueError('Decision latency must be a finite non-negative number')
|
||||
confidence = answer.get('confidence')
|
||||
if confidence is not None and (isinstance(confidence, bool) or not isinstance(confidence, (int, float))
|
||||
or not math.isfinite(confidence) or not 0 <= confidence <= 1):
|
||||
raise ValueError('Decision confidence must be between 0 and 1')
|
||||
probabilities = answer.get('probabilities')
|
||||
if probabilities is not None:
|
||||
if not isinstance(probabilities, dict) or set(probabilities) != set(options):
|
||||
raise ValueError('Decision probabilities must describe the supplied candidates')
|
||||
if any(isinstance(p, bool) or not isinstance(p, (int, float)) or not math.isfinite(p) or not 0 <= p <= 1
|
||||
for p in probabilities.values()) or not math.isclose(sum(probabilities.values()), 1, abs_tol=.01):
|
||||
raise ValueError('Decision probabilities must form a probability distribution')
|
||||
return answer['choice'], round(latency), confidence, probabilities, answer.get('model')
|
||||
|
||||
|
||||
class DecisionRouter:
|
||||
def __init__(self, config, jev_decider, executor_decider=None, fixed_decider=None,
|
||||
rules='', force_fixed=False):
|
||||
self.config = dict(config)
|
||||
self.mode = 'fixed' if force_fixed else self.config.get('decisionEngine', 'auto')
|
||||
if self.mode not in ('auto', 'jev', 'executor', 'fixed'):
|
||||
raise ValueError('decisionEngine must be auto, jev, executor or fixed')
|
||||
self.jev_decider = jev_decider
|
||||
self.executor_decider = executor_decider
|
||||
self.fixed_decider = fixed_decider
|
||||
self.rules = rules
|
||||
|
||||
def choose(self, state, options, recent=(), run_id=None):
|
||||
if not options:
|
||||
raise ValueError('Decision requires at least one candidate')
|
||||
if self.mode == 'fixed':
|
||||
if self.fixed_decider is None:
|
||||
raise ValueError('Fixed decision provider is not configured')
|
||||
choice, latency, confidence, probabilities, model = _answer(self.fixed_decider(options), options)
|
||||
return Decision(choice, 'fixed', latency, confidence=confidence, probabilities=probabilities, model=model)
|
||||
|
||||
reason = 'configured_executor'
|
||||
model = self.config.get('model')
|
||||
configured_model = isinstance(model, str) and bool(model.strip())
|
||||
if self.mode in ('auto', 'jev'):
|
||||
if not configured_model:
|
||||
reason = 'no_jev_model'
|
||||
elif not self.config.get('apiKey'):
|
||||
reason = 'missing_jev_credentials'
|
||||
else:
|
||||
started = time.monotonic()
|
||||
try:
|
||||
answer = self.jev_decider(self.config, state, options, recent)
|
||||
choice, latency, confidence, probabilities, returned_model = _answer(answer, options)
|
||||
return Decision(choice, 'jev', latency, jev_ms=latency, confidence=confidence,
|
||||
probabilities=probabilities, model=returned_model or model,
|
||||
candidate_scope=answer.get('candidate_scope') if isinstance(answer, dict) else None)
|
||||
except urllib.error.HTTPError as error:
|
||||
reason = 'jev_http_%d' % error.code
|
||||
except (OSError, TimeoutError, ValueError) as error:
|
||||
reason = 'jev_unavailable_%s' % type(error).__name__
|
||||
failed_jev_ms = round((time.monotonic() - started) * 1000)
|
||||
else:
|
||||
configured_model = False
|
||||
request = {
|
||||
'schema_version': 1,
|
||||
'request_id': uuid.uuid4().hex,
|
||||
'run_id': run_id,
|
||||
'reason': reason,
|
||||
'requested_engine': 'executor',
|
||||
'page_state': state,
|
||||
'candidates': options,
|
||||
'rules': self.rules,
|
||||
'recent': list(recent)[-4:],
|
||||
'execution_contract': {
|
||||
'response': {'request_id': '<same request_id>', 'choice': '<candidate ID>'},
|
||||
'requires_fresh_observation_before_external_input': True,
|
||||
'note': 'The caller handles this decision. No game input is sent while handing off.',
|
||||
},
|
||||
}
|
||||
if self.mode in ('auto', 'jev') and configured_model and self.config.get('apiKey'):
|
||||
request['failed_jev_ms'] = failed_jev_ms
|
||||
# The request contains observations and candidates, never provider config
|
||||
# or credentials. Detach it so the callback cannot alter executable actions.
|
||||
request = json.loads(json.dumps(request, ensure_ascii=False))
|
||||
if self.executor_decider is None:
|
||||
raise DecisionRequired(request)
|
||||
started = time.monotonic()
|
||||
expected_request_id = request['request_id']
|
||||
answer = self.executor_decider(request)
|
||||
if isinstance(answer, dict) and answer.get('request_id') != expected_request_id:
|
||||
raise ValueError('Execution-model response belongs to a different decision request')
|
||||
choice, _, confidence, probabilities, returned_model = _answer(answer, options)
|
||||
latency = round((time.monotonic() - started) * 1000)
|
||||
return Decision(choice, 'executor', latency, confidence=confidence, probabilities=probabilities,
|
||||
model=returned_model, fallback_reason=reason, failed_jev_ms=request.get('failed_jev_ms'))
|
||||
@@ -0,0 +1,147 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
"""汇总 ~/lc_mcp/cycles 下的轮次报告, 用于持续运行时的定期上报。
|
||||
|
||||
用法:
|
||||
python scripts/farm_status.py # 全部轮次
|
||||
python scripts/farm_status.py --last 10 # 只看最近 10 轮
|
||||
python scripts/farm_status.py --json # 机器可读
|
||||
|
||||
读的是 auto_cycle.py 写的 cycle_*.json, 不碰游戏, 可在任何时候运行。
|
||||
"""
|
||||
import argparse
|
||||
import glob
|
||||
import json
|
||||
import os
|
||||
import re
|
||||
import sys
|
||||
import time
|
||||
|
||||
DEFAULT_DIR = os.path.expanduser(os.path.join('~', 'lc_mcp', 'cycles'))
|
||||
RUNS_DIR = os.path.expanduser(os.path.join('~', 'lc_mcp', 'runs'))
|
||||
BASELINE = os.path.expanduser(os.path.join('~', 'lc_mcp', 'lunacy_baseline.txt'))
|
||||
|
||||
|
||||
def load_reports(report_dir):
|
||||
out = []
|
||||
for p in sorted(glob.glob(os.path.join(report_dir, 'cycle_*.json'))):
|
||||
try:
|
||||
with open(p, encoding='utf-8') as f:
|
||||
r = json.load(f)
|
||||
except (OSError, ValueError):
|
||||
continue
|
||||
r['_path'] = p
|
||||
r['_mtime'] = os.path.getmtime(p)
|
||||
out.append(r)
|
||||
return sorted(out, key=lambda r: r.get('started') or '', reverse=True)
|
||||
|
||||
|
||||
def step_of(report, name):
|
||||
for s in report.get('steps', []):
|
||||
if s.get('step') == name:
|
||||
return s
|
||||
return None
|
||||
|
||||
|
||||
def task_stats_for(report):
|
||||
"""从 cycle 的 log 找同期的 daily 任务日志, 统计选队/卡死/错误。
|
||||
|
||||
cycle_*.log 里有 "daily 已启动" 的时间, 但精确对上 task 日志更麻烦;
|
||||
这里按 cycle 结束时间往前找最近一份 daily 日志。
|
||||
"""
|
||||
if not os.path.isdir(RUNS_DIR):
|
||||
return None
|
||||
logs = [p for p in glob.glob(os.path.join(RUNS_DIR, 'task_*_daily.log'))]
|
||||
logs = [p for p in logs if os.path.getmtime(p) <= report.get('_mtime', time.time()) + 60]
|
||||
if not logs:
|
||||
return None
|
||||
p = max(logs, key=os.path.getmtime)
|
||||
try:
|
||||
with open(p, encoding='utf-8', errors='replace') as f:
|
||||
txt = f.read()
|
||||
except OSError:
|
||||
return None
|
||||
txt = re.sub(r'\x1b\[[0-9;]*m', '', txt)
|
||||
return {
|
||||
'log': os.path.basename(p),
|
||||
'team_ok': len(re.findall(r'成功找到队伍', txt)),
|
||||
'team_fail': len(re.findall(r'找不到队伍', txt)),
|
||||
'exp': len(re.findall(r'结束执行 一次经验本', txt)),
|
||||
'thread': len(re.findall(r'结束执行 一次纽本', txt)),
|
||||
'empty_team_stall': len(re.findall(r'配队人数OCR得到:\D*0\s*/\s*5', txt)),
|
||||
'errors': len(re.findall(r'\[ERROR\]', txt)),
|
||||
}
|
||||
|
||||
|
||||
def fmt_mins(sec):
|
||||
if not sec:
|
||||
return '-'
|
||||
return '%d:%02d' % (sec // 60, sec % 60)
|
||||
|
||||
|
||||
def summarize(reports):
|
||||
rows = []
|
||||
for r in reports:
|
||||
lum = [s for s in r.get('steps', []) if '狂气' in s.get('step', '')]
|
||||
lum_info = lum[-1]['info'] if lum else '-'
|
||||
failed = [s['step'] for s in r.get('steps', []) if not s.get('ok')]
|
||||
rows.append({
|
||||
'started': (r.get('started') or '')[:16],
|
||||
'ok': r.get('ok'),
|
||||
'result': r.get('result'),
|
||||
'elapsed_s': r.get('elapsed_s'),
|
||||
'failed_steps': failed,
|
||||
'lunacy': lum_info,
|
||||
'tasks': task_stats_for(r),
|
||||
})
|
||||
return rows
|
||||
|
||||
|
||||
def main(argv=None):
|
||||
ap = argparse.ArgumentParser(description='汇总持续刷取进度')
|
||||
ap.add_argument('--report-dir', default=DEFAULT_DIR)
|
||||
ap.add_argument('--last', type=int, default=0, help='只看最近 N 轮, 0=全部')
|
||||
ap.add_argument('--json', action='store_true')
|
||||
args = ap.parse_args(argv)
|
||||
|
||||
reports = load_reports(args.report_dir)
|
||||
if args.last:
|
||||
reports = reports[:args.last]
|
||||
rows = summarize(reports)
|
||||
|
||||
base = None
|
||||
if os.path.exists(BASELINE):
|
||||
try:
|
||||
base = int(open(BASELINE, encoding='utf-8').read().strip())
|
||||
except ValueError:
|
||||
base = None
|
||||
|
||||
if args.json:
|
||||
print(json.dumps({'rows': rows, 'lunacy_baseline': base}, ensure_ascii=False, indent=2))
|
||||
return 0
|
||||
|
||||
if not rows:
|
||||
print('还没有轮次报告 (%s)' % args.report_dir)
|
||||
return 1
|
||||
|
||||
print('狂气基线: %s' % ('%d' % base if base is not None else '(无)'))
|
||||
print()
|
||||
print('%-17s %-5s %-7s %-30s %s' % ('开始', 'OK', '耗时', '失败步骤', '任务日志(选队/经验/纽本/卡死/错误)'))
|
||||
print('-' * 104)
|
||||
for r in rows:
|
||||
t = r['tasks']
|
||||
tinfo = ('%s %d/%d/%d/%d/%d' % (t['log'][-24:], t['team_ok'], t['exp'], t['thread'],
|
||||
t['empty_team_stall'], t['errors'])) if t else '-'
|
||||
print('%-17s %-5s %-7s %-30s %s' % (
|
||||
r['started'], '✅' if r['ok'] else '❌', fmt_mins(r['elapsed_s']),
|
||||
','.join(r['failed_steps']) or '-', tinfo))
|
||||
print()
|
||||
tot = len(rows)
|
||||
good = sum(1 for r in rows if r['ok'])
|
||||
print('共 %d 轮, 成功 %d, 失败 %d' % (tot, good, tot - good))
|
||||
if base is not None:
|
||||
print('狂气基线 %d —— 只增不减才算没消费' % base)
|
||||
return 0
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
sys.exit(main())
|
||||
@@ -0,0 +1,28 @@
|
||||
"""Shared battle boundaries for all MCP controllers."""
|
||||
|
||||
|
||||
def normalized_texts(state):
|
||||
return [item['text'].replace(' ', '') for item in state.get('items', [])]
|
||||
|
||||
|
||||
def death_retry_screen(texts):
|
||||
combined = '\n'.join(texts)
|
||||
return ('全体罪人' in combined and '死亡' in combined
|
||||
or '当前剩余人员' in combined and '重试关卡' in combined)
|
||||
|
||||
|
||||
def battle_is_terminal(state):
|
||||
texts = normalized_texts(state)
|
||||
markers = ('正在探', '获得E.G.O饰品', '选择E.G.O饰品', '饰品观测',
|
||||
'开始战斗', '主题卡包', '应该让谁', '选择一位罪人', '进行判定',
|
||||
'选择遭遇战奖励卡', '选项事件', '选择苦难', '选项', '结果',
|
||||
'探索完成', '探索结束', '驾驶席', '服务器发生错误', '重试关卡')
|
||||
return death_retry_screen(texts) or any(
|
||||
text.upper() in ('VICTORY', 'DEFEAT') or any(marker in text for marker in markers)
|
||||
for text in texts)
|
||||
|
||||
|
||||
def battle_is_visible(state):
|
||||
texts = normalized_texts(state)
|
||||
return (any(marker in '\n'.join(texts).upper() for marker in ('WAVE', 'TURN', 'DURANTE'))
|
||||
or any(text in ('胜率', '伤害') for text in texts))
|
||||
@@ -0,0 +1,68 @@
|
||||
# 注册"到点启动游戏 -> 合成模块 -> 关掉游戏"的计划任务。
|
||||
#
|
||||
# 用法:
|
||||
# powershell -ExecutionPolicy Bypass -File scripts\install_convert_task.ps1
|
||||
# powershell -ExecutionPolicy Bypass -File scripts\install_convert_task.ps1 -EveryHours 6
|
||||
# powershell -ExecutionPolicy Bypass -File scripts\install_convert_task.ps1 -Uninstall
|
||||
#
|
||||
# 节奏怎么定(体力恢复速度):
|
||||
# Limbus 的体力每 6 分钟回 1 点, 上限 126。
|
||||
# 合成 1 个模块要 20 点体力, 所以:
|
||||
# 每 2 小时 -> 约 20 点 -> 1 个模块
|
||||
# 每 4 小时 -> 约 40 点 -> 2 个模块(默认)
|
||||
# 每 6 小时 -> 约 60 点 -> 3 个模块
|
||||
# 只要不顶到 126 上限就不浪费恢复量, 所以更勤快些也不会亏。
|
||||
# 4 小时是"每次都能换到东西"和"别老折腾游戏启动"之间的折中。
|
||||
#
|
||||
# 这个任务和 LcMCPDailyCycle 是分开的: 用户明确要求这次不打任何关卡,
|
||||
# 只挂机攒模块, 所以不能把刷取任务一起打开。
|
||||
param(
|
||||
[double]$EveryHours = 4,
|
||||
[string]$Python = "",
|
||||
[switch]$Uninstall
|
||||
)
|
||||
$ErrorActionPreference = "Stop"
|
||||
$Repo = Split-Path -Parent $PSScriptRoot
|
||||
$TaskName = "LcMCPConvertModules"
|
||||
|
||||
if ($Uninstall) {
|
||||
Unregister-ScheduledTask -TaskName $TaskName -Confirm:$false -ErrorAction SilentlyContinue
|
||||
Write-Output "uninstalled $TaskName"
|
||||
exit 0
|
||||
}
|
||||
|
||||
if (-not $Python) {
|
||||
$Python = Join-Path $Repo "vendor\aalc\.venv\Scripts\pythonw.exe"
|
||||
}
|
||||
if (-not (Test-Path $Python)) {
|
||||
throw "找不到 python: $Python"
|
||||
}
|
||||
$script = Join-Path $PSScriptRoot "convert_modules.py"
|
||||
if (-not (Test-Path $script)) {
|
||||
throw "找不到脚本: $script"
|
||||
}
|
||||
|
||||
# 以当前用户运行。无人值守要点: 不要勾"只在用户登录时运行", 否则注销后不跑。
|
||||
$principal = New-ScheduledTaskPrincipal -UserId "$env:USERDOMAIN\$env:USERNAME" `
|
||||
-LogonType Interactive -RunLevel Limited
|
||||
|
||||
$action = New-ScheduledTaskAction -Execute $Python -WorkingDirectory $Repo `
|
||||
-Argument "-X utf8 `"$script`""
|
||||
|
||||
# 一次跑 5 分钟足够: 启动游戏 + 进主界面 + 合成 + 关掉。给宽一点防止启动慢。
|
||||
$limit = New-TimeSpan -Minutes 15
|
||||
|
||||
# -Once + 长周期重复, 这样才能设成"每 N 小时"
|
||||
$trigger = New-ScheduledTaskTrigger -Once -At (Get-Date).AddMinutes(2) `
|
||||
-RepetitionInterval (New-TimeSpan -Minutes ($EveryHours * 60)) `
|
||||
-RepetitionDuration (New-TimeSpan -Days 3650)
|
||||
|
||||
$settings = New-ScheduledTaskSettingsSet -AllowStartIfOnBatteries -DontStopIfGoingOnBatteries `
|
||||
-StartWhenAvailable -ExecutionTimeLimit $limit -MultipleInstances IgnoreNew
|
||||
|
||||
Register-ScheduledTask -TaskName $TaskName -Action $action -Trigger $trigger `
|
||||
-Principal $principal -Settings $settings -Force | Out-Null
|
||||
|
||||
Write-Output "registered $TaskName (every $EveryHours h, limit=$limit)"
|
||||
Write-Output "reports -> $env:USERPROFILE\lc_mcp\modules\convert_*.json"
|
||||
Write-Output "log -> $env:USERPROFILE\lc_mcp\modules\convert.log"
|
||||
@@ -1,4 +1,4 @@
|
||||
# 注册登录时启动的 lc-mcp 常驻服务 (交互会话, 能看到游戏窗口)。
|
||||
# 注册登录时启动的 lc-mcp 常驻服务 (交互会话, 能看到游戏窗口)。
|
||||
# 用法 (在要跑游戏的那个账号下, 普通 PowerShell 即可):
|
||||
# powershell -ExecutionPolicy Bypass -File scripts\install_logon_task.ps1
|
||||
# 可选: -Python <python.exe 路径> 默认用 vendor\aalc\.venv (uv sync 生成)
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user