-
Posts
3626 -
Joined
-
Last visited
Everything posted by Dr. McKay
-
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. -
I'm not aware of autoRelogin being broken in any way. Web sessions are completely independent of CM connections. When steam-user is "connected", that's a CM session. A web session is negotiated through the CM session, but they're entirely separate. Web sessions are never automatically renewed by steam-user; that responsibility falls onto you.
-
Right, that's a web session, not a client session. When you log in to the client using steam-user and receive a webSession event, that's a web session that's started through the client. Those web sessions expire independently of the client session, and you do need to call webLogOn() occasionally to get a new web session.
-
That's not a thing for CM (Steam client) connections. What's the actual symptom you're seeing?
-
Once you're connected, it'll just stay connected unless Steam goes down or your network goes down.
-
Logged into the Steam client, or the website?
-
What do you mean by "logged in", exactly?
-
That's up to you to figure out; steam-tradeoffer-manager doesn't do any pricing.
-
You'll need to set the useAccessToken option to true in the TradeOfferManager constructor. At some point I'll get around to updating the examples.
-
What was in the trade?
-
You'd need to create a new instance for each proxy.
-
That should work fine. Make sure your profile isn't private, I guess.
-
Please show the code around where you're calling setPersona.
-
Not as far as I'm aware.
-
steam-user doesn't do anything with API keys.
-
You can just use ISteamUset/GetFriendList for that. Each friend has a unix time friend_since property.