Jump to content
McKay Development

Dr. McKay

Administrator
  • Posts

    3573
  • Joined

  • Last visited

Everything posted by Dr. McKay

  1. It's a velocity rate-limit. Something like 20 or 30 requests per minute it seems. I'm not sure about specific numbers. Yes, you should absolutely cache inventories on your end. The actual duration is up to you, and it really depends on what you're using the inventories for. Pretty much just find someone who sells cheap VPSes with cheap IP addresses No, I've tried several things and requesting from the client isn't possible without some kind of user script or browser extension
  2. Looks like Steam isn't updating the WebAPI data quickly enough now. Are you getting that error every time, or just sometimes?
  3. If you're using the mobile authenticator (which you should be for trading) there isn't a new device cooldown.
  4. No, but there's no reason not to.
  5. Yes, Steam changed it some time ago so that you can't get more than I think 5000 or so changenumbers behind. I suppose I should update that documentation.
  6. Use update. That will update the offer from the API. offer.update(function(err) { if (err) { console.log(err); } else { // now the offer is fresh from the WebAPI } });
  7. readFile gives you a Buffer, not a string. You need to stringify it using toString('utf8').
  8. That's normal. As of version 3 (if I remember correctly), npm flattens dependencies by putting them all in the first-level node_modules where possible. This both helps to avoid duplicate installations, and prevents issues where paths get too long.
  9. I don't believe you could do that without editing the module's code directly. If you run the bot and send an offer manually, it'll trigger unknownOfferSent.
  10. It might be a better idea to throw a more descriptive error, but the behavior is pretty much undefined for calling any method (except for offline ones like settings and logon) while logged off.
  11. You should use the API to get details about trade offers. Scraping the sent offers page is asking for trouble. Also, there's a getOffersContainingItems method in the latest version anyway.
  12. Why are you scraping your sent offers page?
  13. If you're getting a "Not Logged In" error, then you're not logged in and you should relog.
  14. The only way I was able to reproduce this was by trying to log off without first being logged on. Please make sure you aren't doing that.
  15. You can either use steam-totp with your shared_secret to provide the code to logOn as twoFactorCode, or you can use a loginKey. Both of these are documented on the readme.
  16. Send and receive offers using what? steam-tradeoffer-manager?
×
×
  • Create New...