Syed Posted July 6, 2022 Report Share Posted July 6, 2022 We have on account for steam bot, we used that account in our local server as well as stagging server and getting this error Error: LoggedInElsewhere, can you please suggest, is there any method available for forceful login, or how can avoid this error Quote Link to comment Share on other sites More sharing options...
Dr. McKay Posted July 6, 2022 Report Share Posted July 6, 2022 Are you calling gamesPlayed? You can only have a single playing session or else you'll get kicked with that error. Quote Link to comment Share on other sites More sharing options...
Syed Posted July 6, 2022 Author Report Share Posted July 6, 2022 No, Im just logged in using our bot class SteamBot { constructor(logOnOptions) { this.client = new SteamUser(); this.community = new SteamCommunity(); this.manager = new TradeOfferManager({ steam: this.client, community: this.community, language: "en", }); this.logOn(logOnOptions); } logOn(logOnOptions) { this.client.logOn(logOnOptions); this.client.on("loggedOn", () => { console.log("Logged into Steam"); this.client.setPersona(SteamUser.EPersonaState.Online, "Bot-name"); this.client.gamesPlayed(730); }); this.client.on("webSession", (sessionid, cookies) => { this.manager.setCookies(cookies); this.community.setCookies(cookies); this.community.stopConfirmationChecker(); }); .. . . . . .. . const bot = new SteamBot({ accountName: process.env.STEAM_USERNAME, password: process.env.STEAM_PASSWORD, twoFactorCode: SteamTotp.generateAuthCode(process.env.SHARE_SECRET), rememberPassword: true, }); Quote Link to comment Share on other sites More sharing options...
Dr. McKay Posted July 6, 2022 Report Share Posted July 6, 2022 I can see it right there. Epic 1 Quote Link to comment Share on other sites More sharing options...
Syed Posted July 6, 2022 Author Report Share Posted July 6, 2022 3 minutes ago, Dr. McKay said: I can see it right there. Thank you sir, problem resolved Quote Link to comment Share on other sites More sharing options...
Rodrigo Posted August 24, 2022 Report Share Posted August 24, 2022 Just so I understand the behavior, because I face this error sometimes. The first session would be kicked out with this error, but the session that logged in would be logged in correctly? @Dr. McKay Quote Link to comment Share on other sites More sharing options...
Dr. McKay Posted August 24, 2022 Report Share Posted August 24, 2022 That's correct. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.