DoctorMcKay / node-globaloffensive

A Node.js module to connect to and interact with the CS2 game coordinator. Mostly used to get item data.
https://www.npmjs.com/package/globaloffensive
MIT License
262 stars 61 forks source link

get item names from storage unit? #49

Closed nightmare6767 closed 4 years ago

nightmare6767 commented 4 years ago

hello, i use node steamcommunity to fetch inventory but is there a way i can get items in storage units with their names?

would appreciate any help

DoctorMcKay commented 4 years ago

No, it's not possible to retrieve any data about what's in a storage unit without connecting to the GC using the account that owns the storage unit.

nightmare6767 commented 4 years ago

i meant for myself i will connect to GC but i did not see a way to get item names only ids

DoctorMcKay commented 4 years ago

It's technically possible to figure out what particular items are from the GC data, but CS:GO is a complete mess and you're far better off keeping track of what items map to what IDs before you put them into your storage unit.