-
Posts
3545 -
Joined
-
Last visited
Everything posted by Dr. McKay
-
Question Logging in anonymously and relogging with an account
Dr. McKay replied to lad's topic in node-steam-user
It may not have anything to do with an avatar, but I couldn't tell you why there's a discrepancy. -
That's correct. There's no way, using node-steam-user, to decrypt filenames without parsing the manifest. I don't have any plans to support this as I don't see a valid use-case for that.
- 4 replies
-
- node.js
- node-steam-user
-
(and 4 more)
Tagged with:
-
The error seems to be originating in the dota2 module, which I can't support.
-
Question 'editProfile' and Profile Showcase
Dr. McKay replied to Vanilla's topic in node-steamcommunity
Currently, profile showcases aren't really supported. -
How to make manager do something when trade succeded
Dr. McKay replied to xLeeJYx's topic in node-steam-tradeoffer-manager
manager.offer doesn't exist. You want this: manager.on('receivedOfferChanged', (offer) => { community.postUserComment(offer.partner.toString(), 'Test'); }); -
Question Logging in anonymously and relogging with an account
Dr. McKay replied to lad's topic in node-steam-user
You need to call community.setCookies inside of SteamUser's webSession event in order to get steamcommunity to use a login session. -
How to make manager do something when trade succeded
Dr. McKay replied to xLeeJYx's topic in node-steam-tradeoffer-manager
You need quotes around receivedOfferChanged. That should have just crashed without doing anything. -
Question Logging in anonymously and relogging with an account
Dr. McKay replied to lad's topic in node-steam-user
You need to wait for the disconnected event to know that you're logged off. You can't log back on using the same object until then. My suggestion is to just create a new SteamUser object for each login. -
Issue to relog for bot, especially on tuesday maintenance
Dr. McKay replied to nikoF's topic in node-steam-user
webLogOn() and wait for the webSession event. -
Version 6 is not a downgrade. It's 6.0.0, which is a couple years newer than when 0.10 first came out. Later versions of node typically aren't available in repositories. You'll need to install it yourself. If you're on Ubuntu x64, you can use this script: https://www.doctormckay.com/installnode.sh It probably works on other distros too (x64 only) but I've only tested it on Ubuntu.
-
How to make manager do something when trade succeded
Dr. McKay replied to xLeeJYx's topic in node-steam-tradeoffer-manager
If you're accepting incoming offers, listen for the receivedOfferChanged event and do something when the state is Accepted. If you're sending offers, listen for the sentOfferChanged event and do something when the state is Accepted. -
You need version 6 or later.
-
What version of node are you running?
-
It's not presently possible, but I can try to look into it soon.
- 7 replies
-
- node.js
- node-steam-user
-
(and 2 more)
Tagged with:
-
Because specifying a language makes the module fetch item descriptions, which involves extra requests.
-
Have you set a language in your constructor options?
-
It's happening in getUserInventoryContents. That means that the Steam inventory servers are busy and you'll need to try again later.
-
Yes, use the WebAPI: https://lab.xpaw.me/steam_api_documentation.html#ISteamUser_GetFriendList_v1
-
offer.itemsToGive/Recieve.length Doesn't Exist
Dr. McKay replied to African's topic in node-steam-tradeoffer-manager
You must be passing it an offer that isn't a TradeOffer. -
Question Sending the items one by one, and loops
Dr. McKay replied to IdiotScriptieKid's topic in node-steam-tradeoffer-manager
What do you mean? Do you want to iterate over each element in an array? -
node-steamcommunity's confirmation-related stuff.
-
Question GetOwnedApps & Steam Family Sharing
Dr. McKay replied to Revadike's topic in node-steam-user
You really, really shouldn't be getting family shared games. I'll have to look into this when I get a chance.- 17 replies
-
- node.js
- node-steam-user
- (and 5 more)
-
It works the same way as for trade confirmations.
-
Question GetOwnedApps & Steam Family Sharing
Dr. McKay replied to Revadike's topic in node-steam-user
Did you copy the sentry file from your Steam installation to use with node-steam-user?- 17 replies
-
- node.js
- node-steam-user
- (and 5 more)
-
Question Sending the items one by one, and loops
Dr. McKay replied to IdiotScriptieKid's topic in node-steam-tradeoffer-manager
addMyItems will only work with an array of multiple items (which is what inventory is). You need to use addMyItem to add a single item (e.g. a single element from inventory). The inventory[1] syntax retrieves element #1 from the inventory array (an array is essentially a list). Note that since numbering starts at 0, element #1 is the second ordinal element.