-
Posts
3628 -
Joined
-
Last visited
Everything posted by Dr. McKay
-
Question Trade Notifications Messages don't get cleared when...
Dr. McKay replied to roughnecks's topic in node-steam-user
Is your bot's persona online? -
A delay in getting a web session would have nothing to do with this. It's probable that Steam was just being slow when you were trying.
-
How to change ERR language?
Dr. McKay replied to PonyExpress's topic in node-steam-tradeoffer-manager
All my modules do send a cookie requesting English text, but I guess it's not always respected. -
I tested it personally before pushing and login didn't take any longer than usual.
-
How to change ERR language?
Dr. McKay replied to PonyExpress's topic in node-steam-tradeoffer-manager
The error language is probably controlled by your Steam account language. -
Should be fixed in the latest commit. Remember that the v4 branch is still pre-alpha. There are going to be bugs.
-
That's not an appropriate fix because that prevents intentional attachment of multiple handlers for a single message. Pull the latest v4 commit and you should get fixes for gamesPlayed and your duplicate handler issue, but I wasn't able to replicate any Steam Guard issues.
-
Then you have the wrong time or the wrong secret.
- 3 replies
-
- nodejs
- steamcommunity
-
(and 2 more)
Tagged with:
-
https://github.com/DoctorMcKay/node-steamcommunity/wiki/SteamCommunity#getconfirmationstime-key-callback
- 3 replies
-
- nodejs
- steamcommunity
-
(and 2 more)
Tagged with:
-
All of that data is already available. As long as you're set to online, myFriends contains the list of who all your friends are, and users contains their profile data, updated in real-time.
-
Question Question about double console.log line
Dr. McKay replied to Skyper's topic in node-steam-user
Given that your steam-user seems to be temporary, you could just create a new one every time. -
You would need to add support directly to steam-user by editing it. You can't just call underscore-prefixed methods from outside of the module and expect things to work. Take a look at the commit history to see what it takes to add support for a new message. Why do you want to use this, anyway? You can already get your friends list from steam-user.
-
Question Question about double console.log line
Dr. McKay replied to Skyper's topic in node-steam-user
I would assume it's because this code is being called multiple times and is attaching a new listener to loggedOn every time. -
You need to go into that node-steam-user-4 folder and run npm install
-
Are you on the latest v4 commit? That sounds like a bug I fixed a couple weeks ago.
-
You don't, you use sendFriendMessage.
-
You probably aren't in any groups.
-
getGroups
-
Yes, it posts all device changes. If you're using an HTTPS webhook it's possible that Mono doesn't have the appropriate CA certificates. I've had trouble with getting it to post to some HTTPS endpoints properly.
-
Yes, because ignorant coders will almost definitely start passing API keys that don't belong to the account they're signed into, and start posting GitHub issues asking what's going on. If you know what you're doing, you can set the apiKey property directly with the correct key, but please make sure you actually know what you're doing.
-
Chat history is temporary for all chats, even group chats.
-
As in all callbacks, the first argument is err. And I'm pretty sure you'd want to still use getChatHistory as before.
-
You should not be using the same id for the first and second parameters. The first parameter is the group chat ID, and the second is the ID of the channel you're looking for. Get rid of the parens around the parameters. That's turning the commas into comma operators, which is not what you want to do.
-
Question Error: This trade offer is no longer valid.
Dr. McKay replied to roughnecks's topic in node-steam-tradeoffer-manager
Active means its state on Steam is Active. Anything that you can accept but haven't yet is active and you should be able to use getUserDetails on it. To get user details for trade offers that are no longer active, you'll need to use the WebAPI.