Skip to content

CSGO.launch() does not work? #87

@itzarty

Description

@itzarty

var Steam = require('steam'), steamClient = new Steam.SteamClient(), steamUser = new Steam.SteamUser(steamClient), steamGC = new Steam.SteamGameCoordinator(steamClient, 730), csgo = require('csgo'), CSGO = new csgo.CSGOClient(steamUser, steamGC, false); CSGO.launch();
Here you can see my code, which for some reason prints out this error, can anyone help me with this?
`
TypeError: Cannot read properties of undefined (reading 'send')
at SteamClient._send (\WO\node_modules\←[4msteam←[24m\lib\steam_client.js:117:20)
at SteamClient.send (\WO\node_modules\←[4msteam←[24m\lib\steam_client.js:126:8)
at SteamUser.gamesPlayed (\WO\node_modules\←[4msteam←[24m\lib\handlers\user\index.js:47:16)
at CSGOClient.launch (\WO\node_modules\←[4mcsgo←[24m\index.js:103:14)
at Object. (\WO\ranks.js:7:6)
←[90m at Module._compile (node:internal/modules/cjs/loader:1097:14)←[39m
←[90m at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)←[39m
←[90m at Module.load (node:internal/modules/cjs/loader:975:32)←[39m
←[90m at Function.Module._load (node:internal/modules/cjs/loader:822:12)←[39m
←[90m at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)←[39m

Node.js v17.3.1
`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions