-
Posts
3658 -
Joined
-
Last visited
Everything posted by Dr. McKay
-
Question on new parameter for GET requests
Dr. McKay replied to SimsaLabim's topic in node-steam-session
Moved to correct forum - this was in an update to node-steam-session, not node-steam-user. As far as I've seen, this parameter is present for any GET request issued by the mobile app to the WebAPI. Confirmations don't go through the API so it's not present for those requests. In practice, the only request that origin=SteamMobile is added to in steam-session is the initial GetPasswordRSAPublicKey request as that's the only GET request issued when using EAuthTokenPlatformType.MobileApp. -
How to check for steam guard mobile?
Dr. McKay replied to rahimi0151's topic in node-steam-tradeoffer-manager
-
Receiving counteroffer doesn't trigger newOffer
Dr. McKay replied to JVz's topic in node-steam-tradeoffer-manager
There's no reason it wouldn't, a counter-offer is a new trade offer like any other. -
'sentOfferChanged' Missing Rollback Event — Needs Update
Dr. McKay replied to Zreex's topic in node-steam-tradeoffer-manager
Already known, see this thread: -
As you've figured out, the actual trade offer stays in the Accepted state, but the underlying trade gets rolled back. steam-tradeoffer-manager doesn't poll GetTradeHistory at all right now, so adding support for detecting these rolled back trades would incur additional requests. I'm still working on thinking of the best way to go about this, but for now I suggest you do your own GetTradeHistory polling.
-
https://github.com/DoctorMcKay/node-steamcommunity/releases/tag/v3.49.0 As far as I can tell, clicking that button in the popup (which is what acknowledgeTradeProtection() does) is all that's needed, and it only needs to be done once per account. If you've already clicked the button on the account(s) you use to trade, you shouldn't need to do anything more.
-
Probably a GC limitation. You should wait until the item modified event is emitted after adding or removing an item before moving on to the next one.
-
Problem enabling 2FA via steam-user – result code 2
Dr. McKay replied to DieterB's topic in node-steam-user
This is not unexpected. It was always just happenstance that this method worked via steam-user; it uses a method not used by any official Steam app. You should use node-steamcommunity instead, which uses the official method. -
Do you have some way to reproduce this? Checking whether steamID is set on a timer is not the proper way to reconnect. This would run you into problems if SteamUser is currently attempting to connect but isn't yet logged on. You only need to call logOn() when your bot starts up, and if the error event is emitted.
-
It's the same for everyone.
-
def_index tells you what an item is (which weapon, which case, etc) and paint index tells you what skin an item is. Everything you need is in items_game.txt in the game's vpk files.
-
I believe webTradeEligibility is basically just a cache of your trading eligibility status for display purposes on the market. Rather than run the backend checks to generate this message every time you load the page, they just run the check once and then set the cookie for display. The backend checks still get run when you attempt to actually complete a purchase or trade though; you can't bypass restrictions just by fudging the cookie.
-
Either in the inventory property or your Steam inventory.
-
I think I've done this, but I guess I didn't add proper support for it to the steam-session package.
-
How to use steam-user's logOn method with async/await?
Dr. McKay replied to Daniel's topic in node-steam-user
Yes, you could, and then things would fall over when Steam goes down and your client reconnects since you'd miss that second loggedOn event. -
I mostly just look at the dumped protobufs and nethook to see what it's doing on the wire.
-
You need to setup an instance of the request module using request.defaults() with your proxy config, then pass that request instance to the SteamCommunity constructor, and finally pass that SteamCommunity instance to the TradeOfferManager constructor.
-
How to use steam-user's logOn method with async/await?
Dr. McKay replied to Daniel's topic in node-steam-user
No, since loggedOn may be emitted multiple times in response to one logOn() call.