-
Posts
3386 -
Joined
-
Last visited
Everything posted by Dr. McKay
-
Cant login to SteamCommunity, [Error: SteamGuardMobile]
Dr. McKay replied to spazhead's topic in node-steamcommunity
Why are you logging in twice within 30 seconds anyway? -
Cant login to SteamCommunity, [Error: SteamGuardMobile]
Dr. McKay replied to spazhead's topic in node-steamcommunity
Your clock is wrong, your secret is wrong, or you're trying to reuse a code. I see that you're trying to get the time offset, but what you're doing won't work as you aren't waiting for the callback. Please read a bit about how asynchronous JavaScript works. If you want the time offset check to work, then you need to put everything inside the callback of getTimeOffset. -
You either aren't using steam-tradeoffer-manager, or you aren't setting it up properly. TradeOfferManager#setup() doesn't exist.
-
items now unavailable for trade
Dr. McKay replied to mantelis123's topic in node-steam-tradeoffer-manager
You can use getOffersContainingItems to see if there are any offers containing a particular item, and if yes, then move on to the next one. Or just store the asset IDs yourself so you don't reuse them. -
Either your secret is wrong, or your clock is wrong.
-
You need to wait until the loggedOn event is emitted.
-
Are you up to date?
-
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(); }