MakeCodeNotWar
-
Posts
5 -
Joined
-
Last visited
Posts posted by MakeCodeNotWar
-
-
Now i`m trying to make the same offer with the same code but from another account, and now i got another: Error: There was an error sending your trade offer. Please try again later. (20).
-
McKay, thanks for answering, but I just don`t get it, my acc is logged, i`m trying to send offer for my friend, to get his item, but i get an error: some bla-bla + "In order to protect the items in your inventory, you will be unable to trade from this device for 7 days.", but in my steamcommunity i could send it.
My code:
var offer = manager.createOffer("[U:1:STEAMID]"); offer.addTheirItem({"appid": 570, "contextid": 2, "assetid": "247762039"}); offer.send("Hi there", "TOKEN", function(err, status) { if (err) { console.log("There`s an error: " + err); } else { console.log("Offer #" + offer.id + " " + status); } });
STEAMID - my friend steamID.
TOKEN - his token from Trade Link.
I begging you, please mate, tell me what am I doing wrong, cause my head gonna be crashed soon. -
var offer = manager.createOffer("[U:1:46143802]"); offer.addMyItem({"appid": 440, "contextid": 2, "assetid": "1234567890"}); offer.send("Hi there", "KYworVTM", function(err, status) { if (err) { console.log(err); } else { console.log("Offer #" + offer.id + " " + status); } });
Something like that, where [u:1:46143802] is my SteamID and KYworVTM is my trade token.
Hi there McKay. Im not strong in JS as you, so could u help, i just need an example like that, but if i want to recieve items from another person. Thanks you, mate, for all job that you`ve done!
How to createOffer properly?
in node-steam-tradeoffer-manager
Posted
It works! That code is correct. Make sure that your account not in 7-days block, that your token and partner id correct, that your item asset id correct and all gonna be fine! I`m thankful as hell for you, McKay, for all job that you`ve done.