Jump to content
McKay Development

Dr. McKay

Administrator
  • Posts

    3630
  • Joined

  • Last visited

Everything posted by Dr. McKay

  1. No, \white\1 is for finding Valve servers. The favorites tab bypasses the Steam master server entirely and sends direct Source engine queries to those servers.
  2. I'm not aware of any way to request multiple IPs at once using that API method. You'd need to either make a request for each IP, find a tag that each server you're interested in has and use \gametype\taggoeshere and filter the output yourself, or use a Source engine query library.
  3. My test instances still haven't gone above 150 MB (although one of them crashed on Tuesday because Steam gave it an InvalidPassword... stay classy Valve) so I'm going to go ahead and end this experiment. One of them was sending a chat message to a chat room both bots were in every second or so and still there was no significant memory usage.
  4. Check the callback or promise result to redeemKey.
  5. 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.
  6. 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).
  7. 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.
  8. 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.
  9. Try using process.nextTick(() => client.logOn(logInOptions)) when error is emitted. You're going to need to generate a new 2FA code, though.
  10. When error is emitted, that means you're logged off. You'll need to log on again.
  11. Please read the v4 release notes. The first argument to callbacks is now err.
  12. What version of steam-user are you using?
  13. It's possible with globaloffensive. But please don't call it "float value".
  14. 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.
  15. const Request = require('request'); const SteamCommunity = require('steamcommunity'); let community = new SteamCommunity({"request": Request.defaults({"proxy": "http://1.2.3.4"})});
  16. 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.
  17. It's in the user event in steam-user.
  18. It's not possible.
  19. When did you remove the language? Some changes were made in August 2017 to reduce memory usage.
  20. It's entirely possible that it's some kind of rate-limit in Steam to prevent comment spam.
  21. Most definitely.
  22. Since updating to 4.4.4, my memory-leak test setup isn't doing too badly. Just ~150 MB per instance.
×
×
  • Create New...