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

inspectItem only works for some steam accounts #33

Closed jcohenho closed 5 years ago

jcohenho commented 5 years ago

Hi there,

Is there any reason that csgo.inspectItem method would only work for some steam accounts but not for others? I can successfully get item data returned from one steam account, but not when I try it from another. Are there settings that need to be configured that I may be forgetting about?

jcohenho commented 5 years ago

Found the problem! The other steam account did not have CS:GO added to its library. The game needs to be added, and perhaps booted up and then inspect inventory in-game first.

DoctorMcKay commented 5 years ago

You can use requestFreeLicense to request a license for a free game.