Jump to content
McKay Development

Recommended Posts

Posted

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?

  • 3 weeks later...
Posted (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 by Go Fast

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...