-
Posts
3575 -
Joined
-
Last visited
Everything posted by Dr. McKay
-
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 });
-
Question How do I get item tags
Dr. McKay replied to Sensei_Wolf's topic in node-steam-tradeoffer-manager
It's in the tags property of the item object. -
I believe the only way to do that is to use the WebAPI.
-
I don't believe it's currently possible with new Steam chat.
-
Is your account limited?
-
This sounds a lot like spam.
-
Plain trading sites are generally okay.
-
Question How to call Steam api with Express js
Dr. McKay replied to Lonster_Monster's topic in General
People generally use the request module to make HTTP requests. -
Question Confirmation from another device than Guard?
Dr. McKay replied to M17ek's topic in node-steam-tradeoffer-manager
There's a separate secret that's used for confirmations; it's not the same as the one you use to login. -
Question Question about registering the bot
Dr. McKay replied to [email protected]'s topic in node-steam-user
If you called login without providing an account name or password, then you've logged into an anonymous account. You can do a few things from anonymous accounts, but not all that much. If you want to login to a Steam account, you need to enter the account's name and password. It doesn't matter what account you use, but it needs to be one that exists. If you're creating a bot, most people create a separate, dedicated Steam account for it. -
Question Confirmation from another device than Guard?
Dr. McKay replied to M17ek's topic in node-steam-tradeoffer-manager
If you try to use two different devices to accept confirmations, you tend to miss confirmations on one device or another. It's not a good idea at all. That said, the error you're getting isn't due to this. It's because your app is either using the wrong secret, or the clock is wrong. -
sentOfferChanged not emitted
Dr. McKay replied to cockroach's topic in node-steam-tradeoffer-manager
Can you try calling manager.doPoll() yourself? -
node-steamcommunity is a Node.js module. It does not work in the browser, even if you use something like browserify.
-
steamcommunity.com/gid/
-
sentOfferChanged not emitted
Dr. McKay replied to cockroach's topic in node-steam-tradeoffer-manager
Attach a callback to setCookies and see if you get an error back. -
sentOfferChanged not emitted
Dr. McKay replied to cockroach's topic in node-steam-tradeoffer-manager
Can you add this code and provide the output? manager.on('debug', console.log); -
Added, sorry it took a while.