Jump to content
McKay Development

I cant receive info from items.


Rodrigo Garcia

Recommended Posts

Hello people, i can t receive info from the items. I dont know why never work. I try in very much times, and i read very much post of this forum. But i never receive responds from the steam items. I try to see mi inventory items info. (itemid, rarity, etc).
This is the code: (sorry for ask, i cant do it in days)

const SteamUser = require('steam-user');
const GlobalOffensive = require('globaloffensive');


let user = new SteamUser();
let csgo = new GlobalOffensive(user);

const logInOptions = {
  accountName: "miacountname",
  password: "mypassword"
}


user.logOn(logInOptions);

user.on('loggedOn', res => {
  console.log("Logged into Steam as " + user.steamID.getSteam3RenderedID());

  user.setPersona(SteamUser.EPersonaState.Online);
  user.gamesPlayed(730);
  
});
  csgo.on('connectionStatus', console.log);
  csgo.on('connectedToGC', () => {
  console.log('Connected to GC!');
  csgo.on('inspectItemInfo',function(skin){
    console.log(skin);
  });
 });


Connect perfectly but when is the part of receive item info to mi console, not receive nothing. I have mi inventory in public.
I dont know if an error in the promess, in concepts or in a little error (my error).

Link to comment
Share on other sites

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...