Jump to content
McKay Development

Dr. McKay

Administrator
  • Posts

    3631
  • Joined

  • Last visited

Everything posted by Dr. McKay

  1. Setting snooze worked fine for me. If you're not in-game, you will appear as "Away" in the newest Steam client, with a "ZZZ" icon. If you're in-game, just the "ZZZ" icon will appear. If you want a custom in-game string, make the string the first entry in your array that you pass to gamesPlayed.
  2. You probably want to use steam.uploadAvatar and not community.uploadAvatar. Also, attach a callback. Also also, don't use the auto-confirmation checker.
  3. That's correct. That's incorrect. They will still be auto-canceled per your options.
  4. There is no one correct way. I have traditionally started an HTTP server in the Node process and called that from external processes, when needed.
  5. You exceeded a rate-limit.
  6. You should be able to use it on store.steampowered.com. When you use setCookies in SteamCommunity, it'll set them for steamcommunity.com, store.steampowered.com, and help.steampowered.com.
  7. https://dev.doctormckay.com/topic/2102-acceptconfirmationforobject-must-be-logged-in-before-trying-to-do-anything-with-confirmations/
  8. You should use the WebAPI to get games owned by a user.
  9. You're not using this properly. In JavaScript, this references the parent object of the method at call-time. So for example: function exampleMethod() { console.log(this.name); } let obj1 = {"name": "obj1"}; let obj2 = {"name": "obj2"}; obj1.example = exampleMethod; obj2.example = exampleMethod; obj1.example(); // "obj1" because the "parent" to this call is obj1 obj2.example(); // "obj2" because the "parent" to this call is obj2 let example = obj1.example; example(); // undefined because there is no "parent" to example() in this call So when you do getInventoryContents(foo, bar, this.createOffer), when the module receives the callback, it sees this: TradeOfferManager.prototype.getInventoryContents(blah, callback) { // do stuff callback(); // no parent! so "this" will not be what you expect }; What you should do instead is: getInventoryContents(foo, bar, this.createOffer.bind(this)). Using the bind method "binds" the value of this before call-time.
  10. https://github.com/DoctorMcKay/node-steamcommunity/wiki/SteamCommunity#acceptconfirmationforobjectidentitysecret-objectid-callback
  11. Check the x-eresult header.
  12. receivedOfferChanged or sentOfferChanged will be emitted with the offer's new state being Accepted when the trade comes out of escrow.
  13. No, it's not possible to disable another account's 2FA.
  14. I have no plans to create a TypeScript definition.
  15. It's not possible to get a user's owned games except through the WebAPI. You can get some profile details from steam-user. All you can get from steamcommunity or the WebAPI if a profile is private is their name/avatar/basic info. You can get profile info from steam-user's getPersonas if their profile is friends only and you are friends, but there is no way to get a completely private profile. Yes, you can change profile privacy from steamcommunity.
  16. I have not encountered this, personally. I would expect that there's nothing you can do about it.
  17. If it's empty then you're probably sending the request too quickly.
  18. Not every item is going to necessarily have market_actions. You need to check for each item to make sure that market_actions exists and isn't empty.
  19. You'll need to be a little clearer.
  20. As of v4.0.0, the first argument to all callbacks is err. See the release notes here.
  21. Sounds like your proxies aren't permitting traffic on non-HTTP ports. Update to v4.6.0 and try adding "webCompatibilityMode": true to your constructor options and see if that helps.
  22. 751 is LogOnResponse. Show your code, you probably did something wrong.
×
×
  • Create New...