SpiTik Posted March 16, 2019 Report Share Posted March 16, 2019 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'); } Quote Link to comment Share on other sites More sharing options...
SpiTik Posted March 16, 2019 Author Report Share Posted March 16, 2019 ok Fixed my bad accountName it was empty 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.