Schmaltz Posted October 15, 2017 Report Posted October 15, 2017 (edited) From this: var offer = manager.createOffer("https://steamcommunity.com/tradeoffer/new/?partner=....");manager.getInventoryContents(753, 6, true, (err, inventory, currencies) => { inventory.forEach(item => { offer.addMyItem(item); }); offer.send();});} I'm trying to figure out how to add items from a different inventory sections into the same trade, for example send one single trade that contains both steam(753) and csgo(730) items.. all of the things I have tried so far seems to either send one or the other but never both. edit: got it working, turned out I kept putting offer.send(); inside the bottom of the first getInventoryContents call, and not inside of the nested secondary getInventoryContents call, which was resulting in only getting the items from the first call. silly me <3 Edited October 15, 2017 by Schmaltz Quote
Dr. McKay Posted October 15, 2017 Report Posted October 15, 2017 Add another call to getInventoryContents inside the callback of the first one. 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.