Code Monkey home page Code Monkey logo

csgo_stats's People

Contributors

dependabot[bot] avatar nicoeg avatar trarbr avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

csgo_stats's Issues

Handle suicides

What is logged when jump off the map on Vertigo? And other kinds of suicide โ˜ ๏ธ

Better responsive design

Change the HTML to allow for moving the t and ct score on top of the table on smaller screens.
This will make it possible to display more data in the table without it being crammed.

Ideally, it should look something like this:
image

Handle equipment events

There are a few events which can be used to track player equipment, e.g.:

  • "George<21><BOT><CT>" picked up "hkp2000"
  • "Wesley<16><BOT><TERRORIST>" dropped "glock"
  • "Fred<14><BOT><CT>" left buyzone with [ weapon_knife weapon_hkp2000 ]
  • "Ryan<13><BOT><TERRORIST>" purchased "negev"

It would be cool if the match could keep track of which weapons a player has and display that.

Handle match pause

When a match is paused during freeze time the freeze_timeout will not be the right DateTime anymore.
One way to fix this would be to have a pause_time key which is set once the match has been paused. When unpaused the freeze_timeout would then be compared to the pause_time key to calculate the pause period

Handle cvar events

Many aspects about how the game works can be configured using cvars, and the game log should contain these settings. We should parse and use these in order to accurately portray the game. For example, how long rounds are and how long the bomb ticks is currently hardcoded, but there are cvars which contain these values.

However, the log files seem to contain at least two event formats for cvars, and I'm not sure which ones are relevant (or if they both are). For example, I have a log file which contains these two events:

L 12/30/2019 - 17:51:05: "cash_player_bomb_defused" = "200"
...
L 12/30/2019 - 17:51:08: server_cvar: "cash_player_bomb_defused" "300"

So we need to figure out if the last one overrides the first one, or if only one of them counts.

Add icons

Now that we have equipment events soon (๐Ÿคž), it would be really nice with icons. I found that the official icons can be extracted from the game files, and now have them sitting as PNG and SVG in a directory. But, can we use them? According to this official page, that seems to be a no.

Or is there some loophole somewhere? This community thread gave me hope, but I don't think it covers our situation, especially not after reading the official page.

Any other sources of icons?

Handle all kill events

Knife event:
"Nico<2><STEAM_1:0:11938698><TERRORIST>" [632 585 91] killed "Albert<23><BOT><CT>" [600 555 154] with "knife_t"|| [632 585 91] killed "Albert<23><BOT><CT>" [600 555 154] with "knife_t"
USP kill event?:
[error] event_error||"Nico<2><STEAM_1:0:11938698><CT>" [1192 534 115] killed "Walt<25><BOT><TERRORIST>" [89 670 136] with "usp_silencer" (headshot)|| [1192 534 115] killed "Walt<25><BOT><TERRORIST>" [89 670 136] with "usp_silencer" (headshot)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.