-
Posts
3545 -
Joined
-
Last visited
Everything posted by Dr. McKay
-
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? -
Offer send return "Not Logged In"
Dr. McKay replied to vmysiur's topic in node-steam-tradeoffer-manager
You should log back in when that happens. -
https://httpstatuses.com/429 Slow down.
-
I haven't had a chance yet.
- 7 replies
-
- node.js
- node-steam-user
-
(and 2 more)
Tagged with:
-
No, sorry, I can't write the code for you.
-
You'd need to use node-steam-user for that, node-steamcommunity wouldn't work. Look around for the invite-related events.
-
It's been experienced that Steam just won't send codes to some numbers. I'd suggest contacting Steam Support.
-
It's not possible to get a listing of all items from Steam economy. The closest you can get is scraping the market.
-
Question Checking trade url without creating offer.
Dr. McKay replied to jafix's topic in node-steam-tradeoffer-manager
No, as there's no requests to Steam involved in just creating a TradeOffer object. It all happens locally in memory, up until you send it (or call getUserDetails). -
itemsToGive and itemsToReceive are both arrays. If you don't know what this means, please take some online classes on JavaScript.
-
message == "something"
-
You can download specific files for a game (like items_game.txt) using node-steam-user.