Jump to content
McKay Development

Dr. McKay

Administrator
  • Posts

    3652
  • Joined

  • Last visited

Everything posted by Dr. McKay

  1. Check the callback or promise result to redeemKey.
  2. You might need to wait for friendRelationship to get emitted again with relationship SteamUser.EFriendRelationship.Friend. But a lot of people are having issues automatically posting comments; Valve might have put some anti-spam measures into place.
  3. You need to supply a callback to login. And also loggedOn is always going to be false in that code (not that you're checking that, for some reason).
  4. Yep, that looks correct. I'm pretty curious as to how you weren't crashing with the old code, but as long as that works, all's well that ends well.
  5. You need to log back on after error before you do anything else, or else it will crash because you're trying to do things without being logged on. A call to logOn is what needs to go inside the process.nextTick.
  6. Try using process.nextTick(() => client.logOn(logInOptions)) when error is emitted. You're going to need to generate a new 2FA code, though.
  7. When error is emitted, that means you're logged off. You'll need to log on again.
  8. Please read the v4 release notes. The first argument to callbacks is now err.
  9. What version of steam-user are you using?
  10. It's possible with globaloffensive. But please don't call it "float value".
  11. 173.208.103.160 is not an IP address assigned to any interface on your system. Is that a proxy IP? If so, just use the proxy option and don't set localAddress. Please read the v4 release notes.
  12. const Request = require('request'); const SteamCommunity = require('steamcommunity'); let community = new SteamCommunity({"request": Request.defaults({"proxy": "http://1.2.3.4"})});
  13. There is no way to get description data including market_hash_name in steam-tradeoffer-manager without specifying a language. You would need to load your inventory separately, or use GetAssetClassInfo.
  14. It's in the user event in steam-user.
  15. It's not possible.
  16. When did you remove the language? Some changes were made in August 2017 to reduce memory usage.
  17. It's entirely possible that it's some kind of rate-limit in Steam to prevent comment spam.
  18. Most definitely.
  19. Since updating to 4.4.4, my memory-leak test setup isn't doing too badly. Just ~150 MB per instance.
  20. Why would you need to use it that frequently? You get real-time notifications (through events) when friend messages are received.
  21. When I have time.
  22. relog is only meant to be used when you're connected. When error is emitted, that means you got disconnected and SteamUser won't attempt to automatically reconnect. You should be able to just log back on immediately with your login key. Also, if you want some more descriptive debug output (actual message names and not just numbers), add "debug": true to your constructor options.
×
×
  • Create New...