Compare commits
57
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 |
@@ -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)` |
|
||||
@@ -89,13 +97,53 @@ codex mcp add limbus --env PYTHONUTF8=1 -- D:\lc-mcp\vendor\aalc\.venv\Scripts\p
|
||||
`超出最大尝试次数,未能进入战斗`)后仍会继续跑完并正常退出,所以 `task_status`
|
||||
会把日志尾部的 `[ERROR]`/异常行放进 `errors` 字段:**看到 `succeeded` 也要先看 `errors`。**
|
||||
|
||||
### 实验:编队列表滑动补丁(默认关闭)
|
||||
任务运行中如果 `task_status` 带 `stall` 字段,说明 AALC 在原地空转(例如选中了空队伍,
|
||||
编队人数检查一直刷屏)。它不会自己报错退出,应当 `stop_task` 后重跑。
|
||||
|
||||
AALC 基类允许适配器覆盖 `mouse_swipe_for_team_scroll`“以规避队伍拖拽判定”,上游只有 MuMu 实现了。
|
||||
`lc_mcp/aalc_input_patch.py` 在 Windows 前台/后台适配器上补了一个最小版本:几何与行程沿用 AALC 的
|
||||
`build_windows_scroll_swipe_plan`(不改变 Windows 翻页标定),脱离段后保持 0.1 秒、松手前停稳 0.5 秒。
|
||||
是否真有队伍被拖乱的问题尚无实机证据,所以默认不启用。验证方法:给常驻服务设置环境变量
|
||||
`LCP_TEAM_SCROLL_PATCH=1` 后重启服务,跑一次需要选队的日常任务,核对选中的队伍、编队人数以及 `task_status` 的 `errors`。
|
||||
### 任务进程里的保护
|
||||
|
||||
`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 客户区书写,运行时会按实际客户区大小缩放。
|
||||
|
||||
## 环境变量
|
||||
|
||||
@@ -104,7 +152,8 @@ AALC 基类允许适配器覆盖 `mouse_swipe_for_team_scroll`“以规避队伍
|
||||
| `AALC_DIR` | `vendor/aalc` | 使用其他位置的 AALC 源码 |
|
||||
| `LCP_PORT` | 8765 | 服务/bridge 端口 |
|
||||
| `LCP_KEEP_SHOTS` | 30 | 截图保留张数 |
|
||||
| `LCP_TEAM_SCROLL_PATCH` | 未设置 | 设为 `1` 启用实验性的编队列表滑动补丁 |
|
||||
| `LCP_ALLOW_LUNACY` | 未设置 | 设为 `1` 时允许预检放行 `set_lunacy_to_enkephalin` 不为 0 的配置 |
|
||||
| `LC_PY` | 当前解释器 | `levelup.py`/`auto_cycle.py` 调用 MCP 用的 Python |
|
||||
|
||||
## 开发 / 测试
|
||||
|
||||
|
||||
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,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.
+73
-8
@@ -43,9 +43,6 @@ def bootstrap():
|
||||
from module.logger.my_log import Logger
|
||||
Logger()
|
||||
_booted = d
|
||||
# 实验: 编队列表滑动补丁, 仅在 LCP_TEAM_SCROLL_PATCH=1 时安装 (见 aalc_input_patch)
|
||||
from . import aalc_input_patch
|
||||
aalc_input_patch.install()
|
||||
return d
|
||||
|
||||
|
||||
@@ -82,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)
|
||||
@@ -201,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':
|
||||
@@ -239,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()
|
||||
@@ -265,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))
|
||||
|
||||
@@ -1,100 +0,0 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
"""编队列表滑动补丁 (实验, 默认关闭; LCP_TEAM_SCROLL_PATCH=1 启用)。
|
||||
|
||||
AALC 基类注释说 ``mouse_swipe_for_team_scroll`` 可由适配器覆盖"以规避队伍拖拽判定",
|
||||
上游只有 MuMu 覆盖了它, Windows 前台/后台沿用普通列表手势。是否因此误触发队伍拖拽
|
||||
尚无实机证据 (2026-10-03 的记录未在编队界面复测), 所以这里只做最小改动来验证:
|
||||
|
||||
- 几何与行程完全沿用 AALC 的 ``build_windows_scroll_swipe_plan``,
|
||||
不改变 AALC 为 Windows 标定的翻页距离;
|
||||
- 参照 MuMu, 脱离段后保持 0.1s 让游戏先认定为滚动, 松手前停稳 0.5s;
|
||||
- 分段移动用显式等待驱动, 不经过适配器的 duration 参数
|
||||
(BackgroundInput 在 duration < 0.01s 时步数为 0, 不发任何移动事件),
|
||||
前台关闭 pyautogui 每次调用后默认的 0.1s 停顿。
|
||||
"""
|
||||
import os
|
||||
import time
|
||||
|
||||
ENV_FLAG = 'LCP_TEAM_SCROLL_PATCH'
|
||||
ESCAPE_HOLD_SECONDS = 0.1 # MUMU_TEAM_SCROLL_ESCAPE_HOLD_DURATION
|
||||
SETTLE_SECONDS = 0.5 # MUMU_TEAM_SCROLL_SETTLE_DURATION
|
||||
STEP_SECONDS = 0.01 # 与 AALC _mouse_move_to 的步长一致
|
||||
|
||||
|
||||
def _plan(x, y, dx, dy, duration):
|
||||
from module.automation.input_handlers.scroll_swipe import build_windows_scroll_swipe_plan
|
||||
plan, settle = build_windows_scroll_swipe_plan(x, y, dx, dy, duration)
|
||||
return plan, max(settle, SETTLE_SECONDS) if len(plan) > 1 else 0
|
||||
|
||||
|
||||
def run_plan(plan, settle, press, move, release, sleep=None):
|
||||
"""按计划拖动: 每段按耗时均匀插值, 每个插值点之间显式等待。
|
||||
plan 元素为 (终点, 到达该点前的耗时); 第一段之后(脱离段)保持一小会儿。"""
|
||||
sleep = sleep or time.sleep
|
||||
position = plan[0][0]
|
||||
press(position)
|
||||
try:
|
||||
for index, (point, duration) in enumerate(plan[1:]):
|
||||
steps = max(1, round(duration / STEP_SECONDS))
|
||||
for k in range(1, steps + 1):
|
||||
ratio = k / steps
|
||||
move((position[0] + (point[0] - position[0]) * ratio,
|
||||
position[1] + (point[1] - position[1]) * ratio))
|
||||
if duration > 0:
|
||||
sleep(duration / steps)
|
||||
position = point
|
||||
if index == 0 and len(plan) > 2:
|
||||
sleep(ESCAPE_HOLD_SECONDS)
|
||||
if settle:
|
||||
sleep(settle)
|
||||
finally:
|
||||
release(position)
|
||||
|
||||
|
||||
def _foreground_team_scroll(self, x, y, duration=0.3, dx=0, dy=0, move_back=True):
|
||||
import pyautogui
|
||||
restore = self.get_mouse_position() if move_back else None
|
||||
plan, settle = _plan(x, y, dx, dy, duration)
|
||||
|
||||
def screen(point):
|
||||
return tuple(int(round(v)) for v in self.pos_offset(*point))
|
||||
|
||||
def press(point):
|
||||
pyautogui.moveTo(*screen(point), _pause=False)
|
||||
pyautogui.mouseDown(_pause=False)
|
||||
|
||||
run_plan(plan, settle, press,
|
||||
lambda point: pyautogui.moveTo(*screen(point), _pause=False),
|
||||
lambda point: pyautogui.mouseUp(*screen(point), _pause=False))
|
||||
if restore:
|
||||
self.mouse_move(restore)
|
||||
|
||||
|
||||
def _background_team_scroll(self, x, y, duration=0.3, dx=0, dy=0, move_back=True):
|
||||
restore = self.get_mouse_position() if move_back else None
|
||||
plan, settle = _plan(x, y, dx, dy, duration)
|
||||
|
||||
def press(point):
|
||||
self.set_mouse_pos(*point)
|
||||
self.set_active()
|
||||
self.mouse_down(*point)
|
||||
|
||||
run_plan(plan, settle, press,
|
||||
lambda point: self.set_mouse_pos(*point),
|
||||
lambda point: self.mouse_up(*point))
|
||||
if restore:
|
||||
self.mouse_move(restore)
|
||||
|
||||
|
||||
def install(force=False):
|
||||
"""给 Windows 前台/后台适配器装上编队滑动 (幂等)。未设 LCP_TEAM_SCROLL_PATCH=1 时不做任何事。"""
|
||||
if not force and os.environ.get(ENV_FLAG) != '1':
|
||||
return []
|
||||
from module.automation.input_handlers import input as input_module
|
||||
patched = []
|
||||
for name, impl in (('Input', _foreground_team_scroll), ('BackgroundInput', _background_team_scroll)):
|
||||
cls = getattr(input_module, name, None)
|
||||
if cls is not None and cls.__dict__.get('mouse_swipe_for_team_scroll') is not impl:
|
||||
cls.mouse_swipe_for_team_scroll = impl
|
||||
patched.append(name)
|
||||
return patched
|
||||
@@ -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
|
||||
+8
-2
@@ -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()},
|
||||
]
|
||||
@@ -146,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':
|
||||
|
||||
+64
-1
@@ -3,6 +3,7 @@
|
||||
import glob
|
||||
import json
|
||||
import os
|
||||
import re
|
||||
import signal
|
||||
import subprocess
|
||||
import sys
|
||||
@@ -51,6 +52,64 @@ def log_errors(path, limit=3):
|
||||
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):
|
||||
@@ -126,7 +185,11 @@ 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:
|
||||
|
||||
@@ -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())
|
||||
@@ -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())
|
||||
@@ -29,6 +29,7 @@ class Decision:
|
||||
model: str | None = None
|
||||
fallback_reason: str | None = None
|
||||
failed_jev_ms: int | None = None
|
||||
candidate_scope: list | None = None
|
||||
|
||||
|
||||
def _answer(answer, options):
|
||||
@@ -90,7 +91,8 @@ class DecisionRouter:
|
||||
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)
|
||||
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:
|
||||
|
||||
@@ -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,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 生成)
|
||||
|
||||
@@ -0,0 +1,91 @@
|
||||
# 注册无人值守用的两个计划任务 (在跑游戏的那个账号下, 普通 PowerShell 即可):
|
||||
# LcMCPKeepDisplay 每 1 分钟跑 keep_display.ps1: 会话掉到 Disc 时重挂 console, 防止截图全黑
|
||||
# LcMCPDailyCycle 定时跑 auto_cycle.py: 刷材料 -> 镜牢 -> 升级/同步, 报告写到 ~\lc_mcp\cycles
|
||||
#
|
||||
# 用法:
|
||||
# powershell -ExecutionPolicy Bypass -File scripts\install_unattended.ps1
|
||||
# 可选: -At 05:30 每日运行时间。游戏每日重置为 06:00 (KST), 即北京时间 05:00
|
||||
# -EveryHours 2.5 改成"每 N 小时重复一轮"以持续刷取; 0 = 只按 -At 每天一次
|
||||
# 单轮上限 = 60 + 75*Mirror 分钟, 间隔要大于它, 否则会被跳过
|
||||
# -Mirror 1 每轮镜牢局数, 0 = 不打镜牢
|
||||
# -Target 34 把队内人格升到的等级
|
||||
# -Python <路径> 默认 vendor\aalc\.venv\Scripts\pythonw.exe (无窗口, 不抢游戏焦点)
|
||||
# -NoWatchdog 只装每日任务
|
||||
# -Uninstall
|
||||
#
|
||||
# 前提: LcMCPServer 已用 install_logon_task.ps1 装好并在运行。
|
||||
# 先手动跑一轮确认无误再装: python scripts\auto_cycle.py --mirror 1
|
||||
param(
|
||||
[string]$At = "05:30",
|
||||
[double]$EveryHours = 0,
|
||||
[int]$Mirror = 1,
|
||||
[int]$Target = 34,
|
||||
[string]$Python = "",
|
||||
[switch]$NoWatchdog,
|
||||
[switch]$Uninstall
|
||||
)
|
||||
$ErrorActionPreference = "Stop"
|
||||
$Repo = Split-Path -Parent $PSScriptRoot
|
||||
$Watchdog = "LcMCPKeepDisplay"
|
||||
$Daily = "LcMCPDailyCycle"
|
||||
|
||||
if ($Uninstall) {
|
||||
foreach ($name in @($Watchdog, $Daily)) {
|
||||
Unregister-ScheduledTask -TaskName $name -Confirm:$false -ErrorAction SilentlyContinue
|
||||
Write-Output "removed $name"
|
||||
}
|
||||
exit 0
|
||||
}
|
||||
|
||||
if (-not $Python) { $Python = Join-Path $Repo "vendor\aalc\.venv\Scripts\pythonw.exe" }
|
||||
if (-not (Test-Path $Python)) {
|
||||
throw "找不到 Python: $Python`n先在 vendor\aalc 里执行 uv sync, 或用 -Python 指定"
|
||||
}
|
||||
if (-not (Get-ScheduledTask -TaskName "LcMCPServer" -ErrorAction SilentlyContinue)) {
|
||||
Write-Warning "没有找到 LcMCPServer 计划任务, 每日任务需要它: 先运行 scripts\install_logon_task.ps1"
|
||||
}
|
||||
|
||||
$user = "$env:USERDOMAIN\$env:USERNAME"
|
||||
# Limited: keep_display.ps1 自己用 RunAs 静默提权跑 tscon (需要 ConsentPromptBehaviorAdmin=0)
|
||||
$principal = New-ScheduledTaskPrincipal -UserId $user -LogonType Interactive -RunLevel Limited
|
||||
|
||||
if (-not $NoWatchdog) {
|
||||
$ps = "$env:SystemRoot\System32\WindowsPowerShell\v1.0\powershell.exe"
|
||||
$script = Join-Path $PSScriptRoot "keep_display.ps1"
|
||||
$action = New-ScheduledTaskAction -Execute $ps -WorkingDirectory $Repo `
|
||||
-Argument "-NoProfile -NonInteractive -WindowStyle Hidden -ExecutionPolicy Bypass -File `"$script`""
|
||||
$trigger = New-ScheduledTaskTrigger -Once -At (Get-Date).AddMinutes(1) `
|
||||
-RepetitionInterval (New-TimeSpan -Minutes 1) -RepetitionDuration (New-TimeSpan -Days 3650)
|
||||
$settings = New-ScheduledTaskSettingsSet -AllowStartIfOnBatteries -DontStopIfGoingOnBatteries `
|
||||
-ExecutionTimeLimit (New-TimeSpan -Minutes 3) -MultipleInstances IgnoreNew
|
||||
Register-ScheduledTask -TaskName $Watchdog -Action $action -Trigger $trigger -Principal $principal `
|
||||
-Settings $settings -Force | Out-Null
|
||||
Write-Output "registered $Watchdog (every 1 min) -> $script"
|
||||
}
|
||||
|
||||
$cycle = Join-Path $PSScriptRoot "auto_cycle.py"
|
||||
$action = New-ScheduledTaskAction -Execute $Python -WorkingDirectory $Repo `
|
||||
-Argument "-X utf8 `"$cycle`" --mirror $Mirror --target $Target"
|
||||
# 一轮 daily 约 22 分钟, 每局镜牢实测 39~>70 分钟; 超过上限由计划任务强杀
|
||||
$limit = New-TimeSpan -Minutes (60 + 75 * [Math]::Max($Mirror, 0))
|
||||
if ($EveryHours -gt 0) {
|
||||
# 持续刷取: 每 N 小时重复一轮。开始时间取"现在", 装完即进入节奏。
|
||||
# 注意 New-TimeSpan -Hours 的参数是 [int], 传 2.5 会被截断成 2 小时, 所以用 -Minutes。
|
||||
$trigger = New-ScheduledTaskTrigger -Once -At (Get-Date).AddMinutes(1) `
|
||||
-RepetitionInterval (New-TimeSpan -Minutes ($EveryHours * 60)) `
|
||||
-RepetitionDuration (New-TimeSpan -Days 3650)
|
||||
$desc = "every $EveryHours h"
|
||||
# 重复周期必须大于单轮上限, 否则会在上一轮还没结束时又起一轮
|
||||
if (($EveryHours * 60) -lt $limit.TotalMinutes) {
|
||||
Write-Warning "EveryHours=$EveryHours ($($EveryHours * 60) 分钟) 短于单轮上限 $limit, 可能重叠; MultipleInstances=IgnoreNew 会跳过, 但建议调大"
|
||||
}
|
||||
} else {
|
||||
$trigger = New-ScheduledTaskTrigger -Daily -At $At
|
||||
$desc = "daily at $At"
|
||||
}
|
||||
$settings = New-ScheduledTaskSettingsSet -AllowStartIfOnBatteries -DontStopIfGoingOnBatteries `
|
||||
-StartWhenAvailable -ExecutionTimeLimit $limit -MultipleInstances IgnoreNew
|
||||
Register-ScheduledTask -TaskName $Daily -Action $action -Trigger $trigger -Principal $principal `
|
||||
-Settings $settings -Force | Out-Null
|
||||
Write-Output "registered $Daily ($desc, mirror=$Mirror, target=Lv.$Target, limit=$limit)"
|
||||
Write-Output "reports -> $env:USERPROFILE\lc_mcp\cycles\cycle_*.json"
|
||||
+127
-24
@@ -12,6 +12,7 @@ from game_scenes import battle_is_terminal, battle_is_visible, death_retry_scree
|
||||
from run_state import prepare_run, save_json, record_claim, claim_is_current, complete_run
|
||||
from decision_router import DecisionRouter, DecisionRequired
|
||||
from jev_client import request_answer
|
||||
from lc_scene_aliases import normalize
|
||||
|
||||
REPO_ROOT = Path(__file__).resolve().parents[1]
|
||||
MIRROR_ASSETS = REPO_ROOT / 'vendor' / 'aalc' / 'assets' / 'images' / 'default' / 'share' / 'mirror'
|
||||
@@ -25,7 +26,9 @@ SYSTEM_RULES = (
|
||||
'遇到事件判定先点SKIP跳过对话,跳完后再选择事件选项、罪人或进行判定;剧情同样优先SKIP。'
|
||||
'事件当前有“选择后获得”且无需判定、无需战斗的选项时直接选择它,不反复滚动;避开写着战斗胜利后的选项。'
|
||||
'确定确认/进入/开始战斗直接执行。地图优先可达事件和商店,减少战斗。'
|
||||
'战斗奖励优先经费,纯P无需囤积E.G.O资源;可附带破裂合成材料的经费奖励优先。'
|
||||
'选好路线直接回车进入,关卡编队界面也直接回车开战;保留原编队,不再检查人员。'
|
||||
'候选路线已由程序核对可达和节点类型,无需再确认已完成的开局配置。多个同类型节点都可达时默认正前方,不因没有事件节点而要求分析。'
|
||||
'保留当前编队。开局三级饰品三选一必须选择标准负载电池,再确认领取;不能当成额外观测拒绝。'
|
||||
'成捆的符咒++、标准负载电池和鸡胸为核心,保留不可出售或合成;仅略过单独的额外观测。其他苦难避开敌方体力上限和防御等级。'
|
||||
'3层起辛克莱1换3,黑兽奥提斯2换3,其他出战1换3。只在商店强化饰品。'
|
||||
@@ -41,6 +44,13 @@ def text_items(state):
|
||||
return state.get('items') or []
|
||||
|
||||
|
||||
def scene_fingerprint(state):
|
||||
"""Ignore changing clocks and counters when checking failed confirmations."""
|
||||
return tuple(item['text'] for item in text_items(state)
|
||||
if item.get('score', 0) > .93
|
||||
and not re.fullmatch(r'[0-9:.]+', item['text'].replace(' ', '')))
|
||||
|
||||
|
||||
_SCREEN_CACHE = {}
|
||||
|
||||
|
||||
@@ -70,6 +80,28 @@ def button_enabled(state, item):
|
||||
return False
|
||||
|
||||
|
||||
def purchased_slot(state, item):
|
||||
"""OCR may omit the orange Purchased badge above a bought skill slot."""
|
||||
try:
|
||||
import cv2
|
||||
import numpy as np
|
||||
template_path = REPO_ROOT / 'assets' / 'ui' / 'purchased_english.png'
|
||||
template = np.array(screen_image(template_path, 'L'))
|
||||
width = state['screen'].get('w', 1920)
|
||||
height = state['screen'].get('h', 1080)
|
||||
if width != 1920:
|
||||
template = cv2.resize(template, None, fx=width/1920, fy=width/1920)
|
||||
cx = item['x'] + item['w']/2
|
||||
area = np.array(screen_image(state['screen']['path'], 'L').crop(
|
||||
(round(cx-width*.075), round(item['y']-height*.2),
|
||||
round(cx+width*.075), round(item['y']-height*.09))))
|
||||
if area.shape[0] < template.shape[0] or area.shape[1] < template.shape[1]:
|
||||
return False
|
||||
return float(cv2.matchTemplate(area, template, cv2.TM_CCOEFF_NORMED).max()) >= .9
|
||||
except (OSError, KeyError, ImportError):
|
||||
return False
|
||||
|
||||
|
||||
@functools.lru_cache(maxsize=64)
|
||||
def _map_template(kind, name, scale):
|
||||
"""地图识别模板, 按截图比例缩放; 窗口尺寸不变时每帧复用, 不再重复读盘和计算特征点。
|
||||
@@ -234,7 +266,7 @@ def candidates(state, previous_battle=False, refresh_used=0):
|
||||
'y': item['y'] + item['h']//2}},
|
||||
}
|
||||
return options
|
||||
if any('REC' in t.upper() for t in texts) and '选项' not in texts and not any(t in combined for t in ('选择一位罪人', '进行判定', '判定成功', '判定失败', '结果')):
|
||||
if any(re.fullmatch(r'REC[●.]*', t, re.I) for t in texts) and '选项' not in texts and not any(t in combined for t in ('选择一位罪人', '进行判定', '判定成功', '判定失败', '结果')):
|
||||
options['event_advance'] = {'description':'事件选项已经确定,按回车快速推进后续文本。', 'action':{'tool':'advance_dialog','args':{'presses':5}}}
|
||||
return options
|
||||
if '应该让谁' in combined and '选择一位罪人' not in combined and '进行判定' not in combined:
|
||||
@@ -266,11 +298,12 @@ def candidates(state, previous_battle=False, refresh_used=0):
|
||||
('SKILL1', 'SKILL2') if '辛克莱' in header and state.get('floor', 3) < 3 else ('SKILL1', 'SKILL3'))
|
||||
if tuple(i['text'].replace(' ', '') for i in skills) == target:
|
||||
for item in items:
|
||||
if item['text'] == '购买':
|
||||
if item['text'] in ('购买', '确认') and button_enabled(state, item):
|
||||
options['buy_swap'] = {
|
||||
'description': '已核对本层所需技能替换 %s→%s,点击购买完成。' % target,
|
||||
'action': {'tool': 'click', 'args': {'x': item['x']+item['w']//2,
|
||||
'y': item['y']+item['h']//2}},
|
||||
'action': {'tool': 'keypress', 'args': {'key': 'enter'}},
|
||||
'fallback_action': {'tool': 'click', 'args': {'x': item['x']+item['w']//2,
|
||||
'y': item['y']+item['h']//2}},
|
||||
}
|
||||
return options
|
||||
if any('当前持有技能' in t for t in texts):
|
||||
@@ -472,6 +505,7 @@ def candidates(state, previous_battle=False, refresh_used=0):
|
||||
party = ('辛克莱', '鸿璐', '希斯克利夫', '奥提斯', '格里高尔', '良秀', '浮士德')
|
||||
swaps = [(index, item) for index, item in enumerate(items)
|
||||
if '替换' in item['text'] and any(name in item['text'] for name in party)
|
||||
and not purchased_slot(state, item)
|
||||
and not any('已购买' in sold['text']
|
||||
and abs(sold['x']+sold['w']/2-item['x']-item['w']/2) < width*.07
|
||||
and 0 < item['y']-sold['y'] < height*.25 for sold in items)]
|
||||
@@ -494,13 +528,17 @@ def candidates(state, previous_battle=False, refresh_used=0):
|
||||
'y': max(0, item['y'] - round(height*.095))}},
|
||||
}
|
||||
if not swaps and refresh_used < 4:
|
||||
for index, item in enumerate(items):
|
||||
if item['text'].replace(' ', '') == '刷新' and button_enabled(state, item):
|
||||
options['shop_refresh'] = {
|
||||
'description': '没有出战角色可替换技能,刷新商店;本店已刷新%d/4次。' % refresh_used,
|
||||
'action': {'tool': 'click', 'args': {'x': item['x'] + item['w'] // 2,
|
||||
'y': item['y'] + item['h'] // 2}},
|
||||
}
|
||||
refreshes = [item for item in items if item['text'].replace(' ', '') == '刷新'
|
||||
and button_enabled(state, item)]
|
||||
if refreshes:
|
||||
# The keyword panel has another Refresh further right.
|
||||
# Refresh stock, never overwrite this with keyword Refresh.
|
||||
item = min(refreshes, key=lambda value: value['x'])
|
||||
options['shop_refresh'] = {
|
||||
'description': '没有出战角色可替换技能,刷新商店;本店已刷新%d/4次。' % refresh_used,
|
||||
'action': {'tool': 'click', 'args': {'x': item['x'] + item['w'] // 2,
|
||||
'y': item['y'] + item['h'] // 2}},
|
||||
}
|
||||
end_screen = battle_is_terminal(state)
|
||||
battle = battle_is_visible(state)
|
||||
if not end_screen and (battle or previous_battle):
|
||||
@@ -516,10 +554,14 @@ def candidates(state, previous_battle=False, refresh_used=0):
|
||||
options['button_%d' % index] = {
|
||||
'description': '当前可见且非灰色按钮:%s;点击 OCR 中心。' % label,
|
||||
# 直接点已核对过的这一项: 重新按文字搜索要多一次截图+OCR, 还可能命中背景里的同名按钮
|
||||
'action': ({'tool': 'keypress', 'args': {'key': 'enter'}} if label in ('进入', '开始战斗')
|
||||
'action': ({'tool': 'keypress', 'args': {'key': 'enter'}} if label in ('进入', '开始战斗', '进行判定', '离开')
|
||||
else {'tool': 'click', 'args': {'x': item['x'] + item['w']//2,
|
||||
'y': item['y'] + item['h']//2}}),
|
||||
}
|
||||
if options['button_%d' % index]['action']['tool'] == 'keypress':
|
||||
options['button_%d' % index]['fallback_action'] = {
|
||||
'tool': 'click', 'args': {'x': item['x'] + item['w']//2,
|
||||
'y': item['y'] + item['h']//2}}
|
||||
if (not battle and not in_shop and state.get('screen', {}).get('path')
|
||||
and Path(state['screen']['path']).is_file()
|
||||
and not any(t in combined for t in ('确认', '继续', '获得E.G.O', 'SKIP', '选项'))):
|
||||
@@ -558,7 +600,9 @@ def candidates(state, previous_battle=False, refresh_used=0):
|
||||
}
|
||||
for index, item in enumerate(items):
|
||||
if item['x'] > width * 0.52 and height * 0.23 < item['y'] < height * 0.75 and item['h'] > height * 0.025 and item.get('score', 0) > 0.93:
|
||||
if not any(t in item['text'] for t in ('判定', '获得', '成功', '全体', '战斗胜利')):
|
||||
if (not any(t in item['text'] for t in ('判定', '获得', '成功', '全体', '战斗胜利'))
|
||||
and not re.search(r'check\b|\bgain\b|\be\.?g\.?o\.?\s*gift|(?:advantage|guilt)check',
|
||||
item['text'], re.I)):
|
||||
outcome = ';'.join(i['text'] for i in items if i['x'] > width*.52
|
||||
and item['y']+item['h'] < i['y'] < item['y']+height*.085)
|
||||
options['event_%d' % index] = {'description': '当前事件选项:' + item['text'] + ';结果:' + outcome,
|
||||
@@ -567,16 +611,71 @@ def candidates(state, previous_battle=False, refresh_used=0):
|
||||
|
||||
|
||||
def decide(cfg, state, options, recent):
|
||||
description = ('目标:按用户已配置的队伍和速通规则推进当前镜牢。当前楼层:%s\n当前游戏 OCR(坐标仅供辨识):\n' % state.get('floor', '尚未识别') +
|
||||
'\n'.join('%s @%d,%d' % (i['text'], i['x'], i['y']) for i in text_items(state)
|
||||
if not i['text'].upper().startswith('STEAM')) +
|
||||
'\n截图视觉与可用控件观察(不是预先做出的决定):\n' +
|
||||
'\n'.join(val['description'] for key,val in options.items() if key != 'requires_analysis') +
|
||||
'\n最近动作和执行结果:' + json.dumps(recent[-4:], ensure_ascii=False))
|
||||
actions = [key for key in options if key not in ('wait', 'requires_analysis')]
|
||||
route_scene = actions and all(key.startswith('route_') for key in actions)
|
||||
sinner_scene = actions and all(key.startswith(('sinner_', 'button_')) for key in actions) and any(key.startswith('sinner_') for key in actions)
|
||||
if route_scene or sinner_scene:
|
||||
permitted = options
|
||||
if sinner_scene:
|
||||
# All explicit maximum-probability cards are legal. An uncertain
|
||||
# colour-only estimate must not compete with an OCR-labelled rate.
|
||||
rated = [(key, re.search(r'预计成功率(极高|非常高|高)', options[key]['description']))
|
||||
for key in actions if key.startswith('sinner_')]
|
||||
rated = [(key, match[1]) for key, match in rated if match]
|
||||
if rated:
|
||||
best = 0 if any(rate != '高' for _, rate in rated) else 1
|
||||
permitted = {key: options[key] for key, rate in rated
|
||||
if (0 if rate != '高' else 1) == best}
|
||||
# These candidates have already been validated against the live scene.
|
||||
# Party setup, gifts and fusion do not affect this immediate choice.
|
||||
instructions = (
|
||||
'目标是最快完成镜牢,只选择所给候选。候选已核对当前画面,不需要再次核对编队或开局配置。'
|
||||
+ ('地图优先商店、事件,再普通战斗,避免精英或集中战斗。同类型默认正前方 route_d;没有事件也直接选择可达战斗。'
|
||||
if route_scene else
|
||||
'当前是事件判定。已有进行判定按钮则选择该按钮;否则选择明确标注极高成功率的 sinner 候选,极高优于高;同档任选一个。不需要额外角色技能信息。')
|
||||
+ '仅在候选互相矛盾或没有有效动作时选择 requires_analysis。')
|
||||
scene = ('镜牢地图,当前高亮可达节点如下:' if route_scene else '事件选择罪人界面,已识别当前可选择的罪人和成功率如下:')
|
||||
description = scene + ';'.join(options[key]['description'] for key in actions)
|
||||
answer = request_answer(cfg, description,
|
||||
{key: val['description'] for key, val in permitted.items()}, instructions)
|
||||
if permitted is not options and answer.get('probabilities') is not None:
|
||||
# The provider only scored permitted cards. The surrounding router
|
||||
# validates a distribution across its original candidate set.
|
||||
answer['candidate_scope'] = list(permitted)
|
||||
answer['probabilities'] = {key: answer['probabilities'].get(key, 0) for key in options}
|
||||
return answer
|
||||
description = ('当前楼层:%s\n当前游戏文字:\n' % state.get('floor', '尚未识别') +
|
||||
'\n'.join(dict.fromkeys(i['text'] for i in text_items(state)
|
||||
if not i['text'].upper().startswith('STEAM'))) +
|
||||
'\n最近执行结果:' + json.dumps(recent[-2:], ensure_ascii=False))
|
||||
return request_answer(cfg, description,
|
||||
{key: val['description'] for key, val in options.items()}, SYSTEM_RULES)
|
||||
|
||||
|
||||
def unambiguous_routine(options):
|
||||
"""Execute one validated confirmation; choices still go through the model."""
|
||||
judges = [key for key, value in options.items() if key.startswith('button_')
|
||||
and '进行判定' in value['description']]
|
||||
if len(judges) == 1:
|
||||
return judges[0]
|
||||
actions = [key for key in options if key not in ('wait', 'requires_analysis')]
|
||||
if len(actions) != 1:
|
||||
return None
|
||||
key = actions[0]
|
||||
safe = ('modal_confirm', 'select_startup_battery', 'confirm_startup_battery',
|
||||
'confirm_thunderbranch', 'confirm_reward', 'hardship_confirm',
|
||||
'confirm_swap', 'buy_swap', 'claim_final', 'run_complete', 'retry_network', 'shop_refresh')
|
||||
if key in safe:
|
||||
return key
|
||||
if key.startswith('skill_swap_'):
|
||||
return key
|
||||
if key.startswith('button_') and options[key]['action']['tool'] in ('click', 'keypress'):
|
||||
description = options[key]['description']
|
||||
if any(label in description for label in ('确认', '继续', '进入', '开始战斗', '离开', '下一层', '进行判定')):
|
||||
return key
|
||||
return None
|
||||
|
||||
|
||||
def fixed_fallback(options):
|
||||
for key in ('run_complete','required_pack','pack_refresh','select_startup_battery','confirm_startup_battery','select_thunderbranch','confirm_thunderbranch','prepare_thrill','prepare_thunderbranch','decline_extra_observation','retry_network','buy_swap','confirm_swap','confirm_reward','hardship_confirm','modal_confirm','claim_final','close_progress'):
|
||||
if key in options:
|
||||
@@ -630,7 +729,8 @@ def execute(bridge, action, deadline=None):
|
||||
def call(tool, args=None):
|
||||
if STOP_FILE.exists() or deadline is not None and time.monotonic() >= deadline:
|
||||
return {'ok':False,'stopped':True}
|
||||
return bridge.call(tool, args)
|
||||
result = bridge.call(tool, args)
|
||||
return normalize(result) if tool == 'get_state' else result
|
||||
if action['tool'] == 'claim_final':
|
||||
result = call('click', action['args'])
|
||||
if not result.get('ok'):
|
||||
@@ -748,13 +848,12 @@ def main(executor_decider=None):
|
||||
save_json(status, {'state': 'stopped', 'step': step, 'run_id': run['run_id']})
|
||||
return
|
||||
observation_started = time.monotonic()
|
||||
state = bridge.call('get_state')
|
||||
state = normalize(bridge.call('get_state'))
|
||||
observation_ms = round((time.monotonic()-observation_started)*1000)
|
||||
if not state.get('ok'):
|
||||
state = {'ok': False, 'items': [{'text': 'MCP 截图暂不可用;游戏窗口可能正在重建。' + str(state.get('error','')),
|
||||
'x':0,'y':0,'w':0,'h':0,'score':1.0}]}
|
||||
fingerprint = tuple(item['text'] for item in text_items(state)
|
||||
if item.get('score', 0) > 0.93 and not item['text'].replace('.', '').isdigit() and not re.fullmatch(r'[0-9:]+', item['text']))
|
||||
fingerprint = scene_fingerprint(state)
|
||||
if any('正在探' in i['text'] or '主题卡包' in i['text'] for i in text_items(state)):
|
||||
context['refresh_used'] = 0
|
||||
for item in text_items(state):
|
||||
@@ -782,7 +881,7 @@ def main(executor_decider=None):
|
||||
and repeats.get((fingerprint, action_id), 0) >= 1):
|
||||
fallback = options[key].get('fallback_action')
|
||||
button = next((i for i in text_items(state)
|
||||
if i['text'].replace(' ', '') in ('进入', '开始战斗', '确认', '继续')
|
||||
if i['text'].replace(' ', '') in ('进入', '开始战斗', '确认', '继续', '进行判定')
|
||||
and button_enabled(state, i)), None)
|
||||
if fallback or button:
|
||||
options[key]['action'] = fallback or {'tool': 'click', 'args': {
|
||||
@@ -810,6 +909,8 @@ def main(executor_decider=None):
|
||||
choice, latency = 'event_advance', 0
|
||||
elif 'battle' in options:
|
||||
choice, latency = 'battle', 0
|
||||
elif unambiguous_routine(options):
|
||||
choice, latency = unambiguous_routine(options), 0
|
||||
else:
|
||||
try:
|
||||
decision = router.choose(state, options, recent, run['run_id'])
|
||||
@@ -840,6 +941,8 @@ def main(executor_decider=None):
|
||||
record['failed_jev_ms'] = decision.failed_jev_ms
|
||||
if decision.fallback_reason:
|
||||
record['decision_fallback_reason'] = decision.fallback_reason
|
||||
if decision.candidate_scope is not None:
|
||||
record['provider_candidate_scope'] = decision.candidate_scope
|
||||
if choice == 'run_complete':
|
||||
complete_run(RUNTIME_HOME, run, context, state.get('screen'))
|
||||
record['state'] = 'completed'
|
||||
|
||||
@@ -0,0 +1,98 @@
|
||||
# 看门狗: 会话掉回 "Disc" 时重新挂到物理控制台, 恢复桌面渲染。
|
||||
#
|
||||
# 背景: DSH / lc-mcp 常驻服务跑在会话 2。RDP 断开后 Windows 会拆掉该会话的
|
||||
# 显示表面, 截图变全黑, AALC 直接失明。把会话挂到 console 后即使无人连接
|
||||
# 也持续渲染。
|
||||
#
|
||||
# 只在会话状态为 Disc(无人连接) 时动作; 用户正通过 RDP/ToDesk 连着
|
||||
# (Active/Conn) 时绝不插手, 否则会把用户挤下线。
|
||||
#
|
||||
# tscon 需要 SeTcbPrivilege, 普通令牌拿不到, 所以用 -Verb RunAs 提权。
|
||||
# 本机 ConsentPromptBehaviorAdmin=0(从不通知), 提权静默通过, 不会弹框。
|
||||
#
|
||||
# 会话号默认取游戏进程所在会话, 找不到游戏时取本脚本所在会话(计划任务以
|
||||
# 登录用户身份运行, 与桌面同一会话)。重启或重新登录后会话号会变, 不要写死。
|
||||
|
||||
param(
|
||||
[int]$SessionId = -1,
|
||||
[string]$Python = "",
|
||||
[string]$LogPath = "$env:USERPROFILE\lc_mcp\keep_display.log",
|
||||
[switch]$Verbose,
|
||||
[switch]$ForceDisc
|
||||
)
|
||||
|
||||
function Write-Log([string]$msg) {
|
||||
$dir = Split-Path -Parent $LogPath
|
||||
if (-not (Test-Path $dir)) { New-Item -ItemType Directory -Path $dir -Force | Out-Null }
|
||||
Add-Content -Path $LogPath -Value ("[{0}] {1}" -f (Get-Date -Format 'yyyy-MM-dd HH:mm:ss'), $msg) -Encoding UTF8
|
||||
$all = @(Get-Content $LogPath -ErrorAction SilentlyContinue)
|
||||
if ($all.Count -gt 400) { $all | Select-Object -Last 400 | Set-Content $LogPath -Encoding UTF8 }
|
||||
}
|
||||
|
||||
# 会话状态: 用 WTS API (qwinsta 在计划任务上下文里拿不到输出)
|
||||
$py = if ($Python) { $Python } else { Join-Path $PSScriptRoot '..\vendor\aalc\.venv\Scripts\python.exe' }
|
||||
if ($SessionId -lt 0) {
|
||||
$game = Get-Process -Name LimbusCompany -ErrorAction SilentlyContinue | Select-Object -First 1
|
||||
$SessionId = if ($game) { $game.SessionId } else { (Get-Process -Id $PID).SessionId }
|
||||
}
|
||||
$statePy = Join-Path $PSScriptRoot 'session_state.py'
|
||||
if (-not (Test-Path $py) -or -not (Test-Path $statePy)) {
|
||||
Write-Log "missing python ($py) or session_state.py ($statePy); abort"
|
||||
exit 1
|
||||
}
|
||||
$state = (& $py -X utf8 $statePy $SessionId 2>&1 | Out-String).Trim()
|
||||
if ($state -notin @('Active', 'Connected', 'Disc', 'Idle')) {
|
||||
Write-Log "session $SessionId state unreadable ('$state'); abort"
|
||||
exit 1
|
||||
}
|
||||
|
||||
if ($ForceDisc) {
|
||||
Write-Log "ForceDisc: skipping state check (real state was '$state')"
|
||||
$state = 'Disc'
|
||||
} elseif ($state -ne 'Disc') {
|
||||
if ($Verbose) { Write-Log "session $SessionId is $state; nothing to do" }
|
||||
exit 0
|
||||
}
|
||||
|
||||
Write-Log "session $SessionId is Disc -> re-attaching to console via elevated tscon"
|
||||
$out = Join-Path (Split-Path -Parent $LogPath) 'tscon_last.txt'
|
||||
Remove-Item $out -ErrorAction SilentlyContinue
|
||||
# 之前的版本把命令拼成 -Command 字符串交给 Start-Process, 10-05 的 41 次失败
|
||||
# 全部只留下 "(no output file)", 连 tscon 有没有跑都看不出(多半是引号在
|
||||
# 命令行拼接时被吃掉, 重定向没生效)。改用 -EncodedCommand 原样传递,
|
||||
# 并用 -PassThru 拿提权进程的退出码(= tscon 的退出码)。
|
||||
# 32 位宿主里 System32 会被重定向到 SysWOW64, 那里没有 tscon.exe, 用 Sysnative 绕过。
|
||||
$sysDir = if (Test-Path "$env:SystemRoot\Sysnative") { "$env:SystemRoot\Sysnative" } else { "$env:SystemRoot\System32" }
|
||||
$inner = "& '$sysDir\tscon.exe' $SessionId /dest:console *> '$out'; exit `$LASTEXITCODE"
|
||||
$encoded = [Convert]::ToBase64String([Text.Encoding]::Unicode.GetBytes($inner))
|
||||
try {
|
||||
$proc = Start-Process -FilePath "$sysDir\WindowsPowerShell\v1.0\powershell.exe" `
|
||||
-ArgumentList @('-NoProfile', '-NonInteractive', '-EncodedCommand', $encoded) `
|
||||
-Verb RunAs -WindowStyle Hidden -Wait -PassThru -ErrorAction Stop
|
||||
} catch {
|
||||
Write-Log "elevated tscon launch FAILED: $($_.Exception.Message)"
|
||||
exit 1
|
||||
}
|
||||
Start-Sleep -Seconds 2
|
||||
# Get-Content -Raw 一般返回单个字符串, 但文件为空或 $out 被当成通配时可能返回数组,
|
||||
# 那时 .Trim() 会报 "does not contain a method named 'Trim'"。先拼接成字符串再用。
|
||||
$tsconOut = ''
|
||||
if (Test-Path $out) {
|
||||
$raw = @(Get-Content $out -ErrorAction SilentlyContinue) -join ' '
|
||||
$tsconOut = ($raw -replace '\s+', ' ').Trim()
|
||||
}
|
||||
if (-not $tsconOut) { $tsconOut = '(no output)' }
|
||||
$after = (& $py -X utf8 $statePy $SessionId 2>&1 | Out-String).Trim()
|
||||
Write-Log "tscon exit=$($proc.ExitCode) said: $tsconOut | session $SessionId now: $after"
|
||||
|
||||
# 渲染自检: BitBlt 屏幕 DC 成功 = 桌面在出图
|
||||
$renderPy = Join-Path $PSScriptRoot 'render_check.py'
|
||||
if (Test-Path $renderPy) {
|
||||
$rc = (& $py -X utf8 $renderPy 2>&1 | Out-String).Trim()
|
||||
Write-Log "render check: $rc"
|
||||
}
|
||||
|
||||
if ($after -ne 'Active' -and $after -ne 'Connected') {
|
||||
Write-Log "WARN: session $SessionId still '$after' after tscon"
|
||||
exit 1
|
||||
}
|
||||
@@ -0,0 +1,101 @@
|
||||
"""Normalize observed English UI labels for the existing mirror controller."""
|
||||
import re
|
||||
|
||||
LABELS = {
|
||||
'confirm':'确认', 'continue':'继续', 'proceed':'继续', 'enter':'进入', 'cancel':'取消',
|
||||
'leave':'离开', 'close':'关闭', 'startbattle':'开始战斗', 'startcombat':'开始战斗',
|
||||
'battle!':'开始战斗', 'chainbattle!':'开始战斗',
|
||||
'select':'选择', 'selectasinner':'选择一位罪人', 'chooseasinner':'选择一位罪人',
|
||||
'commence':'进行判定', 'commencecheck':'进行判定', 'performcheck':'进行判定', 'checksuccess':'判定成功',
|
||||
'checkfailure':'判定失败', 'checkpassed':'判定成功', 'checkfailed':'判定失败',
|
||||
'result':'结果', 'options':'选项', 'choices':'选项', 'veryhigh':'极高',
|
||||
'high':'高', 'shop':'商店', 'specialshop':'特殊商店', 'refresh':'刷新',
|
||||
'enhancegifts':'强化饰品', 'enhancee.g.ogifts':'强化饰品', 'purchase':'购买',
|
||||
'buy':'购买', 'purchased':'已购买', 'currentownedskills':'当前持有技能', 'skillsowned':'当前持有技能',
|
||||
'thunderbranch':'雷枝', '雷击木':'雷枝', 'talismanbundle':'成捆的符咒',
|
||||
'standard-dutybattery':'标准负载电池', 'standarddutybattery':'标准负载电池',
|
||||
'thrill':'快感', 'selecte.g.ogifts':'选择E.G.O饰品',
|
||||
'selecte.g.ogift':'选择E.G.O饰品', 'declinegifts':'拒绝饰品',
|
||||
'declinegift':'拒绝饰品', 'refusegifts':'拒绝饰品',
|
||||
'refusegift':'拒绝饰品', 'selectede.g.ogift':'选择E.G.O饰品',
|
||||
'gaine.g.ogift':'获得E.G.O饰品', 'gaine.g.ogift!':'获得E.G.O饰品!',
|
||||
'obtaine.g.ogift!':'获得E.G.O饰品!', 'e.g.ogiftobservation':'饰品观测',
|
||||
'e.g.ogiftget!':'获得E.G.O饰品!',
|
||||
'e.g.ogiftsearch':'额外观测', 'eg.dgiftsearch':'额外观测',
|
||||
'nextfloor':'下一层', 'gotonextfloor':'前往下一层', 'proceedtonextfloor':'前往下一层', 'claim':'领取',
|
||||
'additionalhardship':'追加的苦难', 'additionalhardships':'追加的苦难',
|
||||
'obtaine.g.ogift':'获得E.G.O饰品', 'obtaine.g.ogifts':'获得E.G.O饰品',
|
||||
'claimrewards':'领取奖励', 'explorationcomplete':'探索完成',
|
||||
'explorationcompleted':'探索完成', 'dungeoncomplete':'探索完成',
|
||||
'drive':'驾驶席', 'sinners':'罪人', 'exploring:':'探索状态',
|
||||
'beforeentry':'入场前', 'retry':'重试', 'dungeonprogress':'迷宫进度',
|
||||
}
|
||||
|
||||
def normalize(state):
|
||||
if state.get('_lc_labels_normalized'):
|
||||
return state
|
||||
rate_items = []
|
||||
source_items = state.get('items') or []
|
||||
for item in source_items:
|
||||
raw = item['text']
|
||||
compact = re.sub(r'\s+', '', raw).lower().lstrip('×x')
|
||||
compact = compact.replace('e.g.0', 'e.g.o')
|
||||
text = LABELS.get(compact, raw)
|
||||
if compact == 'enhance' and any(re.sub(r'\s+', '', other['text']).lower() == 'gifts'
|
||||
and abs(other['x'] - item['x']) < 80 and 0 < other['y'] - item['y'] < 70
|
||||
for other in source_items):
|
||||
text = '强化饰品'
|
||||
if text == raw:
|
||||
if compact.startswith('aservererrorhasoccurred'):
|
||||
text = '服务器发生错误'
|
||||
elif re.fullmatch(r'retry(?:\d+|[>→»]+)?', compact):
|
||||
text = '重试'
|
||||
elif re.match(r'gain[0-9~〜+\-]+cost', compact):
|
||||
text = '经费 ' + raw
|
||||
elif re.match(r'e\.?g\.?o\.?resource', compact):
|
||||
text = '资源 ' + raw
|
||||
match = re.search(r'select(?:the)?(?:floor)?(\d+)(?:st|nd|rd|th)?floorthemepack', compact)
|
||||
if not match:
|
||||
match = re.search(r'selectfloorthemepack(?:for)?floor(\d+)', compact)
|
||||
if not match:
|
||||
match = re.search(r'selectfloor(\d+)themepack', compact)
|
||||
if match:
|
||||
text = '选择%s层主题卡包' % match[1]
|
||||
elif re.search(r'(?:select|choose).*encounterreward', compact):
|
||||
text = '选择遭遇战奖励卡'
|
||||
elif re.search(r'exploring(?:floor)?\d+', compact):
|
||||
text = '正在探索第%s层' % re.search(r'\d+', compact)[0]
|
||||
elif compact.startswith('exploringfloor'):
|
||||
# A missing/misread floor number still identifies the map.
|
||||
# Leave the stored floor unchanged rather than invent a digit.
|
||||
text = '正在探索 ' + raw
|
||||
elif compact.startswith('select') and re.search(r'\d+/\d+', compact):
|
||||
text = '选择' + re.search(r'\d+/\d+', compact)[0]
|
||||
elif compact.startswith('refresh'):
|
||||
text = raw.replace(raw[:7], '刷新')
|
||||
elif compact.startswith('chooseacharactertoperform'):
|
||||
text = '选择一位罪人'
|
||||
elif re.match(r'who(?:will|should)', compact):
|
||||
text = '应该让谁 ' + raw
|
||||
elif (compact.startswith('skillreplacement') or compact.startswith('replaceskill')
|
||||
or re.match(r'(?:replace|change).*skil', compact)):
|
||||
text = '技能替换 ' + raw
|
||||
elif 'spend' in compact and 'replac' in compact and 'skil' in compact:
|
||||
text = '是否消耗 技能替换 ' + raw
|
||||
# English OCR sometimes merges several adjacent probability labels.
|
||||
# Keep each explicit Very High span as a separate observed candidate.
|
||||
if item.get('y', 0) > state.get('screen', {}).get('h', 1080) * .8 and 'veryhigh' in compact:
|
||||
for match in re.finditer('veryhigh', compact):
|
||||
center = item['x'] + (match.start() + len(match[0]) / 2) * item['w'] / len(compact)
|
||||
rate_items.append(dict(item, text='极高', original_text=raw,
|
||||
x=round(center - 25), w=50))
|
||||
for english, chinese in [('Sinclair','辛克莱'), ('Hong Lu','鸿璐'),
|
||||
('Heathcliff','希斯克利夫'), ('Outis','奥提斯'), ('Gregor','格里高尔'),
|
||||
('Ryoshu','良秀'), ('Faust','浮士德')]:
|
||||
text = text.replace(english, chinese)
|
||||
if text != raw:
|
||||
item['original_text'] = raw
|
||||
item['text'] = text
|
||||
state['items'] = (state.get('items') or []) + rate_items
|
||||
state['_lc_labels_normalized'] = True
|
||||
return state
|
||||
@@ -0,0 +1,137 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
"""levelup.py / auto_cycle.py 共用的 MCP 调用与坐标换算。
|
||||
|
||||
脚本里的坐标都是在 1600x900 客户区上实测的。实际客户区随 set_win_size
|
||||
和桌面分辨率变化(720/900/1080 都出现过), 所以:
|
||||
- get_state 返回的 OCR 坐标先换算到 1600x900 再交给脚本逻辑;
|
||||
- click/drag 的坐标从 1600x900 换算回当前客户区再发出。
|
||||
脚本内部因此只需要面对一套坐标。
|
||||
"""
|
||||
import json
|
||||
import os
|
||||
import subprocess
|
||||
import sys
|
||||
|
||||
HERE = os.path.dirname(os.path.abspath(__file__))
|
||||
|
||||
|
||||
def _console_python(exe):
|
||||
"""计划任务用 pythonw 启动(不弹窗、不抢游戏焦点), 但子进程要读 stdout, 换成同目录的 python。"""
|
||||
head, name = os.path.split(exe)
|
||||
if name.lower() == 'pythonw.exe' and os.path.exists(os.path.join(head, 'python.exe')):
|
||||
return os.path.join(head, 'python.exe')
|
||||
return exe
|
||||
|
||||
|
||||
# 默认用运行本脚本的解释器(AALC 的 venv); 需要时用 LC_PY 指定
|
||||
PY = os.environ.get('LC_PY') or _console_python(sys.executable)
|
||||
PROBE = os.path.join(HERE, 'mcp_probe.py')
|
||||
# Windows 上不给子进程弹控制台窗口(从 pythonw 启动时每次调用都会闪一下)
|
||||
NO_WINDOW = {'creationflags': 0x08000000} if os.name == 'nt' else {}
|
||||
|
||||
BASE_W, BASE_H = 1600, 900
|
||||
_scale = None
|
||||
|
||||
|
||||
def run(cmd):
|
||||
r = subprocess.run(cmd, capture_output=True, text=True,
|
||||
encoding='utf-8', errors='replace', **NO_WINDOW)
|
||||
return (r.stdout or '') + (r.stderr or '')
|
||||
|
||||
|
||||
def probe(tool, args=None, quiet=True):
|
||||
cmd = [PY, '-X', 'utf8', PROBE, tool]
|
||||
if args is not None:
|
||||
cmd.append(json.dumps(args, ensure_ascii=False))
|
||||
out = run(cmd).strip()
|
||||
for line in reversed(out.splitlines()):
|
||||
line = line.strip()
|
||||
if line.startswith('{'):
|
||||
try:
|
||||
return json.loads(line)
|
||||
except json.JSONDecodeError:
|
||||
continue
|
||||
if not quiet:
|
||||
print('[warn] probe %s 无 JSON 输出: %r' % (tool, out[:200]))
|
||||
return {}
|
||||
|
||||
|
||||
def state():
|
||||
"""get_state, 并把 OCR 坐标换算到 1600x900。"""
|
||||
global _scale
|
||||
r = probe('get_state', quiet=False)
|
||||
screen = r.get('screen') or {}
|
||||
if screen.get('w') and screen.get('h'):
|
||||
if abs(screen['w'] / screen['h'] - BASE_W / BASE_H) > 0.02:
|
||||
print('[warn] 客户区 %sx%s 不是 16:9, 坐标会偏' % (screen['w'], screen['h']))
|
||||
_scale = screen['w'] / BASE_W
|
||||
s = _scale or 1.0
|
||||
for it in r.get('items', []):
|
||||
for k in ('x', 'y', 'w', 'h'):
|
||||
if k in it:
|
||||
it[k] = round(it[k] / s)
|
||||
return r
|
||||
|
||||
|
||||
def items():
|
||||
return state().get('items', [])
|
||||
|
||||
|
||||
def screen_text(its):
|
||||
return ' | '.join(i.get('text', '') for i in its)
|
||||
|
||||
|
||||
def _to_client(x, y):
|
||||
if _scale is None:
|
||||
state()
|
||||
s = _scale or 1.0
|
||||
return int(round(x * s)), int(round(y * s))
|
||||
|
||||
|
||||
def click(x, y, times=1):
|
||||
cx, cy = _to_client(x, y)
|
||||
return probe('click', {'x': cx, 'y': cy, 'times': times})
|
||||
|
||||
|
||||
def find_text(needle, contains=True):
|
||||
"""按文本找画面元素; 返回元素本身(含 x/y/w/h)或 None。
|
||||
|
||||
默认子串匹配、忽略大小写。OCR 结果里 w/h 可能缺失, 调用方要能容忍。
|
||||
"""
|
||||
needle = needle.lower()
|
||||
for it in items():
|
||||
t = it.get('text', '').lower()
|
||||
if (needle in t) if contains else (needle == t):
|
||||
return it
|
||||
return None
|
||||
|
||||
|
||||
def click_text(needle, contains=True):
|
||||
"""按文本点击元素, 点的是识别框的**中心**。
|
||||
|
||||
实测坑: 直接点 OCR 返回的 (x, y) 是文本框左上角, 按下去常常落空
|
||||
(2026-10-13 Uptie 弹窗的 Cancel: 文本在 (346,660), 实际可点区域中心在
|
||||
(380,675), 点前者毫无反应, 弹窗一直卡着挡住后续所有输入)。
|
||||
"""
|
||||
it = find_text(needle, contains=contains)
|
||||
if not it:
|
||||
return False
|
||||
w = it.get('w') or 0
|
||||
h = it.get('h') or 0
|
||||
click(it['x'] + w / 2.0, it['y'] + h / 2.0)
|
||||
return True
|
||||
|
||||
|
||||
def drag(from_x, from_y, to_x, to_y):
|
||||
fx, fy = _to_client(from_x, from_y)
|
||||
tx, ty = _to_client(to_x, to_y)
|
||||
return probe('drag', {'from_x': fx, 'from_y': fy, 'to_x': tx, 'to_y': ty})
|
||||
|
||||
|
||||
def long_press(x, y):
|
||||
"""drag 起点==终点 即长按(实测可打开人格详情)。"""
|
||||
return drag(x, y, x, y)
|
||||
|
||||
|
||||
def keypress(key):
|
||||
return probe('keypress', {'key': key})
|
||||
@@ -0,0 +1,500 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
"""人格升级/同步自动化。
|
||||
|
||||
流程(全部基于实测坐标,1600x900 客户区):
|
||||
罪人界面 IDENTITIES 网格
|
||||
-> 长按卡片(drag 起终点相同) 打开人格详情
|
||||
-> 点 Level Up
|
||||
-> 对每种训练券点 »(全部投入)
|
||||
-> Confirm
|
||||
-> 关窗
|
||||
-> (可选) 点 Uptie -> Uptie -> Confirm -> 关窗
|
||||
-> 返回网格
|
||||
|
||||
用法:
|
||||
python levelup.py list 列出网格里队内(SELECTED)人格及等级
|
||||
python levelup.py weakest [--uptie] 对队内等级最低者执行升级(可选同步)
|
||||
python levelup.py card <col> <row> [--uptie]
|
||||
python levelup.py back 返回网格
|
||||
|
||||
退出码: 0 成功 / 1 失败
|
||||
"""
|
||||
import sys
|
||||
import time
|
||||
|
||||
from lc_ui import click, click_text, keypress, long_press, screen_text, state
|
||||
|
||||
# 网格布局(1600x900 坐标, 由 lc_ui 换算到实际客户区)。
|
||||
# 第 4 行在 y=942, 超出客户区, 需要滚动才能看到, 这里不处理。
|
||||
COLS = [335, 508, 681, 853, 1026, 1198]
|
||||
ROWS = [260, 487, 715]
|
||||
|
||||
# 固定控件坐标
|
||||
BACK = (85, 75)
|
||||
BTN_LEVEL_UP = (1164, 235)
|
||||
BTN_UPTIE = (1367, 235)
|
||||
TICKET_MAX_X = 1133
|
||||
TICKET_ROWS = [383, 490, 598] # IV / III / II
|
||||
POWERUP_CONFIRM = (1030, 670)
|
||||
POWERUP_CANCEL = (603, 670)
|
||||
UPTIE_CONFIRM = (1085, 580)
|
||||
UPTIE_DONE_CONFIRM = (772, 661)
|
||||
UPTIE_CANCEL = (526, 660)
|
||||
|
||||
|
||||
def near(items, cx, cy, dx=100, dy=115):
|
||||
return [i for i in items
|
||||
if abs(i.get('x', 0) - cx) < dx and abs(i.get('y', 0) - cy) < dy]
|
||||
|
||||
|
||||
def parse_level(text):
|
||||
"""'LV36' / 'Lv.04' / 'Lv-30' -> int;失败返回 None"""
|
||||
digits = ''.join(ch for ch in str(text) if ch.isdigit())
|
||||
return int(digits) if digits else None
|
||||
|
||||
|
||||
def scan_grid(items):
|
||||
"""返回 [(col, row, x, y, level, selected, name)]"""
|
||||
cards = []
|
||||
for ri, ry in enumerate(ROWS):
|
||||
for ci, cx in enumerate(COLS):
|
||||
ins = near(items, cx, ry)
|
||||
if not ins:
|
||||
continue
|
||||
lvl = None
|
||||
for it in ins:
|
||||
t = it.get('text', '')
|
||||
if t[:2].lower() == 'lv' and parse_level(t) is not None:
|
||||
lvl = parse_level(t)
|
||||
break
|
||||
if lvl is None:
|
||||
continue
|
||||
sel = any('SELECTED' in it.get('text', '') for it in ins)
|
||||
name = ' '.join(it.get('text', '') for it in ins
|
||||
if it.get('y', 0) > ry
|
||||
and not it.get('text', '')[:2].lower() == 'lv'
|
||||
and 'SELECTED' not in it.get('text', ''))
|
||||
cards.append((ci, ri, cx, ry, lvl, sel, name.strip()))
|
||||
return cards
|
||||
|
||||
|
||||
def cmd_list():
|
||||
items = state().get('items', [])
|
||||
cards = scan_grid(items)
|
||||
if not cards:
|
||||
print('网格为空或不在 IDENTITIES 界面')
|
||||
print('当前画面: ' + screen_text(items)[:200])
|
||||
return 1
|
||||
print('%-4s %-4s %-6s %-9s %s' % ('col', 'row', 'lv', 'inTeam', 'name'))
|
||||
for ci, ri, cx, ry, lvl, sel, name in cards:
|
||||
print('%-4d %-4d %-6d %-9s %s' % (ci, ri, lvl, 'Y' if sel else '-', name))
|
||||
return 0
|
||||
|
||||
|
||||
def ticket_balance():
|
||||
"""当前 Power-up 界面上的券余额 -> {tier: owned}
|
||||
|
||||
不靠券名文字判定档位(OCR 会把 III 认成 lll),改用行的 y 坐标:
|
||||
三行固定为 IV / III / II。'Owned:o' 里的 o/O 视作 0。
|
||||
"""
|
||||
items = state().get('items', [])
|
||||
bal = {}
|
||||
for it in items:
|
||||
t = it.get('text', '')
|
||||
if 'Owned' not in t:
|
||||
continue
|
||||
tail = t.split('Owned')[-1]
|
||||
digits = ''.join(ch for ch in tail if ch.isdigit())
|
||||
val = int(digits) if digits else 0
|
||||
y = it.get('y', 0)
|
||||
tier = 'IV' if y < 390 else ('III' if y < 500 else 'II')
|
||||
bal[tier] = val
|
||||
return bal
|
||||
|
||||
|
||||
def do_level_up(hint=None):
|
||||
"""在已打开的人格详情页执行升级。返回 (ok, 描述), ok 为 None 表示没有券可用。
|
||||
|
||||
成败看详情页的等级/经验条在升级前后是否变化。不能看 'Level Up'/'Uptie'
|
||||
字样: 详情页上它们一直都在, 升级失败也会被判成成功。
|
||||
"""
|
||||
lvl0, _, bar0 = read_detail(hint)
|
||||
click(*BTN_LEVEL_UP)
|
||||
time.sleep(3.5)
|
||||
items = state().get('items', [])
|
||||
txt = screen_text(items)
|
||||
# Power-up 弹窗独有 'Items' 分页与 'Owned' 字样
|
||||
if 'Owned' not in txt or 'Cancel' not in txt:
|
||||
return False, '未打开 Power-up 界面: ' + txt[:160]
|
||||
before = ticket_balance()
|
||||
if not any(v > 0 for v in before.values()):
|
||||
click(*POWERUP_CANCEL)
|
||||
time.sleep(2)
|
||||
return None, '没有可用训练券(余额=%s), 跳过升级' % before
|
||||
for y in TICKET_ROWS:
|
||||
click(TICKET_MAX_X, y)
|
||||
time.sleep(1.2)
|
||||
items = state().get('items', [])
|
||||
txt = screen_text(items)
|
||||
target = None
|
||||
for it in items:
|
||||
t = it.get('text', '')
|
||||
if '▶' in t:
|
||||
nums = [parse_level(p) for p in t.split('▶')]
|
||||
nums = [n for n in nums if n is not None]
|
||||
if len(nums) >= 2:
|
||||
target = nums[-1]
|
||||
if target is None:
|
||||
# OCR 常把 ▶ 认成 · 或丢失, 退而求其次看是否有两段等级
|
||||
for it in items:
|
||||
t = it.get('text', '')
|
||||
nums = [parse_level(p) for p in t.replace('·', '▶').split('▶')]
|
||||
nums = [n for n in nums if n is not None]
|
||||
if len(nums) >= 2 and nums[-1] > nums[0]:
|
||||
target = nums[-1]
|
||||
click(*POWERUP_CONFIRM)
|
||||
time.sleep(4.5)
|
||||
txt = screen_text(state().get('items', []))
|
||||
# 弹窗"还在"不代表升级没生效。2026-10-13 实测: Zwei 从 Lv.33 一路升到 Lv.40(MAX),
|
||||
# 券也确实扣了, 但 Confirm 后弹窗仍在, 旧代码据此直接判 FAIL —— 假阴性。
|
||||
# 详情页的等级/经验条才是事实来源, 所以先关弹窗再读, 用同一个判据下结论。
|
||||
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)
|
||||
desc = '券=%s 目标=%s 等级 %s->%s 经验 %s->%s%s' % (
|
||||
before, target, lvl0, lvl1, bar0, bar1,
|
||||
' (弹窗未关, 已按详情页判定)' if lingering else '')
|
||||
if lvl0 is not None and lvl1 is not None and lvl1 > lvl0:
|
||||
return True, desc
|
||||
if bar0 is not None and bar1 is not None and bar1 != bar0:
|
||||
return True, desc
|
||||
if lingering:
|
||||
return False, 'Confirm 后 Power-up 窗口仍在且等级未变: ' + desc
|
||||
return False, '升级未确认: ' + desc
|
||||
|
||||
|
||||
def skip_cutscene(press_esc=True):
|
||||
"""同步到三阶会解锁人格剧情并自动播放。ESC 会弹"是否跳过", 点 Confirm。
|
||||
|
||||
press_esc=False 时只处理已经弹出的跳过框, 不主动按 ESC——没有过场时按 ESC
|
||||
会关掉当前弹窗或退出详情页。返回 True 表示确实跳过一个过场。
|
||||
"""
|
||||
items = state().get('items', [])
|
||||
txt = screen_text(items)
|
||||
if 'skip' not in txt.lower() and press_esc:
|
||||
keypress('esc')
|
||||
time.sleep(2)
|
||||
items = state().get('items', [])
|
||||
txt = screen_text(items)
|
||||
if 'skip' in txt.lower():
|
||||
conf = None
|
||||
for it in items:
|
||||
if it.get('text', '').strip().startswith('Confirm'):
|
||||
conf = it
|
||||
if conf:
|
||||
click(conf['x'], conf['y'])
|
||||
time.sleep(4)
|
||||
return True
|
||||
return False
|
||||
|
||||
|
||||
def dismiss_modal():
|
||||
"""关掉可能残留的 Uptie / Power-up 弹窗, 返回 True 表示画面已干净。
|
||||
|
||||
实测坑(2026-10-13): Tier IV 同步弹窗的 Cancel 按钮, 旧代码写死坐标
|
||||
(526,660), 而那一版弹窗多了 Shard::Thread Exchange 一排, 实际 Cancel
|
||||
在 (380,675) —— 点空处毫无反应, 弹窗一直卡着挡住后续所有输入, 结果
|
||||
六张卡的长按全部失效, 升级环节空跑还报"无需升级"。
|
||||
所以这里: (1) 按文本点识别框中心, 找不到才退回固定坐标;
|
||||
(2) 每次长按前先清一遍, 比事后补救可靠。
|
||||
"""
|
||||
for _ in range(3):
|
||||
its = state().get('items', [])
|
||||
txt = screen_text(its)
|
||||
if 'Currency Req' in txt or 'Skills Upgraded' in txt:
|
||||
if not click_text('Cancel'):
|
||||
click(*UPTIE_CANCEL)
|
||||
time.sleep(2.5)
|
||||
continue
|
||||
if 'Owned' in txt and 'Cancel' in txt: # Power-up 弹窗
|
||||
if not click_text('Cancel'):
|
||||
click(*POWERUP_CANCEL)
|
||||
time.sleep(2.5)
|
||||
continue
|
||||
return True
|
||||
return False
|
||||
|
||||
|
||||
def detail_page_open(txt):
|
||||
"""人格详情页是否已打开。
|
||||
|
||||
不能只看 'Level Up': 满级(Lv.40)时那个按钮显示的是 **MAX** ——
|
||||
2026-10-13 实测 Zwei 满级后长按成功, 却因 'Level Up' 不在画面里被判成
|
||||
"长按未打开详情"而跳过。详情页独有的还有 Uptie 按钮与 Summary/Sanity 区块,
|
||||
网格上都不会出现。
|
||||
"""
|
||||
return ('Level Up' in txt) or ('Uptie' in txt) or ('Summary' in txt and 'Sanity' in txt)
|
||||
|
||||
|
||||
def do_uptie():
|
||||
"""在人格详情页执行同步。返回 (ok, 描述)
|
||||
|
||||
注意: 同步成功会解锁并自动播放"人格剧情", 此时界面既没有 Uptied 字样
|
||||
也不是失败——必须先跳过过场再判定, 否则会误报 FAIL。
|
||||
"""
|
||||
for attempt in range(2):
|
||||
click(*BTN_UPTIE)
|
||||
time.sleep(4)
|
||||
items = state().get('items', [])
|
||||
txt = screen_text(items)
|
||||
if ('Currency Req' in txt or 'Stats Increased' in txt
|
||||
or 'Skills Gained' in txt or 'Skills Upgraded' in txt):
|
||||
break
|
||||
else:
|
||||
return False, '未打开 Uptie 弹窗: ' + txt[:160]
|
||||
click(*UPTIE_CONFIRM)
|
||||
time.sleep(4.5)
|
||||
|
||||
txt = screen_text(state().get('items', []))
|
||||
# 弹窗还在(仍显示材料需求)说明没同步成。必须先判断这个: 弹窗里本身就有
|
||||
# 'Skills Gained', 放在成功判定后面会把失败认成成功。
|
||||
if 'Currency Req' in txt or 'Egoshard' in txt:
|
||||
if not click_text('Cancel'):
|
||||
click(*UPTIE_CANCEL)
|
||||
time.sleep(2)
|
||||
return False, '同步未生效(通常缺自我碎片): ' + txt[:160]
|
||||
if skip_cutscene(press_esc=False):
|
||||
time.sleep(3)
|
||||
return True, '同步成功(并跳过了解锁的人格剧情)'
|
||||
if 'Uptied' in txt or 'Enhanced' in txt or 'Gained' in txt:
|
||||
click(*UPTIE_DONE_CONFIRM)
|
||||
time.sleep(2.5)
|
||||
return True, '同步成功'
|
||||
# 什么都没认出: 可能是剧情已经在播但还没出跳过提示, 这时才按 ESC
|
||||
if skip_cutscene(press_esc=True):
|
||||
time.sleep(3)
|
||||
return True, '同步成功(并跳过了解锁的人格剧情)'
|
||||
# 画面未知时不盲点坐标, 交给调用方按网格判断退回
|
||||
return False, '同步结果未知: ' + txt[:160]
|
||||
|
||||
|
||||
def cmd_card(ci, ri, uptie=False):
|
||||
if not (0 <= ci < len(COLS) and 0 <= ri < len(ROWS)):
|
||||
print('坐标越界')
|
||||
return 1
|
||||
cx, cy = COLS[ci], ROWS[ri]
|
||||
print('长按卡片 col=%d row=%d @(%d,%d)' % (ci, ri, cx, cy))
|
||||
dismiss_modal()
|
||||
long_press(cx, cy)
|
||||
time.sleep(4)
|
||||
items = state().get('items', [])
|
||||
txt = screen_text(items)
|
||||
if not detail_page_open(txt):
|
||||
print('长按未打开详情页: ' + txt[:200])
|
||||
return 1
|
||||
print('详情页已打开')
|
||||
ok, desc = do_level_up()
|
||||
print('升级: %s (%s)' % ('OK' if ok else 'FAIL', desc))
|
||||
if uptie:
|
||||
ok2, desc2 = do_uptie()
|
||||
print('同步: %s (%s)' % ('OK' if ok2 else 'FAIL', desc2))
|
||||
click(*BACK)
|
||||
time.sleep(2.5)
|
||||
items = state().get('items', [])
|
||||
txt = screen_text(items)
|
||||
# 同步解锁的人格剧情可能在返回途中才弹出, 先跳过再判断
|
||||
if 'skip' in txt.lower() or 'LOADING' in txt.upper():
|
||||
skip_cutscene()
|
||||
time.sleep(3)
|
||||
items = state().get('items', [])
|
||||
txt = screen_text(items)
|
||||
# 只在还不在网格时再退一层——避免多余返回键落到主界面上(那里会进剧情)
|
||||
if not ('IDENTITIES' in txt and 'Facades' in txt):
|
||||
click(*BACK)
|
||||
time.sleep(2.5)
|
||||
items = state().get('items', [])
|
||||
txt = screen_text(items)
|
||||
if not ('IDENTITIES' in txt and 'Facades' in txt):
|
||||
print('[warn] 未能回到 Identities 网格, 当前: ' + txt[:160])
|
||||
return 0 if ok else 1
|
||||
|
||||
|
||||
# 每级升级所需经验(来源 wiki "EXP per Level" 表)。
|
||||
# EXP_NEED[L] = 从 L-1 级升到 L 级所需经验。
|
||||
EXP_NEED = {
|
||||
2: 10, 3: 12, 4: 15, 5: 20, 6: 27, 7: 40, 8: 59, 9: 88, 10: 125, 11: 168,
|
||||
12: 227, 13: 298, 14: 381, 15: 482, 16: 591, 17: 728, 18: 885, 19: 1064,
|
||||
20: 1261, 21: 1488, 22: 1739, 23: 2016, 24: 2327, 25: 2674, 26: 3047,
|
||||
27: 3456, 28: 3899, 29: 4378, 30: 4899, 31: 3899, 32: 4378, 33: 4899,
|
||||
34: 5468, 35: 6075, 36: 4899, 37: 5468, 38: 6075, 39: 6722, 40: 7413,
|
||||
41: 6075, 42: 6722, 43: 7413, 44: 8156, 45: 8953, 46: 7413, 47: 7413,
|
||||
48: 7413, 49: 7413, 50: 7413, 51: 8156, 52: 8156, 53: 8156, 54: 8156,
|
||||
55: 8156, 56: 8953, 57: 8953, 58: 8953, 59: 8953, 60: 8953, 61: 9792,
|
||||
62: 9792, 63: 9792, 64: 9792, 65: 9792,
|
||||
}
|
||||
|
||||
|
||||
def level_from_bar(cur, need, hint=None):
|
||||
"""由详情页 EXP 进度条 "cur/need" 反推等级。
|
||||
|
||||
进度条分母 = 当前等级升下一级所需经验 = EXP_NEED[L+1]。
|
||||
表里数值有重复(如 4899 对应 30/33/36), 用网格读到的等级作 tiebreak。
|
||||
"""
|
||||
cands = [lv - 1 for lv, v in EXP_NEED.items() if v == need and lv - 1 >= 1]
|
||||
if not cands:
|
||||
return None
|
||||
if hint:
|
||||
return min(cands, key=lambda c: abs(c - hint))
|
||||
return cands[0]
|
||||
|
||||
|
||||
def read_detail(hint=None):
|
||||
"""从已打开的人格详情页读 (真实等级, 名字, 经验条 (cur, need))。
|
||||
|
||||
网格里的小号艺术字 OCR 极不可靠(实测 LV14->'Lv.1', LV24->'LV2H');
|
||||
详情页的大号等级也常被漏认(实测 LCB 罪人页只认出 '547/885')。
|
||||
所以以 EXP 进度条反推为主, 直接读到的 LV 值为辅。
|
||||
"""
|
||||
items = state().get('items', [])
|
||||
lv_cands = []
|
||||
name = ''
|
||||
bar = None
|
||||
for it in items:
|
||||
t = it.get('text', '').strip()
|
||||
y = it.get('y', 0)
|
||||
up = t.upper().replace(' ', '')
|
||||
if up.startswith('LV') and 140 < y < 340:
|
||||
v = parse_level(t)
|
||||
if v:
|
||||
lv_cands.append(v)
|
||||
if 120 < y < 195 and len(t) > 6 and not up.startswith('LV'):
|
||||
if not name:
|
||||
name = t
|
||||
if bar is None and 195 < y < 300 and '/' in t:
|
||||
parts = [p for p in t.split('/') if p.strip().isdigit()]
|
||||
if len(parts) == 2:
|
||||
bar = (int(parts[0]), int(parts[1]))
|
||||
|
||||
direct = min(lv_cands) if lv_cands else None
|
||||
from_bar = level_from_bar(bar[0], bar[1], hint=hint) if bar else None
|
||||
|
||||
# 满级时进度条反推必然偏低: 分母是"下一级"的需求, 而等级已经封顶。
|
||||
# 2026-10-13 实测 Zwei 满级(LV40/MAX, 进度条 0/6075), 反推成 Lv.34,
|
||||
# 还顺带报了一句"与直读不符"。满级时直接读到的 LV 才是对的。
|
||||
maxed = any('MAX' in it.get('text', '').upper() for it in items)
|
||||
if maxed:
|
||||
direct_max = max(lv_cands) if lv_cands else None
|
||||
if direct_max is not None:
|
||||
return direct_max, name, bar
|
||||
|
||||
if from_bar is not None and direct is not None:
|
||||
# 两者都有时以进度条为准(数字识别比艺术字可靠), 但差异过大时告警
|
||||
if abs(from_bar - direct) > 2:
|
||||
print(' [warn] 进度条推算 Lv.%d 与直读 Lv.%d 不符, 取进度条'
|
||||
% (from_bar, direct))
|
||||
return from_bar, name, bar
|
||||
if from_bar is not None:
|
||||
return from_bar, name, bar
|
||||
return direct, name, bar
|
||||
|
||||
|
||||
def cmd_progress(target=34, uptie=True, max_try=6):
|
||||
"""按网格等级升序依次打开详情, 以详情页真实等级判断, 升级第一个低于 target 的。
|
||||
|
||||
网格 OCR 会误读等级, 所以不能只信它——必须逐个打开核实。
|
||||
"""
|
||||
items = state().get('items', [])
|
||||
cards = scan_grid(items)
|
||||
team = sorted([c for c in cards if c[5]], key=lambda c: c[4])
|
||||
if not team:
|
||||
print('未找到队内(SELECTED)人格')
|
||||
return 1
|
||||
for ci, ri, cx, ry, ocr_lvl, sel, nm in team[:max_try]:
|
||||
print('--- 候选 col=%d row=%d (网格读作 Lv.%s %s)' % (ci, ri, ocr_lvl, nm))
|
||||
# 长按前先清残留弹窗: 一张卡没关干净, 后面每张都会被挡住
|
||||
if not dismiss_modal():
|
||||
print(' [warn] 有弹窗关不掉, 长按可能无效')
|
||||
long_press(cx, ry)
|
||||
time.sleep(4)
|
||||
items = state().get('items', [])
|
||||
txt = screen_text(items)
|
||||
if not detail_page_open(txt):
|
||||
print(' 长按未打开详情, 跳过')
|
||||
continue
|
||||
true_lvl, true_name, _ = read_detail(hint=ocr_lvl)
|
||||
print(' 详情页: %s 真实等级=%s' % (true_name, true_lvl))
|
||||
if true_lvl is None:
|
||||
# 详情页读不到时退回网格值——网格会误读, 但总比跳过整张卡好
|
||||
print(' 详情页读不到等级, 退回网格值 Lv.%s' % ocr_lvl)
|
||||
true_lvl = ocr_lvl
|
||||
if true_lvl >= target:
|
||||
print(' 已达目标 Lv.%d, 跳过' % target)
|
||||
click(*BACK)
|
||||
time.sleep(2.5)
|
||||
continue
|
||||
ok, desc = do_level_up(hint=true_lvl)
|
||||
print(' 升级: %s (%s)' % ('OK' if ok else ('SKIP' if ok is None else 'FAIL'), desc))
|
||||
if uptie:
|
||||
ok2, desc2 = do_uptie()
|
||||
print(' 同步: %s (%s)' % ('OK' if ok2 else 'FAIL', desc2))
|
||||
click(*BACK)
|
||||
time.sleep(2.5)
|
||||
items = state().get('items', [])
|
||||
txt = screen_text(items)
|
||||
if not ('IDENTITIES' in txt and 'Facades' in txt):
|
||||
click(*BACK)
|
||||
time.sleep(2.5)
|
||||
return 0 if ok else 1
|
||||
print('前 %d 个候选都不需要升级或无法读取' % max_try)
|
||||
return 0
|
||||
|
||||
|
||||
def cmd_weakest(uptie=False):
|
||||
items = state().get('items', [])
|
||||
cards = scan_grid(items)
|
||||
team = [c for c in cards if c[5]]
|
||||
if not team:
|
||||
print('未找到队内(SELECTED)人格')
|
||||
return 1
|
||||
team.sort(key=lambda c: c[4])
|
||||
ci, ri, cx, ry, lvl, sel, name = team[0]
|
||||
print('队内最低: Lv.%d %s (col=%d row=%d)' % (lvl, name, ci, ri))
|
||||
return cmd_card(ci, ri, uptie=uptie)
|
||||
|
||||
|
||||
def cmd_back():
|
||||
click(*BACK)
|
||||
time.sleep(2.5)
|
||||
click(*BACK)
|
||||
time.sleep(2.5)
|
||||
print('已返回')
|
||||
return 0
|
||||
|
||||
|
||||
def main():
|
||||
args = sys.argv[1:]
|
||||
if not args:
|
||||
print(__doc__)
|
||||
return 2
|
||||
if args[0] == 'list':
|
||||
return cmd_list()
|
||||
if args[0] == 'back':
|
||||
return cmd_back()
|
||||
if args[0] == 'weakest':
|
||||
return cmd_weakest(uptie='--uptie' in args)
|
||||
if args[0] == 'progress':
|
||||
tgt = 34
|
||||
for a in args[1:]:
|
||||
if a.isdigit():
|
||||
tgt = int(a)
|
||||
return cmd_progress(target=tgt, uptie='--uptie' in args)
|
||||
if args[0] == 'card' and len(args) >= 3:
|
||||
return cmd_card(int(args[1]), int(args[2]), uptie='--uptie' in args)
|
||||
print(__doc__)
|
||||
return 2
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
raise SystemExit(main())
|
||||
@@ -0,0 +1,174 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
"""汇总模块合成的历史, 供值守时快速核对。
|
||||
|
||||
用法: python modules_status.py [--last N] [--json]
|
||||
|
||||
读 ~/lc_mcp/modules/convert_*.json(每轮一份报告)与 convert.log, 输出:
|
||||
时间 / 结果 / 耗时 / 模组变化 / 体力 / 狂气读数
|
||||
|
||||
值守时关心三件事, 所以这三件排在最前面:
|
||||
1. 有没有真的换到模块(而不是一直"体力不足")
|
||||
2. 有没有哪次报"狂气读数发生变化"(那要立刻人工核查)
|
||||
3. 有没有连着失败(说明流程坏了, 不是资源问题)
|
||||
"""
|
||||
import argparse
|
||||
import glob
|
||||
import json
|
||||
import os
|
||||
import sys
|
||||
|
||||
DIR = os.path.expanduser(os.path.join('~', 'lc_mcp', 'modules'))
|
||||
|
||||
|
||||
def load_reports(d):
|
||||
rows = []
|
||||
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 # 写了一半的报告不该拖垮汇总
|
||||
r['_file'] = os.path.basename(p)
|
||||
rows.append(r)
|
||||
rows.sort(key=lambda r: r.get('started', ''), reverse=True)
|
||||
return rows
|
||||
|
||||
|
||||
def recheck_alarm(lb, la, result):
|
||||
"""用**当前**判据重新复核老报告里的狂气告警。
|
||||
|
||||
⛔ 为什么需要这个: 2026-10-16 22:03 那份报告按当时的判据写了
|
||||
"⚠️ 狂气读数发生变化 6636 -> 9699", 而事后查明那是**误报** ——
|
||||
6636 和 9699 都是真值 6636 的已知 OCR 读法。
|
||||
|
||||
报告是历史记录, 不该改写; 但汇总工具不能继续拿旧判据吓人。
|
||||
这里重新判一遍, 并把"当时报了、现在看是误报"明说出来。
|
||||
"""
|
||||
if '狂气读数发生变化' not in (result or ''):
|
||||
return False, False # (是否告警, 是否新版判据认定是误报)
|
||||
if lb is None or la is None:
|
||||
return True, False
|
||||
try:
|
||||
import convert_modules as cm
|
||||
suspicious, _ = cm.lunacy_verdict(lb, la)
|
||||
except Exception:
|
||||
return True, False
|
||||
return True, (not suspicious)
|
||||
|
||||
|
||||
def summarize(rows):
|
||||
out = []
|
||||
for r in rows:
|
||||
steps = r.get('steps') or []
|
||||
conv = steps[0] if steps else {}
|
||||
lb, la = r.get('lunacy_before'), r.get('lunacy_after')
|
||||
checked = r.get('lunacy_checked')
|
||||
if checked is None: # 老报告没这个字段
|
||||
checked = lb is not None and la is not None
|
||||
converted = r.get('converted')
|
||||
if converted is None:
|
||||
# 老报告没有 converted, 按结果文本推断
|
||||
converted = '合成完成' in (r.get('result') or '')
|
||||
alarmed, now_false_alarm = recheck_alarm(lb, la, r.get('result'))
|
||||
out.append({
|
||||
'started': r.get('started', '?'),
|
||||
'ok': bool(r.get('ok')),
|
||||
'result': r.get('result', ''),
|
||||
'elapsed_s': r.get('elapsed_s'),
|
||||
'info': conv.get('info', ''),
|
||||
'converted': bool(converted),
|
||||
'lunacy_before': lb,
|
||||
'lunacy_after': la,
|
||||
'lunacy_checked': bool(checked),
|
||||
'lunacy_alarm': alarmed,
|
||||
'lunacy_false_alarm': now_false_alarm,
|
||||
})
|
||||
return out
|
||||
|
||||
|
||||
def lunacy_cell(r):
|
||||
"""狂气那格的显示。没比对上时明说, 不装作校过了。"""
|
||||
if r['lunacy_alarm']:
|
||||
if r.get('lunacy_false_alarm'):
|
||||
# 报告里那句话是按旧判据写的, 但按现在的证据看是误报 —— 别继续吓人
|
||||
return '误报(%s/%s 都是已知读法)' % (r['lunacy_before'], r['lunacy_after'])
|
||||
return '⚠️ %s -> %s' % (r['lunacy_before'], r['lunacy_after'])
|
||||
if not r['converted']:
|
||||
# 这轮压根没合成, 没什么可比 —— 和"合成过但没读到"是两回事
|
||||
n = r['lunacy_before']
|
||||
return '未合成(读到 %s)' % n if n is not None else '未合成'
|
||||
if not r['lunacy_checked']:
|
||||
return '未比对'
|
||||
return '%s 前后一致' % r['lunacy_after']
|
||||
|
||||
|
||||
def fmt_secs(s):
|
||||
if s is None:
|
||||
return '-'
|
||||
if s < 60:
|
||||
return '%ds' % s
|
||||
return '%d:%02d' % (s // 60, s % 60)
|
||||
|
||||
|
||||
def main(argv=None):
|
||||
ap = argparse.ArgumentParser(description='模块合成历史汇总')
|
||||
ap.add_argument('--last', type=int, default=0, help='只看最近 N 条(0=全部)')
|
||||
ap.add_argument('--json', action='store_true')
|
||||
ap.add_argument('--dir', default=DIR)
|
||||
args = ap.parse_args(argv)
|
||||
|
||||
rows = summarize(load_reports(args.dir))
|
||||
if args.last:
|
||||
rows = rows[:args.last]
|
||||
|
||||
if args.json:
|
||||
json.dump(rows, sys.stdout, ensure_ascii=False, indent=2)
|
||||
print()
|
||||
return 0
|
||||
|
||||
if not rows:
|
||||
print('还没有合成记录(%s)' % args.dir)
|
||||
return 0
|
||||
|
||||
got = sum(1 for r in rows if r['converted'])
|
||||
fails = [r for r in rows if not r['ok']]
|
||||
# 告警里要排掉"按现在的判据看是误报"的那些 —— 否则表头会一直喊狼来了
|
||||
alarms = [r for r in rows if r['lunacy_alarm'] and not r.get('lunacy_false_alarm')]
|
||||
false_alarms = [r for r in rows if r.get('lunacy_false_alarm')]
|
||||
# 只统计"真的合成过却没能比对"的 —— 没合成的轮次没什么可比, 混进来会虚高
|
||||
unchecked = [r for r in rows if r['converted'] and not r['lunacy_checked']]
|
||||
|
||||
print('共 %d 轮: 换到模块 %d 轮, 失败 %d 轮, 狂气告警 %d 轮, 该比对却没比对 %d 轮'
|
||||
% (len(rows), got, len(fails), len(alarms), len(unchecked)))
|
||||
if false_alarms:
|
||||
print(' (另有 %d 轮当时报过狂气告警, 但按现在的判据是误报, 见下表)'
|
||||
% len(false_alarms))
|
||||
if alarms:
|
||||
print('⚠️ 有狂气告警, 需要人工核查:')
|
||||
for r in alarms:
|
||||
print(' %s %s' % (r['started'], r['result']))
|
||||
if unchecked:
|
||||
print('⚠️ 这些轮次合成过但狂气没读全, 等于没校过:')
|
||||
for r in unchecked:
|
||||
print(' %s %s' % (r['started'], r['result']))
|
||||
# 连着失败(最新几条都不是好结果)要醒目 —— 那说明流程坏了
|
||||
streak = 0
|
||||
for r in rows:
|
||||
if r['ok']:
|
||||
break
|
||||
streak += 1
|
||||
if streak >= 3:
|
||||
print('⚠️ 连续 %d 轮不成功, 可能是流程问题而不是资源不足' % streak)
|
||||
|
||||
print()
|
||||
print('%-19s %-4s %-7s %-18s %s' % ('时间', 'OK', '耗时', '狂气', '结果'))
|
||||
print('-' * 110)
|
||||
for r in rows:
|
||||
print('%-19s %-4s %-7s %-18s %s'
|
||||
% (r['started'], '✅' if r['ok'] else '❌', fmt_secs(r['elapsed_s']),
|
||||
lunacy_cell(r), (r['result'] or r['info'])[:56]))
|
||||
return 0
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
raise SystemExit(main())
|
||||
@@ -0,0 +1,31 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
"""桌面渲染自检: 从屏幕 DC 做一次 BitBlt。
|
||||
|
||||
成功 = 桌面正在出图(会话处于渲染状态);
|
||||
失败(err 6 ERROR_INVALID_HANDLE) = 会话被断开, Windows 拆掉了显示表面,
|
||||
此时游戏截图会全黑, AALC 会失明。
|
||||
|
||||
退出码: 0 渲染正常, 1 渲染不可用
|
||||
"""
|
||||
import ctypes
|
||||
|
||||
SRCCOPY = 0x00CC0020
|
||||
|
||||
|
||||
def main():
|
||||
u = ctypes.windll.user32
|
||||
g = ctypes.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, SRCCOPY)
|
||||
g.DeleteObject(bmp)
|
||||
g.DeleteDC(mem)
|
||||
u.ReleaseDC(0, hdc)
|
||||
print('BitBlt=%d desktop=%dx%d' % (r, u.GetSystemMetrics(0), u.GetSystemMetrics(1)))
|
||||
return 0 if r else 1
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
raise SystemExit(main())
|
||||
@@ -0,0 +1,58 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
"""打印指定 Windows 终端服务会话的连接状态。
|
||||
|
||||
qwinsta 在计划任务/隐藏窗口上下文里拿不到输出, 所以用 WTS API。
|
||||
|
||||
用法: python session_state.py [session_id]
|
||||
输出: Active / Connected / Disc / Idle / Listen / ... 或 UNKNOWN
|
||||
退出码: 0 成功, 1 查询失败
|
||||
"""
|
||||
import ctypes
|
||||
import sys
|
||||
from ctypes import wintypes
|
||||
|
||||
WTS_CURRENT_SERVER_HANDLE = 0
|
||||
WTS_CONNECT_STATE = 8
|
||||
|
||||
WTS_STATES = {
|
||||
0: 'Active',
|
||||
1: 'Connected',
|
||||
2: 'ConnectQuery',
|
||||
3: 'Shadow',
|
||||
4: 'Disc',
|
||||
5: 'Idle',
|
||||
6: 'Listen',
|
||||
7: 'Reset',
|
||||
8: 'Down',
|
||||
9: 'Init',
|
||||
}
|
||||
|
||||
|
||||
def main(argv):
|
||||
session_id = int(argv[1]) if len(argv) > 1 else 2
|
||||
wts = ctypes.WinDLL('wtsapi32')
|
||||
wts.WTSQuerySessionInformationW.argtypes = [
|
||||
wintypes.HANDLE, wintypes.DWORD, ctypes.c_int,
|
||||
ctypes.POINTER(ctypes.c_void_p), ctypes.POINTER(wintypes.DWORD),
|
||||
]
|
||||
wts.WTSQuerySessionInformationW.restype = wintypes.BOOL
|
||||
wts.WTSFreeMemory.argtypes = [ctypes.c_void_p]
|
||||
|
||||
buf = ctypes.c_void_p()
|
||||
size = wintypes.DWORD()
|
||||
ok = wts.WTSQuerySessionInformationW(
|
||||
WTS_CURRENT_SERVER_HANDLE, session_id, WTS_CONNECT_STATE,
|
||||
ctypes.byref(buf), ctypes.byref(size))
|
||||
if not ok or not buf:
|
||||
print('UNKNOWN')
|
||||
return 1
|
||||
try:
|
||||
state = ctypes.cast(buf, ctypes.POINTER(ctypes.c_uint)).contents.value
|
||||
finally:
|
||||
wts.WTSFreeMemory(buf)
|
||||
print(WTS_STATES.get(state, 'Unknown%d' % state))
|
||||
return 0
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
sys.exit(main(sys.argv))
|
||||
@@ -0,0 +1,213 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
"""audit_runs 的核对逻辑。
|
||||
|
||||
这个工具的职责是"把日志和报告对起来", 所以测试重点不是它能通过, 而是
|
||||
**它能不能抓到问题** —— 一个什么都不报的体检工具等于没有。
|
||||
|
||||
⛔ 第一版就踩过这个坑: 它拿"报告.started + elapsed"去找日志结论行, 能对上就说明
|
||||
elapsed 一致, 于是"耗时不符"那个分支永远不可能触发 —— 是死代码。现在改成按日志里
|
||||
的"=== 开始: 体力换模块 ===" 配对, 时间关系和耗时才能各自独立核对。
|
||||
"""
|
||||
import json
|
||||
import os
|
||||
import shutil
|
||||
import sys
|
||||
import tempfile
|
||||
import unittest
|
||||
from datetime import datetime
|
||||
from pathlib import Path
|
||||
|
||||
sys.path.insert(0, str(Path(__file__).resolve().parents[1] / 'scripts'))
|
||||
import audit_runs as ar # noqa: E402
|
||||
|
||||
START = '=== 开始: 体力换模块 ==='
|
||||
|
||||
|
||||
def start_line(t):
|
||||
return '[%s] %s' % (t, START)
|
||||
|
||||
|
||||
def conclusion(t, result, secs, ok='OK'):
|
||||
return '[%s] === %s (%s), 耗时 %ds ===' % (t, result, ok, secs)
|
||||
|
||||
|
||||
def report(start, secs, result, ok=True):
|
||||
return json.dumps({'started': start, 'elapsed_s': secs, 'ok': ok,
|
||||
'result': result, 'steps': []}, ensure_ascii=False)
|
||||
|
||||
|
||||
class AuditTest(unittest.TestCase):
|
||||
|
||||
def setUp(self):
|
||||
self.d = tempfile.mkdtemp()
|
||||
|
||||
def write_log(self, lines):
|
||||
with open(os.path.join(self.d, 'convert.log'), 'w', encoding='utf-8') as f:
|
||||
f.write('\n'.join(lines) + '\n')
|
||||
|
||||
def write_report(self, name, content):
|
||||
with open(os.path.join(self.d, name), 'w', encoding='utf-8') as f:
|
||||
f.write(content)
|
||||
|
||||
def problems(self):
|
||||
return ar.audit(self.d)['problems']
|
||||
|
||||
# ---------------------------------------------------------- 正常情况
|
||||
|
||||
def test_matching_run_is_clean(self):
|
||||
self.write_log([start_line('2026-01-01 10:00:00'),
|
||||
conclusion('2026-01-01 10:00:30', '合成完成: 模组 1 -> 2 (+1)', 30)])
|
||||
self.write_report('convert_20260101_100000.json',
|
||||
report('2026-01-01 10:00:00', 30, '合成完成: 模组 1 -> 2 (+1)'))
|
||||
self.assertEqual(self.problems(), [])
|
||||
|
||||
def test_empty_dir_is_clean(self):
|
||||
self.assertEqual(self.problems(), [])
|
||||
|
||||
# ---------------------------------------------------------- 抓问题
|
||||
|
||||
def test_report_without_run_is_flagged(self):
|
||||
self.write_report('convert_20260101_110000.json',
|
||||
report('2026-01-01 11:00:00', 40, '体力不足(3<20), 本轮无需合成'))
|
||||
self.assertTrue(any('找不到对应的开始行' in p for p in self.problems()))
|
||||
|
||||
def test_run_without_report_is_flagged(self):
|
||||
self.write_log([start_line('2026-01-01 12:00:00'),
|
||||
conclusion('2026-01-01 12:00:10', '跑了但没留报告', 10)])
|
||||
self.assertTrue(any('没有对应报告' in p for p in self.problems()))
|
||||
|
||||
def test_elapsed_mismatch_is_flagged(self):
|
||||
"""日志说耗时 30s, 报告说 99s —— 必须能发现。
|
||||
|
||||
老版本这里永远查不出来(死代码), 所以这条用例是专门守它的。
|
||||
"""
|
||||
self.write_log([start_line('2026-01-01 10:00:00'),
|
||||
conclusion('2026-01-01 10:00:30', '合成完成', 30)])
|
||||
self.write_report('convert_20260101_100000.json',
|
||||
report('2026-01-01 10:00:00', 99, '合成完成'))
|
||||
got = self.problems()
|
||||
self.assertTrue(any('耗时不符' in p for p in got), got)
|
||||
|
||||
def test_end_time_mismatch_is_flagged(self):
|
||||
# 开始和耗时都对得上, 但结论时刻对不上 -> 时间关系有问题
|
||||
self.write_log([start_line('2026-01-01 10:00:00'),
|
||||
conclusion('2026-01-01 10:05:00', '合成完成', 30)])
|
||||
self.write_report('convert_20260101_100000.json',
|
||||
report('2026-01-01 10:00:00', 30, '合成完成'))
|
||||
self.assertTrue(any('时间对不上' in p for p in self.problems()))
|
||||
|
||||
def test_result_text_mismatch_is_flagged(self):
|
||||
self.write_log([start_line('2026-01-01 10:00:00'),
|
||||
conclusion('2026-01-01 10:00:30', '合成完成: 模组 1 -> 2 (+1)', 30)])
|
||||
self.write_report('convert_20260101_100000.json',
|
||||
report('2026-01-01 10:00:00', 30, '合成完成: 模组 5 -> 9 (+4)'))
|
||||
self.assertTrue(any('结果文本不符' in p for p in self.problems()))
|
||||
|
||||
def test_same_second_cluster_is_flagged(self):
|
||||
"""同一秒多行结论 = 测试批量产生的典型特征。"""
|
||||
self.write_log([conclusion('2026-01-01 12:00:00', '第一条', 0),
|
||||
conclusion('2026-01-01 12:00:00', '第二条', 0)])
|
||||
self.assertTrue(any('同一秒' in p for p in self.problems()))
|
||||
|
||||
def test_impossible_content_is_flagged(self):
|
||||
self.write_log([start_line('2026-01-01 12:00:00'),
|
||||
conclusion('2026-01-01 12:00:05', '看门狗执行失败: powershell not found', 5)])
|
||||
self.assertTrue(any('可疑内容' in p for p in self.problems()))
|
||||
|
||||
# ---------------------------------------------------------- 解析
|
||||
|
||||
def test_parse_pairs_start_with_conclusion(self):
|
||||
self.write_log([
|
||||
'[2026-01-01 09:00:00] === 开始: 体力换模块 ===',
|
||||
'[2026-01-01 09:00:05] 游戏已在运行',
|
||||
conclusion('2026-01-01 09:01:00', '合成完成', 60),
|
||||
])
|
||||
runs = ar.parse_runs(os.path.join(self.d, 'convert.log'))
|
||||
self.assertEqual(len(runs), 1)
|
||||
self.assertEqual(runs[0]['secs'], 60)
|
||||
self.assertEqual(runs[0]['start'].strftime('%H:%M:%S'), '09:00:00')
|
||||
|
||||
def test_parse_handles_missing_file(self):
|
||||
self.assertEqual(ar.parse_runs(os.path.join(self.d, 'nope.log')), [])
|
||||
|
||||
def test_conclusion_without_start_line_still_listed(self):
|
||||
# 没有开始行的结论不该被丢掉(要能报"没有对应报告")
|
||||
self.write_log([conclusion('2026-01-01 12:00:00', '独苗', 10)])
|
||||
runs = ar.parse_runs(os.path.join(self.d, 'convert.log'))
|
||||
self.assertEqual(len(runs), 1)
|
||||
self.assertIsNone(runs[0]['start'])
|
||||
|
||||
def test_skip_broken_report_json(self):
|
||||
with open(os.path.join(self.d, 'convert_20260101_100000.json'), 'w', encoding='utf-8') as f:
|
||||
f.write('{ 半截')
|
||||
self.assertEqual(ar.load_reports(self.d), [])
|
||||
|
||||
|
||||
class ModuleTrajectoryTest(unittest.TestCase):
|
||||
"""跨轮检查模组数。
|
||||
|
||||
⛔ 2026-10-17 实测: 22:05 合成后是 35, 06:04 那轮读到的合成前只有 33。
|
||||
追查了一轮, 最后**是用户自己升阶用掉的** —— 不是 bug。
|
||||
|
||||
教训: 这类"数字对不上"的现象, 默认解释可能是人手动操作。所以措辞是"需要确认",
|
||||
不是"出问题了"。真正反常的是反过来: 模组数**自己变多**(自动化之外的来源)。
|
||||
"""
|
||||
|
||||
def _rep(self, started, info, converted=True):
|
||||
return {'start': datetime.strptime(started, '%Y-%m-%d %H:%M:%S'),
|
||||
'steps': [{'step': '合成', 'ok': True, 'info': info}],
|
||||
'converted': converted}
|
||||
|
||||
def test_normal_progress_is_clean(self):
|
||||
reps = [self._rep('2026-01-01 10:00:00', '模组 29 -> 30 (+1)'),
|
||||
self._rep('2026-01-01 14:00:00', '模组 30 -> 31 (+1)')]
|
||||
self.assertEqual(ar.module_trajectory(reps), [])
|
||||
|
||||
def test_decrease_is_reported_but_not_as_a_failure_claim(self):
|
||||
reps = [self._rep('2026-10-16 22:03:42', '模组 33 -> 35 (+2)'),
|
||||
self._rep('2026-10-17 06:03:42', '模组 33 -> 35 (+2)')]
|
||||
got = ar.module_trajectory(reps)
|
||||
self.assertEqual(len(got), 1)
|
||||
self.assertIn('比上一轮少', got[0])
|
||||
self.assertIn('人工升阶', got[0]) # 默认解释要摆出来, 别一口咬定是故障
|
||||
self.assertIn('35', got[0])
|
||||
self.assertIn('33', got[0])
|
||||
|
||||
def test_unexplained_increase_is_flagged(self):
|
||||
"""模组自己变多才是真反常 —— 自动化之外的来源。"""
|
||||
reps = [self._rep('2026-01-01 10:00:00', '模组 29 -> 30 (+1)'),
|
||||
self._rep('2026-01-01 14:00:00', '模组 33 -> 35 (+2)')]
|
||||
got = ar.module_trajectory(reps)
|
||||
self.assertEqual(len(got), 1)
|
||||
self.assertIn('无端变多', got[0])
|
||||
|
||||
def test_skipped_runs_do_not_count(self):
|
||||
"""中间那些"体力不足没合成"的轮次不该被当成链条上的一环。"""
|
||||
reps = [self._rep('2026-01-01 10:00:00', '模组 29 -> 30 (+1)'),
|
||||
self._rep('2026-01-01 14:00:00', '', converted=False),
|
||||
self._rep('2026-01-01 18:00:00', '模组 30 -> 31 (+1)')]
|
||||
self.assertEqual(ar.module_trajectory(reps), [])
|
||||
|
||||
def test_missing_numbers_are_skipped(self):
|
||||
reps = [self._rep('2026-01-01 10:00:00', '合成完成'),
|
||||
self._rep('2026-01-01 14:00:00', '模组 30 -> 31 (+1)')]
|
||||
self.assertEqual(ar.module_trajectory(reps), [])
|
||||
|
||||
def test_audit_includes_trajectory_problems(self):
|
||||
"""端到端: 报告目录里的减少要被 audit() 报出来。"""
|
||||
d = tempfile.mkdtemp()
|
||||
self.addCleanup(shutil.rmtree, d, True)
|
||||
for name, started, secs, info in (
|
||||
('convert_a.json', '2026-01-01 10:00:00', 30, '模组 29 -> 31 (+2)'),
|
||||
('convert_b.json', '2026-01-01 14:00:00', 30, '模组 29 -> 31 (+2)')):
|
||||
with open(os.path.join(d, name), 'w', encoding='utf-8') as f:
|
||||
f.write(json.dumps({'started': started, 'elapsed_s': secs, 'ok': True,
|
||||
'result': '合成完成', 'steps': [
|
||||
{'step': '合成', 'ok': True, 'info': info}],
|
||||
'converted': True}, ensure_ascii=False))
|
||||
problems = ar.audit(d)['problems']
|
||||
self.assertTrue(any('比上一轮少' in p for p in problems), problems)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user