-
Posts
3545 -
Joined
-
Last visited
Everything posted by Dr. McKay
-
BREAKING CHANGES: steam-user v4 now available on npm
Dr. McKay replied to Dr. McKay's topic in node-steam-user
You have too many open files. https://askubuntu.com/questions/181215/too-many-open-files-how-to-find-the-culprit -
I'm sorry to say it, but if you don't want that behavior then you shouldn't be using steam-tradeoffer-manager. The entire purpose of the module is to keep stateful track of trade offers so that relevant events can be emitted when things change, but what you're asking for is to disregard old offers and only deal with new ones. That's not what steam-tradeoffer-manager is designed to do, and you'd probably be better off using some other library to deal with trade offers if your memory limitations require you to disregard older trade offers.
-
BREAKING CHANGES: steam-user v4 now available on npm
Dr. McKay replied to Dr. McKay's topic in node-steam-user
Beta 3 is now on npm. Now featuring (most of) the docs for the new chat API! -
BREAKING CHANGES: steam-user v4 now available on npm
Dr. McKay replied to Dr. McKay's topic in node-steam-user
Uhhh, good catch. It should work, but you won't get a response back yet. -
Supported in v4 beta 2.
-
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.