Jump to content
McKay Development

Rellfy

Member
  • Posts

    2
  • Joined

  • Last visited

Rellfy's Achievements

  1. Indeed. As I said in the github issue, I believe it's a problem with the other module. When I get the sentry from steam-user, it works without any problems, as it should.
  2. Hello! I'm getting the Sentry file from the 'steam' module. When I try to logon using this module, I set the sentry file and it still requests me to input the Steam Guard code. Here's how I'm getting the sentry from Steam.SteamUser: function MakeSha(bytes) { var hash = crypto.createHash('sha1'); hash.update(bytes); return hash.digest(); } this.steamClientUser.on('updateMachineAuth', (sentry, cb) => { fs.writeFileSync(/* path */, sentry.bytes); // Method which uses steam-user module this.loginWithSentry(); cb({ sha_file: MakeSha(sentry.bytes) }); this.steamClient.disconnect(); });And here, how I set the sentry, reading from the file that was written in the above code. let sentryFile = fs.readFileSync((/* path */)); this.steamUser.setSentry(sentryFile); this.steamUser.logOn({ accountName: this.username, password: this.password });After this, the console asks for the steam guard code, apparently ignoring the sentry.PS: The sentry file is actually 2KB.
×
×
  • Create New...