-
Posts
3591 -
Joined
-
Last visited
Everything posted by Dr. McKay
-
No.
-
My best guess is that it indicates that you want to post to a profile, not to a forum thread.
-
i need steamMachineAuth<steam64id> cookie after webSession
Dr. McKay replied to MrPotato's topic in node-steam-user
No such cookie is issued when you log on via the client. -
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.
-
setHttpProxy() isn't working with changeEmail()
Dr. McKay replied to MrPotato's topic in node-steam-user
I don't work for Valve. -
You need to filter the inventory to get just the items you want. Array.prototype.filter will probably interest you.
-
setHttpProxy() isn't working with changeEmail()
Dr. McKay replied to MrPotato's topic in node-steam-user
The rate-limit is obviously not on your public IP. The change request is going through the proxy. -
changeEmail isn't working with TwoFactorAuth
Dr. McKay replied to MrPotato's topic in node-steam-user
That's probably the case, yes. -
Nope, that should work.
-
You appear to be correct. It looks like the client uses the help site to change passwords now, so changing passwords through the client was probably disabled. I'll mark the method as deprecated.
-
Question Where is tradehold duration for csgo item?
Dr. McKay replied to vinegarbaba's topic in node-steam-tradeoffer-manager
The owner_descriptions array is empty unless you're the owner of the item. -
Question Error ReferenceError: community is not defined
Dr. McKay replied to RedyyPT's topic in node-steamcommunity
You never defined any variable named community. -
Question Chat commands /wait until the user sends a message/
Dr. McKay replied to tvman99's topic in node-steam-user
There is, but it's too in-depth to go into here. -
Question Chat commands /wait until the user sends a message/
Dr. McKay replied to tvman99's topic in node-steam-user
You're crossing into natural language processing territory there. -
Set up a timer, and call gamesPlayed with the next string in the rotation each time it fires.
-
emailInfo still null (not updating) when logOn is called
Dr. McKay replied to Jack's topic in node-steam-user
Per the documentation, the emailInfo property is updated after all emailInfo event listeners fire. -
Automatically redeeming steam gifts (from trade offers)
Dr. McKay replied to Revadike's topic in node-steamcommunity
getReceivedItems can only be called when the offer is accepted and confirmed. -
Question Run code only when a specified game started
Dr. McKay replied to XeoN's topic in node-steam-user
You're correct that you want to use the user event. If you don't want to receive further updates for the user event, you can use removeListener. -
Question Auto-Download games functionality, posible?
Dr. McKay replied to Manzanitox's topic in node-steam-user
That top one looks kind of like you got a corrupt chunk. All your connect timeouts are likely due to CDN servers being down/slow to respond. Just retry. File checksum mismatch is weird, that means the decompressed/decrypted data in the chunk didn't match the sha1 we expected. And all the "Fail" errors is just Steam being Steam. -
Yes, but that's a bit like cutting off your leg because you got a cut.
-
One of the files in your local cache appears to be corrupted. I'll push a fix to handle this case.