Jump to content
McKay Development

Dr. McKay

Administrator
  • Posts

    3365
  • Joined

  • Last visited

Everything posted by Dr. McKay

  1. I've been investigating this for the past hour and a half or so, and it appears that Valve did indeed break something with client-based web logons last night. The API is giving quite a lot of 403s with the same error message that you get if you use a bad nonce. Therefore, my suspicion is that there's some kind of miscommunication between the CM (the server which most likely generates the nonce and issues it to you), and whichever server consumes those nonces to turn them into cookies. I've tried adding some delays just in case the communication between those servers is slow, but that doesn't appear to have helped anything. Re-logging your client seems to solve the problem, at least temporarily. You may want to try doing that if you don't get a web session within a reasonable amount of time after requesting one. I've alerted Valve, but there's no telling if or when they'll take action.
  2. acceptConfirmationForObject takes care of finding the correct confirmation for a given offer ID. @maraya: What's your output?
  3. Best I can tell, web logons became finnicky ever since the Steam maintenance last night.
  4. You have to use startConfirmationChecker before you use checkConfirmations, but I don't generally recommend that anymore due to Steam load concerns.
  5. Yes, you do need to actually log into the account first. Please show your code.
  6. Yes, those codes will work anywhere you sign into Steam.
  7. https://github.com/DoctorMcKay/node-steam-tradeoffer-manager/wiki/TradeOffer#properties itemsToReceive
  8. My mistake. I've updated those release notes. Get rid of the curly braces inside your SteamUser constructor: new SteamUser(steamclient). If you do it properly, all communication SteamUser does with Steam goes over the proxy.
  9. The user event will be emitted anytime someone's persona data changes (e.g. they go online/offline or start/quit a game). Also, at any time the users property contains the current persona data for everyone we know about.
  10. Your IP got temporarily banned, yes. That's what 429 means.
  11. Yes, it's printing "Error: Logon failed, Invalid Password or playing in the account." because you're printing that unconditionally when an error occurs.
  12. offer.getExchangeDetails(function(err, status, tradeInitTime, receivedItems, sentItems) { console.log("Trade status is " + status + ", init time " + tradeInitTime + ", and we received " + receivedItems.length + " items and sent " + sentItems.length + " items."); });
  13. You need to wait for this event: https://github.com/DoctorMcKay/node-steam-user#friendslist Also, the problems I see with your code are that err doesn't exist, and that you're only sending back the friends list if it's falsy (which would never result in sending back the friends list).
  14. Doesn't look like TradeOfferManager is defined. In the future, please include any error messages and stack traces.
×
×
  • Create New...