-
Posts
3408 -
Joined
-
Last visited
Everything posted by Dr. McKay
-
addTheirItems add all items from a appID
Dr. McKay replied to Nacho's topic in node-steam-tradeoffer-manager
Fetch the inventory for only tradable items, then call addTheirItems with the raw array of items. I believe there is an example in the repo that does exactly this. -
market_hash_name will be present on every trading card.
-
The numbers which precede the market_hash_name are indeed the item's corresponding appid. All trading cards have that. You can also use the market_fee_app property.
-
Question Polling file and max pending trades
Dr. McKay replied to OczkoSX's topic in node-steam-tradeoffer-manager
You could if you had some kind of delimiter, but I don't know why you'd want to do that. You can't just naively assign the same data to multiple bots' pollData property. -
Question Polling file and max pending trades
Dr. McKay replied to OczkoSX's topic in node-steam-tradeoffer-manager
30 active outgoing total, 5 active outgoing to a single user. -
Node version? npm version? steam-user version? OS? OS version?
-
For #1, do you want to log users into your site using their Steam accounts, or do you want to login to Steam using a bot? For #2, you can use steam-tradeoffer-manager. At a low level, it's just polling requests to an API endpoint.
-
Can not addMyItems to offer.send, always returns 0
Dr. McKay replied to shizzo's topic in node-steam-tradeoffer-manager
You're trying to send an offer without putting any items in it. My guess is that there's no matching item in your inventory when you loop it to find the item. -
Can not addMyItems to offer.send, always returns 0
Dr. McKay replied to shizzo's topic in node-steam-tradeoffer-manager
Line 53: if(offer.itemsToGive.length!=0) offer.itemsToGive.length will never not be zero immediately after you create the offer. All offers start empty. -
Question offloader.js example problem
Dr. McKay replied to naga's topic in node-steam-tradeoffer-manager
It looks like your Steam Guard Mobile Authenticator is providing incorrect Steam Guard codes. This could be caused by an inaccurate clock or bad timezone settings on your device. -
Is it possible to cancel outgoing offers?
Dr. McKay replied to TomYoki's topic in node-steam-tradeoffer-manager
You'd need to retrieve the TradeOffer object using getOffer or getOffers then call cancel() on that object. -
Question Login without username password? ( openId? Sentry file? )
Dr. McKay replied to agentd00nut's topic in node-steam-user
Even with a user's consent, you should absolutely not be logging into their account. -
Question Login without username password? ( openId? Sentry file? )
Dr. McKay replied to agentd00nut's topic in node-steam-user
There is no way you can login to a user's account without asking for their password. You shouldn't even be trying to do this in the first place. -
You can get your friends list from the myFriends property, by enumerating the object and pulling SteamIDs which have a friend relationship of Friend, example: Object.keys(user.myFriends).forEach(function(steamid) { if (user.myFriends[steamid] == SteamUser.EFriendRelationship.Friend) { // this guy is a friend } }); You can pretty easily push those SteamIDs into an array and then pull a random value from the array.
-
The npm name is just steamcommunity.
-
Discussion fastest way sentOfferChanged to be fired?
Dr. McKay replied to Blue's topic in node-steam-tradeoffer-manager
Per-IP. -
You may.
-
Question GetOwnedApps & Steam Family Sharing
Dr. McKay replied to Revadike's topic in node-steam-user
node-steamstore has a method which retrieves that URL. But yes, please do open an issue on GitHub (linking to this thread) about this as there should be some level of support for distinguishing family-shared games.- 17 replies
-
- node.js
- node-steam-user
- (and 5 more)
-
Offer send return "Not Logged In"
Dr. McKay replied to vmysiur's topic in node-steam-tradeoffer-manager
You can't do that. Always use the same IP. -
Offer send return "Not Logged In"
Dr. McKay replied to vmysiur's topic in node-steam-tradeoffer-manager
Are you using the same account in two places?