-
Posts
3591 -
Joined
-
Last visited
Everything posted by Dr. McKay
-
Question Is this possible using your libraries? (Ingame images)
Dr. McKay replied to generatingimages's topic in General
No, none of my libraries would be involved in doing anything like this. You'd probably need to inject something into the game's process to render an item and capture it to an image. -
Unable to accept offer: Not Logged In
Dr. McKay replied to venfiw's topic in node-steam-tradeoffer-manager
You need cookies to be logged into Steam. You need your identity_secret and to be logged in to confirm offers. -
BREAKING CHANGES: steam-user v4 now available on npm
Dr. McKay replied to Dr. McKay's topic in node-steam-user
Beta 2 fixes OS capitalization. New chat stuff does not yet have docs, but all the methods have jsdoc. SteamChatRoomClient is available as a chat property of your SteamUser instance, e.g. user.chat.sendFriendMessage(steamID, "/flip") -
Unable to accept offer: Not Logged In
Dr. McKay replied to venfiw's topic in node-steam-tradeoffer-manager
You need your identity_secret to accept trade offers. There is no way around it. https://dev.doctormckay.com/topic/365-cookies/#user-cookieexpiration -
Question Adding a small delay
Dr. McKay replied to roughnecks's topic in node-steam-tradeoffer-manager
I really don't mind necroing on this forum. You definitely need to put the confirmation acceptance inside the callback to accept, but within that callback it's not a bad idea to add a short delay. Use setTimeout for this. -
Question Like a artwork with the node-steam-user module?
Dr. McKay replied to loleks420's topic in node-steam-user
Automated voting on any content will never be supported. -
BREAKING CHANGES: steam-user v4 now available on npm
Dr. McKay replied to Dr. McKay's topic in node-steam-user
The result is the result of the random (same in /flip). In the second line of that block, the resulting random number was 872. -
Question Adding a small delay
Dr. McKay replied to roughnecks's topic in node-steam-tradeoffer-manager
Put it inside of the callback to accept. -
v4 is now out! There are a lot of breaking changes in v4. See the release notes on GitHub for all of the changes. Major changes include: Support for new Steam chatPromise support for all methods that take callbacks (callbacks are still also supported)Removal of deprecated methodsAddition of err parameter to all callbacks that previously lacked itNode.js v8 or higher is now required
-
Question Error: This trade offer is no longer valid.
Dr. McKay replied to roughnecks's topic in node-steam-tradeoffer-manager
You're firing off getUserDetails and accept at the same time. The accept request is probably getting processed by Steam before the details one, and thus Steam no longer believes the offer is active when the details request gets processed. -
node-steam is not node-steam-user. I won't delete your thread, but I can't help you either.
-
I would like to ask a question about Steam cookies.
Dr. McKay replied to Danvex's topic in node-steam-user
I'm not 100% sure, but I think steamLogin got dropped when Steam (finally) went HTTPS-only. So yeah, steamLoginSecure alone should work. -
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.