-
Posts
3363 -
Joined
-
Last visited
Reputation Activity
-
Dr. McKay got a reaction from AshIgorash in Storing active trades
You'll be fine if you store this in your database.
-
Dr. McKay got a reaction from Yeezy in using "status" key in uploadRichPresence?
I've messed with this in the past and I think the status key is only paid any attention if you're actually authenticated in a game server.
-
Dr. McKay got a reaction from behzadpp in Selecting which server to connect to?
This isn't supported. Why do you want to connect to a specific CM?
-
Dr. McKay got a reaction from Golden in Can I use these apis to automate buying and selling csgo skins?
No, automating the market is a violation of the Steam TOS and isn't a supported use case.
-
Dr. McKay got a reaction from matyias in How to Stop login in if password or username or shared secret is incorrect Steam-user
Electron is a browser. steam-user is not verified to work in node-enabled Electron windows, only in the main process.
-
Dr. McKay got a reaction from Nickers in Access tokens and refreshtoken lifetime
You don't need a key to decode it. It's just a JWT.
-
-
Dr. McKay got a reaction from Kinsi55 in Session is lost / invalid after running for a while
Either listen for steamcommunity's sessionExpired event and then call webLogOn(), or set up a timer to call webLogOn() periodically. Hourly works good for me.
webSession is the correct way to listen for new cookies. The Steam backend doesn't proactively send you new cookies when your session expires; it's up to you to request new ones.
-
Dr. McKay got a reaction from Harry in Unable to get local issuer certificate
From what I can tell, that proxy provider is intended to MITM your traffic and solve/bypass captchas and other anti-bot tools for you. In order to do that, it needs to present its own (untrusted) HTTPS certificate.
I wouldn't recommend using that provider for this purpose, but if you really wanted to, you'd need to disable TLS certificate checking in Node. This is very much not recommended, but you can do so by setting the environment variable NODE_TLS_REJECT_UNAUTHORIZED to 0.
-
Dr. McKay got a reaction from SENPAY98K in MaFile without a number
This is great news, I'm glad Valve is no longer locking a security feature behind a phone number.
It appears that steam-user and steamcommunity both just work without a phone number. When you'd normally receive a code via SMS, you get the code sent to your email instead.
-
Dr. McKay got a reaction from WHOOPS1E in Getting detailed CS2 item information.
No such method exists.
-
Dr. McKay got a reaction from Metro in How to Stop login in if password or username or shared secret is incorrect Steam-user
Electron is a browser. steam-user is not verified to work in node-enabled Electron windows, only in the main process.
-
Dr. McKay got a reaction from Metro in Translate new /user/ links
It's now possible to generate a link to allow someone to add you as a friend without you needing to accept a request. These links look like
http://s.team/p/user-id/token which redirects to https://steamcommunity.com/user/user-id/token You can also access a profile using https://steamcommunity.com/user/user-id which will just redirect you to /id/ or /profiles/, depending on whether the profile has a custom URL set. These user IDs look like aaa-aaaa. I don't know why it might be useful to convert a SteamID to friend-link user-id, but converting the user-id to a SteamID might be useful. The friend-link user-ids are just the account's accountid (the lower 32 bits in the 64-bit SteamID, or the x part in [U:1:xxxx]), encoded in hexadecimal, with some character replacements, and with a dash added. Here are the replacements: Hex = Letter ------------ 0 = b 1 = c 2 = d 3 = f 4 = g 5 = h 6 = j 7 = k 8 = m 9 = n a = p b = q c = r d = t e = v f = w To convert a SteamID to a user-id, encode the accountid in hex and perform string replacements for the above characters. The hyphen isn't necessary for a final URL to work. To convert a user-id to a SteamID, remove the dash and perform string replacements for the above characters. That gives you an accountid which you can turn into a SteamID using a platform-appropriate SteamID library. -
Dr. McKay got a reaction from PREFIRE in MaFile without a number
This is great news, I'm glad Valve is no longer locking a security feature behind a phone number.
It appears that steam-user and steamcommunity both just work without a phone number. When you'd normally receive a code via SMS, you get the code sent to your email instead.
-
Dr. McKay got a reaction from PREFIRE in MailGuard spontaneous activation (part 2)
Probably not. Historically, logging into the client after verifying your email is what auto-enabled Steam Guard and there's no way around that.
-
Dr. McKay got a reaction from mxnster in Identify items bought from market
classid and instanceid are not foolproof ways to match item instances. I'm not aware of any way to match an item from the market to an item in your inventory.
-
Dr. McKay reacted to mxnster in Session expired
Hello! Seems like everything is fine right now. Thanks!
-
Dr. McKay got a reaction from SENPAY98K in What is difference between cancelTime and pendingCancelTime?
Yes.
-
Dr. McKay got a reaction from mxnster in Session expired
I've had a number of people report similar things, I'll look into it when I can. I don't have any special insight into how the Steam backend works beyond what traffic gets exchanged with the official Steam client.
-
Dr. McKay got a reaction from PREFIRE in MailGuard spontaneous activation
I'm not sure what circumstances automatically enable email Steam Guard. If you already have a valid refresh token, then yeah, you can use steam-session to get new cookies.
-
Dr. McKay got a reaction from k1ne in Can this manager auto accept incoming trades?
You could certainly use it to do that, yes.
-
-
Dr. McKay got a reaction from AshIgorash in What is the rate limit for sending trades?
I don't think anyone knows an exact limit but I think you should be safe if you keep it to 1 second between trade sends. As long as you aren't perpetually sending trades at that speed, you should be fine.
-
Dr. McKay got a reaction from PREFIRE in Reusing cookies
You can't log on with SteamUser using cookies; they're only for web sessions, which SteamUser isn't using. SteamUser will automatically save your machine authorization as long as local storage is available (which it should be in most cases), but if you need to manually handle machine auths, check out this section in the docs. You can also use a refresh token to log on, which is sort of like SteamUser's version of a cookie. That's documented here.
-
Dr. McKay got a reaction from Batya in Can this manager auto accept incoming trades?
You could certainly use it to do that, yes.