AshIgorash Posted June 23, 2023 Report Share Posted June 23, 2023 Is there any method by which I can find the paint_wear of all the items in someone's inventory. I tried this code using globaloffensive but it doesn't print anything: csgo.on('connectedToGC', () => { console.log('Connected to CS:GO Game Coordinator'); csgo.inspectItem("76561202255233023","30848107082","12134527536543334116",function(item) { if (err) { console.log(err); return; } console.log(item) Quote Link to comment Share on other sites More sharing options...
Dr. McKay Posted June 23, 2023 Report Share Posted June 23, 2023 Have you launched CSGO? Does your account have a license for it? Are those inspect parameters valid? Quote Link to comment Share on other sites More sharing options...
AshIgorash Posted June 24, 2023 Author Report Share Posted June 24, 2023 Yes, I launch it, parameters are valid, also I tried to put whole insept link at owner but I dont get anything. const SteamUser = require('steam-user'); const GlobalOffensive = require('globaloffensive'); const SteamTotp = require('steam-totp'); const userMarar = require('./config.json'); const { time } = require('console'); let user = new SteamUser(); let csgo = new GlobalOffensive(user); let logOnOptions = { "accountName": "name", "password": "pass", "twoFactorCode": SteamTotp.generateAuthCode(userMarar["shared_secret"]) }; user.logOn(logOnOptions); user.on('loggedOn', function() { console.log("Logged into Steam"); user.setPersona(SteamUser.EPersonaState.Online); user.gamesPlayed([730]); }); csgo.on('connectedToGC', () => { console.log('Connected to CS:GO Game Coordinator'); csgo.inspectItem("76561202255233023","30999439917","2612242276566628011",function(item) { if (err) { console.log(err); return; } console.log(item) }); }); Quote Link to comment Share on other sites More sharing options...
Dr. McKay Posted June 25, 2023 Report Share Posted June 25, 2023 That all looks correct. Is your user appearing as in-game on its Steam profile? Quote Link to comment Share on other sites More sharing options...
AshIgorash Posted June 25, 2023 Author Report Share Posted June 25, 2023 Yes, it goes online and nothing happens, if I try to request profile info for example, I get all information but only InspectItem doesnt work. Quote Link to comment Share on other sites More sharing options...
Dr. McKay Posted June 26, 2023 Report Share Posted June 26, 2023 Dunno, sounds like your request params aren't valid. Quote Link to comment Share on other sites More sharing options...
AshIgorash Posted June 26, 2023 Author Report Share Posted June 26, 2023 I found out the problem, I cant even inspect any items in game, idk why. I tried on multiple accounts and nothing. Quote Link to comment Share on other sites More sharing options...
AshIgorash Posted June 26, 2023 Author Report Share Posted June 26, 2023 I got it!! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.