Jump to content
McKay Development

Testnet

Member
  • Posts

    3
  • Joined

  • Last visited

Everything posted by Testnet

  1. But it seems that there is no market name in data for casket items? { "attribute": [ { "def_index": 272, "value": null, "value_bytes": { "type": "Buffer", "data": [ 109, 113, 17, 234 ] } }, { "def_index": 273, "value": null, "value_bytes": { "type": "Buffer", "data": [ 4, 0, 0, 0 ] } } ], "equipped_state": [], "id": "20508387521", "account_id": 118098, "inventory": 1, "def_index": 4548, "quantity": 1, "level": 1, "quality": 4, "flags": 0, "origin": 0, "custom_name": null, "custom_desc": null, "interior_item": null, "in_use": false, "style": null, "original_id": null, "rarity": 1, "position": 1, "casket_id": "21106880877" }, Or am I missing something?
  2. So I have tried to get item details Bia inspectItem, but this does not seem to work for me.. happy for any help on how to get to a market name for (let i in csgo.inventory) { if (csgo.inventory[i].casket_contained_item_count) { csgo.getCasketContents(csgo.inventory[i].id, function (err, data) { if (err) return console.error(err); for (let i in data) { csgo.inspectItem( client.steamID, data[i].id, "730", function (err, data) { if (err) return console.error(err); console.log(data); } ); } // FS.writeFileSync(new Date().toISOString() + "_casket.json", JSON.stringify(data, null, "\t")); }); } }
  3. Hi there, I am currently trying to get the "market_name" or "market_hash_name" from items in a CSGO casket. It seems that inspectItem is not available in a CSGO instance, so what would be the best way to retrieve that item name? Best
×
×
  • Create New...