-
Posts
3629 -
Joined
-
Last visited
Everything posted by Dr. McKay
-
Yeah, there shouldn't be any compatibility issues.
-
If you want your own profile name, just use the accountInfo property (and the accountInfo event).
-
The names are the player_name property in each object in the array provided in the callback.
-
client.on('friendRelationship', function(steamID, relationship) { if (relationship == SteamUser.Steam.EFriendRelationship.RequestRecipient) { client.addFriend(steamID); } }); You can use getPersonas to get names and other profile data.
-
https://github.com/DoctorMcKay/node-steam-user#friendrelationship
-
What is "this" that you downloaded?
-
Steam Trade Confirmations Suddenly Stoped Working?
Dr. McKay replied to Luca's topic in node-steamcommunity
Not really. -
Gonna need some more information than that.
-
Steam Trade Confirmations Suddenly Stoped Working?
Dr. McKay replied to Luca's topic in node-steamcommunity
Using a bot and a real phone to handle confirmations at the same time is asking for trouble. -
Missing actions on offer.getReceivedItems
Dr. McKay replied to Katapoka's topic in node-steam-tradeoffer-manager
https://github.com/DoctorMcKay/node-steam-tradeoffer-manager/wiki/TradeOffer#getreceiveditemsgetactions-callback -
Cancel offer if user wants to select bot items
Dr. McKay replied to joaolucas89's topic in node-steam-tradeoffer-manager
Please, just read the documentation. -
if (offer.itemsToGive.length == 0 && offer.itemsToReceive.length > 0) { offer.accept(); } Use that inside of the newOffer event. If you don't know how to do that, check out the examples in the GitHub repo.
-
Call it by its proper name, "wear value" please. You can't get it from the steamcommunity site, you have to get it from the WebAPI, which is very unreliable.
-
Cancel offer if user wants to select bot items
Dr. McKay replied to joaolucas89's topic in node-steam-tradeoffer-manager
It's emitted when a new offer is received. Please read the wiki. -
Cancel offer if user wants to select bot items
Dr. McKay replied to joaolucas89's topic in node-steam-tradeoffer-manager
if (offer.itemsToGive.length > 0) { // There are more than 0 items in itemsToGive, so the user requested some items offer.decline(); } -
The profile will only show the first game, but the "recently played" section will show all of them.
-
sentOfferChanged will be emitted when the offer is accepted or declined.
-
sometimes inventory assetids change
Dr. McKay replied to speedy's topic in node-steam-tradeoffer-manager
That's not an offer state, it's an EResult. -
Receive right event offer name
Dr. McKay replied to joaolucas89's topic in node-steam-tradeoffer-manager
sentOfferChanged is emitted when an offer you sent changes. receivedOfferChanged is emitted when an offer you received changes. -
Only accept certain trade offers
Dr. McKay replied to timgfx's topic in node-steam-tradeoffer-manager
What's wrong with the multitude of other threads you have asking this question? -
Cookies sometimes undefined after login following session expired?
Dr. McKay replied to Bheem's topic in node-steamcommunity
You're not returning in your if (err) block, so it'll continue as if nothing was wrong if there was a logon error.