diff --git a/src/bot/helpers/handleRelog.js b/src/bot/helpers/handleRelog.js index 5c41a095..65fdb3d7 100644 --- a/src/bot/helpers/handleRelog.js +++ b/src/bot/helpers/handleRelog.js @@ -4,7 +4,7 @@ * Created Date: 2023-10-05 16:14:46 * Author: 3urobeat * - * Last Modified: 2024-05-02 10:54:36 + * Last Modified: 2024-05-03 18:56:32 * Modified By: 3urobeat * * Copyright (c) 2023 - 2024 3urobeat @@ -139,7 +139,7 @@ Bot.prototype.handleRelog = async function() { setTimeout(() => { // Abort if account is online again for some reason - if (this.status == Bot.EStatus.ONLINE) return logger("debug", `Bot handleRelog(): Timeout elapsed but bot${this.index} is not offline anymore. Ignoring...`); + if (this.status == Bot.EStatus.ONLINE) return logger("info", `[${this.logPrefix}] Relog timeout elapsed, however the account is already online again?! Ignoring relog request...`); // Update status to offline and call login again this.status = Bot.EStatus.OFFLINE; diff --git a/src/controller/login.js b/src/controller/login.js index c4be430a..08b3b1a9 100644 --- a/src/controller/login.js +++ b/src/controller/login.js @@ -4,7 +4,7 @@ * Created Date: 2021-07-09 16:26:00 * Author: 3urobeat * - * Last Modified: 2024-03-08 18:20:05 + * Last Modified: 2024-05-03 19:55:19 * Modified By: 3urobeat * * Copyright (c) 2021 - 2024 3urobeat @@ -52,7 +52,7 @@ Controller.prototype.login = async function(firstLogin) { } // Ignore login request if another login is running - if (this.info.activeLogin) return logger("debug", "Controller login(): Login requested but there is already a login process active. Ignoring..."); + if (this.info.activeLogin) return logger("info", "Login for all offline accounts requested but there is already one process running. Ignoring request for now, it will be handled after this process is done.", false, true); logger("debug", "Controller login(): Login requested, checking for any accounts currently OFFLINE or POSTPONED..."); diff --git a/src/data/fileStructure.json b/src/data/fileStructure.json index 441d2927..4e70901c 100644 --- a/src/data/fileStructure.json +++ b/src/data/fileStructure.json @@ -373,7 +373,7 @@ { "path": "src/bot/helpers/handleRelog.js", "url": "https://raw.githubusercontent.com/3urobeat/steam-comment-service-bot/beta-testing/src/bot/helpers/handleRelog.js", - "checksum": "e9197cd02697f19733c7e199ca783eeb" + "checksum": "67628d3bd1ab7628016557e5ad8417b6" }, { "path": "src/bot/helpers/steamChatInteraction.js", @@ -553,7 +553,7 @@ { "path": "src/controller/login.js", "url": "https://raw.githubusercontent.com/3urobeat/steam-comment-service-bot/beta-testing/src/controller/login.js", - "checksum": "a3181994388cb9145687ff167345ee47" + "checksum": "77edc8c09056c1911661dd1f4d52234a" }, { "path": "src/data/ascii.js",