-
Posts
3545 -
Joined
-
Last visited
Everything posted by Dr. McKay
-
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.
-
[Help] I want to send a single Item.
Dr. McKay replied to Hollo1001's topic in node-steam-tradeoffer-manager
Yes, the exterior is available in both the tags and the market_name. -
[Help] I want to send a single Item.
Dr. McKay replied to Hollo1001's topic in node-steam-tradeoffer-manager
offer.addMyItem(inventory) inventory here is an array of items. If you want to grab the first item from your inventory then use inventory[0]. -
It does not.
-
That looks right to me. Are you friends with the people you're requesting data for?
-
client.setPersona(SteamUser.EPersonaState.Offline); That says offline to me.
-
That shouldn't be possible. All I can figure is that you aren't grabbing the same item, or else it's already left your inventory.
-
I'm not sure I'm following. An offer is accepted, you call getReceivedItems and save its ID. Then you load your inventory and the ID of the item in your inventory is different?