Jump to content
McKay Development

How to check the percentage of wear on a skin?


vmysiur

Recommended Posts

Im use node-globaloffensive but have some problem.

const steamTotp = require('steam-totp');
const GlobalOffensive = require('globaloffensive');

const steam = require('steam-client');
const SteamUser = require('steam-user');
let steamClient = new steam.CMClient();

const client = new SteamUser(steamClient, {promptSteamGuardCode: false});
let csgo = new GlobalOffensive(client);
client.logOn({
    accountName: 'name',
    password:    'password',
    twoFactorCode: steamTotp.generateAuthCode('secret')
});



client.on('loggedOn', function(details) {
    console.log("Logged into Steam as " + client.steamID.getSteam3RenderedID());
    client.gamesPlayed([730]);

});


csgo.on('connectedToGC', function(data) {
    console.log('connectedToGC')
});

Event "connectedToGC" not fire. Maybe someone will see my mistake. Thanks in advance.

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