Jump to content
McKay Development

Dr. McKay

Administrator
  • Posts

    3591
  • Joined

  • Last visited

Everything posted by Dr. McKay

  1. user.steamID
  2. community.steamID
  3. You can provide a custom time offset to steam-totp when generating the code. Current time + 30 should work.
  4. You're trying to reuse a code, which doesn't work.
  5. Just Steam doing Steam things. You need to try again later.
  6. Surely there is more code in your application than just that snippet. Also, provide the entire output please.
  7. That crash is because you're trying to pass undefined to addMyItem.
  8. The way you've used it looks correct to me (although you probably want to console.log that err). I'd need to see more (like more of the error).
  9. No, there is no error handling or timeout built into the module; you will need to handle that on your own. The async module may help you, specifically async.queue.
  10. This may help you: https://dev.doctormckay.com/topic/365-cookies/
  11. A few things: Colors are only useful in console.log output. You cannot and should not use them in offer messages. You should not be using the confirmation checker. I suspect you're being rate-limited because you're using it twice with a relatively low poll interval. Instead, use community.acceptConfirmationForObject as needed (in the callback to offer.accept(); check the status). It is not safe to start sending an offer until the callback to manager.setCookies fires.
  12. If that's supposed to be an error, you've cut off most of the useful part of it.
  13. No, and that probably never will be possible.
  14. Read the docs; set a language in the constructor.
  15. If your system clock is wrong, that will definitely cause errors.
  16. Load your inventory and find an item with matching classid and instanceid, then add it to the offer.
  17. There's a problem with your network.
  18. It's not strictly necessary. It's (in my opinion) the best way to login to Steam and get cookies (and as a benefit you can easily appear online and get real-time trade offer notifications), but it's not the only way.
  19. You don't, it happens internally.
×
×
  • Create New...