romatello Posted May 26, 2018 Report Posted May 26, 2018 I've making my bot and I need to check item market hash name within trade offer, but in offer.itemsToGive and offer.itemsToReceive contains only following information: EconItem { appid: 730, contextid: '2', assetid: '13984115215', classid: '310777179', instanceid: '302028390', amount: 1, missing: false, est_usd: '1', id: '13984115215', fraudwarnings: [], descriptions: [], owner_descriptions: [], actions: [], owner_actions: [], market_actions: [], tags: [], tradable: false, marketable: false, commodity: false, market_tradable_restriction: 0, market_marketable_restriction: 0 } So my question is: How to get market_hash_name? Quote
Dr. McKay Posted May 26, 2018 Report Posted May 26, 2018 You need to set a language in the constructor. Quote
Go Fast Posted June 12, 2018 Report Posted June 12, 2018 (edited) You need to set a language in the constructor.I noticed that when you have language: 'en' in the constructor and have a big inventory the bot will be Killed Is there a way to retrieve the name of the item in a different way? Edited June 12, 2018 by Go Fast Quote
Dr. McKay Posted June 12, 2018 Report Posted June 12, 2018 You could always call the API yourself. But your bot is getting killed because you don't have enough memory. 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.