-
Posts
3631 -
Joined
-
Last visited
Everything posted by Dr. McKay
-
You need to provide the asset owner's SteamID as well. The linked repository only indicates that S is optional because you need either S or M (M is used for market listings).
-
Giving an access token to a third-party site is effectively the same thing as giving them your username, password, and mobile auth code. I wouldn't recommend it.
-
No, use steam-session for that.
-
manager.on("offerList") not working
Dr. McKay replied to vinilllll's topic in node-steam-tradeoffer-manager
The third-party typescript definitions haven't been updated for 2.11.0. Just suppress the error. -
Cannot reproduce. Are you on the latest version?
-
Expireafter in trade doesn't work
Dr. McKay replied to Stan1slaw's topic in node-steam-tradeoffer-manager
Cannot reproduce. -
Duplicate of several threads here: https://dev.doctormckay.com/forum/9-node-steam-tradeoffer-manager/
-
The manager dosent seems to be working
Dr. McKay replied to TheMaster's topic in node-steam-tradeoffer-manager
That's the point. Enabling useAccessToken disable fetching an API key. -
steam web api not return new offers (cs2 item)
Dr. McKay replied to xeroz333's topic in node-steam-tradeoffer-manager
Not that I'm aware of. I've heard, but not personally confirmed, that if you use an access token you still receive CS2 offers as normal. -
steam web api not return new offers (cs2 item)
Dr. McKay replied to xeroz333's topic in node-steam-tradeoffer-manager
Yes, that seems to be correct. -
Discussion how can i get the token in the offerURL
Dr. McKay replied to Ferriar_幽助's topic in node-steam-tradeoffer-manager
No. That would defeat the purpose of the token. -
Question about getOffer and getOffers functions
Dr. McKay replied to kast0l's topic in node-steam-tradeoffer-manager
Yes. -
You need to call setCookies on the TradeOfferManager instance, not on the SteamCommunity instance. TradeOfferManager's setCookies also retrieves your account's API key.
-
You just need to call setCookies each time the webSession event is emitted. You don't need to create a new TradeOfferManager or SteamCommunity.
-
Use webLogOn() to get a new web session when that happens. It's a good idea to do that at least every hour or so as well.
-
You could use the IEconService/GetTradeOffer API method to fetch the trade offer details, which would include the user's SteamID. creator_id is the ID of the trade offer.
-
The sessionid cookie should indeed be universal. You can use whatever value you want.
-
That means it couldn't find any pending confirmations that map to an object (trade offer, market listing, or other) with that ID.
-
Probably not.
-
You'll be fine if you store this in your database.