odd, it seems to be giving me an issue where the password is invalid even tho its not
//Steam Handling
const SteamUser = require('steam-user');
const SteamTotp = require('steam-totp');
const SteamConfig = require('./steamconfig.js');
const SteamClient = new SteamUser();
const logInOptions = {
accountName: SteamConfig.accountName,
password: SteamConfig.password,
twoFactorCode: SteamTotp.generateAuthCode(SteamConfig.sharedSecret)
};
SteamClient.logOn(logInOptions);
SteamClient.on('loggedOn',() =>{
console.log('logged on');
SteanClient.setPersona(SteamUser.Steam.EPersonaState.Online);
//SteamClient.gamesPlayed(4000);
});
and the config is currently this
module.exports = {
accountName: 'USERNAME_HIDDEN',
password: 'PASSWORD_HIDDEN',
sharedSecret: ''
}
and the error it gives me InvalidPassword. I know that the password and username are correct for sure since I verified it by logging into steam with my second account with the cridentials and it worked just fine then. however with the module on node it just says the password is invalid.