Jump to content
McKay Development
SpiTik

annonymous account fix

Recommended Posts

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');
  		}

Share this post


Link to post
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...