-
Posts
3545 -
Joined
-
Last visited
Everything posted by Dr. McKay
-
If you want my guess, fork node-globaloffensive and add this to index.js: GlobalOffensive.prototype.nameItem = function(nameTagID, itemID, customName) { var buffer = new ByteBuffer(16 + Buffer.byteLength(customName) + 1); buffer.writeUint64(coerceToLong(nameTagID)); buffer.writeUint64(coerceToLong(itemID)); buffer.writeCString(customName); this._send(Language.NameItem, null, buffer); }; If that doesn't work try swapping nameTagID and itemID. And if that doesn't work, you'd want to use something like NetHook2.
-
No, it's not possible to get a friend's games list except through the WebAPI.
-
https://github.com/DoctorMcKay/node-steam-user#getownedapps
-
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.