jakoch / csgo-cli Goto Github PK
View Code? Open in Web Editor NEWCS:GO Console shows your user account, stats and latest matches. It also uploads demo sharecodes to csstats.gg.
License: GNU General Public License v3.0
CS:GO Console shows your user account, stats and latest matches. It also uploads demo sharecodes to csstats.gg.
License: GNU General Public License v3.0
Help! I think the sharecode must be inside this demo info file too somehow.
Is the title simply all we need for the 3 variables?
match730_
003131049693715365895_ <<< Match ID
1959052661_ <<< Reservation ID
111.dem <<< Port #
Are these the 3 variables you are referring to in your function
string toDemoShareCode(uint64_t matchid, uint64_t reservationid, uint32_t tvport)
I have been collecting my demos and providing a community service of analyzing everyone's statistics just like csgostats.gg but then I make up a few MVP awards related to those and post the picture on my profile and tag every player's steam ID in it so they get alerted in their steam section.
Take a look at my profile you'll see I've downloaded and done this for the past 270+ games
https://steamcommunity.com/profiles/76561197997327350/
Anyways I think everyone is afraid to click on the link although it's simply a direct link (that csgo ends up navigating to) through those sharecodes... for example for the one above it goes like this
match730_003379593509047632119_0076099213_128
turns into
replay128.valve.net/730/003379593509047632119_0076099213.dem.bz2
Now I think if instead I provided the match sharecodes in every tagged screenshot people might actually trust it/wouldn't have to fuddle around with unzipping the bz2 file and running console commands. However as it is now I've written a script for every part of the journey from demo file to screenshot > caption (which is the description to each photo it's own relevant valve server link)
It seems like you've cracked the code on how that's done. Could you compile a standalone exe that I input the demo info file or the demo file or just that demo name (which has all 3 variables you need?) and then it dumps the sharecode into a text file. I can write a script to feed it one at a time. I'm sure the variables would be inside of the demo info file itself too since even if you fail to finish downloading a demo it will display all the kills deaths and give you a proper download share code link too. Can you give me an example of those 3 variables if I have it wrong and their lengths? and the output? I'd rather keep it automated or I'll probably stop doing this if I have to start manually doing things. Please Help!
The tool currently displays "?" as the map name.
Sadly, i wasn't able to find the map name in the dataset of the recent matches.
This example dataset shows the structure: https://github.com/joshuaferrara/node-csgo/tree/master#matchlist-response-to-requestrecentgames
How to get the map name?
Referencing:
-matches displays some match info but no share code.
See Protobuf Update
There is a parse error when parsing the response from csgostats. First, I assumed that the uploads work nevertheless, but the upload of the share codes isn't working.
Uploading Demo ShareCodes to https://csgostats.gg/:
Error(offset 0): Invalid value.
<
Error: Could not parse the response (to the demo sharecode POST request).
Error(offset 0): Invalid value.
<
Error: Could not parse the response (to the demo sharecode POST request).
Error(offset 0): Invalid value.
<
Error: Could not parse the response (to the demo sharecode POST request).
Error(offset 0): Invalid value.
<
Error: Could not parse the response (to the demo sharecode POST request).
Error(offset 0): Invalid value.
<
Error: Could not parse the response (to the demo sharecode POST request).
Error(offset 0): Invalid value.
<
Error: Could not parse the response (to the demo sharecode POST request).
Error(offset 0): Invalid value.
<
Error: Could not parse the response (to the demo sharecode POST request).
Error(offset 0): Invalid value.
<
Error: Could not parse the response (to the demo sharecode POST request).
If this were built for linux I would probably be able to figure this out but Windows 10 is not a strength of mine. How is this installed or compiled?
Running csgo_cli -matches -upload
yields the following errors. The past matches are recognized correctly, but the upload to csgostats.gg fails.
Maybe an API change by csgostats.gg?
Uploading Demo ShareCodes to https://csgostats.gg/:
Error(offset 0): Invalid value.
<
Error: Could not parse the response (to the demo sharecode POST request).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.