-
Posts
3628 -
Joined
-
Last visited
Everything posted by Dr. McKay
-
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.
-
Question Check if key is valid client.redeemKey
Dr. McKay replied to Aswer's topic in node-steam-user
Check the callback or promise result to redeemKey. -
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.
-
TypeError: callback is not a function on loggedIn event
Dr. McKay replied to Kulagin's topic in node-steamcommunity
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). -
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.
-
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.
-
Try using process.nextTick(() => client.logOn(logInOptions)) when error is emitted. You're going to need to generate a new 2FA code, though.
-
When error is emitted, that means you're logged off. You'll need to log on again.
-
Please read the v4 release notes. The first argument to callbacks is now err.
-
What version of steam-user are you using?
-
Question Getting Float Value + PatternID of CS:GO items
Dr. McKay replied to Kokoman111's topic in node-steam-tradeoffer-manager
It's possible with globaloffensive. But please don't call it "float value". -
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.
- 5 replies
-
- node.js
- node-steam-user
-
(and 2 more)
Tagged with:
-
const Request = require('request'); const SteamCommunity = require('steamcommunity'); let community = new SteamCommunity({"request": Request.defaults({"proxy": "http://1.2.3.4"})});
-
Question How do you get rich presence data?
Dr. McKay replied to fawcghost's topic in node-steam-user
It's in the user event in steam-user. -
It's entirely possible that it's some kind of rate-limit in Steam to prevent comment spam.
-
Most definitely.
-
Since updating to 4.4.4, my memory-leak test setup isn't doing too badly. Just ~150 MB per instance.
-
Why would you need to use it that frequently? You get real-time notifications (through events) when friend messages are received.
-
When I have time.