Jump to content
McKay Development

Dr. McKay

Administrator
  • Posts

    3567
  • Joined

  • Last visited

Everything posted by Dr. McKay

  1. https://github.com/DoctorMcKay/node-steamcommunity/wiki/CSteamUser#getinventorycontentsappid-contextid-tradableonly-language-callback
  2. I don't really have the time or capacity to do one-on-one coaching for reimplementing the Steam protocols yourself. I'd suggest checking the existing code and trying to copy it as exactly as possible.
  3. Make sure you could send a message to that user ordinarily. Also make sure you've set yourself to online.
  4. You can do this with steam-session.
  5. What do you receive error 15 in response to? How are you receiving it?
  6. https://steamerrors.com/5 Sounds like you aren't logging in correctly.
  7. Only one Steam client session can be in-game at a time or else you get the LoggedInElsewhere error you mentioned. That guy isn't running CS2 on the same account twice; the real game instance must be logged in under a different account. No.
  8. Does the app in question actually use encrypted app tickets?
  9. The first argument to webSession is sessionID, not cookies.
  10. Sounds like you have some network issue.
  11. Most methods don't work if you log on anonymously. getPersonas probably isn't one that does.
  12. Doesn't look like you're doing anything wrong from those login options. The IP you're logging in from is probably just really suspicious.
  13. You can see exactly what's happening internally if you add a debug listener like so: user.on('debug', console.log)
  14. Thanks for the info. This is caused by CS2 inventories that have items, but which have no items that are actually visible. The returned data looks like garbage because Valve. steamcommunity 3.48.5 fixes the error, instead returning an empty array. As of steam-tradeoffer-manager 2.11.7, you can use the deprecated TradeOffer.loadPartnerInventory() method to get those CS2 items.
  15. Yeah that should work fine.
  16. Could you PM me the trade URL?
  17. No, you can't get original_id for an item that's listed on the market.
  18. Game developers don't implement VAC; the Steam client takes care of that fully. Game devs just opt into using it, at which point the Steam backend starts sending modules for the Steam client to execute properly and return responses for.
  19. You would need to implement the client side of VAC, in its entirety, flawlessly. Good luck!
  20. If api.steampowered.com is merely unreachable, I think autoRelogin should keep retrying. In this case, DNS resolution failed which should never happen unless your network is down.
  21. Are you sure it's fatal and crashing the process? Looks to me like you're handling the error event as expected, not reconnecting, and the process exits as it should since there's nothing more on the event loop. autoReconnect does not apply for disconnects which emit the error event. In those cases, you're responsible for reconnecting manually.
  22. Yes, that should work. I'd recommend some debouncing to ensure that you don't spam-call webLogOn if multiple sessionExpired events are emitted quickly.
  23. Yes, you cannot call enableTwoFactor if the account already has 2FA enabled elsewhere, whether through the app or some other script.
×
×
  • Create New...