Jump to content
McKay Development

Syed

Member
  • Posts

    5
  • Joined

  • Last visited

Posts posted by Syed

  1. 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,
    });
  2. 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 

     

     

     

    image.png

×
×
  • Create New...