Jump to content
McKay Development

Get paint_wear of all items from someone inventory.


Recommended Posts

Posted

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)
Posted

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)
   
   
   
   
    });
});

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...