驱动点击兜底 + 队名可配置;补 11-15 实机记录

Browse Source
- driver_input: 只在"原地连点"(与上次点击相差<=4px)时先挪开 10px 再点, 强制产生 MOUSEMOVE;
  按下 60→100ms, 到位等待 50→80ms (LCP_DRIVER_PRESS_MS / SETTLE_MS / WIGGLE 可调)
- aalc_patches: 「获得E.G.O饰品」弹窗第 3 次起绕过驱动代理改软件点击(pyautogui),
  第 8 次发回车, 20 次才中止; 新增 data/team_names.json 覆盖体系默认队名
  (LCP_TEAM_NAMES=0 关闭)
- docs: 2026-11-15 实测(6 连刷 6/6、键盘 4/4 进入、卡包按体系、镜像迷宫+震颤),
  ISSUES 状态更新 + I-14 前台被抢

单测: 709 passed。
This commit is contained in:
Codex Agent
2026-11-15 14:15:02 +08:00
parent a04b443b6a
commit bda1ffb390
8 changed files with 307 additions and 11 deletions
+3 -1
View File
@@ -375,9 +375,11 @@ class DriverFailureTest(unittest.TestCase):
drv._dll.mouse_up.assert_called_with(1) drv._dll.mouse_up.assert_called_with(1)
self.assertFalse(drv.ready) self.assertFalse(drv.ready)
self.assertFalse(drv.click(30, 40)) self.assertFalse(drv.click(30, 40))
# 急停前的"抖动"移动(见 DriverInput.click 注释 4)允许存在, 急停之后不能再有输入
moves = drv._dll.moveR.call_count
self.assertFalse(drv.move_relative(20, 30)) self.assertFalse(drv.move_relative(20, 30))
self.assertFalse(drv.down()) self.assertFalse(drv.down())
drv._dll.moveR.assert_not_called() self.assertEqual(drv._dll.moveR.call_count, moves)
self.assertEqual(drv._pressed, set()) self.assertEqual(drv._pressed, set())
def test_release_even_if_sleep_is_interrupted(self): def test_release_even_if_sleep_is_interrupted(self):