-
Posts
3507 -
Joined
-
Last visited
Reputation Activity
-
Dr. McKay got a reaction from Cheekyzzz in Steam-Session Authentication unusual attempt when login
No.
-
Dr. McKay got a reaction from asdfghjkl in Get the original_id of my items listed on the steam market
Yeah that should work fine.
-
Dr. McKay got a reaction from Andrei Elvis in sentOfferChanged is not firing. The bot can send offer though
You need to enable the useAccessToken option or trades containing CS2 items won't appear.
-
Dr. McKay reacted to Josiox in Cant run example: Steam login fail: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received undefined
Fixed with adding "useAccessToken": true to manager parameter list
-
Dr. McKay reacted to cemaksoy in createAuthSessionTicket
I solved the problem, I was sending 2 verifications to the server
-
Dr. McKay got a reaction from Akaz in Any way to detect trade ban on the account?
Using the GetPlayerBans endpoint is going to be your best bet. There's no event for it.
-
Dr. McKay got a reaction from يودا in Correct way of enabling 2FA
Either works, but using steamcommunity is "better" since it more closely mimics how the official mobile app works. steam-user just happens to work but may break at any time (though it's been working since 2FA came out, so seems pretty unlikely that it'll break).
-
Dr. McKay got a reaction from AshIgorash in offer.data method headache
Update to 2.11.5 and this should work properly. In previous versions it checks if the new value === the old value, which it would in this case since it's the same object reference.
-
Dr. McKay got a reaction from TheMaster in Timeout and code breaks
If log on succeeds, you get a loggedOn event. Check the example scripts in the GitHub repo.
-
Dr. McKay got a reaction from TheMaster in Timeout and code breaks
You'd want to call logOn for any error event, likely after a delay.
-
Dr. McKay got a reaction from TheMaster in Timeout and code breaks
Catch the error event to prevent the crash, and call logOn again to kick off trying to connect.
-
Dr. McKay got a reaction from lame in Is there a way to edit steam profile showcases?
Not at the moment.
-
Dr. McKay got a reaction from TheMaster in Timeout and code breaks
It's not mentioned in the documentation, but you only get an eresult in the error event if a Steam connection can actually be established. If you don't have an eresult proeprty, you can assume there was a network issue.
Only you can properly decide the best course of action for your app, but if your network is down then yeah, probably all you can do is wait and retry until the network comes up.
-
-
Dr. McKay got a reaction from botan in CSGO Game Coordinator Message Analisis Tool Request
You can use NetHook2 for this.
-
Dr. McKay got a reaction from dangercoder in [Custom storage] Prevent steam-trade-offer-manager to read/write from file system
If you're using a custom storage engine, don't change the value of the dataDirectory option. If you set it to null, the storage property isn't initialized so you get that error attempting to read 'on' of undefined.
steam-tradeoffer-manager uses the same storage scheme as steam-user, but they don't share the same instance. You need to register your save and read events on your TradeOfferManager instance the same way you registered them on your SteamUser instance.
-
Dr. McKay got a reaction from Coldblackice in Access tokens and refreshtoken lifetime
Decode the JWT and check the exp parameter, but be aware that tokens can be invalidated server-side at Valve's discretion, and nobody's sure exactly what makes that happen besides IP changes.
-
Dr. McKay got a reaction from Coldblackice in Steam updated their login flow
This is a known issue, see: https://github.com/DoctorMcKay/node-steamcommunity/issues/321
community.login isn't going to work until I can finish the v4 rewrite. Until then, you can either use steam-session or steam-user to get login cookies for use with steamcommunity.
-
Dr. McKay got a reaction from AshIgorash in TypeScipt error
TypeScript definitions for steam-tradeoffer-manager aren't maintained by me, so I can't really help you specifically. That said, you can probably suppress the error using (EResult.Revoked as number)
-
Dr. McKay got a reaction from wxz123 in ClientMicroTxnAuthRequest (5504)
Don't do it that way, that's a very bad idea. Write the entire 64-bit number to the buffer.
-
Dr. McKay got a reaction from VolvoEngineering in Inspect link grpc params
Are you sure? This shouldn't be possible. Steam caches classid+instanceid pairs indefinitely. The description data should never change.
Not really, my best guess is that D just stands for "data". It very likely is a hash to prevent scraping.
It's been my experience that any [SM], A, D triplet will work forever to fetch item data.
-
-
Dr. McKay got a reaction from sanchoys in I get an error when using the method getInviteLinkInfo()
Fixed in 5.0.10
-
Dr. McKay reacted to Valvoja in Sentry file replacement
Nevermind, login is done by using refresh token instead of access token lol.
-
Dr. McKay got a reaction from vmarkis in Error: "Already attempting to log on, cannot log on again" not being caught
The "Already attempting to log on, cannot log on again" error cannot be caught under any circumstances. If you need to, keep track in your own code if you're already attempting to log on.