记录 4-48 实测失败与耗时复盘,修复前台输入及 Jev 配置
This commit is contained in:
@@ -95,6 +95,28 @@ codex mcp add limbus --env PYTHONUTF8=1 -- D:\lc-mcp\vendor\aalc\.venv\Scripts\p
|
||||
|
||||
## 开发 / 测试
|
||||
|
||||
### Jev 决策接口
|
||||
|
||||
`scripts/jev_mirror_agent.py` 使用 `scripts/jev_client.py` 读取本地配置中的
|
||||
`model`、`baseUrl`、`sessionId`、`transport` 和 `timeoutSeconds`。
|
||||
Jev 默认地址为 `https://opencode.ai/zen/v1/systemone`;`baseUrl` 填到 `/v1`,
|
||||
客户端会追加 `/systemone`。Go 网关的模型列表与 Jev 原生接口不同,不能仅替换地址就假设支持相同模型。
|
||||
|
||||
从 `scripts/jev_config.example.json` 创建仓库外的私有配置,API key 使用
|
||||
`OPENCODE_API_KEY` 环境变量或私有配置中的 `apiKey`。不要把凭据提交到仓库。
|
||||
Windows 上若 Python HTTPS 遇到握手中断,可用 `"transport": "curl"`,
|
||||
并把超时提高到 20 秒;认证头通过 stdin 交给 curl,保留证书验证。
|
||||
|
||||
通用客户端也支持主线等其他场景的候选决策,不会发送游戏输入:
|
||||
|
||||
```powershell
|
||||
vendor\aalc\.venv\Scripts\python.exe -X utf8 scripts\jev_client.py <private-config.json> <observation.json>
|
||||
```
|
||||
|
||||
`observation.json` 提供 `state`(当前画面观察文本)、`criteria`(候选名到描述的映射)
|
||||
和 `instructions`(当前任务规则)。返回候选名和耗时,候选之外的响应会被拒绝。
|
||||
镜牢执行器的场景规则只适用于镜牢,推进主线时应提供主线观察和规则。
|
||||
|
||||
```bash
|
||||
python -m unittest discover -s tests # 不需要 Windows/AALC (FakeEngine)
|
||||
python -m lc_mcp.server --stdio --fake # 假引擎手动调试协议
|
||||
@@ -126,6 +148,8 @@ vendor\aalc\.venv\Scripts\python.exe -X utf8 scripts\jev_mirror_agent.py scripts
|
||||
|
||||
本次修复、实际失败反馈、操作日志、截图清单、修改源码快照和速通 skill 见 [2026-10-02 实测记录](docs/feedback/2026-10-02/README.md);安装与测试说明见 [INSTALL_TEST_REPORT.md](INSTALL_TEST_REPORT.md)。这些是开发中的真实记录,包含失败和仍未验证的步骤。
|
||||
|
||||
[2026-10-03 主线实测与耗时复盘](docs/feedback/2026-10-03/README.md)记录了 4-48 未通关、三次 Jev 抉择耗时、混合操作限制、输入修复的验证边界及 94 项回归结果。
|
||||
|
||||
## 许可证
|
||||
|
||||
AALC 使用 AGPL-3.0。本项目会导入并运行 AALC 的代码,分发时需遵守 AGPL-3.0。
|
||||
|
||||
@@ -0,0 +1,58 @@
|
||||
# 2026-10-03 主线实测与耗时复盘
|
||||
|
||||
## 结果先说明
|
||||
|
||||
- **4-48 Bud(东柏/Spicebush)未通关,没有主线推进成果。** 不能把进入战斗、压低敌方血量或单元测试通过当成通关。
|
||||
- lc-mcp 已拉取安装,AALC 子模块使用仓库固定版本;本机服务与 MCP bridge 已实际连接游戏。
|
||||
- Jev 请求已实测成功,但**没有运行完整的 Jev 主线自动执行器**。仅三次候选抉择调用,后续由 Codex 分步操作。
|
||||
- 用户随后确认也在手动操作游戏。因此部分回合推进、菜单变化和重试结果存在混合操作,不能全部归因于 MCP。
|
||||
- 用户改为要求练角色、查攻略后,检查了养成界面并进入经验本菜单;**尚未购买/消耗经验票升级,也没有开始经验本刷取**。收到“先上传测试数据与慢的原因”后停止游戏操作。
|
||||
|
||||
## 本次环境与实际证据
|
||||
|
||||
Windows / Python 3.12.14;基础提交 `030527f5de5c83dd8ea6e53288c1c52f3b4a85bb`;AALC 提交 `7452fad5a45a0fadb59a753fafbf40434d987c19`。游戏客户区 1276×717,前台输入,后台截图。登录/进入关卡时遇到服务器重试提示。
|
||||
|
||||
账号当时等级 36,当前未通关主线为 4-48。战斗实测队伍包含 W 堂吉诃德 35/同步 IV、W 良秀 35/IV、六协会以实玛利 35/III、G 格里高尔 34/III、剑契理想 34/II、W 浮士德 35/III、W 鸿璐 35/II。支援检查的理想与良秀列表未显示可借角色;不能据此断言所有罪人都没有支援。
|
||||
|
||||
三次 Jev 调用的实际耗时:1484、1282、1312 ms,均值约 1359 ms。原始三条 JSONL 经凭据、账号号段和本地路径清理后保留于 [logs/story_decisions.jsonl](logs/story_decisions.jsonl)。第二条选择进入编队,第三条建议补到七人;提示没有完整给出东柏机制,后者不能当成正确攻略决策。
|
||||
|
||||
截图仅选择没有账号底栏的四张,保留原始 PNG 字节:
|
||||
|
||||
| 截图 | 能证明什么 | 不能证明什么 |
|
||||
| --- | --- | --- |
|
||||
| [七人队第 1 回合](captures/turn1-winrate.png) | 已真实进入 4-48,选择过 Win Rate | 通关/自动执行器已运行 |
|
||||
| [第 3 回合开花](captures/turn3-blooming.png) | 多名罪人被困,自动配置没有妥善处理机制 | 单一操作者下输入故障的因果 |
|
||||
| [失败画面](captures/defeat.png) | 这一轮出现 DEFEAT | 主线已推进 |
|
||||
| [经验票库存](captures/training-ticket-inventory.png) | 升级窗口显示 IV 0、III 0、II 7 | 已经使用这些票/完成养成 |
|
||||
|
||||
截图只保留最近 30 张,较早的安装和首轮战斗截图已经轮转删除。操作时间线是根据本次可见工具输出整理的**人工复盘**,不是完整机器动作日志。服务日志只记录部分 OCR 与启动信息,不能补造为全量点击轨迹。文件哈希见 [manifest.json](manifest.json)。
|
||||
|
||||
## 为什么慢
|
||||
|
||||
1. **安装排错过度串行。** 初次 Git 拉取受大体积反馈资产与下载问题影响,反复处理环境、依赖、服务焦点及 Jev 路由;没有尽早缩小下载范围并完成最小连接验证。之后 sparse clone 才解决安装路径问题。这里没有足够完整计时数据,不能编造各阶段分钟数。
|
||||
2. **主要操作循环仍由大模型逐步驱动。** 一个普通动作常经过 shell 启动 bridge、MCP 调用、截图+OCR、再次读 PNG,再由模型决定下一步。近期这类工具组合本身约需 3–9 秒;动作间又有几十秒推理间隔,多个简单菜单操作被拆成多轮,用户实际等待远高于工具耗时。
|
||||
3. **把简单操作也当成复杂决策。** 对已确认的菜单、剧情跳过、编队选择没有建立短路径;重复解释、读图、试坐标,耗费模型额度。该问题属于本次执行方式,不能甩给 Jev:三次 Jev 返回仅约 1.3 秒,且未接管持续推进。
|
||||
4. **坐标与战斗 UI 变化处理不当。** 选择技能后镜头/HUD 会移动,使用选择前坐标继续拖动无法可靠验证目标。后来“点击技能 → 读新画面 → 点击敌方槽位”确实选中过目标。把所有失败都称为拖动输入 bug 证据不足。
|
||||
5. **没有及时明确唯一操作者。** 看到无指令时回合推进后,先继续排查按键和自动战斗;用户后来明确“我操作的”。这使若干重试和回合记录无法独立归因,排错时间也被浪费。应先确认操作权并停止竞争输入。
|
||||
6. **攻略检索太晚。** 前几轮主要依赖自动配技能和满员队伍,直到失败后才查东柏的开花、召唤物及决斗机制。实际阵容含同步 II 角色,七人铺开又限制主力多槽,不能仅按等级接近推荐值判断足够。
|
||||
|
||||
## 已落地修改与验证范围
|
||||
|
||||
- 前台输入先检查游戏焦点,必要时附加输入线程;激活失败时拒绝发送输入。按键/鼠标释放置于 `finally`。
|
||||
- 前台拖动先移动到起点并等待,支持同点按住;实际同点按住已打开人格详情。**复杂战斗拖动重定向仍未在唯一操作者条件下完成验证。**
|
||||
- 较短点击在本机多次未产生可见界面变化;同点按住 0.4 秒成功打开升级窗口。前台点击按住时长由 0.12 改为 0.35 秒。此调整仍需单操作者对照复测,不能声称已彻底修复掉点击。
|
||||
- Jev 客户端尊重配置的 `baseUrl`/`model`/稳定 session,校验候选结果,支持 curl transport;密钥经 stdin header 传递,不放入 curl 命令行。用户提供的 Go 路由未成功提供 Jev 抉择,原生 Zen `/systemone` 路由实测成功;未用其他模型冒充 Jev。
|
||||
- `battle_batch.py` 改为只在当前战斗 UI 显示 Win Rate 时点击该控件,不再反复 P 切换 Win Rate/Damage。该脚本不是东柏策略执行器,**不得当成 4-48 自动通关方案**。
|
||||
- 本次回归:94 项单元/传输测试通过,输出见 [test-results.txt](test-results.txt)。这些测试不能证明实战通关;普通点击时长、复杂拖动和批次脚本需要进一步实测。
|
||||
|
||||
## 攻略结论与后续短路径
|
||||
|
||||
结合本机已有高练度角色,优先 W 堂吉诃德、W 良秀,再检查六协会以实玛利和可用的恢复精神力角色。先筹经验票,将主力补至游戏当前允许的等级;没有领取或购买新人格,也没有使用狂气抽卡。准备五人队并让前两位主力获得额外技能槽;前两回合避免丢失关键拼点,及时清除小花、用防御抵消回避,避开给同一角色连续叠开花,留 E.G.O 资源处理强力群攻与决斗。
|
||||
|
||||
参考来源(社区攻略,具体技能效果仍以当局游戏说明为准):[4-48 详细实战攻略](https://www.reddit.com/r/limbuscompany/comments/1ef3czm/)、[逐回合视频攻略摘要](https://vortexgaming.io/en/postdetail/562569)、[人格等级规则](https://limbuscompany.wiki.gg/wiki/Identity)。
|
||||
|
||||
降低下一次耗时的具体办法:固定唯一操作者;把确定的菜单动作批成有状态检查的短脚本;只在新阶段、失效或 Boss 机制节点读完整图片;记录每步 observation/action/result/latency;把候选抉择交给 Jev,仅异常交给主模型;把“装好了、测试通过、实际打过”分别记录。
|
||||
|
||||
## 导出边界
|
||||
|
||||
仅包含本次报告、人工时间线、清理后的三条 Jev 日志、本次时段的服务日志片段、四张游戏截图及测试输出。未包含 API key、MCP token、私有配置、Codex 聊天文件或其他桌面应用截图。代码修复随本反馈分支提供,未推送到默认分支。
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 1.5 MiB |
Binary file not shown.
|
After Width: | Height: | Size: 976 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 1.3 MiB |
Binary file not shown.
|
After Width: | Height: | Size: 1.6 MiB |
@@ -0,0 +1,202 @@
|
||||
[36m[DEBUG] 2026-10-03 09:41:01,651 [AALC] module\ocr\ocr.py:72: OCR识别结果:('fmod.', 'FACE THE SIN,SAVE THE E.G.0', 'Clear all caches', '1.116.1', 'STEAI', '[ACCOUNT_REDACTED]')[0m
|
||||
[36m[DEBUG] 2026-10-03 09:41:50,246 [AALC] module\ocr\ocr.py:72: OCR识别结果:('fMod.', 'Aservererrorhasoccurred.', 'Please try again in a moment.', 'Close', 'Retry 5', 'Clear all caches', '.1.116.1', 'STEAM', '[ACCOUNT_REDACTED]')[0m
|
||||
[33m[WARNING] 2026-10-03 09:42:26,492 [AALC] ..\..\lc_mcp\aalc_engine.py:105: 窗口句柄无效,可能窗口已关闭,重新获取, 当前句柄为 3476014[0m
|
||||
[32m[INFO] 2026-10-03 09:42:26,497 [AALC] ..\..\lc_mcp\aalc_engine.py:105: 重新获取窗口句柄成功, 新句柄为 918882[0m
|
||||
[36m[DEBUG] 2026-10-03 09:42:29,507 [AALC] module\ocr\ocr.py:72: OCR识别结果:('FACETHE SINSSUE THE EGO', "Clear'alfcachey", '[ACCOUNT_REDACTED]')[0m
|
||||
[36m[DEBUG] 2026-10-03 09:46:46,218 [AALC] module\ocr\ocr.py:72: OCR识别结果:('2026.9.1', 'TARGETE', 'Greg', "Hmmm...'m growing restless.When the hell can we getto work?", 'AHANDY-DANDYGUIDE', 'LTHE NEWEXECUTIVEMANAGERSOFLIMBU', 'DIGESTBEFOREGETTINGTOWORK', '[ACCOUNT_REDACTED]', '960,', '193', 'UNACY', 'Window', 'Sinners', 'Drive', 'Theater', 'Extract', '2646', 'Dispense', 'Inventory')[0m
|
||||
[36m[DEBUG] 2026-10-03 09:47:32,066 [AALC] module\ocr\ocr.py:72: OCR识别结果:('2026.9.1', 'TARGETE', 'Greg', "Hmmm...'m growing restless.When the hell can we getto work?", 'AHANDY-DANDY GUIDE', 'THENEWEXECUTIVEMANAGEROFLMBU', 'DIGESTBEFOREGETINGTWORK', '[ACCOUNT_REDACTED]', '036', '193', 'UNACY', 'Window', 'Sinners', 'Drive', 'Theater', 'Extract', '2646', 'Dispense', 'Inventory')[0m
|
||||
[36m[DEBUG] 2026-10-03 09:47:36,340 [AALC] module\ocr\ocr.py:72: OCR识别结果:('SSHSOENITBKOSS', '2026.9.1', 'TARGETE', 'Greg', "Hmmm...'m growing restless.When the hell can we get to work?", 'AHANDY-DANDYGUIDE', 'LTHE NEWEXECUTIVEMANAGERSOFLIMBU', 'ODIGESTBEFOREGETTINGTOWORK', '[ACCOUNT_REDACTED]', '036', '193', 'UNACY', 'Window', 'Sinners', 'Drive', 'Theater', 'Extract', '2646', 'Dispense', 'Inventory')[0m
|
||||
[36m[DEBUG] 2026-10-03 09:48:03,601 [AALC] module\ocr\ocr.py:72: OCR识别结果:('Inferno', 'Luxca', 'MIRROROF', 'NAMESAND', 'R', '21.51m', '[ACCOUNT_REDACTED]', '036', '193', 'UNACY', 'Window', 'Sinners', 'Drive', 'Theater', 'Extract', 'Dispense', '2646', 'Inventory')[0m
|
||||
[36m[DEBUG] 2026-10-03 09:48:06,908 [AALC] module\ocr\ocr.py:72: OCR识别结果:('Inferno', 'Luxca', 'MIRROROF', 'NAMESAND', '21.50m', '[ACCOUNT_REDACTED]', '036', '193', 'UNACY', 'Window', 'Sinners', 'Drive', 'Theater', 'Extract', 'Dispense', '2646', 'Inventory')[0m
|
||||
[36m[DEBUG] 2026-10-03 09:48:25,003 [AALC] module\ocr\ocr.py:72: OCR识别结果:('Inferno', 'Luxca', 'MIRROROF', 'NAMESAND', 'ER', '21.51m', '[ACCOUNT_REDACTED]', '036', '193', 'UNACY', 'Window', 'Sinners', 'Drive', 'Theater', 'Extract', 'Dispense', '2646', 'Inventory')[0m
|
||||
[36m[DEBUG] 2026-10-03 09:48:28,990 [AALC] module\ocr\ocr.py:72: OCR识别结果:('0:', 'Inferno', 'uxca', 'MIRROROF', 'NAMESAND', "CANTO'I", 'The Unconfronting', '21.51m', '[ACCOUNT_REDACTED]', '036', '193', 'UNACY', 'Window', 'Sinners', 'Drive', 'Theater', 'Extract', 'Dispense', '2646', 'Inventory')[0m
|
||||
[36m[DEBUG] 2026-10-03 09:48:41,219 [AALC] module\ocr\ocr.py:72: OCR识别结果:('Inferno', 'Luxca', '985-03', 'MIRROROF', 'TheGaze Bearing', 'NAMESAND', 'R', '984-05', 'Corrit', '21.51m', '[ACCOUNT_REDACTED]', '036', '193', 'UNACY', 'Window', 'Sinners', 'Drive', 'Theater', 'Extract', 'Dispense', '2646', 'Inventory')[0m
|
||||
[33m[WARNING] 2026-10-03 09:48:50,175 [RapidOCR] main.py:118: The text detection result is empty[0m
|
||||
[36m[DEBUG] 2026-10-03 09:48:50,176 [AALC] module\ocr\ocr.py:72: OCR识别结果:None[0m
|
||||
[36m[DEBUG] 2026-10-03 09:49:53,668 [AALC] module\ocr\ocr.py:72: OCR识别结果:('Progress', 'EX Cleared', '42', 'Talent and Genius', 'Off the Bus', 'Drones and Abnormal', '[ACCOUNT_REDACTED]', '036', '10', '193', 'LUNACY', 'Window', 'Sinners', 'Drive', 'Theater', 'Extract', 'Dispense', '120/120', '2646', 'Inventory')[0m
|
||||
[36m[DEBUG] 2026-10-03 09:50:09,279 [AALC] module\ocr\ocr.py:72: OCR识别结果:('Progress', 'EX Cleared', 'Hole', '[ACCOUNT_REDACTED]', '193', '9E0,', '10', 'LUNACY', 'LV', 'Window', 'Sinners', 'Drive', 'Theater', 'Extract', 'Dispense', '120/120', '2646', 'Inventory')[0m
|
||||
[36m[DEBUG] 2026-10-03 09:50:26,828 [AALC] module\ocr\ocr.py:72: OCR识别结果:('[ACCOUNT_REDACTED]', '036', '10', '193', 'LUNACY', 'LV', 'Window', 'Sinners', 'Drive', 'Theater', 'Extract', 'Dispense', '120/120', '2646', 'Inventory')[0m
|
||||
[36m[DEBUG] 2026-10-03 09:50:49,488 [AALC] module\ocr\ocr.py:72: OCR识别结果:('-h', 'Constellations', '4-31', 'Seized', '[ACCOUNT_REDACTED]', '036', '10', '193', 'LUNACY', 'LV', 'Window', 'Sinners', 'Drive', 'Theater', 'Extract', 'Dispense', '120/120', '2646', 'Inventory')[0m
|
||||
[36m[DEBUG] 2026-10-03 09:51:05,871 [AALC] module\ocr\ocr.py:72: OCR识别结果:('l Clear Statistics', '4-31Seized', '4-31', 'Seized', 'Difficulty', 'EX Objectives', 'LV.30', 'Clearwithin10turns', 'Effective Affinities', 'Enemy Info', 'Enter -20', '[ACCOUNT_REDACTED]', '10', '193', '036', 'LUNACY', 'LV', '120/120', '2646', 'Inventory')[0m
|
||||
[36m[DEBUG] 2026-10-03 09:51:19,323 [AALC] module\ocr\ocr.py:72: OCR识别结果:('EX Cleared', '4-31', 'Seized', '[ACCOUNT_REDACTED]', '036', '10', '193', 'LUNACY', 'LV', 'Window', 'Sinners', 'Drive', 'Theater', 'Extract', 'Dispense', '120/120', '2646', 'Inventory')[0m
|
||||
[36m[DEBUG] 2026-10-03 09:51:31,814 [AALC] module\ocr\ocr.py:72: OCR识别结果:('EXClearel', '4-32', 'Seized2', '[ACCOUNT_REDACTED]', '036', '193', 'LUNACY', 'LV', 'Window', 'Sinners', 'Drive', 'Theater', 'Extract', 'Dispense', '2646', 'Inventory')[0m
|
||||
[36m[DEBUG] 2026-10-03 09:51:46,853 [AALC] module\ocr\ocr.py:72: OCR识别结果:('Progress', 'EXCleare', 'Class12', '4-39', 'Glorious Past 2', '4-40', 'Glorious Past 3', '[ACCOUNT_REDACTED]', '036', '10', '193', 'LUNACY', '2646', 'Window', 'Sinners', 'Drive', 'Theater', 'Extract', 'Dispense', '120/120', 'Inventory')[0m
|
||||
[36m[DEBUG] 2026-10-03 09:52:04,908 [AALC] module\ocr\ocr.py:72: OCR识别结果:('Progress', 'rer', 'Class12', 'GloriousPast3', '[ACCOUNT_REDACTED]', '036', '10', '193', 'LUNACY', 'Window', 'Sinners', 'Drive', 'Theater', 'Extract', '2646', 'Dispense', '120/120', 'Inventory')[0m
|
||||
[36m[DEBUG] 2026-10-03 09:52:26,130 [AALC] module\ocr\ocr.py:72: OCR识别结果:('Progress', 'EX Cleared', '4-44 An Age Without', 'Class', '[ACCOUNT_REDACTED]', '036', '10', '193', 'LUNACY', '2646', 'Window', 'Sinners', 'Drive', 'Theater', 'Extract', 'Dispense', '120/120', 'Inventory')[0m
|
||||
[36m[DEBUG] 2026-10-03 09:52:43,442 [AALC] module\ocr\ocr.py:72: OCR识别结果:('Progress', 'EX Cleared', '4-43 AnAge Without Tec', 'Class12', '[ACCOUNT_REDACTED]', '036', '193', 'LUNACY', '2646', 'Window', 'Sinners', 'Drive', 'Theater', 'Extract', 'Dispense', 'Inventory')[0m
|
||||
[36m[DEBUG] 2026-10-03 09:53:01,266 [AALC] module\ocr\ocr.py:72: OCR识别结果:('Progress', 'EX Cleared', '紫', '4-45', 'Offer to Join', 'mabyuEhh', 'Tel', '[ACCOUNT_REDACTED]', '036', '193', 'LUNACY', 'LV', 'Window', 'Sinners', 'Drive', 'Theater', 'Extract', 'Dispense', '120/120', '2646', 'Inventory')[0m
|
||||
[36m[DEBUG] 2026-10-03 09:53:20,326 [AALC] module\ocr\ocr.py:72: OCR识别结果:('Progress', 'EX Cleared', '4-46', 'Offer to Join 2', '[ACCOUNT_REDACTED]', '193', '036', '10', 'LUNACY', 'LV', '2646', 'Window', 'Sinners', 'Drive', 'Theater', 'Extract', 'Dispense', '120/120', 'Inventory')[0m
|
||||
[36m[DEBUG] 2026-10-03 09:53:36,674 [AALC] module\ocr\ocr.py:72: OCR识别结果:('Progress', 'EXCleared', 'NO.[ACCOUNT_REDACTED]', '193', '036', 'LUNACY', 'LV', 'Window', 'Sinners', 'Drive', 'Theater', 'Extract', 'Dispense', '2646', 'Inventory')[0m
|
||||
[36m[DEBUG] 2026-10-03 09:54:06,196 [AALC] module\ocr\ocr.py:72: OCR识别结果:('Progress', '[ACCOUNT_REDACTED]', '193', '036', 'LUNACY', 'LV', 'Window', 'Sinners', 'Drive', 'Theater', 'Extract', 'Dispense', '120/120', '2646', 'Inventory')[0m
|
||||
[36m[DEBUG] 2026-10-03 09:54:22,212 [AALC] module\ocr\ocr.py:72: OCR识别结果:('Progress', 'EX Cleared', 'Bud', 'Screening', 'Rod', '[ACCOUNT_REDACTED]', '036', '193', 'LUNACY', 'LV', '2646', 'Window', 'Sinners', 'Drive', 'Theater', 'Extract', 'Dispense', '120', '120', 'Inventory')[0m
|
||||
[36m[DEBUG] 2026-10-03 09:54:37,687 [AALC] module\ocr\ocr.py:72: OCR识别结果:('CONNECTING', '4-47', 'Sereening Room', '[ACCOUNT_REDACTED]', '036', '10', '193', 'LUNACY', 'LV', '120/120', '2646', 'Inventory')[0m
|
||||
[36m[DEBUG] 2026-10-03 09:55:15,721 [AALC] module\ocr\ocr.py:72: OCR识别结果:('l Clear Statistics', '4-48 Bud', '4-48', 'Bud', 'Difficulty', 'EX Objeetives', 'LV.35', 'Clearwithin15turns', 'Effective Affinities', 'Enemy lnfo', 'Clear Rewards', 'Enter -20', '[ACCOUNT_REDACTED]', '193', 'Screening', 'Room', '9E0,', '10', 'LUNACY', 'LV', '120/120', '2646', 'Inventory')[0m
|
||||
[36m[DEBUG] 2026-10-03 09:55:18,242 [AALC] module\ocr\ocr.py:72: OCR识别结果:('l Clear Statistics', '4-48 Bud', '4-48', 'Bud', 'Difficulty', 'EX Objeetives', 'LV.35', 'Clearwithin15turns', 'Effective Affinities', 'Enemy lnfo', 'Clear Rewards', 'Enter -20', '[ACCOUNT_REDACTED]', '193', 'Screening', 'Room', '9E0,', '10', 'LUNACY', 'LV', '120/120', '2646', 'Inventory')[0m
|
||||
[36m[DEBUG] 2026-10-03 09:55:54,093 [AALC] module\ocr\ocr.py:72: OCR识别结果:('l Clear Statistics', '4-48 Bud', '4-48', 'Bud', 'Difficulty', 'EX Objeetives', 'LV.35', 'Clearwithin15turns', 'Effective Affinities', 'Enemy lnfo', 'Clear Rewards', 'Enter -20', '[ACCOUNT_REDACTED]', '193', 'Screening', 'Room', '9E0,', '10', 'LUNACY', 'LV', '120/120', '2646', 'Inventory')[0m
|
||||
[36m[DEBUG] 2026-10-03 09:55:58,219 [AALC] module\ocr\ocr.py:72: OCR识别结果:('l Clear Statistics', '4-48 Bud', '4-48', 'Bud', 'Difficulty', 'EX Objeetives', 'LV.35', 'Clearwithin15turns', 'Effective Affinities', 'Enemy lnfo', 'Clear Rewards', 'Enter', '-20', '[ACCOUNT_REDACTED]', '193', 'Screening', 'Room', '9E0,', '10', 'LUNACY', 'LV', '120/120', '2646', 'Inventory')[0m
|
||||
[36m[DEBUG] 2026-10-03 09:56:24,257 [AALC] module\ocr\ocr.py:72: OCR识别结果:('Creating your Team', 'LV.55', 'Lv.55', 'LV.50', 'LV.55', 'LV.55', 'LV.55', 'LCB', 'LCB', 'Sinner', 'LCB', 'LCB', 'LCB', 'LCB', 'Sinner', 'Sinner', 'Sinner', 'Sinner', 'Details', 'Lv.55', 'LV.55', 'LV.50', 'LV.50', 'LV.55', 'LV.50', 'Sinners(Team)', 'LCB', 'LCB', 'LCB', 'LCB', 'LCB', 'LCB', 'Sinner', 'Sinner', 'Sinner', 'Sinner', 'YoucanconfigurevariousTeamsfromyour', '12LimbusCompanySinnersandtheir', 'Identities.')[0m
|
||||
[36m[DEBUG] 2026-10-03 09:56:28,615 [AALC] module\ocr\ocr.py:72: OCR识别结果:('Creating your Team', 'LV.55', 'Lv.55', 'LV.50', 'LV.55', 'LV.55', 'LV.55', 'LCB', 'LCB', 'Sinner', 'LCB', 'LCB', 'LCB', 'LCB', 'Sinner', 'Sinner', 'Sinner', 'Sinner', 'Details', 'Lv.55', 'LV.55', 'LV.50', 'LV.50', 'LV.55', 'LV.50', 'Sinners(Team)', 'LCB', 'LCB', 'LCB', 'LCB', 'LCB', 'LCB', 'Sinner', 'Sinner', 'Sinner', 'Sinner', 'YoucanconfigurevariousTeamsfromyour', '12LimbusCompanySinnersandtheir', 'Identities.')[0m
|
||||
[36m[DEBUG] 2026-10-03 09:57:02,402 [AALC] module\ocr\ocr.py:72: OCR识别结果:('TEAMS #1', '《', 'Details', 'Preset#1', 'Dante', 'SELECTED', 'SELECTED', 'SELECTED', 'All E.6.0', 'TEAMS', 'LV.35', 'LV.35', 'LV.35', 'LV.04', 'LV.35', 'WCorp.L2', 'WCorp.L3', 'WCorp.L3', 'Rosespanner', 'WCorp.L2', 'TEAMS#1', 'Salsu', 'Cleanup Agent', 'Cleanup Agent', 'Cleanup Agent', 'Cleanup Agent', 'Fagades', 'TEAMS#2', 'TEAMS#3', 'Support', 'TEAMS#4', 'SELECTED', 'SELECTED', 'Details', 'TEAMS#5', 'LV.34', 'LV.17', 'LV.35', 'LV.14', 'LV.14', 'LV.17', 'GCorp.', 'CClear Selection', 'TEAMS#6', 'LCB', 'Liu Assoc.', ' Corp.', 'Zwei Assoc.', 'LCB', 'Manager', 'outhSection4', 'Mittelhammer', 'South Section G', 'Sinner', 'Corporal', 'Participant', 'TEALS#7', 'Limit', 'To Battle!')[0m
|
||||
[36m[DEBUG] 2026-10-03 09:57:55,092 [AALC] module\config\config.py:420: teams_active_queue change to: [][0m
|
||||
[36m[DEBUG] 2026-10-03 09:57:55,103 [AALC] module\config\config.py:421: teams_be_select change to: [False][0m
|
||||
[36m[DEBUG] 2026-10-03 09:57:55,104 [AALC] module\config\config.py:422: teams_order change to: [0][0m
|
||||
[36m[DEBUG] 2026-10-03 09:57:55,104 [AALC] module\config\config.py:423: teams_be_select_num change to: 0[0m
|
||||
[36m[DEBUG] 2026-10-03 09:57:55,140 [AALC] module\config\config.py:51: 配置文件已加载,版本号:DEFAULT VERSION, 配置版本: [ACCOUNT_REDACTED][0m
|
||||
[32m[INFO] 2026-10-03 09:57:55,674 [RapidOCR] base.py:22: Using engine_name: onnxruntime[0m
|
||||
[32m[INFO] 2026-10-03 09:57:55,870 [RapidOCR] download_file.py:60: File exists and is valid: {repo}\vendor\aalc\.venv\Lib\site-packages\rapidocr\models\ch_PP-OCRv4_det_infer.onnx[0m
|
||||
[32m[INFO] 2026-10-03 09:57:55,871 [RapidOCR] main.py:55: Using {repo}\vendor\aalc\.venv\Lib\site-packages\rapidocr\models\ch_PP-OCRv4_det_infer.onnx[0m
|
||||
[32m[INFO] 2026-10-03 09:57:55,970 [RapidOCR] base.py:22: Using engine_name: onnxruntime[0m
|
||||
[32m[INFO] 2026-10-03 09:57:55,976 [RapidOCR] download_file.py:60: File exists and is valid: {repo}\vendor\aalc\.venv\Lib\site-packages\rapidocr\models\ch_ppocr_mobile_v2.0_cls_infer.onnx[0m
|
||||
[32m[INFO] 2026-10-03 09:57:55,976 [RapidOCR] main.py:55: Using {repo}\vendor\aalc\.venv\Lib\site-packages\rapidocr\models\ch_ppocr_mobile_v2.0_cls_infer.onnx[0m
|
||||
[32m[INFO] 2026-10-03 09:57:56,017 [RapidOCR] base.py:22: Using engine_name: onnxruntime[0m
|
||||
[32m[INFO] 2026-10-03 09:57:56,114 [RapidOCR] download_file.py:60: File exists and is valid: {repo}\vendor\aalc\.venv\Lib\site-packages\rapidocr\models\ch_PP-OCRv4_rec_infer.onnx[0m
|
||||
[32m[INFO] 2026-10-03 09:57:56,115 [RapidOCR] main.py:55: Using {repo}\vendor\aalc\.venv\Lib\site-packages\rapidocr\models\ch_PP-OCRv4_rec_infer.onnx[0m
|
||||
[36m[DEBUG] 2026-10-03 09:57:56,370 [AALC] module\automation\automation.py:88: 使用前台点击模块[0m
|
||||
[36m[DEBUG] 2026-10-03 09:57:56,376 [AALC] utils\path_manager.py:44: 路径管理器初始化完成,路径: ['dark/zh_cn', 'dark/en', 'dark/share', 'default/zh_cn', 'default/en', 'default/share'][0m
|
||||
[36m[DEBUG] 2026-10-03 09:58:50,189 [AALC] module\ocr\ocr.py:72: OCR识别结果:('TEAMS #1', '《', 'Details', 'Preset#1', 'Dante', 'SELECTED', 'SELECTED', 'SELECTED', 'All E.6.0', 'TEAMS', 'LV.35', 'LV.35', 'LV.35', 'LV.04', 'LV.35', 'WCorp.L2', 'WCorp.L3', 'WCorp.L3', 'Rosespanner', 'WCorp.L2', 'TEAMS#1', 'Salsu', 'Cleanup Agent', 'Cleanup Agent', 'Cleanup Agent', 'Cleanup Agent', 'Fagades', 'TEAMS#2', 'TEAMS#3', 'Support', 'TEAMS#4', 'SELECTED', 'SELECTED', 'Details', 'TEAMS#5', 'LV.34', 'LV.17', 'LV.35', 'LV.14', 'LV.14', 'LV.17', 'GCorp.', 'CClear Selection', 'TEAMS#6', 'LCB', 'Liu Assoc.', ' Corp.', 'Zwei Assoc.', 'LCB', 'Manager', 'outhSection4', 'Mittelhammer', 'South Section G', 'Sinner', 'Corporal', 'Participant', 'TEALS#7', 'Limit', 'To Battle!')[0m
|
||||
[36m[DEBUG] 2026-10-03 09:59:12,559 [AALC] module\ocr\ocr.py:72: OCR识别结果:('TEAMS #1', 'K', 'Details', '7', 'Preset#1', 'MlI lidestities', 'Dante', 'SELECTED', 'SELECTED', 'SELECTED', 'SELECTED', 'SELECTED', 'All E.6.0', 'TEAMS', 'LV.35', 'LV.35', 'LV.35', 'LV.04', 'Lv.35', 'Blade Lineage', 'WCorp.L2', 'WCorp.L3', 'WCorp.L3', 'Rosespanner', 'WCorp.L2', 'TEAMS#1', 'Salsu', 'Cleanup Agent', 'Cleanup Agent', 'Cleanup Agent', 'Cleanup Agent', 'Fagades', 'TEAMS#2', 'TEAMS#3', 'Support', 'TEAMS#4', 'SELECTED', 'SELECTED', 'Details', 'TEAMS#5', 'LV.34', 'LV.17', 'LV.35', 'LV.14', 'LV.14', 'LV.17', 'GCorp.', 'CClear Selection', 'TEAMS#6', 'LCB', 'Liu Assoc.', ' Corp.', 'Zwei Assoc.', 'LCB', 'Manager', 'outhSection4', 'Mittelhammer', 'South Section G', 'Sinner', 'Corporal', 'Participant', 'TEALS#7', 'Limit', 'To Battle!')[0m
|
||||
[36m[DEBUG] 2026-10-03 09:59:33,635 [AALC] module\ocr\ocr.py:72: OCR识别结果:('TEAMS #1', 'K', 'Details', '7', 'Preset#1', 'MlI lidestities', 'Dante', 'SELECTED', 'SELECTED', 'SELECTED', 'SELECTED', 'SELECTED', 'All E.6.0', 'TEAMS', 'LV.35', 'LV.35', 'LV.35', 'LV.04', 'Lv.35', 'Blade Lineage', 'WCorp.L2', 'WCorp.L3', 'WCorp.L3', 'Rosespanner', 'WCorp.L2', 'TEAMS#1', 'Salsu', 'Cleanup Agent', 'Cleanup Agent', 'Cleanup Agent', 'Cleanup Agent', 'Fagades', 'TEAMS#2', '00', 'TEAMS#3', 'Support', 'TEAMS#4', 'SELECTED', 'SELECTED', 'Details', 'TEAMS#5', 'LV.34', 'LV.17', 'LV.35', 'LV.14', 'LV.14', 'LV.17', 'G Corp.', 'CClear Selection', 'TEAMS#6', 'LCB', 'Liu Assoc.', ' Corp.', 'Zwei Assoc.', 'LCB', 'Manager', 'outhSection4', 'Mittelhammer', 'South Section G', 'Sinner', 'Corporal', 'Participant', 'TEALS#7', 'Limit', 'To Battle!')[0m
|
||||
[36m[DEBUG] 2026-10-03 09:59:40,240 [AALC] module\ocr\ocr.py:72: OCR识别结果:('CONNECTING', 'TEAMS #1', 'K', 'Details', 'Preset#1', '7', 'MlI lidestities', 'Dante', 'SELECTED', 'SELECTED', 'SELECTED', 'SELECTED', 'SELECTED', 'All E.6.0', 'TEAMS', 'LV.35', 'LV.35', 'LV.35', 'LV.04', 'Lv.35', 'Blade Lineage', 'WCorp.L2', 'WCorp.L3', 'WCorp.L3', 'Rosespanner', 'WCorp.L2', 'TEAMS#1', 'Salsu', 'Cleanup Agent', 'Cleanup Agent', 'Cleanup Agent', 'Cleanup Agent', 'Fagades', 'TEAMS#2', 'TEAMS#3', 'Support', 'TEAMS#4', 'SELECTED', 'SELECTED', 'Details', 'TEAMS#5', 'LV.34', 'LV.17', 'LV.35', 'LV.14', 'LV.14', 'LV.17', 'G Corp.', 'CClear Selection', 'TEAMS#6', 'LCB', 'Liu Assoc.', ' Corp.', 'Zwei Assoc.', 'LCB', 'Manager', 'outhSection4', 'Mittelhammer', 'South Section G', 'Sinner', 'Corporal', 'Partieipant', 'TEALS#7', 'Limit', 'To Battle!')[0m
|
||||
[36m[DEBUG] 2026-10-03 10:00:22,481 [AALC] module\ocr\ocr.py:72: OCR识别结果:('?', 'TEAMS #1', 'Details', 'SINICOST', '07', 'Preset#I', 'Dante', 'SELECTEI', 'Thecurrentaveragelevel ofyourdeployedldentities', 'CTED', 'islowerthantherecommendedlevel forthisStage.', 'All E.6.0', 'TEAMS', 'LV', 'Lv. 35', 'Blade Line', 'StarttheEncounteranyway?', 'TEAMS#1', 'Corp.L2', 'SE', 'up Agent', 'Fagades', 'TEAMS#2', 'CurrentAvg.Level:34', 'TEAMS#3', 'Recommended Level:35', 'Support', 'TEAMS#4', 'CTED', 'Details', 'TEAMS#5', 'LN.34', 'G Corp.', 'CClearSelection', 'TEAMS#6', 'X Cancel', 'Enter', 'Mlanager', 'Sin', 'TEAL*S#7', 'Partieipant', 'Limit', 'To Battle!')[0m
|
||||
[36m[DEBUG] 2026-10-03 10:00:40,736 [AALC] module\ocr\ocr.py:72: OCR识别结果:('?', 'TEAMS #1', 'Details', 'SINICOST', '07', 'Preset#I', 'Dante', 'SELECTEI', 'Thecurrentaveragelevel ofyourdeployedldentities', 'CTED', 'islowerthantherecommendedlevel forthisStage.', 'All E.6.0', 'TEAMS', 'LV', 'Lv. 35', 'Blade Line', 'StarttheEncounteranyway?', 'TEAMS#1', 'Corp.L2', 'SE', 'up Agent', 'Fagades', 'TEAMS#2', 'CurrentAvg.Level:34', 'TEAMS#3', 'Recommended Level:35', 'Support', 'TEAMS#4', 'CTED', 'Details', 'TEAMS#5', 'LN.34', 'G Corp.', 'CClearSelection', 'TEAMS#6', 'X Cancel', 'Enter', 'Mlanager', 'Sin', 'TEAL*S#7', 'Partieipant', 'Limit', 'To Battle!')[0m
|
||||
[36m[DEBUG] 2026-10-03 10:00:48,850 [AALC] module\ocr\ocr.py:72: OCR识别结果:('X Cancel', 'Enter', 'CONNECTING', 'TEAMS #1', 'K', 'Details', 'SINICOST', '37', 'Preset#1', 'Dante', 'SELECTED', 'SELECTED', 'SELECTED', 'SELECTED', 'SELECTED', 'All E.6.0', 'TEAMS', 'Lv. 34', 'Lv.35', 'LV.35', 'LV.35', 'LV.04', 'Lv. 35', 'Blade Lineage', 'WCorp.L2', 'WCorp.L3', 'WCorp.L3', 'Rosespanner', 'WCorp.L2', 'TEAMS#1', 'Salsu', 'Cleanup Agent', 'Cleanup Agent', 'Cleanup Agent', 'Cleanup Agent', 'Fagades', 'TEAMS#2', '00', 'TEAMS#3', 'Support', 'TEAMS#4', 'SELECTED', 'SELECTED', 'Details', 'TEAMS#5', 'LV.17', 'Lv.35', 'LV.14', 'LV.14', 'LV.17', 'G Corp.', 'Clear Selection', 'TEAMS#6', 'LCB', 'Liu Assoc.', 'NCorp.', 'Zwei Assoe.', 'LCB', 'Manager', 'Sinner', 'outh Section4', 'Mittelhammer', 'South Section G', 'Sinner', 'Corporal', 'Participant', 'TEAS#7', 'Limit', 'To Battle!')[0m
|
||||
[36m[DEBUG] 2026-10-03 10:01:45,052 [AALC] module\ocr\ocr.py:72: OCR识别结果:('Screening Room', 'Technology', 'Liberation Alliance', 'Dongbaek', 'Kaff.. Kof..')[0m
|
||||
[36m[DEBUG] 2026-10-03 10:03:01,378 [AALC] module\ocr\ocr.py:72: OCR识别结果:('Screening Room', 'Technology', 'Liberation Alliance', 'Dongbaek', 'Kaff.. Kof...')[0m
|
||||
[36m[DEBUG] 2026-10-03 10:03:17,159 [AALC] module\ocr\ocr.py:72: OCR识别结果:('Screening Room', 'Technology', 'Liberation Alliance', 'Dongbaek', 'Kaff.. Kof..')[0m
|
||||
[36m[DEBUG] 2026-10-03 10:03:50,691 [AALC] module\ocr\ocr.py:72: OCR识别结果:('Screening Room', 'D', 'Are you sure you want to skip?', 'X Cancel', 'Confirm', 'Technology', 'Liberation Alliance', 'Dongbaek', 'Kaff... Kof...')[0m
|
||||
[36m[DEBUG] 2026-10-03 10:04:14,658 [AALC] module\ocr\ocr.py:72: OCR识别结果:('Screening Room', 'Are you sure you want to skip?', 'X Cancel', 'Confirm', 'Technology', 'Liberation Alliance', 'Dongbaek', 'Kaff...Kof....')[0m
|
||||
[36m[DEBUG] 2026-10-03 10:04:18,167 [AALC] module\ocr\ocr.py:72: OCR识别结果:('Screening Room', 'Are you sure you want to skip?', 'X Cancel', 'Confirm', 'Dongbaek', 'Kaff... Koff.')[0m
|
||||
[36m[DEBUG] 2026-10-03 10:04:42,313 [AALC] module\ocr\ocr.py:72: OCR识别结果:('WAVE', 'MAX', 'TURN', 'Win', 'Rate', 'Damage')[0m
|
||||
[36m[DEBUG] 2026-10-03 10:05:17,792 [AALC] module\ocr\ocr.py:72: OCR识别结果:('WAVE', 'MAX', 'TURN', 'Win', 'Rate', 'Damage')[0m
|
||||
[36m[DEBUG] 2026-10-03 10:05:53,887 [AALC] module\ocr\ocr.py:72: OCR识别结果:('I', 'Frontal Assault', 'Body', '1353')[0m
|
||||
[36m[DEBUG] 2026-10-03 10:06:29,418 [AALC] module\ocr\ocr.py:72: OCR识别结果:('WAVE', 'MAX', 'TURN', 'Win', 'Rate', 'Damage')[0m
|
||||
[36m[DEBUG] 2026-10-03 10:07:10,750 [AALC] module\ocr\ocr.py:72: OCR识别结果:('Cleanup Support', 'Like Flowers in Full Blo', '181', 'DONGBAEKE.G.O::SPICEBUSH')[0m
|
||||
[36m[DEBUG] 2026-10-03 10:07:14,211 [AALC] module\ocr\ocr.py:72: OCR识别结果:('FC', '12', 'Like Flowers in Ful', 'Normal', 'Blooni', '59', '1277', '??-??-77', 'DONGBAEK E.G.O.:SPICEBUSH')[0m
|
||||
[36m[DEBUG] 2026-10-03 10:07:17,320 [AALC] module\ocr\ocr.py:72: OCR识别结果:('+2', 'E.C.', 'Body', '1257', 'ACDAEn.Cm', '18', '5')[0m
|
||||
[36m[DEBUG] 2026-10-03 10:07:19,943 [AALC] module\ocr\ocr.py:72: OCR识别结果:('Poise +3', 'Poise Count+1')[0m
|
||||
[36m[DEBUG] 2026-10-03 10:07:23,520 [AALC] module\ocr\ocr.py:72: OCR识别结果:('Bip', '[OnHit] Inflict 1Rupture', '[Heads Hit] Gain+4*Charge Count', '*Charge+1', 'C', 'Charge Count +4', 'Body', '1228', 'MCDAFI/ C C', '21')[0m
|
||||
[36m[DEBUG] 2026-10-03 10:07:25,988 [AALC] module\ocr\ocr.py:72: OCR识别结果:('103', 'ody', '1224')[0m
|
||||
[36m[DEBUG] 2026-10-03 10:07:28,167 [AALC] module\ocr\ocr.py:72: OCR识别结果:None[0m
|
||||
[36m[DEBUG] 2026-10-03 10:07:59,508 [AALC] module\ocr\ocr.py:72: OCR识别结果:('WAVE', 'MAX', 'TURN', 'Win', 'Rate', 'Damage', 'STAGGER', 'STAgGER', '195', '150', '1030')[0m
|
||||
[36m[DEBUG] 2026-10-03 10:08:39,579 [AALC] module\ocr\ocr.py:72: OCR识别结果:('WAVE', 'MAX', 'TURN', 'Win', 'Rate', 'STAGGER', 'STAGGER', '195', '150', '1030', '12')[0m
|
||||
[36m[DEBUG] 2026-10-03 10:09:41,994 [AALC] module\ocr\ocr.py:72: OCR识别结果:('Flowering Buds', '[On Hit] Inflict +3Rupture Count', '[On Hit] Inflict 3Blooming', '22-22-22-271', '1203', 'DONGBAEKE.G.O:SPICEBUSH')[0m
|
||||
[36m[DEBUG] 2026-10-03 10:09:44,763 [AALC] module\ocr\ocr.py:72: OCR识别结果:('I', 'Hack', 'Body', '1190')[0m
|
||||
[36m[DEBUG] 2026-10-03 10:09:47,108 [AALC] module\ocr\ocr.py:72: OCR识别结果:None[0m
|
||||
[36m[DEBUG] 2026-10-03 10:09:49,298 [AALC] module\ocr\ocr.py:72: OCR识别结果:None[0m
|
||||
[36m[DEBUG] 2026-10-03 10:09:54,366 [AALC] module\ocr\ocr.py:72: OCR识别结果:('WAVE', 'MAX', "Doagain whatyoujustdid.You'veanother crushingblow", 'inyou,right?', 'URN', 'Dante', '園', 'Cleanup', 'Win', 'Rate', 'Damage', 'STAGGER', 'STAGGER', 'STAgGER', '195', '103', '12', '150')[0m
|
||||
[36m[DEBUG] 2026-10-03 10:09:57,884 [AALC] module\ocr\ocr.py:72: OCR识别结果:('WAVE', 'MAX', "Do again whatyoujustdid.You'veanother crushingblow", 'in you,right?', 'TURN', 'Dante', 'SOON-TO-BLOON FLOWER', 'Win', 'Rate', 'STAGGER', 'STAGGER', 'STAGGER', '195', '103', '12', '50')[0m
|
||||
[36m[DEBUG] 2026-10-03 10:11:07,987 [AALC] module\ocr\ocr.py:72: OCR识别结果:('WAV', 'MAX', '10', 'Details', '20', 'Details', '2', 'Details', 'To Eqrrnie', '0%', '小', '2', '带', '?', 'Suddenly, Dne Day', 'Lantern', 'AEDD', '33', 'E', '20', 'E', 'AkWeigit', 'AKWelghnt ', 'Atk Wel(gnit ', '1 [On Hit] Inflet6 of a', ' [On Hit] Heal 40% of', '[Before Attack] Galn +5 XCharge', 'random statuschosen from', 'leep efewep', 'Count', 'Burn, * Bleed', 'Tremor,', ' [0n Hig infiet 5 Spark', 'Resistances', '1.0001.00', '0.75', '1.002.00 1.00', '2.00', 'Suddenly, One Day')[0m
|
||||
[36m[DEBUG] 2026-10-03 10:12:26,404 [AALC] module\ocr\ocr.py:72: OCR识别结果:('WAW', 'MAX', '10', 'Details', '20', 'Details', '2', 'Details', 'To Eqrrnie', '0%', '2', '2', 'Suddenly, Dne Day', 'Lantern', 'AEDD', 'X33', 'AikWeigi', 'E', 'Ak Woigit', 'AKWelghnt ', ' [on Hit] Inflet of a', '[Before Attack] Gain +5 XCharge', 'random status,chosen from', ' [On Hit] Heal 40% of', 'Count', 'Burn,BleedTremor,', 'leep efewep', '[0n Hig Inflet 5 Spark', '$Rupture, ana Sinking', 'Resistances', '1.000 1.00', '0.75', '1.002.001.00', '2.00', 'Suddenly,One Day')[0m
|
||||
[36m[DEBUG] 2026-10-03 10:12:57,290 [AALC] module\ocr\ocr.py:72: OCR识别结果:('WAVE', 'MAX', 'TURN', 'SOON-TO-BLOON RLOWER', 'TART', 'Win', 'Rate', 'Damage', 'STAGGER', 'STAGGER', 'STAGGER', '103', '12', '50')[0m
|
||||
[36m[DEBUG] 2026-10-03 10:13:19,633 [AALC] module\ocr\ocr.py:72: OCR识别结果:('MAX', '10', 'Details', 'To Corrnile', '0%', '2', '?', 'La Sangee de Saneho', 'LEX', 'WWelgm', '[On Hig inflet B Bleed', '[Heads Hit] Heal by 50% of ', 'damage dealt', 'Resistances', '2.008 0.75 ', '1.00', '1.002.01 1.00', '1.00', 'La Sangre de Sancho')[0m
|
||||
[36m[DEBUG] 2026-10-03 10:16:09,500 [AALC] module\ocr\ocr.py:72: OCR识别结果:('WAVE', 'MAX', 'Win', 'Rate', 'Damag', 'STAGGER', 'STAGGER', 'STAgGER', '103', '12', '50')[0m
|
||||
[36m[DEBUG] 2026-10-03 10:17:11,323 [AALC] module\ocr\ocr.py:72: OCR识别结果:('BudLy35', '3032)', 'Skill Effects', 'L', 'Keywords', '[On Hit]Inflict1Blooming', 'Blooming', 'Turn End:At5+Count,take', 'Sloth damage by (Count)% of', 'MaxHP,and become Fully', 'Bloomed', 'At less than 5 Count, lose', '(Count *5) SP, then reduce', 'Count by1', 'Win', 'Rate', 'Damage', 'STAgGER', 'STAGGER', 'STAGGER', '195', '103', '12', '150')[0m
|
||||
[36m[DEBUG] 2026-10-03 10:18:32,236 [AALC] module\ocr\ocr.py:72: OCR识别结果:('WAVE', 'MAX', 'TURN', '3', 'START', 'Win', 'Rate', 'Damage', 'STAGGER', 'STAGGER', 'STAGGER', '195', '103', '12', '150')[0m
|
||||
[36m[DEBUG] 2026-10-03 10:20:10,036 [AALC] module\config\config.py:420: teams_active_queue change to: [][0m
|
||||
[36m[DEBUG] 2026-10-03 10:20:10,049 [AALC] module\config\config.py:421: teams_be_select change to: [False][0m
|
||||
[36m[DEBUG] 2026-10-03 10:20:10,051 [AALC] module\config\config.py:422: teams_order change to: [0][0m
|
||||
[36m[DEBUG] 2026-10-03 10:20:10,051 [AALC] module\config\config.py:423: teams_be_select_num change to: 0[0m
|
||||
[36m[DEBUG] 2026-10-03 10:20:10,094 [AALC] module\config\config.py:51: 配置文件已加载,版本号:DEFAULT VERSION, 配置版本: [ACCOUNT_REDACTED][0m
|
||||
[32m[INFO] 2026-10-03 10:20:10,700 [RapidOCR] base.py:22: Using engine_name: onnxruntime[0m
|
||||
[32m[INFO] 2026-10-03 10:20:10,902 [RapidOCR] download_file.py:60: File exists and is valid: {repo}\vendor\aalc\.venv\Lib\site-packages\rapidocr\models\ch_PP-OCRv4_det_infer.onnx[0m
|
||||
[32m[INFO] 2026-10-03 10:20:10,904 [RapidOCR] main.py:55: Using {repo}\vendor\aalc\.venv\Lib\site-packages\rapidocr\models\ch_PP-OCRv4_det_infer.onnx[0m
|
||||
[32m[INFO] 2026-10-03 10:20:11,018 [RapidOCR] base.py:22: Using engine_name: onnxruntime[0m
|
||||
[32m[INFO] 2026-10-03 10:20:11,025 [RapidOCR] download_file.py:60: File exists and is valid: {repo}\vendor\aalc\.venv\Lib\site-packages\rapidocr\models\ch_ppocr_mobile_v2.0_cls_infer.onnx[0m
|
||||
[32m[INFO] 2026-10-03 10:20:11,025 [RapidOCR] main.py:55: Using {repo}\vendor\aalc\.venv\Lib\site-packages\rapidocr\models\ch_ppocr_mobile_v2.0_cls_infer.onnx[0m
|
||||
[32m[INFO] 2026-10-03 10:20:11,074 [RapidOCR] base.py:22: Using engine_name: onnxruntime[0m
|
||||
[32m[INFO] 2026-10-03 10:20:11,168 [RapidOCR] download_file.py:60: File exists and is valid: {repo}\vendor\aalc\.venv\Lib\site-packages\rapidocr\models\ch_PP-OCRv4_rec_infer.onnx[0m
|
||||
[32m[INFO] 2026-10-03 10:20:11,168 [RapidOCR] main.py:55: Using {repo}\vendor\aalc\.venv\Lib\site-packages\rapidocr\models\ch_PP-OCRv4_rec_infer.onnx[0m
|
||||
[36m[DEBUG] 2026-10-03 10:20:11,442 [AALC] module\automation\automation.py:88: 使用前台点击模块[0m
|
||||
[36m[DEBUG] 2026-10-03 10:20:11,449 [AALC] utils\path_manager.py:44: 路径管理器初始化完成,路径: ['dark/zh_cn', 'dark/en', 'dark/share', 'default/zh_cn', 'default/en', 'default/share'][0m
|
||||
[36m[DEBUG] 2026-10-03 10:20:37,259 [AALC] module\ocr\ocr.py:72: OCR识别结果:('WAVE', 'MAX', 'TURN', '式', 'Win', 'Rate', 'Damage', 'STAgGER-', 'STAGGER-', 'STAGGER')[0m
|
||||
[36m[DEBUG] 2026-10-03 10:21:22,806 [AALC] module\ocr\ocr.py:72: OCR识别结果:('WAVE', 'MAX', 'TURN', 'SOON-TO-BLOON FLOWER', 'START', 'Win', 'Rate', 'Damage', 'STAGGER-', 'STAGGER', 'STAGGER')[0m
|
||||
[36m[DEBUG] 2026-10-03 10:21:52,567 [AALC] module\ocr\ocr.py:72: OCR识别结果:('WAVE', 'MAX', 'TURN', 'Win', 'Rate', 'Damage', 'STAgGER', 'STAgGER', 'STAGGER')[0m
|
||||
[36m[DEBUG] 2026-10-03 10:22:34,973 [AALC] module\ocr\ocr.py:72: OCR识别结果:('WAVE', 'MAX', 'TURN', ' Settings', '← Resume', 'Q Retry Stage', 'X Give Up', 'Win', 'Rate', 'Damage', 'STAGGER', 'STAGGER', 'STAGGER', '889')[0m
|
||||
[36m[DEBUG] 2026-10-03 10:22:58,359 [AALC] module\ocr\ocr.py:72: OCR识别结果:('WAVE', 'MAX', 'TURN', ' Settings', '← Resume', 'Q Retry Stage', 'X Give Up', 'Win', 'Rate', 'Damage', 'STAGGER-', 'STAGGER', 'STAGGER', '889')[0m
|
||||
[36m[DEBUG] 2026-10-03 10:23:01,377 [AALC] module\ocr\ocr.py:72: OCR识别结果:('WAVE', 'TURN', 'START', 'Win', 'Rate', 'Damage', 'STAGGER-', 'STAGGER', 'STAGGER', '88')[0m
|
||||
[36m[DEBUG] 2026-10-03 10:23:31,100 [AALC] module\ocr\ocr.py:72: OCR识别结果:('WAVE', 'MAX', 'TURN', 'Win', 'Rate', 'Damage')[0m
|
||||
[36m[DEBUG] 2026-10-03 10:24:17,138 [AALC] module\ocr\ocr.py:72: OCR识别结果:('WAVE', 'MAX', 'TURN', 'Win', 'Rate', 'Damage')[0m
|
||||
[36m[DEBUG] 2026-10-03 10:24:36,062 [AALC] module\ocr\ocr.py:72: OCR识别结果:('ngent Fragrance', '[On Hit] Inflict 2 Blooming', '77-77-77-21', '1436', 'DONGBAEK E.G.OSPICEBUSH', '162')[0m
|
||||
[36m[DEBUG] 2026-10-03 10:24:38,792 [AALC] module\ocr\ocr.py:72: OCR识别结果:('I', 'Leap', '27-7-2-21436', 'G1', '22?', 'DONGBAEK E.G.O:SPICEBUSH')[0m
|
||||
[36m[DEBUG] 2026-10-03 10:24:41,585 [AALC] module\ocr\ocr.py:72: OCR识别结果:('Leap', '[Heads Hit] Inflict 2Fragile', 'Charge', 'ody')[0m
|
||||
[36m[DEBUG] 2026-10-03 10:24:43,950 [AALC] module\ocr\ocr.py:72: OCR识别结果:('ormal', '148', '0')[0m
|
||||
[36m[DEBUG] 2026-10-03 10:24:46,456 [AALC] module\ocr\ocr.py:72: OCR识别结果:('+3', 'Hack', 'Body', '1368')[0m
|
||||
[36m[DEBUG] 2026-10-03 10:24:48,713 [AALC] module\ocr\ocr.py:72: OCR识别结果:None[0m
|
||||
[36m[DEBUG] 2026-10-03 10:24:51,129 [AALC] module\ocr\ocr.py:72: OCR识别结果:('2Pse+3', 'Poise Count +', '195')[0m
|
||||
[36m[DEBUG] 2026-10-03 10:24:53,573 [AALC] module\ocr\ocr.py:72: OCR识别结果:('Leap',)[0m
|
||||
[36m[DEBUG] 2026-10-03 10:24:57,810 [AALC] module\ocr\ocr.py:72: OCR识别结果:('WAVE', 'MAX', 'Trytobea bit more careful withyourhealth.No,', "mean...'mjustworried foryou isall.", 'TURN', 'Dante', 'Win', 'Rate', 'Damage')[0m
|
||||
[36m[DEBUG] 2026-10-03 10:25:01,269 [AALC] module\ocr\ocr.py:72: OCR识别结果:('WAVE', 'MAX', 'Trytobea bit more careful withyourhealth.No,', "mean...'m just worried foryou is all.", 'TURN', 'Dante', 'Win', 'Rate', 'Damage')[0m
|
||||
[36m[DEBUG] 2026-10-03 10:26:11,281 [AALC] module\ocr\ocr.py:72: OCR识别结果:('WAVE', 'MAX', 'TURN', ' Settings', '← Resume', 'Q Retry Stage', 'X Give Up', 'Win', 'Rate', 'Damage', '95')[0m
|
||||
[36m[DEBUG] 2026-10-03 10:26:13,861 [AALC] module\ocr\ocr.py:72: OCR识别结果:('WAVE', 'TURN', 'Win', 'Rate', 'Damage')[0m
|
||||
[36m[DEBUG] 2026-10-03 10:26:53,461 [AALC] module\ocr\ocr.py:72: OCR识别结果:('h-h', 'Defeat', 'When anenemyruns outofSanity andfallsintoPanic,', 'theyll suffernegativeeffects,givingyouanadvantage.', 'Check the E.G.Oyour Sinners have equipped and their required', 'resourcestoform a teamof ldentitiesthatcan efficiently gather', 'theminbattle.', 'E.G.O canshiftthebattle inyourfavorif usedwhenyour', 'Sinnershave enoughSanity.', 'DEFEAT', 'Return', "I'll need...more experience and training, it seems...", 'Confirm')[0m
|
||||
[36m[DEBUG] 2026-10-03 10:27:23,047 [AALC] module\ocr\ocr.py:72: OCR识别结果:('h-h', 'Defeat', 'When anenemyruns outofSanity andfallsintoPanic,', 'theyll suffernegativeeffects,givingyouanadvantage.', 'Check the E.G.Oyour Sinners have equipped and their required', 'resourcestoform a teamof ldentitiesthatcan efficiently gather', 'theminbattle.', 'E.G.O canshiftthebattle inyourfavorif usedwhenyour', 'Sinnershave enoughSanity.', 'DEFEAT', 'Return', "I'll need...more experience and training, it seems.", 'Confirm')[0m
|
||||
[36m[DEBUG] 2026-10-03 10:27:26,201 [AALC] module\ocr\ocr.py:72: OCR识别结果:('Progress', 'EX Cleared', '米', 'Bud', 'Screening', 'NO.[ACCOUNT_REDACTED]', '036', '10', '193', 'LUNACY', 'LV', '124/120', '2646', 'Inventory')[0m
|
||||
[36m[DEBUG] 2026-10-03 10:27:29,897 [AALC] module\ocr\ocr.py:72: OCR识别结果:('Progress', 'EX Cleared', '米', 'Bud', 'Screening', 'Room', '[ACCOUNT_REDACTED]', '193', '036', 'LUNACY', 'LV', '2646', 'Window', 'Sinners', 'Drive', 'Theater', 'Extract', 'Dispense', 'Inventory')[0m
|
||||
[36m[DEBUG] 2026-10-03 10:27:34,142 [AALC] module\ocr\ocr.py:72: OCR识别结果:('Progress', 'EX Cleared', '米', 'Bud', 'Screening', 'Room', '[ACCOUNT_REDACTED]', '193', '036', 'LUNACY', 'LV', 'Window', 'Sinners', 'Drive', 'Theater', 'Extract', 'Dispense', '124', '120', '2646', 'Inventory')[0m
|
||||
[36m[DEBUG] 2026-10-03 10:27:38,177 [AALC] module\ocr\ocr.py:72: OCR识别结果:('Progress', 'EX Cleared', '米', '4-48', 'Bud', 'Screening', 'Room', '[ACCOUNT_REDACTED]', '193', '036', 'LUNACY', 'LV', 'Window', 'Sinners', 'Drive', 'Theater', 'Extract', 'Dispense', '24', '2646', 'Inventory')[0m
|
||||
[36m[DEBUG] 2026-10-03 10:27:41,817 [AALC] module\ocr\ocr.py:72: OCR识别结果:('Progress', 'EX Cleared', '米', 'Bud', 'Screening', 'Room', '[ACCOUNT_REDACTED]', '193', '036', 'LUNACY', 'LV', '2646', 'Window', 'Sinners', 'Drive', 'Theater', 'Extract', 'Dispense', 'Inventory')[0m
|
||||
[36m[DEBUG] 2026-10-03 10:27:45,417 [AALC] module\ocr\ocr.py:72: OCR识别结果:('Progress', 'EX Cleared', '米', 'Bud', 'Screening', 'Room', '[ACCOUNT_REDACTED]', '193', '036', 'LUNACY', 'LV', 'Window', 'Sinners', 'Drive', 'Theater', 'Extract', 'Dispense', '1242', '2646', 'Inventory')[0m
|
||||
[36m[DEBUG] 2026-10-03 10:27:48,140 [AALC] module\ocr\ocr.py:72: OCR识别结果:('Progress', 'EX Cleared', '米', '4-48', 'Bud', 'Screening', 'Room', '[ACCOUNT_REDACTED]', '193', '036', '10', 'LUNACY', 'LV', 'Window', 'Sinners', 'Drive', 'Theater', 'Extract', 'Dispense', '2646', '120', 'Inventory')[0m
|
||||
[36m[DEBUG] 2026-10-03 10:29:12,564 [AALC] module\ocr\ocr.py:72: OCR识别结果:('Progress', 'EX Cleared', '米', 'h', 'Bud', 'Screening', 'Room', '[ACCOUNT_REDACTED]', '10', '193', '036', 'LUNACY', 'LV', 'Window', 'Sinners', 'Drive', 'Theater', 'Extract', 'Dispense', '124/120', '2646', 'Inventory')[0m
|
||||
[36m[DEBUG] 2026-10-03 10:29:15,755 [AALC] module\ocr\ocr.py:72: OCR识别结果:('CONNECTING', 'hh', 'Screening Room', '[ACCOUNT_REDACTED]', '036', '10', '193', 'LUNACY', 'LV', '124/120', '2646', 'Inventory', 'Theater', 'Extract', 'Jispens')[0m
|
||||
[36m[DEBUG] 2026-10-03 10:29:20,154 [AALC] module\ocr\ocr.py:72: OCR识别结果:('4-48', 'Bud', 'Aservererrorhasoccurred.', 'Pleasetry again in a moment.', 'Close', 'Retry 2', 'Screening Room', '[ACCOUNT_REDACTED]', '9E0,', '10', '193', 'LUNACY', 'LV', '124/120', '2646', 'Inventory')[0m
|
||||
[36m[DEBUG] 2026-10-03 10:29:23,953 [AALC] module\ocr\ocr.py:72: OCR识别结果:('4-48', 'Bud', 'Aservererrorhasoccurred.', 'Pleasetry again in a moment.', 'Close', 'Retry 4', 'Screening Room', '[ACCOUNT_REDACTED]', '9E0,', '10', '193', 'LUNACY', 'LV', '124/120', '2646', 'Inventory')[0m
|
||||
[36m[DEBUG] 2026-10-03 10:29:27,683 [AALC] module\ocr\ocr.py:72: OCR识别结果:('#4-48', 'Bud', 'Aservererrorhasoccurred.', 'Pleasetry again in a moment.', 'Close', 'Retry 5', 'Screening Room', '[ACCOUNT_REDACTED]', '9E0,', '10', '193', 'LUNACY', 'LV', '124/120', '2646', 'Inventory')[0m
|
||||
[36m[DEBUG] 2026-10-03 10:29:30,471 [AALC] module\ocr\ocr.py:72: OCR识别结果:('4-48', 'Bud', 'Aservererrorhasoccurred.', 'Pleasetry again in a moment.', 'Close', 'Retry 3', 'Screening Room', '[ACCOUNT_REDACTED]', '9E0,', '10', '193', 'LUNACY', 'LV', '1244', '2646', 'Inventory')[0m
|
||||
[36m[DEBUG] 2026-10-03 10:30:47,939 [AALC] module\ocr\ocr.py:72: OCR识别结果:('TEAMS #1', 'K', 'Details', '7', 'Preset#1', 'Dante', 'SELECTED', 'SELECTED', 'SELECTED', 'SELECTED', 'SELECTED', 'All E.6.0', 'TEAMS', 'LV.35', 'LV.35', 'LV.35', 'LV.04', 'Lv.35', 'Blade Lineage', 'WCorp.L2', 'WCorp.L3', 'WCorp.L3', 'Rosespanner', 'WCorp.L2', 'TEAMS#1', 'Salsu', 'Cleanup Agent', 'Cleanup Agent', 'Cleanup Agent', 'Cleanup Agent', 'Fagades', 'TEAMS#2', 'TEAMS#3', 'Support', 'TEAMS#4', 'SELECTED', 'SELECTED', 'Details', 'TEAMS#5', 'LV.34', 'LV.17', 'LV.35', 'LV.14', 'LV.14', 'LV.17', 'GCorp.', 'CClear Selection', 'TEAMS#6', 'LCB', 'Liu Assoc.', ' Corp.', 'Zwei Assoc.', 'LCB', 'Manager', 'outhSection4', 'Mittelhammer', 'South Section G', 'Sinner', 'Participant', 'TEALS#7', 'Limit', 'To Battle!')[0m
|
||||
[36m[DEBUG] 2026-10-03 10:30:53,816 [AALC] module\ocr\ocr.py:72: OCR识别结果:('TEAMS #1', 'K', 'Details', '7', 'Preset#1', 'MlI lidestities', 'Dante', 'SELECTED', 'SELECTED', 'SELECTED', 'SELECTED', 'SELECTED', 'All E.6.0', 'TEAMS', 'LV.35', 'LV.35', 'LV.35', 'LV.04', 'Lv.35', 'Blade Lineage', 'WCorp.L2', 'WCorp.L3', 'WCorp.L3', 'Rosespanner', 'WCorp.L2', 'TEAMS#1', 'Salsu', 'Cleanup Agent', 'Cleanup Agent', 'Cleanup Agent', 'Cleanup Agent', 'Fagades', 'TEAMS#2', 'TEAMS#3', 'Support', 'TEAMS#4', 'SELECTED', 'SELECTED', 'Details', 'TEAMS#5', 'LV.34', 'LV.17', 'LV.35', 'LV.14', 'LV.14', 'LV.17', 'GCorp.', 'CClear Selection', 'TEAMS#6', 'LCB', 'Liu Assoc.', ' Corp.', 'Zwei Assoc.', 'LCB', 'Manager', 'outhSection4', 'Mittelhammer', 'South Section G', 'Sinner', 'Corporal', 'Partieipant', 'TEALS#7', 'Limit', 'To Battle!')[0m
|
||||
[36m[DEBUG] 2026-10-03 10:31:00,431 [AALC] module\ocr\ocr.py:72: OCR识别结果:('TEAMS #1', 'K', 'Details', '7', 'Preset#1', 'Dante', 'SELECTED', 'SELECTED', 'SELECTED', 'SELECTED', 'SELECTED', 'All E.6.0', 'TEAMS', 'LV.35', 'LV.35', 'LV.35', 'LV.04', 'Lv.35', 'Blade Lineage', 'WCorp.L2', 'WCorp.L3', 'WCorp.L3', 'Rosespanner', 'WCorp.L2', 'TEAMS#1', 'Salsu', 'Cleanup Agent', 'Cleanup Agent', 'Cleanup Agent', 'Cleanup Agent', 'Fagades', 'TEAMS#2', 'TEAMS#3', 'Support', 'TEAMS#4', 'SELECTED', 'SELECTED', 'Details', 'TEAMS#5', 'LV.34', 'LV.17', 'LV.35', 'LV.14', 'LV.14', 'LV.17', 'GCorp.', 'CClear Selection', 'TEAMS#6', 'LCB', 'Liu Assoc.', ' Corp.', 'Zwei Assoc.', 'LCB', 'Manager', 'outhSection4', 'Mittelhammer', 'South Section G', 'Sinner', 'Corporal', 'Partieipant', 'TEALS#7', 'Limit', 'To Battle!')[0m
|
||||
[36m[DEBUG] 2026-10-03 10:31:07,266 [AALC] module\ocr\ocr.py:72: OCR识别结果:('TEAMS #1', 'K', 'Details', '7', 'Preset#1', 'Dante', 'SELECTED', 'SELECTED', 'SELECTED', 'SELECTED', 'SELECTED', 'All E.6.0', 'TEAMS', 'LV.35', 'LV.35', 'LV.35', 'LV.04', 'Lv.35', 'Blade Lineage', 'WCorp.L2', 'WCorp.L3', 'WCorp.L3', 'Rosespanner', 'WCorp.L2', 'TEAMS#1', 'Salsu', 'Cleanup Agent', 'Cleanup Agent', 'Cleanup Agent', 'Cleanup Agent', 'Fagades', 'TEAMS#2', 'TEAMS#3', 'Support', 'TEAMS#4', 'SELECTED', 'SELECTED', 'Details', 'TEAMS#5', 'LV.34', 'LV.17', 'LV.35', 'LV.14', 'LV.14', 'LV.17', 'GCorp.', 'CClear Selection', 'TEAMS#6', 'LCB', 'Liu Assoc.', ' Corp.', 'Zwei Assoc.', 'LCB', 'Manager', 'outhSection4', 'Mittelhammer', 'South Section G', 'Sinner', 'Corporal', 'Partieipant', 'TEALS#7', 'Limit', 'To Battle!')[0m
|
||||
[36m[DEBUG] 2026-10-03 10:31:12,891 [AALC] module\ocr\ocr.py:72: OCR识别结果:('TEAMS #1', 'K', 'Details', '7', 'Preset#1', 'Dante', 'SELECTED', 'SELECTED', 'SELECTED', 'SELECTED', 'SELECTED', 'All E.6.0', 'TEAMS', 'LV.35', 'LV.35', 'LV.35', 'LV.04', 'Lv.35', 'Blade Lineage', 'WCorp.L2', 'WCorp.L3', 'WCorp.L3', 'Rosespanner', 'WCorp.L2', 'TEAMS#1', 'Salsu', 'Cleanup Agent', 'Cleanup Agent', 'Cleanup Agent', 'Cleanup Agent', 'Fagades', 'TEAMS#2', 'TEAMS#3', 'Support', 'TEAMS#4', 'SELECTED', 'SELECTED', 'Details', 'TEAMS#5', 'LV.34', 'LV.17', 'LV.35', 'LV.14', 'LV.14', 'LV.17', 'GCorp.', 'CClear Selection', 'TEAMS#6', 'LCB', 'Liu Assoc.', ' Corp.', 'Zwei Assoc.', 'LCB', 'Manager', 'outhSection4', 'Mittelhammer', 'South Section G', 'Sinner', 'Corporal', 'Participant', 'TEALS#7', 'Limit', 'To Battle!')[0m
|
||||
[36m[DEBUG] 2026-10-03 10:31:19,612 [AALC] module\ocr\ocr.py:72: OCR识别结果:('TEAMS #1', 'K', 'Details', '7', 'Preset#1', 'MlI lidestities', 'Dante', 'SELECTED', 'SELECTED', 'SELECTED', 'SELECTED', 'SELECTED', 'All E.6.0', 'TEAMS', 'LV.35', 'LV.35', 'LV.35', 'LV.04', 'Lv.35', 'Blade Lineage', 'WCorp.L2', 'WCorp.L3', 'WCorp.L3', 'Rosespanner', 'WCorp.L2', 'TEAMS#1', 'Salsu', 'Cleanup Agent', 'Cleanup Agent', 'Cleanup Agent', 'Cleanup Agent', 'Fagades', 'TEAMS#2', '00', 'TEAMS#3', 'Support', 'TEAMS#4', 'SELECTED', 'SELECTED', 'Details', 'TEAMS#5', 'LV.34', 'LV.17', 'LV.35', 'LV.14', 'LV.14', 'LV.17', 'G Corp.', 'CClear Selection', 'TEAMS#6', 'LCB', 'Liu Assoc.', ' Corp.', 'Zwei Assoc.', 'LCB', 'Manager', 'outhSection4', 'Mittelhammer', 'South Section G', 'Sinner', 'Partieipant', 'TEALS#7', 'Limit', 'To Battle!')[0m
|
||||
[36m[DEBUG] 2026-10-03 10:31:26,017 [AALC] module\ocr\ocr.py:72: OCR识别结果:('TEAMS #1', 'K', 'Details', '7', 'Preset#1', 'MlI lidestities', 'Dante', 'SELECTED', 'SELECTED', 'SELECTED', 'SELECTED', 'SELECTED', 'All E.6.0', 'TEAMS', 'LV.35', 'LV.35', 'LV.35', 'LV.04', 'Lv.35', 'Blade Lineage', 'WCorp.L2', 'WCorp.L3', 'WCorp.L3', 'Rosespanner', 'WCorp.L2', 'TEAMS#1', 'Salsu', 'Cleanup Agent', 'Cleanup Agent', 'Cleanup Agent', 'Cleanup Agent', 'Fagades', 'TEAMS#2', '00', 'TEAMS#3', 'Support', 'TEAMS#4', 'SELECTED', 'SELECTED', 'Details', 'TEAMS#5', 'LV.34', 'LV.17', 'LV.35', 'LV.14', 'LV.14', 'LV.17', 'G Corp.', 'CClear Selection', 'TEAMS#6', 'LCB', 'Liu Assoc.', ' Corp.', 'Zwei Assoc.', 'LCB', 'Manager', 'outhSection4', 'Mittelhammer', 'South Section G', 'Sinner', 'Corporal', 'Participant', 'TEALS#7', 'Limit', 'To Battle!')[0m
|
||||
[36m[DEBUG] 2026-10-03 10:32:49,008 [AALC] module\ocr\ocr.py:72: OCR识别结果:('TEAMS#1', 'SUPPORTIDENTITIES:YISANG', '人', 'Details', 'Selected Identity', 'TEAIIS', 'Details', 'ALL', "Crow'sEyeViev", 'TETH', 'HE', 'No Support Identities for this Sinner.', 'ALEPH', 'South')[0m
|
||||
[36m[DEBUG] 2026-10-03 10:35:49,464 [AALC] module\ocr\ocr.py:72: OCR识别结果:('TEAMS#1', 'SUPPORTIDENTITIES:YISANG', '人', 'Details', 'Selected Identity', 'TEAIIS', 'Details', 'ALL', "Crow'sEyeViev", 'TETH', 'HE', 'No Support Identities for this Sinner.', 'ALEPH', 'South')[0m
|
||||
[36m[DEBUG] 2026-10-03 10:36:08,033 [AALC] module\ocr\ocr.py:72: OCR识别结果:('TEAMS #1', 'SUPPORTIDENTITIES:RYOSHU', '人', 'Details', 'Selected Identity', 'Details', 'ALL', 'ForestfortheHame', 'TETH', 'HE', 'No Support Identities for this Sinner.', 'ALEPH')[0m
|
||||
[36m[DEBUG] 2026-10-03 10:36:38,687 [AALC] module\ocr\ocr.py:72: OCR识别结果:('TEAMS #1', 'K', 'Details', '7', 'Preset#1', 'Dante', 'SELECTED', 'SELECTED', 'SELECTED', 'SELECTED', 'SELECTED', 'All E.6.0', 'TEAMS', 'LV.35', 'LV.35', 'LV.35', 'LV.04', 'Lv.35', 'Blade Lineage', 'WCorp.L2', 'WCorp.L3', 'WCorp.L3', 'Rosespanner', 'WCorp.L2', 'TEAMS#1', 'Salsu', 'Cleanup Agent', 'Cleanup Agent', 'Cleanup Agent', 'Cleanup Agent', 'Fagades', 'TEAMS#2', 'TEAMS#3', 'Support', 'TEAMS#4', 'SELECTED', 'SELECTED', 'Details', 'TEAMS#5', 'LV.34', 'LV.17', 'LV.35', 'LV.14', 'LV.14', 'LV.17', 'GCorp.', 'CClear Selection', 'TEAMS#6', 'LCB', 'Liu Assoc.', ' Corp.', 'Zwei Assoc.', 'LCB', 'Manager', 'outhSection4', 'Mittelhammer', 'South Section G', 'Sinner', 'Partieipant', 'TEALS#7', 'Limit', 'To Battle!')[0m
|
||||
[36m[DEBUG] 2026-10-03 10:37:01,500 [AALC] module\ocr\ocr.py:72: OCR识别结果:None[0m
|
||||
[36m[DEBUG] 2026-10-03 10:37:15,588 [AALC] module\ocr\ocr.py:72: OCR识别结果:('DCQ@O目', 'Screening Room', 'Technology', 'Liberation Alliance', 'Dongbaek', 'Kaff.. Koff..')[0m
|
||||
[36m[DEBUG] 2026-10-03 10:37:30,144 [AALC] module\ocr\ocr.py:72: OCR识别结果:('WAVE', 'MAX', 'Trytobea bit more careful withyourhealth.No,', "mean...'mjust worried foryou is all.", 'TURN', 'Dante', 'Win', 'Rate', 'Damage', '46')[0m
|
||||
[36m[DEBUG] 2026-10-03 10:37:55,431 [AALC] module\ocr\ocr.py:72: OCR识别结果:('MAX', '5.5', 'Skill Effects', 'Reywords', '[On Use] Spend 10XCharge', '*Charge', 'Count to gain +4 Coin Power', 'Atlessthan10XCharge', 'Rip Space', 'Resource used by certain skills', 'Count, lose 20% HP', 'for additional effects.Its Count', 'can go up to 20.Count lowers', '[HeadsHit] Inflict5', 'by1at the end ofeach turn.', 'Rupture', 'Rupture', 'Whenhitbyanattack,take', "fixed damage bythe effect's", 'Potency.', 'Then, reduce its Count by 1.')[0m
|
||||
[36m[DEBUG] 2026-10-03 10:38:11,152 [AALC] module\ocr\ocr.py:72: OCR识别结果:('WAVE', 'MAX', 'TURN', 'Win', 'Rate', 'Damage', '14G')[0m
|
||||
[36m[DEBUG] 2026-10-03 10:38:27,060 [AALC] module\ocr\ocr.py:72: OCR识别结果:('WAVE', 'MAX', 'TURN', 'Win', 'Rate', 'Damage', '6')[0m
|
||||
[36m[DEBUG] 2026-10-03 10:38:29,451 [AALC] module\ocr\ocr.py:72: OCR识别结果:('WAVE', 'MAX', 'TURN', 'Win', 'Rate', 'Damage')[0m
|
||||
[36m[DEBUG] 2026-10-03 10:39:00,853 [AALC] module\ocr\ocr.py:72: OCR识别结果:('Pungent Fragrance', '27-7--211392', '???', 'DONGBAEK E.G.O:SPICEBUSH')[0m
|
||||
[36m[DEBUG] 2026-10-03 10:39:29,723 [AALC] module\ocr\ocr.py:72: OCR识别结果:('Dismember', '[On Hit] Inflict 5Rupture', 'HeadsHit]Heal by50%ofdamagedealt', 'Body', '1265', 'MODAFI/ F')[0m
|
||||
[36m[DEBUG] 2026-10-03 10:39:54,615 [AALC] module\ocr\ocr.py:72: OCR识别结果:('Thatwasgreatworkyoudidthere.Keepitrolling,will', 'you?', 'Dante')[0m
|
||||
[36m[DEBUG] 2026-10-03 10:40:28,320 [AALC] module\ocr\ocr.py:72: OCR识别结果:('WAVE', 'MAX', 'TURN', 'Win', 'Rate', 'Damage', 'TAGGER-', 'STAGGER')[0m
|
||||
[36m[DEBUG] 2026-10-03 10:40:30,101 [AALC] module\ocr\ocr.py:72: OCR识别结果:('WAVE', 'MAX', 'TURN', 'Win', 'Rate', 'Damage', 'TAGGER-', 'STAGGER')[0m
|
||||
[36m[DEBUG] 2026-10-03 10:40:32,886 [AALC] module\ocr\ocr.py:72: OCR识别结果:('WAVE', 'MAX', 'TURN', 'FJLLY BLDONEO FLOWER', 'Win', 'Rate', 'Damage', 'STAGGER')[0m
|
||||
[36m[DEBUG] 2026-10-03 10:41:46,689 [AALC] module\ocr\ocr.py:72: OCR识别结果:(' Settings', '←Resume', 'Q Retry Stage', 'X Give Up')[0m
|
||||
[36m[DEBUG] 2026-10-03 10:42:22,868 [AALC] module\ocr\ocr.py:72: OCR识别结果:('MAX', 'TURN', ' Settings', '← Resume', 'Q Retry Stage', 'X Give Up', 'Win', 'Rate', 'Damage', 'STAGGER', 'STAGGER', 'STAGGER', '-15')[0m
|
||||
[36m[DEBUG] 2026-10-03 10:42:27,722 [AALC] module\ocr\ocr.py:72: OCR识别结果:('WAVE', 'TURN', '3', 'Win', 'Rate', 'Damage', 'STAgGER', 'STAGGER', 'STAGGER', '82', '-15')[0m
|
||||
[36m[DEBUG] 2026-10-03 10:44:12,948 [AALC] module\ocr\ocr.py:72: OCR识别结果:('Progress', 'EX Cleared', '米', 'Bud', 'Screening', 'Room', '[ACCOUNT_REDACTED]', '193', '036', 'LUNACY', 'LV', 'Window', 'Sinners', 'Drive', 'Theater', 'Extract', 'Dispense', '2646', '120', 'Inventory')[0m
|
||||
[36m[DEBUG] 2026-10-03 10:44:36,557 [AALC] module\ocr\ocr.py:72: OCR识别结果:('Progress', 'EX Cleared', '米', '4-48', 'Bud', 'Screening', 'Room', '[ACCOUNT_REDACTED]', '193', '036', '10', 'LUNACY', 'LV', '2646', 'Window', 'Sinners', 'Drive', 'Theater', 'Extract', 'Dispense', '24', 'Inventory')[0m
|
||||
[36m[DEBUG] 2026-10-03 10:44:40,085 [AALC] module\ocr\ocr.py:72: OCR识别结果:('Progress', 'EX Cleared', '米', 'Bud', 'Screening', 'Room', '[ACCOUNT_REDACTED]', '193', '036', '10', 'LUNACY', 'LV', 'Window', 'Sinners', 'Drive', 'Theater', 'Extract', 'Dispense', '124/120', '2646', 'Inventory')[0m
|
||||
[36m[DEBUG] 2026-10-03 10:45:16,084 [AALC] module\ocr\ocr.py:72: OCR识别结果:('Preset #1', 'TEAMS #1', '《', 'Details', '311', '11', 'Dante', '13', 'TEAMS', 'TEAMS#1', 'All E.6.0', 'TEAMS#2', 'Lv.35', 'LV.35', 'LV.35', 'LV.04', 'LV.35', '12', 'Blade Lineage', 'WCorp.L2', 'wCorp.L3', 'WCorp.L3', 'Rosespanner', 'WCorp.L2', 'Salsu', 'Cleanup Agent', 'Cleanup Agent', 'Cleanup Agent', 'WorkshopFixer', 'Cleanup Agent', 'TEAMS#3', '18', 'Fagades', 'TEAMS#4', 'TEAMS#5', '0!', 'Support', 'TEAMS#6', 'Details', 'TEAMS#7', 'LV.34', 'LV.17', 'LV.35', 'LV.14', 'LV.14', 'Lv.17', 'G Corp.', 'TEAMS#8', 'LCB', 'Liu Assoe.', ' Corp.', 'Zwei Assoe.', 'LCB', 'Manager', 'outhSection4', 'Mittelhammer', 'South Section G', 'Sinner', '[ACCOUNT_REDACTED]', '193', '036', 'UNACY', 'Window', 'Sinners', 'Drive', 'Theater', 'Extract', 'Dispense', '2646', 'Inventory')[0m
|
||||
[36m[DEBUG] 2026-10-03 10:45:35,791 [AALC] module\ocr\ocr.py:72: OCR识别结果:('TEAMS#1', 'IDENTITIES:DONQUIXOTE', 'Identities', 'E.G.0', 'Facades', 'Details', 'Selected Identity', 'Details', 'ALL', 'SELECTED', 'Lv35', 'Lv-30', 'W Corp.L3', 'NCorp.', 'LaSangredeSan', 'ACleanug Agent', 'Mittelhammer', 'LCB', 'Sinner', 'TETH', 'HE', 'ALEPH')[0m
|
||||
[36m[DEBUG] 2026-10-03 10:45:56,711 [AALC] module\ocr\ocr.py:72: OCR识别结果:('TEAMS#1', 'IDENTITIES:DONQUIXOTE', 'Identities', 'E.G.0', 'Facades', 'Details', 'Selected Identity', 'Details', 'ALL', 'SELECTED', 'Lv35', 'Lv-30', 'LV.', 'W Corp.L3', 'NCorp.', 'LCB', 'LaSangredeSan', 'ACleanug Agent', 'nittelhammer', 'TETH', 'HE', 'ALEPH')[0m
|
||||
[36m[DEBUG] 2026-10-03 10:46:17,329 [AALC] module\ocr\ocr.py:72: OCR识别结果:('Don', 'awCorp.', 'Ixnte', 'W Corp. L3 Cleanup Agent', 'LV35', '0/4899', 'Level UpA', 'MAX', 'Summary', 'Skill', 'E.G.0', 'Sanity', 'ALEPH', 'La Sangre', 'de Sancho', 'Status', 'Resistances', '16113-634', 'Normal', 'Ineff.', 'Fatal', '川', 'DEFENSE', '-C', '[x1]', '[X0.5]', '[x2]')[0m
|
||||
[36m[DEBUG] 2026-10-03 10:46:41,212 [AALC] module\ocr\ocr.py:72: OCR识别结果:('Don', 'awCorp.', 'Ixnte', 'W Corp. L3 Cleanup Agent', 'LV35', '0/4899', 'Level UpA', 'MAX', 'Summary', 'Skill', 'E.G.0', 'Sanity', 'ALEPH', 'La Sangre', 'de Sancho', 'Status', 'Resistances', '16113-634', 'Ineff.', 'Fatal', '川', 'DEFENSE', 'C', '[x1]', '[X.5]', '[x2]')[0m
|
||||
[36m[DEBUG] 2026-10-03 10:46:45,905 [AALC] module\ocr\ocr.py:72: OCR识别结果:('Don', 'awCorp.', 'xnte', 'W Corp. L3 Cleanup Agent', 'LV35', '0/4899', 'Level UpA', 'MAX', 'Summary', 'Skill', 'E.G.0', 'Sanity', 'ALEPH', 'La Sangre', 'de Sancho', 'Status', 'Resistances', '16113-634', 'Normal', 'Ineff.', 'Fatal', '川', 'DEFENSE', 'C', '[x1]', '[x0.5]', '[x2]')[0m
|
||||
[36m[DEBUG] 2026-10-03 10:47:14,280 [AALC] module\ocr\ocr.py:72: OCR识别结果:('D', 'D', 'awCorp.', 'Power-up', 'leanup Agent', 'MAX', 'Items.', '35·35', 'Identity Training TicketIV (Owned:0)', 'Sanity', 'EXP0/4899', 'Status', 'Identity Training Ticketll (Owned:0)', 'HP', '161161', '0', 'ALEPH', 'Defense Level 34 34', 'Identity Training Ticketll(owned:7)', 'Skill1Skil12Skill3 Defense', '8X383835', 'X Cancel', 'Confirm', 'Status', '16113-67', 'DEFENSE')[0m
|
||||
[36m[DEBUG] 2026-10-03 10:48:24,629 [AALC] module\config\config.py:420: teams_active_queue change to: [][0m
|
||||
[36m[DEBUG] 2026-10-03 10:48:24,638 [AALC] module\config\config.py:421: teams_be_select change to: [False][0m
|
||||
[36m[DEBUG] 2026-10-03 10:48:24,639 [AALC] module\config\config.py:422: teams_order change to: [0][0m
|
||||
[36m[DEBUG] 2026-10-03 10:48:24,641 [AALC] module\config\config.py:423: teams_be_select_num change to: 0[0m
|
||||
[36m[DEBUG] 2026-10-03 10:48:24,687 [AALC] module\config\config.py:51: 配置文件已加载,版本号:DEFAULT VERSION, 配置版本: [ACCOUNT_REDACTED][0m
|
||||
[32m[INFO] 2026-10-03 10:48:25,173 [RapidOCR] base.py:22: Using engine_name: onnxruntime[0m
|
||||
[32m[INFO] 2026-10-03 10:48:25,321 [RapidOCR] download_file.py:60: File exists and is valid: {repo}\vendor\aalc\.venv\Lib\site-packages\rapidocr\models\ch_PP-OCRv4_det_infer.onnx[0m
|
||||
[32m[INFO] 2026-10-03 10:48:25,321 [RapidOCR] main.py:55: Using {repo}\vendor\aalc\.venv\Lib\site-packages\rapidocr\models\ch_PP-OCRv4_det_infer.onnx[0m
|
||||
[32m[INFO] 2026-10-03 10:48:25,414 [RapidOCR] base.py:22: Using engine_name: onnxruntime[0m
|
||||
[32m[INFO] 2026-10-03 10:48:25,416 [RapidOCR] download_file.py:60: File exists and is valid: {repo}\vendor\aalc\.venv\Lib\site-packages\rapidocr\models\ch_ppocr_mobile_v2.0_cls_infer.onnx[0m
|
||||
[32m[INFO] 2026-10-03 10:48:25,417 [RapidOCR] main.py:55: Using {repo}\vendor\aalc\.venv\Lib\site-packages\rapidocr\models\ch_ppocr_mobile_v2.0_cls_infer.onnx[0m
|
||||
[32m[INFO] 2026-10-03 10:48:25,458 [RapidOCR] base.py:22: Using engine_name: onnxruntime[0m
|
||||
[32m[INFO] 2026-10-03 10:48:25,472 [RapidOCR] download_file.py:60: File exists and is valid: {repo}\vendor\aalc\.venv\Lib\site-packages\rapidocr\models\ch_PP-OCRv4_rec_infer.onnx[0m
|
||||
[32m[INFO] 2026-10-03 10:48:25,472 [RapidOCR] main.py:55: Using {repo}\vendor\aalc\.venv\Lib\site-packages\rapidocr\models\ch_PP-OCRv4_rec_infer.onnx[0m
|
||||
[36m[DEBUG] 2026-10-03 10:48:25,713 [AALC] module\automation\automation.py:88: 使用前台点击模块[0m
|
||||
[36m[DEBUG] 2026-10-03 10:48:25,719 [AALC] utils\path_manager.py:44: 路径管理器初始化完成,路径: ['dark/zh_cn', 'dark/en', 'dark/share', 'default/zh_cn', 'default/en', 'default/share'][0m
|
||||
[36m[DEBUG] 2026-10-03 10:48:58,149 [AALC] module\ocr\ocr.py:72: OCR识别结果:('CONNECTING', 'TEAMS #1', 'Details', '面', 'SINICOST', 'Preset#1', 'Dante', 'MlI lidestities', 'TEAMS', 'TEAMS#1', 'hEN', 'Lv.35', 'LV.35', 'LV.04', 'Lv.35', 'Blade Lineage', 'WCorp.L2', 'WCorp.L3', 'WCorp.L3', 'Rosespanner', 'WCorp.L2', 'All E.6.0', 'TEAMS#2', 'Salsu', 'Cleanup Agent', 'Cleanup Agent', 'Ceanup Agent', 'WorkshopFixer', 'Cleanup Agent', 'TEAMS#3', 'Fagades', 'TEAMS#4', '梦9', 'TEAMS#5', 'Details', 'Support', 'TEAMS#6', 'LV.34', 'LV.35', "hL'7", 'LV.17', 'TEAMS#7', 'LCB', 'Liu Assoc.', 'N Corp.', 'Zwei Assoc.', 'LCB', 'Manager', 'outh Section', 'Mittelhammer', 'South Section 6', 'Sinner', 'TEAMS#8', '[ACCOUNT_REDACTED]', '193', '036', 'NACY', 'Window', 'Theater', 'Sinners', 'Drive', 'Extract', 'Dispense', '2646', 'Inventory')[0m
|
||||
[36m[DEBUG] 2026-10-03 10:49:41,479 [AALC] module\ocr\ocr.py:72: OCR识别结果:('Inferno', 'Luxca', 'MIRROROF', 'NAMESAND', 'R', '21.50m', '[ACCOUNT_REDACTED]', '036', '193', 'UNACY', 'Window', 'Sinners', 'Drive', 'Theater', 'Extract', 'Dispense', '2646', 'Inventory')[0m
|
||||
[36m[DEBUG] 2026-10-03 10:50:03,482 [AALC] module\ocr\ocr.py:72: OCR识别结果:('STAGE', 'STAGE', 'STAGE', 'Luxcavation', '01', 'EXP Luxcavation #1', '02', 'EXP Luxcavation #2', '03', 'EXP Luxcavation #3', 'EXP', 'Consecutive Battle x1', 'ConsecutiveBattle x1', 'Consecutive Battle x1', 'Thread', 'Useful Types', 'UsefulTypes', 'UsefulTypes', 'Difficulty:Ly8', 'Difficulty: Lv 18', 'Difficulty:Lv28', 'Rewards', '福', 'Rewards', 'Rewards', 'Enter', 'Enter', ' 2', 'Enter', '2', ' Skip Battle', 'P', 'Skip Battle', 'Skip Battle', '[ACCOUNT_REDACTED]', '9E0,', '10', '193', 'LUNACY', 'LV', '124/120', '2646', 'Inventory')[0m
|
||||
[36m[DEBUG] 2026-10-03 10:50:33,489 [AALC] module\ocr\ocr.py:72: OCR识别结果:('STAGE', 'STAGE', 'Luxcavation', 'STAGE', '01', 'EXPLuxcavation #1', '02', 'EXP Luxcavation #2', '03', 'EXP Luxcavation #3', 'EXP', 'Consecutive Battle x1', 'Consecutive Battle 1', 'ConsecutiveBattlex1', 'Thread', 'UsefulTypes', 'UsefulTypes', 'Useful Types', 'Difficulty: Lv 8', 'Difficulty:LV18', 'Difficulty: Lv.28', 'Rewards', 'P', 'Rewards', 'Rewards', 'Enter', 'Enter', '2', '吧', 'Skip Battle', 'Skip Battle', 'Skip Battle', '[ACCOUNT_REDACTED]', '9E0,', '10', '193', 'LUNACY', 'LV', '124/120', '2646', 'Inventory')[0m
|
||||
@@ -0,0 +1,3 @@
|
||||
{"choice": "requires_analysis", "jev_ms": 1484, "screen": {"path": "{user_home}/lc_mcp/shots/shot_20261003_094641_436.png", "w": 1276, "h": 717}, "ocr": "2026.9.1\nTARGETE\nGreg\nHmmm...'m growing restless.When the hell can we getto work?\nAHANDY-DANDYGUIDE\nLTHE NEWEXECUTIVEMANAGERSOFLIMBU\nDIGESTBEFOREGETTINGTOWORK\nV894413125\n960,\n193\nUNACY\nWindow\nSinners\nDrive\nTheater\nExtract\n2646\nDispense\nInventory"}
|
||||
{"choice": "enter_deployment", "jev_ms": 1282, "stage": "4-48", "state": "用户希望推进主线并跳过剧情。地图已确认4-47绿色已通关,4-48 Bud 棕色未通关。关卡详情等级35,EX要求15回合内通关,Enter消耗20普通体力;当前120/120体力、2646狂气。Enter后是战前编队,可先检查队伍。"}
|
||||
{"choice": "fill_seven", "jev_ms": 1312, "stage": "4-48", "state": "4-48战前编队,参加上限7人,当前仅选5人:W唐35、W良秀35、刘以实玛利35、G格里高尔34、剑契理想34。还有W浮士德35和W鸿璐35可选,其他人格4到17级。七名等级接近关卡35级,三阶同步。"}
|
||||
@@ -0,0 +1,66 @@
|
||||
{
|
||||
"exported_at_utc": "2026-10-03T02:55:31.845399+00:00",
|
||||
"base_commit": "030527f5de5c83dd8ea6e53288c1c52f3b4a85bb",
|
||||
"test_exit_code": 0,
|
||||
"tests_passed": 94,
|
||||
"main_story_cleared": false,
|
||||
"jev_calls_logged": 3,
|
||||
"simultaneous_human_input_confirmed": true,
|
||||
"game_input_stopped_for_export": true,
|
||||
"timeline_provenance": "manual reconstruction, not a complete action trace",
|
||||
"screenshots": 4,
|
||||
"excluded": [
|
||||
"API keys",
|
||||
"MCP token",
|
||||
"private configurations",
|
||||
"Codex transcripts",
|
||||
"account-bottom-bar screenshots"
|
||||
],
|
||||
"files": [
|
||||
{
|
||||
"path": "captures/defeat.png",
|
||||
"bytes": 1620164,
|
||||
"sha256": "21f4712a3f3f215c72bfc941903faa272d9cc991dbb8eafc8e9ce86ff1582e0d"
|
||||
},
|
||||
{
|
||||
"path": "captures/training-ticket-inventory.png",
|
||||
"bytes": 999470,
|
||||
"sha256": "6fc05740962e2a2fa471f43d41a88965b6b6dc217f21d799257d2936197fffae"
|
||||
},
|
||||
{
|
||||
"path": "captures/turn1-winrate.png",
|
||||
"bytes": 1355703,
|
||||
"sha256": "99ce5b7f623bb4a336c342cfbbbc3262fabec67e1f8f61279d025b98867311e5"
|
||||
},
|
||||
{
|
||||
"path": "captures/turn3-blooming.png",
|
||||
"bytes": 1724843,
|
||||
"sha256": "30a4f3924dca2c2ec3bb1950a85be80a6dedcd3c5b32c9e7abdc7c2f3fa16386"
|
||||
},
|
||||
{
|
||||
"path": "logs/server-excerpt.txt",
|
||||
"bytes": 56113,
|
||||
"sha256": "da7c47598f38b0bac4bc4918b503d9bfbc641c812754089af9de7e46df2d78d3"
|
||||
},
|
||||
{
|
||||
"path": "logs/story_decisions.jsonl",
|
||||
"bytes": 1081,
|
||||
"sha256": "b363b444dd3e18fc589f35b22fa19ff922953745a9e2cfaab2acbfe7b7c61d57"
|
||||
},
|
||||
{
|
||||
"path": "README.md",
|
||||
"bytes": 7606,
|
||||
"sha256": "518dea5f19e2dd3beec627a173e86337f2a31e4e8020dab523cd407cf1bb33cc"
|
||||
},
|
||||
{
|
||||
"path": "test-results.txt",
|
||||
"bytes": 14030,
|
||||
"sha256": "0e1fd946db3376cd7b727b2f28edfd8955c2e6427895f5a339593589f3c262a0"
|
||||
},
|
||||
{
|
||||
"path": "timeline.jsonl",
|
||||
"bytes": 3103,
|
||||
"sha256": "965f2195f3af3e554b89089cc4735ee3cfcc656f31065a72e7ce59027e58fc83"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,107 @@
|
||||
{"step": 0, "choice": "run_complete", "action": {"tool": "run_complete", "args": {}}, "jev_ms": 0, "ocr_ms": 0, "screen": null, "at": "2026-10-03T10:55:22", "state": "completed"}
|
||||
{"step": 0, "choice": "wait", "action": {"tool": "wait", "args": {"seconds": 0.7}}, "jev_ms": 0, "ocr_ms": 0, "screen": null, "at": "2026-10-03T10:55:22", "action_ms": 0, "finished_at": "2026-10-03T10:55:22", "result": {"ok": true, "waited": 0.7}, "state": "running", "battle_context": false}
|
||||
{"step": 1, "choice": "wait", "action": {"tool": "wait", "args": {"seconds": 0.7}}, "jev_ms": 0, "ocr_ms": 0, "screen": null, "at": "2026-10-03T10:55:22", "action_ms": 0, "finished_at": "2026-10-03T10:55:22", "result": {"ok": true, "waited": 0.7}, "state": "running", "battle_context": false}
|
||||
|
||||
test_choice_outside_permitted_actions_is_rejected (test_jev_client.JevClientTest.test_choice_outside_permitted_actions_is_rejected) ... ok
|
||||
test_configured_model_endpoint_session_and_instructions_reach_api (test_jev_client.JevClientTest.test_configured_model_endpoint_session_and_instructions_reach_api) ... ok
|
||||
test_curl_credentials_only_on_stdin_and_http_errors_not_retried (test_jev_client.JevClientTest.test_curl_credentials_only_on_stdin_and_http_errors_not_retried) ... ok
|
||||
test_session_id_stays_stable_across_decisions (test_jev_client.JevClientTest.test_session_id_stays_stable_across_decisions) ... ok
|
||||
test_completed_run_archives_context_for_next_run (test_jev_mirror_agent.MainLoopTest.test_completed_run_archives_context_for_next_run) ... ok
|
||||
test_tool_errors_are_observed_instead_of_aborting (test_jev_mirror_agent.MainLoopTest.test_tool_errors_are_observed_instead_of_aborting) ... ok
|
||||
test_ambiguous_event_is_not_assumed_free (test_jev_mirror_agent.SceneRegressionTest.test_ambiguous_event_is_not_assumed_free) ... ok
|
||||
test_battle_cinematic_keeps_macro_available (test_jev_mirror_agent.SceneRegressionTest.test_battle_cinematic_keeps_macro_available) ... ok
|
||||
test_battle_entry_uses_enter_without_party_changes (test_jev_mirror_agent.SceneRegressionTest.test_battle_entry_uses_enter_without_party_changes) ... ok
|
||||
test_battle_macro_continues_through_empty_ocr_and_stops_at_reward (test_jev_mirror_agent.SceneRegressionTest.test_battle_macro_continues_through_empty_ocr_and_stops_at_reward) ... ok
|
||||
test_battle_macro_stops_at_judgement_before_more_inputs (test_jev_mirror_agent.SceneRegressionTest.test_battle_macro_stops_at_judgement_before_more_inputs) ... ok
|
||||
test_battle_macro_stops_on_party_death (test_jev_mirror_agent.SceneRegressionTest.test_battle_macro_stops_on_party_death) ... ok
|
||||
test_claim_confirmation_only_uses_modal (test_jev_mirror_agent.SceneRegressionTest.test_claim_confirmation_only_uses_modal) ... ok
|
||||
test_claimed_rewards_stop_at_lobby_without_entering_again (test_jev_mirror_agent.SceneRegressionTest.test_claimed_rewards_stop_at_lobby_without_entering_again) ... ok
|
||||
test_confirmation_blocks_background_leave (test_jev_mirror_agent.SceneRegressionTest.test_confirmation_blocks_background_leave) ... ok
|
||||
test_death_screen_stops_battle_candidates_without_accepting_deaths (test_jev_mirror_agent.SceneRegressionTest.test_death_screen_stops_battle_candidates_without_accepting_deaths) ... ok
|
||||
test_disabled_selection_is_not_clickable_candidate (test_jev_mirror_agent.SceneRegressionTest.test_disabled_selection_is_not_clickable_candidate) ... ok
|
||||
test_event_dialog_skip_precedes_judgement_and_options (test_jev_mirror_agent.SceneRegressionTest.test_event_dialog_skip_precedes_judgement_and_options) ... ok
|
||||
test_event_encounter_result_clicks_start_battle (test_jev_mirror_agent.SceneRegressionTest.test_event_encounter_result_clicks_start_battle) ... ok
|
||||
test_event_fallback_does_not_treat_encounter_trigger_as_free_reward (test_jev_mirror_agent.SceneRegressionTest.test_event_fallback_does_not_treat_encounter_trigger_as_free_reward) ... ok
|
||||
test_event_gift_outcome_does_not_become_startup_selection (test_jev_mirror_agent.SceneRegressionTest.test_event_gift_outcome_does_not_become_startup_selection) ... ok
|
||||
test_event_result_uses_visible_continue_button (test_jev_mirror_agent.SceneRegressionTest.test_event_result_uses_visible_continue_button) ... ok
|
||||
test_explicit_extra_observation_can_be_declined (test_jev_mirror_agent.SceneRegressionTest.test_explicit_extra_observation_can_be_declined) ... ok
|
||||
test_fallback_judgement_precedes_reselecting_sinner (test_jev_mirror_agent.SceneRegressionTest.test_fallback_judgement_precedes_reselecting_sinner) ... ok
|
||||
test_final_claim_click_is_followed_by_enter (test_jev_mirror_agent.SceneRegressionTest.test_final_claim_click_is_followed_by_enter) ... ok
|
||||
test_floor_pack_rules_are_enforced_before_decision (test_jev_mirror_agent.SceneRegressionTest.test_floor_pack_rules_are_enforced_before_decision) ... ok
|
||||
test_floor_three_sinclair_cannot_choose_first_floor_swap (test_jev_mirror_agent.SceneRegressionTest.test_floor_three_sinclair_cannot_choose_first_floor_swap) ... ok
|
||||
test_generic_button_clicks_the_checked_item (test_jev_mirror_agent.SceneRegressionTest.test_generic_button_clicks_the_checked_item) ... ok
|
||||
test_gift_damage_description_is_not_battle (test_jev_mirror_agent.SceneRegressionTest.test_gift_damage_description_is_not_battle) ... ok
|
||||
test_in_battle_judgement_overrides_previous_battle (test_jev_mirror_agent.SceneRegressionTest.test_in_battle_judgement_overrides_previous_battle) ... ok
|
||||
test_jev_rate_limit_fails_without_sleep_or_second_request (test_jev_mirror_agent.SceneRegressionTest.test_jev_rate_limit_fails_without_sleep_or_second_request) ... ok
|
||||
test_layer_confirmation_requires_full_selection_then_batches_enter (test_jev_mirror_agent.SceneRegressionTest.test_layer_confirmation_requires_full_selection_then_batches_enter) ... ok
|
||||
test_loading_ocr_missing_n_blocks_input (test_jev_mirror_agent.SceneRegressionTest.test_loading_ocr_missing_n_blocks_input) ... ok
|
||||
test_loading_offers_wait_and_never_auto_escalates (test_jev_mirror_agent.SceneRegressionTest.test_loading_offers_wait_and_never_auto_escalates) ... ok
|
||||
test_map_templates_are_loaded_once (test_jev_mirror_agent.SceneRegressionTest.test_map_templates_are_loaded_once) ... ok
|
||||
test_nested_reward_confirmation_excludes_background_cards (test_jev_mirror_agent.SceneRegressionTest.test_nested_reward_confirmation_excludes_background_cards) ... ok
|
||||
test_pending_thunderbranch_cannot_leave_shop (test_jev_mirror_agent.SceneRegressionTest.test_pending_thunderbranch_cannot_leave_shop) ... ok
|
||||
test_purple_shop_is_reachable_by_lit_arrow (test_jev_mirror_agent.SceneRegressionTest.test_purple_shop_is_reachable_by_lit_arrow) ... ok
|
||||
test_real_white_event_routes_work_without_map_heading_ocr (test_jev_mirror_agent.SceneRegressionTest.test_real_white_event_routes_work_without_map_heading_ocr) ... ok
|
||||
test_reward_stops_battle_candidates (test_jev_mirror_agent.SceneRegressionTest.test_reward_stops_battle_candidates) ... ok
|
||||
test_route_enters_without_a_second_snapshot (test_jev_mirror_agent.SceneRegressionTest.test_route_enters_without_a_second_snapshot) ... ok
|
||||
test_screenshot_decoded_once_for_repeated_checks (test_jev_mirror_agent.SceneRegressionTest.test_screenshot_decoded_once_for_repeated_checks) ... ok
|
||||
test_server_error_blocks_shop_and_retries_modal (test_jev_mirror_agent.SceneRegressionTest.test_server_error_blocks_shop_and_retries_modal) ... ok
|
||||
test_shop_cannot_leave_with_party_swap_or_remaining_refresh (test_jev_mirror_agent.SceneRegressionTest.test_shop_cannot_leave_with_party_swap_or_remaining_refresh) ... ok
|
||||
test_shop_leave_modal_without_ocr_question_mark (test_jev_mirror_agent.SceneRegressionTest.test_shop_leave_modal_without_ocr_question_mark) ... ok
|
||||
test_shop_loading_blocks_stale_stock_refresh_and_leave (test_jev_mirror_agent.SceneRegressionTest.test_shop_loading_blocks_stale_stock_refresh_and_leave) ... ok
|
||||
test_shop_refresh_is_capped_and_only_for_missing_party_swap (test_jev_mirror_agent.SceneRegressionTest.test_shop_refresh_is_capped_and_only_for_missing_party_swap) ... ok
|
||||
test_single_extra_gift_decline_preserves_core_and_multi_cards (test_jev_mirror_agent.SceneRegressionTest.test_single_extra_gift_decline_preserves_core_and_multi_cards) ... ok
|
||||
test_sinner_very_high_precedes_high_and_generic_gold (test_jev_mirror_agent.SceneRegressionTest.test_sinner_very_high_precedes_high_and_generic_gold) ... ok
|
||||
test_sold_swap_is_not_offered_again (test_jev_mirror_agent.SceneRegressionTest.test_sold_swap_is_not_offered_again) ... ok
|
||||
test_special_shop_cannot_leave_before_core_upgrade (test_jev_mirror_agent.SceneRegressionTest.test_special_shop_cannot_leave_before_core_upgrade) ... ok
|
||||
test_startup_three_gifts_selects_battery_and_cannot_decline (test_jev_mirror_agent.SceneRegressionTest.test_startup_three_gifts_selects_battery_and_cannot_decline) ... ok
|
||||
test_success_condition_in_event_option_is_not_result (test_jev_mirror_agent.SceneRegressionTest.test_success_condition_in_event_option_is_not_result) ... ok
|
||||
test_takeover_interrupts_between_p_and_enter (test_jev_mirror_agent.SceneRegressionTest.test_takeover_interrupts_between_p_and_enter) ... ok
|
||||
test_takeover_stops_remaining_dialog_confirmations (test_jev_mirror_agent.SceneRegressionTest.test_takeover_stops_remaining_dialog_confirmations) ... ok
|
||||
test_thunderbranch_observation_exception_keeps_startup_battery_priority (test_jev_mirror_agent.SceneRegressionTest.test_thunderbranch_observation_exception_keeps_startup_battery_priority) ... ok
|
||||
test_two_card_reward_uses_observed_anchor (test_jev_mirror_agent.SceneRegressionTest.test_two_card_reward_uses_observed_anchor) ... ok
|
||||
test_unrecognized_gift_choice_is_never_declined (test_jev_mirror_agent.SceneRegressionTest.test_unrecognized_gift_choice_is_never_declined) ... ok
|
||||
test_tool_errors_can_be_returned_instead_of_raised (test_jev_mirror_agent.SessionTest.test_tool_errors_can_be_returned_instead_of_raised) ... ok
|
||||
test_originals_saved_before_override_and_restored (test_lc_mcp.AalcTaskArgsTest.test_originals_saved_before_override_and_restored) ... ok
|
||||
test_rejects_unknown_params (test_lc_mcp.AalcTaskArgsTest.test_rejects_unknown_params) ... unknown params for mirror: exp
|
||||
usage: python -m lc_mcp.aalc_task <all|daily|reward|enkephalin|mirror> [json]
|
||||
ok
|
||||
test_empty_matches_nothing (test_lc_mcp.MatchTest.test_empty_matches_nothing) ... ok
|
||||
test_exact_first (test_lc_mcp.MatchTest.test_exact_first) ... ok
|
||||
test_ignores_spaces_and_case (test_lc_mcp.MatchTest.test_ignores_spaces_and_case) ... ok
|
||||
test_bad_arguments_are_tool_errors (test_lc_mcp.ProtocolTest.test_bad_arguments_are_tool_errors) ... ok
|
||||
test_click_text (test_lc_mcp.ProtocolTest.test_click_text) ... ok
|
||||
test_drag_duration_and_rejected_arguments (test_lc_mcp.ProtocolTest.test_drag_duration_and_rejected_arguments) ... ok
|
||||
test_engine_unavailable (test_lc_mcp.ProtocolTest.test_engine_unavailable) ... ok
|
||||
test_images (test_lc_mcp.ProtocolTest.test_images) ... ok
|
||||
test_initialize_and_list (test_lc_mcp.ProtocolTest.test_initialize_and_list) ... ok
|
||||
test_task_exit_codes (test_lc_mcp.ProtocolTest.test_task_exit_codes) ... ok
|
||||
test_task_lifecycle_blocks_manual_input (test_lc_mcp.ProtocolTest.test_task_lifecycle_blocks_manual_input) ... ok
|
||||
test_wait_for_text (test_lc_mcp.ProtocolTest.test_wait_for_text) ... ok
|
||||
test_background_click_holds_and_releases_without_moving_window (test_lc_mcp.RuntimeTest.test_background_click_holds_and_releases_without_moving_window) ... ok
|
||||
test_background_keypress_holds_and_releases_on_error (test_lc_mcp.RuntimeTest.test_background_keypress_holds_and_releases_on_error) ... ok
|
||||
test_drag_checks_bounds_before_sending_input (test_lc_mcp.RuntimeTest.test_drag_checks_bounds_before_sending_input) ... ok
|
||||
test_focus_retry_detaches_threads_even_on_failure (test_lc_mcp.RuntimeTest.test_focus_retry_detaches_threads_even_on_failure) ... ok
|
||||
test_foreground_drag_targets_current_client_and_releases_on_failure (test_lc_mcp.RuntimeTest.test_foreground_drag_targets_current_client_and_releases_on_failure) ... ok
|
||||
test_foreground_focus_failure_does_not_send_input (test_lc_mcp.RuntimeTest.test_foreground_focus_failure_does_not_send_input) ... ok
|
||||
test_foreground_input_activates_game_before_sending (test_lc_mcp.RuntimeTest.test_foreground_input_activates_game_before_sending) ... ok
|
||||
test_foreground_input_releases_on_interruption (test_lc_mcp.RuntimeTest.test_foreground_input_releases_on_interruption) ... ok
|
||||
test_foreground_move_settle_failure_sends_no_button_press (test_lc_mcp.RuntimeTest.test_foreground_move_settle_failure_sends_no_button_press) ... ok
|
||||
test_pythonw_streams_are_redirected_to_log (test_lc_mcp.RuntimeTest.test_pythonw_streams_are_redirected_to_log) ... ok
|
||||
test_stdio_isolates_bootstrap_output_and_uses_utf8 (test_lc_mcp.RuntimeTest.test_stdio_isolates_bootstrap_output_and_uses_utf8) ... ok
|
||||
test_template_list_is_scanned_once (test_lc_mcp.RuntimeTest.test_template_list_is_scanned_once) ... ok
|
||||
test_template_scale_tracks_client_and_restores_config_on_error (test_lc_mcp.RuntimeTest.test_template_scale_tracks_client_and_restores_config_on_error) ... ok
|
||||
test_leftover_restored_before_next_start_or_start_refused (test_lc_mcp.TaskRestoreTest.test_leftover_restored_before_next_start_or_start_refused) ... ok
|
||||
test_stop_restores_overridden_config (test_lc_mcp.TaskRestoreTest.test_stop_restores_overridden_config) ... ok
|
||||
test_bridge_end_to_end (test_lc_mcp.TransportTest.test_bridge_end_to_end) ... ok
|
||||
test_bridge_offline (test_lc_mcp.TransportTest.test_bridge_offline) ... ok
|
||||
test_client_disconnect_is_not_a_server_error (test_lc_mcp.TransportTest.test_client_disconnect_is_not_a_server_error) ... ok
|
||||
test_non_ascii_token_is_denied_not_crashed (test_lc_mcp.TransportTest.test_non_ascii_token_is_denied_not_crashed) ... [lc_mcp] rejected connection from ('127.0.0.1', 56231)
|
||||
ok
|
||||
test_stdio_server (test_lc_mcp.TransportTest.test_stdio_server) ... ok
|
||||
test_wrong_token_rejected (test_lc_mcp.TransportTest.test_wrong_token_rejected) ... [lc_mcp] rejected connection from ('127.0.0.1', 56234)
|
||||
ok
|
||||
|
||||
----------------------------------------------------------------------
|
||||
Ran 94 tests in 8.693s
|
||||
|
||||
OK
|
||||
@@ -0,0 +1,12 @@
|
||||
{"at_local": "2026-10-03T09:46:41+08:00", "kind": "jev_decision", "result": "requires_analysis", "latency_ms": 1484, "note": "first sanitized Jev record; login scene had already changed", "provenance": "manual_reconstruction_from_observed_tool_outputs"}
|
||||
{"at_local": "2026-10-03T10:26:48+08:00", "kind": "observed_result", "result": "defeat_return_20", "latency_ms": null, "note": "earlier screenshot observed during session, now rotated; timeline is a manual reconstruction", "provenance": "manual_reconstruction_from_observed_tool_outputs"}
|
||||
{"at_local": "2026-10-03T10:37:26+08:00", "kind": "battle_observation", "result": "turn1_seven_sinners", "latency_ms": null, "note": "7 sinners still present; attempted removal was not confirmed", "provenance": "manual_reconstruction_from_observed_tool_outputs"}
|
||||
{"at_local": "2026-10-03T10:37:50+08:00", "kind": "input_observation", "result": "skill_selected_camera_changed", "latency_ms": null, "note": "Don Rip Space selected; HUD and camera moved", "provenance": "manual_reconstruction_from_observed_tool_outputs"}
|
||||
{"at_local": "2026-10-03T10:38:09+08:00", "kind": "input_observation", "result": "target_selected", "latency_ms": null, "note": "selected enemy slot after re-observing camera", "provenance": "manual_reconstruction_from_observed_tool_outputs"}
|
||||
{"at_local": "2026-10-03T10:40:30+08:00", "kind": "battle_observation", "result": "turn3_blooming", "latency_ms": null, "note": "multiple fully bloomed sinners; simultaneous human input later confirmed", "provenance": "manual_reconstruction_from_observed_tool_outputs"}
|
||||
{"at_local": "2026-10-03T10:42:25+08:00", "kind": "battle_observation", "result": "defeat", "latency_ms": null, "note": "DEFEAT image retained; retry menu action cannot be independently attributed", "provenance": "manual_reconstruction_from_observed_tool_outputs"}
|
||||
{"at_local": "2026-10-03T10:44:10+08:00", "kind": "map_observation", "result": "4-48_uncleared", "latency_ms": null, "note": "4-47 green, 4-48 brown; 124/120 energy, 193 modules, 2646 lunacy", "provenance": "manual_reconstruction_from_observed_tool_outputs"}
|
||||
{"at_local": "2026-10-03T10:46:13+08:00", "kind": "training_observation", "result": "w_don_level35_uptie4", "latency_ms": null, "note": "same-point hold opened identity details", "provenance": "manual_reconstruction_from_observed_tool_outputs"}
|
||||
{"at_local": "2026-10-03T10:47:09+08:00", "kind": "inventory_observation", "result": "training_tickets_IV0_III0_II7", "latency_ms": null, "note": "no ticket spent", "provenance": "manual_reconstruction_from_observed_tool_outputs"}
|
||||
{"at_local": "2026-10-03T10:49:57+08:00", "kind": "menu_observation", "result": "exp_luxcavation_menu", "latency_ms": null, "note": "visible EXP 1/2/3; no sweep or combat result", "provenance": "manual_reconstruction_from_observed_tool_outputs"}
|
||||
{"at_local": "2026-10-03T10:50:27+08:00", "kind": "menu_observation", "result": "exp_menu_still_visible", "latency_ms": null, "note": "no EXP run started; user then requested export and slowdown report", "provenance": "manual_reconstruction_from_observed_tool_outputs"}
|
||||
@@ -155,7 +155,51 @@ class AalcEngine(Engine):
|
||||
return (int(pos[0]), int(pos[1])) if pos else None
|
||||
|
||||
# ---- 动手 (AALC 输入后端,由 config.yaml 决定后台消息/前台输入) ----
|
||||
def _focus_game(self):
|
||||
handle = self.screen.handle
|
||||
try:
|
||||
handle.setForeground()
|
||||
except Exception:
|
||||
pass # Windows 可拒绝后台服务直接切换前台;下面通过输入线程重试。
|
||||
if handle.isActive:
|
||||
return
|
||||
import win32api
|
||||
import win32gui
|
||||
import win32process
|
||||
current = win32api.GetCurrentThreadId()
|
||||
foreground = win32gui.GetForegroundWindow()
|
||||
if not foreground:
|
||||
return
|
||||
threads = {win32process.GetWindowThreadProcessId(foreground)[0],
|
||||
win32process.GetWindowThreadProcessId(handle.hwnd)[0]} - {current}
|
||||
attached = []
|
||||
try:
|
||||
for target in sorted(threads):
|
||||
win32process.AttachThreadInput(current, target, True)
|
||||
attached.append(target)
|
||||
win32gui.BringWindowToTop(handle.hwnd)
|
||||
win32gui.SetActiveWindow(handle.hwnd)
|
||||
win32gui.SetFocus(handle.hwnd)
|
||||
handle.setForeground()
|
||||
finally:
|
||||
for target in reversed(attached):
|
||||
win32process.AttachThreadInput(current, target, False)
|
||||
|
||||
def _prepare_input(self):
|
||||
# 前台后端将输入发给系统当前窗口;服务启动后不一定仍是游戏。
|
||||
# 先确认焦点,获取失败时停止,避免把点击或按键发送到其他应用。
|
||||
if not self.cfg.simulator and self.cfg.win_input_type == 'foreground':
|
||||
handle = self.screen.handle
|
||||
if not handle.hwnd or handle.isMinimized:
|
||||
raise RuntimeError('前台输入需要可见的游戏窗口')
|
||||
if not handle.isActive:
|
||||
self._focus_game()
|
||||
time.sleep(0.15)
|
||||
if not handle.isActive:
|
||||
raise RuntimeError('无法激活游戏窗口,未发送输入')
|
||||
|
||||
def click(self, x, y, times=1):
|
||||
self._prepare_input()
|
||||
if not self.cfg.simulator and self.cfg.win_input_type == 'background':
|
||||
handler = self.auto.input_handler
|
||||
self.auto.wait_pause()
|
||||
@@ -169,6 +213,21 @@ class AalcEngine(Engine):
|
||||
handler.mouse_up(int(x), int(y))
|
||||
# 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':
|
||||
import pyautogui
|
||||
px, py = self.auto.input_handler.pos_offset(int(x), int(y))
|
||||
pyautogui.moveTo(px, py)
|
||||
# Give Unity a frame to update the pointer target before pressing.
|
||||
time.sleep(0.12)
|
||||
for _ in range(int(times)):
|
||||
pyautogui.mouseDown(px, py)
|
||||
try:
|
||||
# Slow Unity frames can miss a shorter foreground press.
|
||||
# Keep this below the game's long-press detail threshold.
|
||||
time.sleep(0.35)
|
||||
finally:
|
||||
pyautogui.mouseUp(px, py)
|
||||
time.sleep(0.12)
|
||||
else:
|
||||
self.auto.mouse_click(int(x), int(y), times=int(times))
|
||||
|
||||
@@ -176,6 +235,7 @@ class AalcEngine(Engine):
|
||||
k = str(key).lower()
|
||||
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':
|
||||
# Unity 可能在同一帧收到 down/up,导致快捷键被吞掉。
|
||||
handler = self.auto.input_handler
|
||||
@@ -186,6 +246,13 @@ class AalcEngine(Engine):
|
||||
time.sleep(0.12)
|
||||
finally:
|
||||
handler.key_up(k)
|
||||
elif not self.cfg.simulator and self.cfg.win_input_type == 'foreground':
|
||||
import pyautogui
|
||||
pyautogui.keyDown(k)
|
||||
try:
|
||||
time.sleep(0.12)
|
||||
finally:
|
||||
pyautogui.keyUp(k)
|
||||
else:
|
||||
self.auto.key_press(k)
|
||||
|
||||
@@ -194,8 +261,26 @@ class AalcEngine(Engine):
|
||||
for x, y in ((from_x, from_y), (to_x, to_y)):
|
||||
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 == 'foreground':
|
||||
import pyautogui
|
||||
start = self.auto.input_handler.pos_offset(int(from_x), int(from_y))
|
||||
end = self.auto.input_handler.pos_offset(int(to_x), int(to_y))
|
||||
pyautogui.moveTo(*start)
|
||||
time.sleep(0.12)
|
||||
pyautogui.mouseDown(*start)
|
||||
try:
|
||||
if start == end:
|
||||
time.sleep(float(duration))
|
||||
else:
|
||||
pyautogui.moveTo(*end, duration=float(duration))
|
||||
time.sleep(0.12)
|
||||
finally:
|
||||
pyautogui.mouseUp(*end)
|
||||
return
|
||||
self.auto.mouse_drag(int(from_x), int(from_y), drag_time=float(duration),
|
||||
dx=int(to_x) - int(from_x), dy=int(to_y) - int(from_y))
|
||||
|
||||
def type_text(self, text):
|
||||
self._prepare_input()
|
||||
self.auto.input_text(str(text))
|
||||
|
||||
+14
-6
@@ -1,4 +1,4 @@
|
||||
"""Bounded P/Enter batches through MCP; stop when the battle UI disappears."""
|
||||
"""Bounded Win Rate batches through MCP, with a fresh UI check per turn."""
|
||||
import argparse
|
||||
import json
|
||||
import time
|
||||
@@ -20,7 +20,7 @@ def main():
|
||||
args = parser.parse_args()
|
||||
deadline = time.monotonic() + min(50, max(1, args.seconds))
|
||||
pairs = 0
|
||||
with Session() as client:
|
||||
with Session(raise_on_error=False) as client:
|
||||
state = client.call('get_state')
|
||||
texts = ' '.join(item['text'] for item in state.get('items', []))
|
||||
active = args.battle_confirmed or any(marker in texts.upper() for marker in ('WAVE', 'TURN', 'DURANTE', '胜率', '伤害'))
|
||||
@@ -28,12 +28,20 @@ def main():
|
||||
# 战斗特写会隐藏 HUD;只有明确的结算/地图/选项信号才退出。
|
||||
if not active or is_terminal(state):
|
||||
break
|
||||
# 短批次,批次末只检查界面是否仍为战斗,不分析拼点。
|
||||
for _ in range(2):
|
||||
client.call('keypress', {'key': 'p'})
|
||||
# P cycles between Win Rate and Damage in current game versions.
|
||||
# Only start a turn when its explicit Win Rate control is visible.
|
||||
labels = [item['text'].replace(' ', '').lower()
|
||||
for item in state.get('items', [])]
|
||||
target = next((item['text'] for item in state.get('items', [])
|
||||
if item['text'].replace(' ', '').lower()
|
||||
in ('win', 'winrate', '胜率')), None)
|
||||
if target and any(label in ('turn', 'wave', '回合', '波次') for label in labels):
|
||||
selected = client.call('click_text', {'text': target})
|
||||
if selected.get('ok'):
|
||||
time.sleep(.5)
|
||||
client.call('keypress', {'key': 'enter'})
|
||||
pairs += 1
|
||||
time.sleep(1.5)
|
||||
time.sleep(2.5)
|
||||
state = client.call('get_state')
|
||||
print(json.dumps({'pairs': pairs, 'state': state}, ensure_ascii=False))
|
||||
|
||||
|
||||
@@ -0,0 +1,102 @@
|
||||
"""Jev choice API shared by scene agents; credentials never enter curl argv."""
|
||||
import argparse
|
||||
import json
|
||||
import os
|
||||
import subprocess
|
||||
import time
|
||||
import urllib.error
|
||||
import urllib.request
|
||||
import uuid
|
||||
from pathlib import Path
|
||||
|
||||
|
||||
DEFAULT_BASE_URL = 'https://opencode.ai/zen/v1'
|
||||
|
||||
|
||||
def _post(cfg, body):
|
||||
url = cfg.get('baseUrl', DEFAULT_BASE_URL).rstrip('/') + '/systemone'
|
||||
headers = {
|
||||
'Authorization': 'Bearer ' + cfg['apiKey'],
|
||||
'Content-Type': 'application/json',
|
||||
'User-Agent': 'lc-mcp/0.1',
|
||||
'x-opencode-session': cfg.setdefault('sessionId', str(uuid.uuid4())),
|
||||
}
|
||||
payload = json.dumps(body, ensure_ascii=False)
|
||||
timeout = float(cfg.get('timeoutSeconds', 7))
|
||||
transport = cfg.get('transport', 'urllib')
|
||||
if transport == 'urllib':
|
||||
request = urllib.request.Request(url, data=payload.encode('utf-8'),
|
||||
headers=headers, method='POST')
|
||||
with urllib.request.urlopen(request, timeout=timeout) as response:
|
||||
return json.load(response)
|
||||
if transport != 'curl':
|
||||
raise ValueError('Unsupported Jev transport')
|
||||
if any('\r' in value or '\n' in value for value in headers.values()):
|
||||
raise ValueError('Jev headers must be single-line values')
|
||||
config = '\n'.join('header = ' + json.dumps(key + ': ' + value)
|
||||
for key, value in headers.items()) + '\n'
|
||||
result = subprocess.run(
|
||||
['curl.exe' if os.name == 'nt' else 'curl', '-sS', '--config', '-',
|
||||
'--connect-timeout', str(min(timeout, 10)), '--max-time', str(timeout),
|
||||
'--data-raw', payload, '--write-out', '\n%{http_code}', url],
|
||||
input=config, capture_output=True, text=True, encoding='utf-8',
|
||||
timeout=timeout + 2,
|
||||
)
|
||||
if result.returncode:
|
||||
# Curl diagnostics may contain request details; expose only its exit code.
|
||||
raise OSError('Jev transport failed (curl exit %d)' % result.returncode)
|
||||
content, separator, status = result.stdout.rpartition('\n')
|
||||
if not separator or not status.isdigit():
|
||||
raise ValueError('Invalid Jev HTTP response')
|
||||
code = int(status)
|
||||
if not 200 <= code < 300:
|
||||
raise urllib.error.HTTPError(url, code, 'Jev HTTP %d' % code, {}, None)
|
||||
return json.loads(content)
|
||||
|
||||
|
||||
def request_decision(cfg, state, criteria, instructions):
|
||||
if not cfg.get('apiKey'):
|
||||
raise ValueError('Jev API key is required')
|
||||
if not criteria:
|
||||
raise ValueError('Jev requires permitted choices')
|
||||
body = {
|
||||
'model': cfg.get('model', 'jev-1.13-free'),
|
||||
'state': state,
|
||||
'questions': {'action': {'type': 'choice', 'instructions': instructions,
|
||||
'criteria': criteria}},
|
||||
}
|
||||
started = time.monotonic()
|
||||
for attempt in range(2):
|
||||
try:
|
||||
result = _post(cfg, body)
|
||||
break
|
||||
except urllib.error.HTTPError as error:
|
||||
if error.code in (401, 403, 429) or attempt:
|
||||
raise
|
||||
time.sleep(.3)
|
||||
except (OSError, TimeoutError):
|
||||
if attempt:
|
||||
raise
|
||||
time.sleep(.3)
|
||||
answer = result.get('answers', {}).get('action', {})
|
||||
choice = answer.get('choice')
|
||||
if answer.get('type') != 'choice' or choice not in criteria:
|
||||
raise ValueError('Jev returned an unsupported candidate')
|
||||
return choice, round((time.monotonic() - started) * 1000)
|
||||
|
||||
|
||||
def main():
|
||||
parser = argparse.ArgumentParser(description='Choose from an observed game scene; sends no game input.')
|
||||
parser.add_argument('config', type=Path)
|
||||
parser.add_argument('observation', type=Path)
|
||||
args = parser.parse_args()
|
||||
cfg = json.loads(args.config.read_text(encoding='utf-8-sig'))
|
||||
cfg['apiKey'] = os.environ.get('OPENCODE_API_KEY') or cfg.get('apiKey')
|
||||
observation = json.loads(args.observation.read_text(encoding='utf-8-sig'))
|
||||
choice, latency = request_decision(cfg, observation['state'], observation['criteria'],
|
||||
observation['instructions'])
|
||||
print(json.dumps({'choice': choice, 'jev_ms': latency}, ensure_ascii=False))
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
@@ -1,4 +1,7 @@
|
||||
{
|
||||
"decisionEngine": "jev",
|
||||
"model": "jev-1.13-free"
|
||||
"model": "jev-1.13-free",
|
||||
"baseUrl": "https://opencode.ai/zen/v1",
|
||||
"transport": "urllib",
|
||||
"timeoutSeconds": 7
|
||||
}
|
||||
|
||||
@@ -10,6 +10,7 @@ import urllib.request
|
||||
from pathlib import Path
|
||||
|
||||
from mcp_session import Session as Bridge
|
||||
from jev_client import request_decision
|
||||
|
||||
REPO_ROOT = Path(__file__).resolve().parents[1]
|
||||
MIRROR_ASSETS = REPO_ROOT / 'vendor' / 'aalc' / 'assets' / 'images' / 'default' / 'share' / 'mirror'
|
||||
@@ -572,39 +573,14 @@ def candidates(state, previous_battle=False, refresh_used=0):
|
||||
|
||||
|
||||
def decide(cfg, state, options, recent):
|
||||
body = {'model': 'jev-1.13-free',
|
||||
'state': '目标:按用户已配置的队伍和速通规则推进当前镜牢。当前楼层:%s\n当前游戏 OCR(坐标仅供辨识):\n' % state.get('floor', '尚未识别') +
|
||||
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),
|
||||
'questions': {'action': {'type': 'choice', 'instructions': SYSTEM_RULES,
|
||||
'criteria': {key: val['description'] for key, val in options.items()}}}}
|
||||
request = urllib.request.Request(
|
||||
'https://opencode.ai/zen/v1/systemone',
|
||||
data=json.dumps(body, ensure_ascii=False).encode('utf-8'),
|
||||
headers={'Authorization': 'Bearer ' + cfg['apiKey'], 'Content-Type': 'application/json',
|
||||
'User-Agent': 'Mozilla/5.0'}, method='POST')
|
||||
start = time.monotonic()
|
||||
for attempt in range(2):
|
||||
try:
|
||||
with urllib.request.urlopen(request, timeout=7) as response:
|
||||
result = json.load(response)
|
||||
break
|
||||
except urllib.error.HTTPError as error:
|
||||
if error.code in (401,403,429) or attempt:
|
||||
raise
|
||||
time.sleep(.3)
|
||||
except (OSError, TimeoutError):
|
||||
if attempt:
|
||||
raise
|
||||
time.sleep(.3)
|
||||
answer = result.get('answers', {}).get('action', {})
|
||||
choice = answer.get('choice')
|
||||
if answer.get('type') != 'choice' or choice not in options:
|
||||
raise ValueError('Jev returned an unsupported candidate')
|
||||
return choice, round((time.monotonic() - start) * 1000)
|
||||
'\n最近动作和执行结果:' + json.dumps(recent[-4:], ensure_ascii=False))
|
||||
return request_decision(cfg, description,
|
||||
{key: val['description'] for key, val in options.items()}, SYSTEM_RULES)
|
||||
|
||||
|
||||
def fixed_fallback(options):
|
||||
|
||||
@@ -0,0 +1,57 @@
|
||||
import io
|
||||
import json
|
||||
import sys
|
||||
import unittest
|
||||
import urllib.error
|
||||
from pathlib import Path
|
||||
from unittest import mock
|
||||
|
||||
sys.path.insert(0, str(Path(__file__).resolve().parents[1] / 'scripts'))
|
||||
import jev_client as client
|
||||
|
||||
|
||||
class JevClientTest(unittest.TestCase):
|
||||
def test_configured_model_endpoint_session_and_instructions_reach_api(self):
|
||||
cfg = {'apiKey': 'test-key', 'model': 'test-model',
|
||||
'baseUrl': 'https://example.test/go/v1/', 'sessionId': 'session-1'}
|
||||
response = io.StringIO(json.dumps({'answers': {'action': {'type': 'choice', 'choice': 'inspect'}}}))
|
||||
with mock.patch.object(client.urllib.request, 'urlopen', return_value=response) as post:
|
||||
choice, _ = client.request_decision(cfg, 'main story map', {'inspect': 'inspect team'}, 'story rules')
|
||||
request = post.call_args.args[0]
|
||||
self.assertEqual(request.full_url, 'https://example.test/go/v1/systemone')
|
||||
self.assertEqual(request.get_header('X-opencode-session'), 'session-1')
|
||||
self.assertEqual(request.get_header('User-agent'), 'lc-mcp/0.1')
|
||||
body = json.loads(request.data)
|
||||
self.assertEqual(body['model'], 'test-model')
|
||||
self.assertEqual(body['questions']['action']['instructions'], 'story rules')
|
||||
self.assertEqual(choice, 'inspect')
|
||||
|
||||
def test_curl_credentials_only_on_stdin_and_http_errors_not_retried(self):
|
||||
cfg = {'apiKey': 'private-test-key', 'transport': 'curl', 'sessionId': 'session-1'}
|
||||
response = mock.Mock(returncode=0, stdout='{"error":"rate limit"}\n429')
|
||||
with mock.patch.object(client.subprocess, 'run', return_value=response) as run, \
|
||||
mock.patch.object(client.time, 'sleep') as sleep:
|
||||
with self.assertRaises(urllib.error.HTTPError) as error:
|
||||
client.request_decision(cfg, 'state', {'wait': 'wait'}, 'choose')
|
||||
self.assertEqual(error.exception.code, 429)
|
||||
self.assertNotIn('private-test-key', ' '.join(run.call_args.args[0]))
|
||||
self.assertIn('Authorization: Bearer private-test-key', run.call_args.kwargs['input'])
|
||||
self.assertEqual(run.call_count, 1)
|
||||
sleep.assert_not_called()
|
||||
|
||||
def test_choice_outside_permitted_actions_is_rejected(self):
|
||||
with mock.patch.object(client, '_post', return_value={
|
||||
'answers': {'action': {'type': 'choice', 'choice': 'spend_currency'}}}):
|
||||
with self.assertRaisesRegex(ValueError, 'unsupported candidate'):
|
||||
client.request_decision({'apiKey': 'test'}, 'state', {'wait': 'wait'}, 'choose')
|
||||
|
||||
def test_session_id_stays_stable_across_decisions(self):
|
||||
cfg = {'apiKey': 'test'}
|
||||
def response(*args, **kwargs):
|
||||
return io.StringIO('{"answers":{"action":{"type":"choice","choice":"wait"}}}')
|
||||
with mock.patch.object(client.urllib.request, 'urlopen', side_effect=response) as post:
|
||||
client.request_decision(cfg, 'state', {'wait': 'wait'}, 'choose')
|
||||
client.request_decision(cfg, 'state', {'wait': 'wait'}, 'choose')
|
||||
ids = [call.args[0].get_header('X-opencode-session') for call in post.call_args_list]
|
||||
self.assertTrue(ids[0])
|
||||
self.assertEqual(ids[0], ids[1])
|
||||
@@ -242,6 +242,123 @@ class TaskRestoreTest(unittest.TestCase):
|
||||
|
||||
class RuntimeTest(unittest.TestCase):
|
||||
|
||||
def test_foreground_drag_targets_current_client_and_releases_on_failure(self):
|
||||
from lc_mcp.aalc_engine import AalcEngine
|
||||
engine = AalcEngine.__new__(AalcEngine)
|
||||
engine.cfg = mock.Mock(simulator=False, win_input_type='foreground')
|
||||
engine.auto, engine.screen = mock.Mock(), mock.Mock()
|
||||
engine._grab = mock.Mock(return_value=mock.Mock(width=1600, height=720))
|
||||
engine.screen.handle.hwnd = 123
|
||||
engine.screen.handle.isMinimized = False
|
||||
engine.screen.handle.isActive = True
|
||||
engine.auto.input_handler.pos_offset.side_effect = [(500, 500), (900, 400)]
|
||||
pointer = mock.Mock()
|
||||
pointer.moveTo.side_effect = [None, RuntimeError('move interrupted')]
|
||||
with mock.patch.dict(sys.modules, pyautogui=pointer), mock.patch('lc_mcp.aalc_engine.time.sleep'):
|
||||
with self.assertRaises(RuntimeError):
|
||||
engine.drag(300, 300, 700, 200, .5)
|
||||
pointer.mouseDown.assert_called_once_with(500, 500)
|
||||
pointer.mouseUp.assert_called_once_with(900, 400)
|
||||
engine.auto.mouse_drag.assert_not_called()
|
||||
|
||||
def test_foreground_input_activates_game_before_sending(self):
|
||||
from lc_mcp.aalc_engine import AalcEngine
|
||||
engine = AalcEngine.__new__(AalcEngine)
|
||||
engine.cfg = mock.Mock(simulator=False, win_input_type='foreground')
|
||||
engine.auto, engine.screen = mock.Mock(), mock.Mock()
|
||||
engine.auto.input_handler.pos_offset.return_value = (580, 657)
|
||||
engine.screen.handle.hwnd = 123
|
||||
engine.screen.handle.isMinimized = False
|
||||
engine.screen.handle.isActive = False
|
||||
def activate():
|
||||
engine.screen.handle.isActive = True
|
||||
engine.screen.handle.setForeground.side_effect = activate
|
||||
pointer = mock.Mock()
|
||||
with mock.patch('lc_mcp.aalc_engine.time.sleep') as sleep, mock.patch.dict(sys.modules, pyautogui=pointer):
|
||||
engine.click(100, 200)
|
||||
engine.screen.handle.setForeground.assert_called_once_with()
|
||||
pointer.moveTo.assert_called_once_with(580, 657)
|
||||
self.assertEqual(sleep.call_args_list, [mock.call(.15), mock.call(.12), mock.call(.35), mock.call(.12)])
|
||||
pointer.mouseDown.assert_called_once_with(580, 657)
|
||||
pointer.mouseUp.assert_called_once_with(580, 657)
|
||||
engine.auto.mouse_click.assert_not_called()
|
||||
|
||||
def test_foreground_focus_failure_does_not_send_input(self):
|
||||
from lc_mcp.aalc_engine import AalcEngine
|
||||
engine = AalcEngine.__new__(AalcEngine)
|
||||
engine.cfg = mock.Mock(simulator=False, win_input_type='foreground')
|
||||
engine.auto, engine.screen = mock.Mock(), mock.Mock()
|
||||
engine.screen.handle.hwnd = 123
|
||||
engine.screen.handle.isMinimized = False
|
||||
engine.screen.handle.isActive = False
|
||||
engine.key_names = ['enter']
|
||||
engine._focus_game = mock.Mock()
|
||||
with mock.patch('lc_mcp.aalc_engine.time.sleep'):
|
||||
for action in (lambda: engine.click(100, 200),
|
||||
lambda: engine.keypress('enter'),
|
||||
lambda: engine.type_text('test')):
|
||||
with self.assertRaises(RuntimeError):
|
||||
action()
|
||||
engine.auto.mouse_click.assert_not_called()
|
||||
engine.auto.key_press.assert_not_called()
|
||||
engine.auto.input_text.assert_not_called()
|
||||
|
||||
def test_foreground_input_releases_on_interruption(self):
|
||||
from lc_mcp.aalc_engine import AalcEngine
|
||||
engine = AalcEngine.__new__(AalcEngine)
|
||||
engine.cfg = mock.Mock(simulator=False, win_input_type='foreground')
|
||||
engine.auto, engine.screen = mock.Mock(), mock.Mock()
|
||||
engine.screen.handle.hwnd = 123
|
||||
engine.screen.handle.isMinimized = False
|
||||
engine.screen.handle.isActive = True
|
||||
engine.auto.input_handler.pos_offset.return_value = (580, 657)
|
||||
engine.key_names = ['enter']
|
||||
pointer = mock.Mock()
|
||||
with mock.patch.dict(sys.modules, pyautogui=pointer), \
|
||||
mock.patch('lc_mcp.aalc_engine.time.sleep', side_effect=[None, RuntimeError('interrupted')]):
|
||||
with self.assertRaises(RuntimeError):
|
||||
engine.click(100, 200)
|
||||
with mock.patch.dict(sys.modules, pyautogui=pointer), \
|
||||
mock.patch('lc_mcp.aalc_engine.time.sleep', side_effect=RuntimeError('interrupted')):
|
||||
with self.assertRaises(RuntimeError):
|
||||
engine.keypress('enter')
|
||||
pointer.mouseUp.assert_called_once_with(580, 657)
|
||||
pointer.keyUp.assert_called_once_with('enter')
|
||||
|
||||
def test_foreground_move_settle_failure_sends_no_button_press(self):
|
||||
from lc_mcp.aalc_engine import AalcEngine
|
||||
engine = AalcEngine.__new__(AalcEngine)
|
||||
engine.cfg = mock.Mock(simulator=False, win_input_type='foreground')
|
||||
engine.auto, engine.screen = mock.Mock(), mock.Mock()
|
||||
engine.screen.handle.hwnd = 123
|
||||
engine.screen.handle.isMinimized = False
|
||||
engine.screen.handle.isActive = True
|
||||
engine.auto.input_handler.pos_offset.return_value = (580, 657)
|
||||
pointer = mock.Mock()
|
||||
with mock.patch.dict(sys.modules, pyautogui=pointer), \
|
||||
mock.patch('lc_mcp.aalc_engine.time.sleep', side_effect=RuntimeError('interrupted')):
|
||||
with self.assertRaises(RuntimeError):
|
||||
engine.click(100, 200)
|
||||
pointer.mouseDown.assert_not_called()
|
||||
|
||||
def test_focus_retry_detaches_threads_even_on_failure(self):
|
||||
from lc_mcp.aalc_engine import AalcEngine
|
||||
engine = AalcEngine.__new__(AalcEngine)
|
||||
engine.screen = mock.Mock()
|
||||
engine.screen.handle.hwnd = 123
|
||||
engine.screen.handle.isActive = False
|
||||
engine.screen.handle.setForeground.side_effect = RuntimeError('focus refused')
|
||||
api, gui, process = mock.Mock(), mock.Mock(), mock.Mock()
|
||||
api.GetCurrentThreadId.return_value = 1
|
||||
gui.GetForegroundWindow.return_value = 456
|
||||
process.GetWindowThreadProcessId.side_effect = [(2, 200), (3, 300)]
|
||||
with mock.patch.dict(sys.modules, win32api=api, win32gui=gui, win32process=process):
|
||||
with self.assertRaises(RuntimeError):
|
||||
engine._focus_game()
|
||||
self.assertEqual(process.AttachThreadInput.call_args_list,
|
||||
[mock.call(1, 2, True), mock.call(1, 3, True),
|
||||
mock.call(1, 3, False), mock.call(1, 2, False)])
|
||||
|
||||
def test_background_click_holds_and_releases_without_moving_window(self):
|
||||
from lc_mcp.aalc_engine import AalcEngine
|
||||
engine = AalcEngine.__new__(AalcEngine)
|
||||
@@ -323,6 +440,7 @@ server.main(['--stdio'])
|
||||
def test_drag_checks_bounds_before_sending_input(self):
|
||||
from lc_mcp.aalc_engine import AalcEngine
|
||||
engine = AalcEngine.__new__(AalcEngine)
|
||||
engine.cfg = mock.Mock(simulator=False, win_input_type='background')
|
||||
engine._grab = mock.Mock(return_value=mock.Mock(width=800, height=600))
|
||||
engine.auto = mock.Mock()
|
||||
with self.assertRaises(ValueError):
|
||||
|
||||
Reference in New Issue
Block a user