-
Posts
3403 -
Joined
-
Last visited
Everything posted by Dr. McKay
-
How do you know that it's a new thing?
Dr. McKay replied to Mike's topic in node-steam-tradeoffer-manager
https://github.com/DoctorMcKay/node-steam-tradeoffer-manager/wiki/TradeOffer#getreceiveditemsgetactions-callback -
How to check if im connected to steam network?
Dr. McKay replied to trzyrazyzero's topic in node-steam-user
The steamID property will be null if you aren't connected. It'll be a SteamID object if you are. -
Question how can i add items to send and to recieve ?
Dr. McKay replied to N4d!r's topic in node-steam-tradeoffer-manager
Assuming all items are CS:GO items... var offer = manager.createOffer("https://steamcommunity.com/tradeoffer/new/?partner=123456&token=xxxxxx"); offer.addMyItems([ { "appid": 730, "contextid": 2, "assetid": "6908727870" }, { "appid": 730, "contextid": 2, "assetid": "6901768067" } ]); offer.addTheirItems([ { "appid": 730, "contextid": 2, "assetid": "847548541" }, { "appid": 730, "contextid": 2, "assetid": "325415748" } ]); offer.send(function(err, status) { if (err) { throw err; } console.log("Offer #" + offer.id + " is now " + status); }); -
getReceivedItems for sent offers
Dr. McKay replied to adammo's topic in node-steam-tradeoffer-manager
Just call getReceivedItems after the offer is accepted. -
Just keep trying to accept it. As far as I can tell, error 28 just means Steam is being bad.
-
The API isn't going anywhere.
-
Best way to detect invalid cookies.
Dr. McKay replied to RafGDev's topic in node-steam-tradeoffer-manager
Yeah it only happens when an HTTP request fails. If you aren't making requests then it won't be emitted. -
Don't install it globally.
-
I don't know the specific number.
-
There might be some confusion here. The expires property is Steam's expiration date, which is always 14 days from creation time and can't be changed. cancelTime works independently of it.
-
Would it be possible to add a method to read steam profile comments?
Dr. McKay replied to cob's topic in node-steamcommunity
I started working on that some time ago but I had to put it on hold. Maybe I'll get around to it soon. Pull requests are always welcome. -
Best way to detect invalid cookies.
Dr. McKay replied to RafGDev's topic in node-steam-tradeoffer-manager
https://github.com/DoctorMcKay/node-steamcommunity/wiki/SteamCommunity#sessionexpired -
The limit is higher than 2 per minute.
-
I... I don't even know what you did here. Did you copy the implementation from the code and paste it? Why??
-
Using a bunch of sockpuppet accounts to fake votes sounds like a good way to get yourself banned.
-
I think that's a very, very bad idea.
-
I don't think bot-voting is a terribly great idea.
-
How would i get a trade item's instance id?
Dr. McKay replied to KiTa's topic in node-steam-tradeoffer-manager
Yes, it is always a bad idea. You should check the item's name to see if it's a key. -
https://www.google.com/search?q=node.js+screenshot&ie=utf-8&oe=utf-8
-
All you have to do is call startConfirmationChecker first. You can do it synchronously.
-
How would i get a trade item's instance id?
Dr. McKay replied to KiTa's topic in node-steam-tradeoffer-manager
You don't want to use instanceid to identify a type of item. See here: https://dev.doctormckay.com/topic/332-identifying-steam-items/ -
sent Offer remains in state 2
Dr. McKay replied to RavenX86's topic in node-steam-tradeoffer-manager
It does take the cookies, but calling manager.setCookies is still important as that's when it grabs the API key.