Jump to content
McKay Development

Adam

Member
  • Posts

    6
  • Joined

  • Last visited

  1. Well I worked out the issue. req.body.tfa was never passed in, and because VScode is so helpful and doesn't show inputs, the program requested I reenter the two-factor-authentication. Always check your variable names kids.
  2. There is no error. Simply nothing happens. If the user enters their incorrect details, the error code will run. If the user enters correct details however, nothing happens.
  3. Hi, I have the following code and am trying to check whether the app is able to log into steam or not. For whatever reason, the error is caught but the loggOn event never occurs Any ideas how to fix this? const client = new SteamUser();const logOnOptions = {accountName: req.body.username,password: req.body.password,twoFactorCode: req.body.tfa }; client.logOn(logOnOptions); client.on('loggedOn', () => {console.log('Hi!');}); client.on('error', () => {console.log('This is one dumb human')}); Any thoughts?
  4. Is there a way to cancel all outgoing trades when the bot starts? Thanks
  5. Awesome, thanks. I using it to make sure the account can't be hacked
  6. Hi, Is it possible to trigger the newOffer event when an offer is sent from the bot? It obviously triggers when an offer is recieved, but how can I make it (or another event) trigger upon sending an offer? Thanks
×
×
  • Create New...