-
Posts
3 -
Joined
-
Last visited
Posts posted by Testnet
-
-
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")); }); } }
-
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
Getting Item Details from CSGO Casket Items
in node-steamcommunity
Posted
But it seems that there is no market name in data for casket items?
Or am I missing something?