Comments (9)
Could you print out your data
object? HLTV may have changed up their responses, in which case I'll update the README with the appropriate responses.
from hltv-livescore.
I can print other elements like roundEnd, kill, roundStart, but no idea about score.
from hltv-livescore.
If you just print the data
object, though, what shows up?
from hltv-livescore.
I tried
sb.on('score', function(data) {
console.log('data:', data);
});
but nothing. when is the score triggered? And any ideas how to get the whole data (kills,bombplantings, scores) ?
from hltv-livescore.
It should be triggered after every round end. I'll see if HLTV changed anything.
from hltv-livescore.
Thanks, would be very helpful.
from hltv-livescore.
It seems that the score
event is not used anymore, and now scoreboard
is emitted solely. I will probably remove the score
event as I want this to be a wrapper for HLTV, so I would suggest using the scoreboard
event. I will also add a getScore()
method so that the score can be easily retrieved.
from hltv-livescore.
Any update on this?
from hltv-livescore.
@colealanroberts I actually just finished testing it out today - will push the code.
Edit: please test out the recent changes and tell me how they're working for you.
from hltv-livescore.
Related Issues (20)
- Add getTime() method HOT 1
- Find the current usage of matchid
- Events emitted multiple times HOT 1
- Detect halftime resets and deal with them
- Real round detection HOT 2
- Newbie question HOT 2
- Does hltv emit the bomb site the bomb has been planted at? HOT 3
- Add colour to player/team names for events to show which side they are currently on HOT 2
- Round end `winType` accesser is doesn't work HOT 1
- Use arrow functions HOT 1
- Emit `readyForScores` instead of `readyForMatch`
- Create browser example
- Reconnect HOT 1
- Clean up code
- How does HLTV gather match info? HOT 5
- Listening to multiple matches simultaneously HOT 4
- Code Update HOT 2
- Version 10 of node.js has been released
- How can i get the csgo live score?
- HLTV has changed its websocket endpoint
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hltv-livescore.