Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug] 一条龙-自动秘境:苍白的遗荣,进入时出现问题 #900

Closed
JingNianNian opened this issue Dec 30, 2024 · 1 comment
Closed
Labels
BUG Something isn't working 已完成 已完成未发布 秘境

Comments

@JingNianNian
Copy link

  • 系统环境 / System Environment:
    Windows 11 / 23H2

  • BetterGI版本号 / BetterGI Version:
    0.38.0

  • 问题描述 / Description of the issue:
    自动秘境:苍白的遗荣在执行时,传送到秘境后向前接近秘境时,会因为秘境处于水下,碰墙后向上走,最终走出秘境交互距离,导致副本无法进入,且未能及时停止脚本。

  • 复现步骤 / Reproduction steps:
    直接仅执行一条龙中的自动秘境:苍白的遗荣。

疑似是better-genshin-impact/BetterGenshinImpact/GameTask/AutoDomain/AutoDomainTask.cs中224-232行:

    var walkKey = User32.VK.VK_W;
    if (MapLazyAssets.Instance.DomainBackwardList.Contains(_taskParam.DomainName))
    {
        walkKey = User32.VK.VK_S;
    }
    
    Simulation.SendInput.Keyboard.KeyDown(walkKey);
    Thread.Sleep(3500);
    Simulation.SendInput.Keyboard.KeyUp(walkKey);

在进行向前/后走接近副本时,3500ms时间过长,目前水下秘境仅有苍白的遗荣,或许可以特判解决。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BUG Something isn't working 已完成 已完成未发布 秘境
Projects
None yet
Development

No branches or pull requests

2 participants