Jump to content


Photo

annonymous account fix


  • Please log in to reply
1 reply to this topic

#1 SpiTik

SpiTik

    Advanced Member

  • Member
  • PipPipPip
  • 41 posts

Posted 16 March 2019 - 07:05 AM

function doLogin(){
  fs.readFile('./config.json', function(err, config_data){
    var data = config_data.toString();
    var config = JSON.parse(data);
      client.setOption('promptSteamGuardCode', false);
      const logClient = {
        accountName: config.username,
        password: config.password
      }

      client.logOn(logClient);
  })
}

and all login info is ok and console write this 

 

[steam-user] Warning: Logging into anonymous Steam account but a password was specified... did you specify your accountName improperly?

and how block this. if wrong pass i have error function 

e.eresult == SteamUser.EResult.InvalidPassword){
  		    console.log('['+getTime()+'] ' +'[ERROR] - invalid password');
          bot.chatMessage(steamid, messages.wrongpass);
          changeJSON1('checklogin', '0');
  		}

𝓢𝓟𝓘𝓣𝓘𝓚


#2 SpiTik

SpiTik

    Advanced Member

  • Member
  • PipPipPip
  • 41 posts

Posted 16 March 2019 - 07:15 AM

ok Fixed my bad accountName it was empty


𝓢𝓟𝓘𝓣𝓘𝓚





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users