Skip to content

[Bug]: 本地远程多用户后台挂机时,OCR识别切换武器过快导致不能正确切换武器 #2516

@nightchen163

Description

@nightchen163

BetterGI 版本 (必填)

0.54.0

脚本名称 (必填)

OCR切换武器 - 选择角色和武器

问题描述 (必填)

该脚本在本地远程多用户后台挂机使用时,识别武器中鼠标点击切换过快导致不能正常切换到目标武器,后尝试将357行的等待时间从50改为500后可正常运行。

await click(clickX, clickY); // 点击武器
// await sleep(50);
await sleep(500);

复现步骤 (可选)

No response

日志文件或录屏 (可选)

No response

其他信息 (可选)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions