matias49 / csgowebpanel Goto Github PK
View Code? Open in Web Editor NEWWeb panel for csgo to bring a web spectator view of a game using Game State Integration (GSI)
Web panel for csgo to bring a web spectator view of a game using Game State Integration (GSI)
Hello, I'm desperately trying to use this project but I can't make it work. I tried tons of combinations without any success.
currently, I placed a .cfg file into csgo/cfg folder containing the following:
"Observer All Players v.1"
{
"uri" "http://127.0.0.1:3000/csgo"
"timeout" "5.0"
"buffer" "0.1"
"throttle" "0.1"
"heartbeat" "30.0"
"auth"
{
"token" "Q79v5tcxVQ8u"
}
"data"
{
"provider" "1"
"map" "1"
"round" "1"
"player_id" "1"
"allplayers_id" "1" // Same as 'player_id' but for all players. 'allplayers' versions are only valid for HLTV and observers
"player_state" "1"
"allplayers_state" "1"
"allplayers_match_stats" "1"
"allplayers_weapons" "1"
"allplayers_position" "1" // output the player world positions, only valid for HLTV or spectators.
"phase_countdowns" "1" // countdowns of each second remaining for game phases, eg round time left, time until bomb explode, freezetime. Only valid for HLTV or spectators.
}
}
As well as setting the following in the config/config.js file:
// Configuration file
var CONFIG = {
'SOCKET_URL': '127.0.0.1',
'SOCKET_PORT' : 8080,
'POST_PAGE': '/csgo',
'SENDER_IP': 'YOUR_IP',
'VERIFY_IP': 0,
'TOKEN': 'tamere',
'VERIFY_TOKEN': 0,
'STEAM_ID': '17692113',
'VERIFY_STEAM_ID': 0,
'STEAM_API_KEY' : "apikey"
}
module.exports = CONFIG;
HELP thanks :D
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.