From b78a5b3cae37d669c0379d0eb97b5acb843aa4d0 Mon Sep 17 00:00:00 2001 From: mno <718135749@qq.com> Date: Mon, 1 Sep 2025 09:32:08 +0800 Subject: [PATCH] =?UTF-8?q?js=EF=BC=9A=E8=BF=9B=E5=85=A5=E8=81=94=E6=9C=BA?= =?UTF-8?q?=E7=8A=B6=E6=80=810.0.3=20(#1789)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 适当增加延时 --- repo/js/AutoEnter/main.js | 8 ++++---- repo/js/AutoEnter/manifest.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/repo/js/AutoEnter/main.js b/repo/js/AutoEnter/main.js index 2b687062a..301b141db 100644 --- a/repo/js/AutoEnter/main.js +++ b/repo/js/AutoEnter/main.js @@ -69,15 +69,15 @@ let enteredPlayers = []; if (enteringUID) { await keyPress("F2"); //点击输入uid - await sleep(500); + await sleep(2000); if (!await findAndClick(enterUIDRo)) { await genshin.returnMainUi(); continue; } - await sleep(500); + await sleep(1000); inputText(enteringUID); //点击搜索 - await sleep(500); + await sleep(1000); if (!await findAndClick(searchRo)) { await genshin.returnMainUi(); continue; @@ -265,7 +265,7 @@ async function getPlayerSign() { } async function confirmSearchResult() { - maxAttempts = 3; + maxAttempts = 5; for (let attempts = 0; attempts < maxAttempts; attempts++) { const gameRegion = captureGameRegion(); try { diff --git a/repo/js/AutoEnter/manifest.json b/repo/js/AutoEnter/manifest.json index c041fad03..e9fd1ac1b 100644 --- a/repo/js/AutoEnter/manifest.json +++ b/repo/js/AutoEnter/manifest.json @@ -1,7 +1,7 @@ { "manifest_version": 1, "name": "进入联机状态", - "version": "0.0.2", + "version": "0.0.3", "tags": [ "狗粮" ],