Nacho Posted July 2, 2017 Report Posted July 2, 2017 Hello, when I load a user inventory it doesn't return me the market_hash_name. It only gives me the id, assetid, appid, contextid and amount. Thank you! Quote
Nacho Posted July 3, 2017 Author Report Posted July 3, 2017 Because you haven't set a language.Yes, I did it const manager = new TradeOfferManager({ steam: client, domain: 'localhost', language: 'en', pollInterval: 10000 }); Quote
Nacho Posted July 3, 2017 Author Report Posted July 3, 2017 Show your code. manager.loadUserInventory(steamID, 730, 2, true, (err, theirInv) => { if (err) { console.log(err); } else { ...Then I stringify because I need to save it on a JSON, in the .JSON file I saw that market_hash_name didn't appeared. Quote
Dr. McKay Posted July 3, 2017 Report Posted July 3, 2017 loadUserInventory is deprecated. Use getUserInventoryContents instead. Nacho 1 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.