-
Posts
12 -
Joined
-
Last visited
Posts posted by Ferriar_幽助
-
-
there is the another way i do this .
client.addFriend("76561198253857131", function (err, name) { if(err){ console.log(err); return; }else { console.log("用户å:",name); } });
but it also seems not work. does someone help me. thinks a lot.
-
the following is my code.
client.on('friendRelationship', function (steamID, relationship) { if (relationship == SteamUser.Steam.EFriendRelationship.RequestRecipient){ steamID == "76561198253857131"; client.addFriend(steamID); } })
for example.my friend's SteamID64 is 76561198253857131.
but the code seems not executed.
how to deal with the pro.
-
Is there any possibility to fetch the users I follow in Steam? I couldn't find something about this in the docs.
you follow in Steam? does it means your friend in your steam friendlist?
-
getExchangeDetails.
thx a lot, i know the difference.
it should be addTheirItem(s) or addMyItem(s) method, if we want to get the offer's info we should use itemsToReceive, and we use the two method to set transfer info.
-
Depending on what library you're using, there might be a method to get contexts.
That said, it's likely any items you're interested in have a static, global context ID. For example, all current Valve games (TF2, CS:GO, etc) have a single context ID of 2. Steam Community items (emoticons, backgrounds, etc.) have a context ID of 6.
Got it. thx a lot.
-
getExchangeDetails.
and if i want to get the items in the offer i send to others. which method i should to use
-
i know how to get the appid. but how can i know the contextID
-
You should collect the token by asking the user for their trade URL.
i realized the most web if we want send the offer, the user's offerurl is provided by themself,
i just want get the token parameter. Is there any way to get it?
-
Just remove the code if you just want send 1 item.
offer.addMyItems(inventory);
have a try!
-
Hi all, i need your help.
i can't get the token when i want to send others a offer.
which method i need to use.
thanks a lot.
var offer = manager.createOffer(offSteamID);
var accountid = offer.partner.accountid;
console.log(accountid);
-
did someone Encountered the case.
when i login the steam. it prompt
Error: Access Denied at SteamCommunity.<anonymous> (/Users/ltmacmini/Desktop/SteamBot/node-steam-tradeoffer-manager-master/node_modules/steamcommunity/components/webapi.js:15:20)
Does someone can help me?
thanks a lot.
i have a problem when i try to add some friends
in node-steam-user
Posted
solved.
i should try to do this after i get my bot apiKey.