-
Posts
3591 -
Joined
-
Last visited
Everything posted by Dr. McKay
-
Can someone help me with comment on users profile?
Dr. McKay replied to codingcore's topic in General
Instead of comparing relationship to a number directly, you should compare to SteamUser.EFriendRelationship.RequestRecipient. You're firing off the addFriend request but then immediately trying to send a chat message and post a comment. Steam sees this as all happening at the same time, and wouldn't have processed your add-friend request when you try to post the comment. You need to wait for friendRelationship to get emitted again, this time with relationship Friend. -
https://github.com/DoctorMcKay/node-steam-user#requestfreelicenseappids-callback
-
https://github.com/DoctorMcKay/node-steam-user#user
-
Once an account is banned, it's banned for good. You can't just change the phone number and get it unbanned. I also wouldn't use that same phone number anymore since it's now "tainted".
-
That shouldn't be possible, no.
-
All accounts linked to a phone number are banned if any account linked to that number is banned. No other criteria matter.
-
Why not use node-steam-user?
-
Absolutely. If any account gets banned, all accounts with the same phone number get banned.
-
I meant v4. You could install it directly from Git if you wanted, but I haven't yet written docs for new chat support. The new code is here. To call getGroups for example, you'd do user.chat.getGroups(...)
-
You're missing the tradableOnly param in manager.getInventoryContents.
-
The code that's an issue is not in your paste.
-
You need to remove your friendMessage listener after you get your Steam Guard code, otherwise it tries to login again later with the old details.
-
Unable to accept offer: self signed certificate
Dr. McKay replied to venfiw's topic in node-steamcommunity
If you're absolutely sure that you want to allow MitM, this should work: const Request = require('request'); const SteamCommunity = require('steamcommunity'); let community = new SteamCommunity({ "request": Request.defaults({"rejectUnauthorized": false}) }); -
Have you set the promptSteamGuardCode option to false?
-
If you're using the force parameter to gamesPlayed (as you are), then there's no need to use kickPlayingSession (and in fact, the way you're doing it is liable to cause problems as you aren't waiting for the callback before moving on).
-
Why are you overriding the prototype? Don't do that, just use the steamGuard event.
-
Unable to accept offer: self signed certificate
Dr. McKay replied to venfiw's topic in node-steamcommunity
Looks like your reverse proxy is performing MitM. -
I don't think it is on the v2 branch.
-
You'll probably need to wait until steam-user 3 comes out (whenever that happens, I don't have a timeframe yet) which adds official support for new chat.
-
The first problem I see is that you aren't handling the callback to offer.accept, which could fail. Secondly, you can use the fs module to read from a file. If it's newline-delimited, you could call split("\n") to get an array containing each line in the file.
-
No, you'd need to use the WebAPI.
-
Do something like this: let isEachItemATradingCard = theirItems.every((item) => { if (item.appid != 753 || item.contextid != 6) { // AppID is not "Steam" or contextid is not "Community" return false; } let tag = item.getTag('item_class'); if (!tag || tag.internal_name != 'item_class_2') { // Not a trading card // You could also check that tag.localized_tag_name == 'Trading Card' but that would only work for English return false; } return true; // all checks passed });