-
Posts
3545 -
Joined
-
Last visited
Everything posted by Dr. McKay
-
How to get inventory contents of a steamuser
Dr. McKay replied to HeilShuckle's topic in node-steam-user
You can't do it with node-steam-user. You'll want node-steamcommunity to do that. -
steam-tradeoffer-manager uses this API: https://lab.xpaw.me/steam_api_documentation.html#ISteamEconomy_GetAssetClassInfo_v1
- 1 reply
-
- node.js
- node-steam-tradeoffer-manager
-
(and 1 more)
Tagged with:
-
Question Offer cancelTime inaccurate. Why is it?
Dr. McKay replied to Baterka's topic in node-steam-tradeoffer-manager
I can't really support modules I didn't write, but to be sure the problem isn't with my module, I need more information. Anytime you get an error, give the entire output. -
The item.fraudwarnings array contains the item's fraud warnings. If you want to see if there an exists an item in that array which literally matches "This item has been renamed", you can use item.fraudwarnings.includes("This item has been renamed") The problem is that typically, that isn't the exact text. Usually items which have been renamed also include their original names in the fraud warning. In this case, you'll need to loop the array and use includes on each entry.
-
Question Offer cancelTime inaccurate. Why is it?
Dr. McKay replied to Baterka's topic in node-steam-tradeoffer-manager
As per the documentation, if you pass a node-steam-user instance to the constructor, then you will get real-time notifications if an offer you sent was accepted, provided you received items in that offer. -
TypeError: Cannot read property 'type' of null when relog()
Dr. McKay replied to xLeeJYx's topic in node-steam-user
You can only relog while connected. If you're not connected, you need to login again. -
TypeError: Cannot read property 'type' of null when relog()
Dr. McKay replied to xLeeJYx's topic in node-steam-user
Need more detail. Please show the entire output, and your code. -
You can create an offer and use getUserDetails. If the token is bad, it will error.
- 2 replies
-
- node.js
- node-steam-tradeoffer-manager
-
(and 3 more)
Tagged with:
-
limited steam account = wont work ?
Dr. McKay replied to xLeeJYx's topic in node-steam-tradeoffer-manager
Because they can't get API keys, and this module needs to use the API. -
limited steam account = wont work ?
Dr. McKay replied to xLeeJYx's topic in node-steam-tradeoffer-manager
Guess what? As per the documentation, limited accounts don't work. -
Question Offer cancelTime inaccurate. Why is it?
Dr. McKay replied to Baterka's topic in node-steam-tradeoffer-manager
As per the documentation, it only cancels offers as the result of a poll, so the actual cancel time is whatever you set it to +/- your poll interval. -
Show your code and the entire output.
-
Question chatState "Cannot read property chatState of undefined"
Dr. McKay replied to TheQuestion2's topic in node-steamcommunity
That's my bad, sorry. Update to 3.32.2. -
Please read the documentation. An error event is emitted if there's a problem logging on. Also, you should under no circumstances be collecting credentials from users.
-
Worked fine for me. Note that it won't do anything if you already own those apps.
-
If you're asking how to check if the bot is connected to Steam, check if user.steamID is not null. If you're asking how to check if the web session is still valid, node-steamcommunity has some stuff for that.
-
I'd need to see how you're saving it, but it's not unlikely that the cookies are just expiring.
-
Yeah, that should probably have a GitHub issue made for it.
-
details is not yet defined.
-
Not planning to add the feature right now, no.
-
The way you've written it here is correct. The error indicates that you're trying to access the variable outside of the scope where it was defined.
-
Not currently possible.
-
community.login()
-
Create a new SteamCommunity instance.