-
Posts
3408 -
Joined
-
Last visited
Everything posted by Dr. McKay
-
addMyItem takes one argument, which should be an object.
-
Question Passport Steam login and steamcommunity
Dr. McKay replied to spenser_l's topic in node-steamcommunity
No, "sign in through Steam" doesn't provide any kind of access to the user's Steam account. All it does is give you a verified SteamID. -
Question Send/receive messages to/from non-friends
Dr. McKay replied to Kim's topic in node-steam-user
Yeah, that should work. -
Question Send/receive messages to/from non-friends
Dr. McKay replied to Kim's topic in node-steam-user
You should be able to send messages to non-friends if you're in a group chat with them, but that's about it I think. -
Question I need to handle some concurrency ?
Dr. McKay replied to Unsigno's topic in node-steam-tradeoffer-manager
There's no concurrency concern with sending offers, but if you send offers too frequently (or you send too many offers) then Steam will start limiting you. You're limited to 30 total active outgoing offers, and 5 active outgoing offers to the same recipient. There are also request rate-limits. -
Question I need to handle some concurrency ?
Dr. McKay replied to Unsigno's topic in node-steam-tradeoffer-manager
The createOffer method doesn't do anything on the network. It just creates a new object in memory, which you can add items to and set properties on. Nothing of value actually happens until you call offer.send(). So that means you can call createOffer as many times as you want. You could call it a million times in a second if you wanted and nothing would break. Of course, sending offers that frequently isn't gonna work. -
How to get inventory contents of a steamuser
Dr. McKay replied to HeilShuckle's topic in node-steam-user
-
Question how to get message from my trade offer
Dr. McKay replied to Mad_F12's topic in node-steam-tradeoffer-manager
Just offer.message. -
That's just one of those Steam errors that happens. Slowing down may help, and it may not.
-
How to get inventory contents of a steamuser
Dr. McKay replied to HeilShuckle's topic in node-steam-user
community = new SteamCommunity(); community.login({"accountName": "username", "password": "password", "twoFactorCode": "ABCDE"}, (err, sessionID, cookies, steamguard, oAuthToken) => { if (err) { throw err; } community.getUserInventoryContents("[U:1:46143802]", 730, 2, true, (err, inventory) => { if (err) { throw err; } console.log(inventory); }); }); -
How to get inventory contents of a steamuser
Dr. McKay replied to HeilShuckle's topic in node-steam-user
Please read the documentation. It's fairly straightforward. -
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.