Jump to content
McKay Development

ezl0l

Member
  • Posts

    1
  • Joined

  • Last visited

Posts posted by ezl0l

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

×
×
  • Create New...