Jump to content
McKay Development

Dr. McKay

Administrator
  • Posts

    3591
  • Joined

  • Last visited

Everything posted by Dr. McKay

  1. It's in the tags property of the item object.
  2. I believe the only way to do that is to use the WebAPI.
  3. I don't believe it's currently possible with new Steam chat.
  4. Is your account limited?
  5. This sounds a lot like spam.
  6. Plain trading sites are generally okay.
  7. People generally use the request module to make HTTP requests.
  8. There's a separate secret that's used for confirmations; it's not the same as the one you use to login.
  9. If you called login without providing an account name or password, then you've logged into an anonymous account. You can do a few things from anonymous accounts, but not all that much. If you want to login to a Steam account, you need to enter the account's name and password. It doesn't matter what account you use, but it needs to be one that exists. If you're creating a bot, most people create a separate, dedicated Steam account for it.
  10. If you try to use two different devices to accept confirmations, you tend to miss confirmations on one device or another. It's not a good idea at all. That said, the error you're getting isn't due to this. It's because your app is either using the wrong secret, or the clock is wrong.
  11. Can you try calling manager.doPoll() yourself?
  12. node-steamcommunity is a Node.js module. It does not work in the browser, even if you use something like browserify.
  13. steamcommunity.com/gid/
  14. Attach a callback to setCookies and see if you get an error back.
  15. Can you add this code and provide the output? manager.on('debug', console.log);
  16. Added, sorry it took a while.
  17. Automating reports/commendations is one thing I won't help with.
  18. I don't believe it was ever officially supported, so I wouldn't be surprised if they removed the backend code for it.
  19. It would be possible.
  20. If it helps any, the amount of XP needed to reach the next level goes up by 100 every 10 levels. So the amount of XP you need to reach level X is 100 + (floor(X / 10) * 100).
  21. That code looks right. You're probably being rate-limited by the GC. Valve is big on making it only possible to get data one way, then rate-limiting that one way to hell. What happens if you delay 10 seconds between items?
  22. I can't reproduce this: const SteamUser = require('./index.js'); const SteamTotp = require('steam-totp'); const TradeOfferManager = require('steam-tradeoffer-manager'); const SHARED_SECRET = "redacted"; let user = new SteamUser(); let manager = new TradeOfferManager({ "domain": "doctormckay.com", "steam": user }); user.logOn({ "accountName": "redacted", "password": "redacted", "twoFactorCode": SteamTotp.generateAuthCode(SHARED_SECRET) }); user.on('loggedOn', () => { console.log("Logged on"); }); user.on('webSession', (sessionID, cookies) => { console.log("Web session id " + sessionID); console.log(cookies); manager.setCookies(cookies, (err) => { console.log(err); console.log(manager.apiKey); }); }); I don't think you ever needed it to send trades as long as steamLoginSecure has existed... if you're on a secure connection it ignored steamLogin. You don't need to run your website over HTTPS (although you really should); all connections to Steam have to be done over HTTPS (which my modules have done as long as they could).
  23. steamLogin probably went away because Steam can only be accessed over HTTPS now. browserid is unnecessary.
  24. How are you calling the function?
  25. Seems like you're doing it right. Valve probably disabled it.
×
×
  • Create New...