Search the Community
Showing results for tags 'node-globaloffensive'.
-
[node-globaloffensive] How to get info about current match?
Evalen posted a topic in node-steam-user
Is there a way to get information about score for each team and account side in the current competitive match? Or maybe there are some other tools for this?-
- csgo
- counter-strike
- (and 3 more)
-
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
-
Hello, I am aware that node-globaloffensive is sort of dead at this point, but I would like to ask anyway, since this may be useful for me when creating my own replacement for the outdated node-globaloffensive project. Whatever happened to GCCStrike15_v2_MatchListRequestLiveGameForUser? Is there an updated approach, or is this done for? CS:GO still does share watch information, so it must be possible.
-
I am using the node-CSGO module to send k_EMsgGCStoreGetUserData message to GC, where the currency is 2. However, according to ECurrencyCode.js, the code for EUR is 3 (similarly for CNY it's 23, but when sent to GC it's 27). What is the reason for this discrepancy? Is there another currency code table that needs to be referenced?
-
Is there any way to directly request accountData or configure node-globaloffensive so it gets accountData everytime user.gamesPlayed([730]) is executed?
-
hey i want to send commend spesific user with protobufs how can i do that can i get some help
- 1 reply
-
- csgo commend
- csgo
-
(and 2 more)
Tagged with:
-
Hey there, I've currently spent today investigating and playing around with node-steam-user, and node-globaloffensive. I've have an array of inspect item links and I would like to check each of them using the InspectItem method, however my implementation seems to only send a protobuf message once, with successive calls not doing anything. It fires an 'inspectItemInfo' event once as it successfully displays the item details with. csgo.on('inspectItemInfo', function (item) { console.log(`got item: paint index is ${item.paintindex} and paintwear is ${item.paintwear}`); }); I am iterating over an items array containing the correct id, assetID and d value from the inspect link, I have validated each of these values work by manually inputting the values when calling InspectItem as they correctly give me the paint index and the wear float, however as previously mentioned it only seems to do this once, and then hangs. Here is my implementation: csgo.on('connectedToGC', function () { marketItemsObject.forEach(function (listing, index) { console.log(listing); setTimeout(() => { console.log(`${listing.id}`); csgo.inspectItem(listing.id, listing.assetID, listing.d); }, index * 3000); }); }); Many thanks for any help you may be able to give as i've been stumped on this for a few hours now.
- 3 replies
-
- globaloffensive
- node
-
(and 2 more)
Tagged with:
-
Hello. Can i somehow scratch a sticker from an item in node-globaloffensive or maybe can u add this method if possible?
-
- counter-strike
- stickers
-
(and 2 more)
Tagged with:
-
Very simple question, is it possible to connect to a server using node-tf2/node-globaloffensive ?