-
Posts
3567 -
Joined
-
Last visited
Everything posted by Dr. McKay
-
Missing mention of the “getUserInventoryContents” method
Dr. McKay replied to SteamUs1's topic in node-steamcommunity
https://github.com/DoctorMcKay/node-steamcommunity/wiki/CSteamUser#getinventorycontentsappid-contextid-tradableonly-language-callback -
I don't really have the time or capacity to do one-on-one coaching for reimplementing the Steam protocols yourself. I'd suggest checking the existing code and trying to copy it as exactly as possible.
-
How to maintain Steam websocket connection alive?
Dr. McKay replied to George Hazan's topic in node-steam-user
Make sure you could send a message to that user ordinarily. Also make sure you've set yourself to online. -
You can do this with steam-session.
-
How to maintain Steam websocket connection alive?
Dr. McKay replied to George Hazan's topic in node-steam-user
What do you receive error 15 in response to? How are you receiving it? -
How to maintain Steam websocket connection alive?
Dr. McKay replied to George Hazan's topic in node-steam-user
https://steamerrors.com/5 Sounds like you aren't logging in correctly. -
Does the app in question actually use encrypted app tickets?
-
Cookies.find is not a function
Dr. McKay replied to mariodelta's topic in node-steam-tradeoffer-manager
The first argument to webSession is sessionID, not cookies. -
Sounds like you have some network issue.
-
Anonymous logon and getPersonas to fetch account's avatar and name
Dr. McKay replied to The Meg's topic in node-steam-user
Most methods don't work if you log on anonymously. getPersonas probably isn't one that does. -
You can see exactly what's happening internally if you add a debug listener like so: user.on('debug', console.log)
-
getPartnerInventoryContents() help
Dr. McKay replied to jckiller's topic in node-steam-tradeoffer-manager
Thanks for the info. This is caused by CS2 inventories that have items, but which have no items that are actually visible. The returned data looks like garbage because Valve. steamcommunity 3.48.5 fixes the error, instead returning an empty array. As of steam-tradeoffer-manager 2.11.7, you can use the deprecated TradeOffer.loadPartnerInventory() method to get those CS2 items. -
Yeah that should work fine.
-
getPartnerInventoryContents() help
Dr. McKay replied to jckiller's topic in node-steam-tradeoffer-manager
Could you PM me the trade URL? -
No, you can't get original_id for an item that's listed on the market.
-
If api.steampowered.com is merely unreachable, I think autoRelogin should keep retrying. In this case, DNS resolution failed which should never happen unless your network is down.
-
Are you sure it's fatal and crashing the process? Looks to me like you're handling the error event as expected, not reconnecting, and the process exits as it should since there's nothing more on the event loop. autoReconnect does not apply for disconnects which emit the error event. In those cases, you're responsible for reconnecting manually.
-
Yes, that should work. I'd recommend some debouncing to ensure that you don't spam-call webLogOn if multiple sessionExpired events are emitted quickly.
-
Enabling Two-factor Authentication - Status 29 (DuplicateRequest)
Dr. McKay replied to mariodelta's topic in node-steam-user
Yes, you cannot call enableTwoFactor if the account already has 2FA enabled elsewhere, whether through the app or some other script.