mirror of
https://github.com/tiennm99/WPlace-AutoBOT.git
synced 2026-10-14 12:16:36 +00:00
Update Auto-Image.js
This commit is contained in:
1 parent
8ae2f375c9
commit
3494ebb7f8
1 file changed
+12
-4
+12
-4
@@ -1520,10 +1520,18 @@
|
||||
const success = await sendPixelBatch(pixelBatch, regionX, regionY);
|
||||
|
||||
if (success === "token_error") {
|
||||
state.stopFlag = true;
|
||||
updateUI("captchaNeeded", "error");
|
||||
Utils.showAlert(Utils.t("captchaNeeded"), "error");
|
||||
break outerLoop;
|
||||
// CAPTCHA expired
|
||||
if (state.autoRefresh) {
|
||||
updateUI("captchaNeeded", "error");
|
||||
// perform auto refresh and retry
|
||||
await autoRefreshSequence();
|
||||
continue outerLoop;
|
||||
} else {
|
||||
state.stopFlag = true;
|
||||
updateUI("captchaNeeded", "error");
|
||||
Utils.showAlert(Utils.t("captchaNeeded"), "error");
|
||||
break outerLoop;
|
||||
}
|
||||
}
|
||||
|
||||
if (success) {
|
||||
|
||||
Reference in new issue
Block a user