Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSGO.launch() does not work? #87

Open
ItzArty opened this issue Jan 22, 2022 · 0 comments
Open

CSGO.launch() does not work? #87

ItzArty opened this issue Jan 22, 2022 · 0 comments

Comments

@ItzArty
Copy link

ItzArty commented Jan 22, 2022

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
`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant