ezl0l Posted December 26, 2023 Report Posted December 26, 2023 Hi, I'm getting response on "requestGame" method and "game_map", "server_id" and others fields are null: "watchablematchinfo": { "server_ip": 183, "tv_port": 1288376300, "tv_spectators": 0, "tv_time": null, "tv_watch_password": null, "cl_decryptdata_key": null, "cl_decryptdata_key_pub": "4475969846556343181", "game_type": null, "game_mapgroup": null, "game_map": null, "server_id": null, "match_id": null, "reservation_id": null } My code: var SteamUser = require("steam-user"); GlobalOffensive = require('globaloffensive'), util = require("util"), fs = require("fs"), readlineSync = require("readline-sync"), crypto = require("crypto"), SteamID = require('steamid'); var steamUser = new SteamUser(), csgo = new GlobalOffensive(steamUser); var onSteamLogOn = function onSteamLogOn(response) { util.log("Logged on."); util.log("Current SteamID64: " + steamUser.steamID); steamUser.gamesPlayed([730], true); csgo.on('connectedToGC', () => { console.log('connectedToGC!'); csgo.on('matchList', (matches, data) => { console.log(matches, data); }); csgo.requestGame('CSGO-fx2K6-RULk2-jGJZd-GVcZe-5DVjM'); }); csgo.on('error', (err) => console.log(err)); } var logOnDetails = { "accountName": username, "password": password, }; steamUser.on('loggedOn', function(details) { console.log(details); onSteamLogOn(details); }).on('error', function(err) { console.log(err); }); steamUser.logOn({ accountName: username, password: password }); Full response in attachments Maybe you know why it happens. Thanks response.txt Quote
Dr. McKay Posted December 27, 2023 Report Posted December 27, 2023 The GC just isn't sending any data for those values. 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.