chnel Posted October 25, 2016 Report Posted October 25, 2016 Hi there, i've been trying to do a bot as hobby. All the think i've been trying to is send a tradeoffer to my other account for spesific item. I've done it with the item id, which i get it by html code from chrome.What i want to do is get that item id and send the offer.Ex : i've a deagle sunset ww and i want to sent offer to myaccount2 this item for usp-s orion mw. Quote
Dr. McKay Posted October 26, 2016 Report Posted October 26, 2016 There are some examples in the examples directory that may help: https://github.com/DoctorMcKay/node-steam-tradeoffer-manager/tree/master/examples Quote
chnel Posted October 26, 2016 Author Report Posted October 26, 2016 (edited) There are some examples in the examples directory that may help: https://github.com/DoctorMcKay/node-steam-tradeoffer-manager/tree/master/examplesWell, thanks your time again but i could not figured out how to get assetid of item i want. Edited October 26, 2016 by chnel Quote
Dr. McKay Posted October 26, 2016 Report Posted October 26, 2016 The documentation is pretty clear about how to add an item by assetid: https://github.com/DoctorMcKay/node-steam-tradeoffer-manager/wiki/TradeOffer#addmyitemitem Quote
chnel Posted October 26, 2016 Author Report Posted October 26, 2016 The documentation is pretty clear about how to add an item by assetid: https://github.com/DoctorMcKay/node-steam-tradeoffer-manager/wiki/TradeOffer#addmyitemitemYes it absolutely is, but what i tried to ask was not how to add an item by assetid. It was how to find it. Quote
chnel Posted October 26, 2016 Author Report Posted October 26, 2016 manager.loadUserInventory("steam64id", 730, 2, false, function (err, inventory) { if (err) { console.log(warning("[WARNING]: Couldn't load inventory of " + user + "!")); } else { for (var p = 0; p< inventory.length; p++) { if (inventory[p].name == "skinname") { console.log(inventory[p].assetid); } } } }); here is how its solved if anyone needs.set the steam id and skin name it will write down the asset id. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.