-
Posts
12 -
Joined
-
Last visited
Everything posted by Ferriar_幽助
-
i have a problem when i try to add some friends
Ferriar_幽助 replied to Ferriar_幽助's topic in node-steam-user
solved. i should try to do this after i get my bot apiKey. -
i have a problem when i try to add some friends
Ferriar_幽助 replied to Ferriar_幽助's topic in node-steam-user
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.
-
you follow in Steam? does it means your friend in your steam friendlist?
-
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.
-
Got it. thx a lot.
-
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
-
[Help] I want to send only 1 item in trade !
Ferriar_幽助 replied to Kamcio133's topic in node-steam-tradeoffer-manager
Just remove the code if you just want send 1 item. offer.addMyItems(inventory); have a try!