-
Posts
3629 -
Joined
-
Last visited
Everything posted by Dr. McKay
-
I don't know, but it makes sense to me. Are you requesting your own inventory while logged in, or others'?
-
Nobody knows what goes on at Valve, but the rate-limit for inventories was made much more strict yesterday. Nobody knows if it will change again in the future.
-
How to use "getInventoryHistory([options, ]callback)"
Dr. McKay replied to Rzeszow's topic in node-steamcommunity
Swap the order of history and err (order matters), but yes. -
How to use "getInventoryHistory([options, ]callback)"
Dr. McKay replied to Rzeszow's topic in node-steamcommunity
They're provided to the callback. The second argument (on success) is an object which has a property trades, which is an array of objects which contain trade data. -
How to use "getInventoryHistory([options, ]callback)"
Dr. McKay replied to Rzeszow's topic in node-steamcommunity
Have you read the documentation? What's unclear to you? -
Question How to only accept CSGO keys in 'newOffer'
Dr. McKay replied to Coyeks's topic in node-steam-tradeoffer-manager
Set a language in your constructor if you haven't already, and then the item should have a name property you can check. -
502 = Bad Gateway Have you tried again after some time?
-
Data types shouldn't matter. The module should convert everything internally for you. Are you absolutely sure you're using asset IDs which are owned by the account you're logged into? Maybe you mixed up some accounts?
-
It usually helps to print out values of variables when debugging. In this case, I suspect one of appid, contextid, or assetid is undefined or not the value you are expecting.
-
https://github.com/DoctorMcKay/node-steam-user#myfriends
-
"Currencies" are a weird thing that I don't think anyone except Spiral Knights uses.
-
You must use assetid. You can't use classid or instanceid when sending a trade offer.
-
Never throw away an error. Check err before you try to do anything. Also, I sincerely hope that isn't your actual secret.
-
Steam Community Not logged in Error
Dr. McKay replied to spock's topic in node-steam-tradeoffer-manager
https://github.com/DoctorMcKay/node-steamcommunity/wiki/SteamCommunity#sessionexpired When your session expires, just log in again. If you logged in via steam-user, call webLogOn again. If you logged in via steamcommunity, call login again. -
Error: Not Logged In after much time
Dr. McKay replied to laroz's topic in node-steam-tradeoffer-manager
Your session has expired. Log in again. -
Can viewing other's friends be addded to CSteamUser?
Dr. McKay replied to botsbytim's topic in node-steamcommunity
Use the WebAPI for that. -
There is no way to do this. You can parse the CS:GO item schema that ships with the game, but I don't believe it'll get you what you want.
-
Log in again.
-
You should try again.
-
Use node-steamcommunity for that: https://github.com/DoctorMcKay/node-steamcommunity/wiki/CSteamGroup#joincallback
-
Sending a message to Trade Offer partner
Dr. McKay replied to MikesTooLz's topic in node-steam-tradeoffer-manager
Right. If you were using node-steam-user then just using offer.partner would work, but since you're using node-steam you need to convert it to a string. -
Run npm update and it should go away.
-
Sending a message to Trade Offer partner
Dr. McKay replied to MikesTooLz's topic in node-steam-tradeoffer-manager
I assume friends is not node-steam-user? -
Once you're logged in, you need to use the same IP for all your requests.