Rodrigo Garcia Posted December 23, 2023 Report Posted December 23, 2023 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). Quote
Rodrigo Garcia Posted December 24, 2023 Author Report Posted December 24, 2023 Finally i understand and fix :P. Thanks for your epic module and happy christmasssssss Quote
Rodrigo Garcia Posted December 25, 2023 Author Report Posted December 25, 2023 (edited) Edited December 25, 2023 by Rodrigo Garcia Quote
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.