1 |
At various points in time I have felt that I was missing data to answer some questions regarding ZK players and games. Things such as "what is most played game type", "are there players that resign more than average", "what awards are collected in 1v1 vs all welcome", "how would multiple ladders look" and others. As implementing anything on the server is a very intense project (getting to know the infrastructure, develop, upload, do not break anything) I felt a (crazy) alternative solution might be better: do everything in your browser based on text files with the data! I had no clue if such a thing will work (not an expert in browser stuff but knew enough) so thought to just give it a try. I present here the result (it does work!), comparing hour players spent in game and number of game by player age.
|
1 |
At various points in time I have felt that I was missing data to answer some questions regarding ZK players and games. Things such as "what is most played game type", "are there players that resign more than average", "what awards are collected in 1v1 vs all welcome", "how would multiple ladders look" and others. As implementing anything on the server is a very intense project (getting to know the infrastructure, develop, upload, do not break anything) I felt a (crazy) alternative solution might be better: do everything in your browser based on text files with the data! I had no clue if such a thing will work (not an expert in browser stuff but knew enough) so thought to just give it a try. I present here the result (it does work!), comparing hour players spent in game and number of game by player age.
|
2 |
\n
|
2 |
\n
|
3 |
[img]https://zerok-local-analysis.s3.eu-west-3.amazonaws.com/2022-02-05-example-graphs.png[/img]
|
3 |
[img]https://zerok-local-analysis.s3.eu-west-3.amazonaws.com/2022-02-05-example-graphs.png[/img]
|
4 |
\n
|
4 |
\n
|
5 |
[color=red]WARNING 1[/color]: this is work in progress and there might be errors in it (hence the beta in the title)
|
5 |
[color=red]WARNING 1[/color]: this is work in progress and there might be errors in it (hence the beta in the title)
|
6 |
[color=red]WARNING 2[/color]: the raw data (battle, maps, etc.) is currently 300MB. The first time you load one of the links below, it will be long (depends on your internet connection speed) and might look like nothing happens. Be patient. If you use the same link later the data will be loaded from cache and it will be much faster
|
6 |
[color=red]WARNING 2[/color]: the raw data (battle, maps, etc.) is currently 300MB. The first time you load one of the links below, it will be long (depends on your internet connection speed) and might look like nothing happens. Be patient. If you use the same link later the data will be loaded from cache and it will be much faster
|
7 |
\n
|
7 |
\n
|
8 |
The
link
to
latest
release
is
[url=http://zerok-local-analysis.
s3-website.
eu-west-3.
amazonaws.
com/release2023-04-30-01/]Zero-K
Local
Analysis[/url].
The
question
mark
icons
have
additional
info
(
I
know
who
reads
help
but
thought
to
mention
it)
.
|
8 |
The
link
to
latest
release
is
[url=http://zerok-local-analysis.
s3-website.
eu-west-3.
amazonaws.
com/release2023-06-11-02]Zero-K
Local
Analysis[/url].
The
question
mark
icons
have
additional
info
(
I
know
who
reads
help
but
thought
to
mention
it)
.
|
9 |
\n
|
9 |
\n
|
10 |
The plan is to enhance it with all the things I am curious about. Also probably can make it faster. At some point I would like to make it open source and share it, but now I am more curious about the questions.
|
10 |
The plan is to enhance it with all the things I am curious about. Also probably can make it faster. At some point I would like to make it open source and share it, but now I am more curious about the questions.
|
11 |
\n
|
11 |
\n
|
12 |
Would like to hear feedback/opinions/questions...
|
12 |
Would like to hear feedback/opinions/questions...
|
13 |
\n
|
13 |
\n
|
14 |
Releases:
|
14 |
Releases:
|
15 |
*
[url=http://zerok-local-analysis.
s3-website.
eu-west-3.
amazonaws.
com/release2023-04-30-01]release2023-04-30-01[/url]
|
15 |
*
[url=http://zerok-local-analysis.
s3-website.
eu-west-3.
amazonaws.
com/release2023-06-11-02]release2023-06-11-02[/url]
|
|
|
16 |
* added visualization of active and new players
|
|
|
17 |
* improved date range such that will prompt to load more data if larger range is selected
|
|
|
18 |
* graphs should now be linkable (to copy the address from address bar)
|
|
|
19 |
* uploaded a sqlite database with the damages reported in each replay (not yet visualized)
|
|
|
20 |
* release2023-04-30-01
|
16 |
* reprocessed all data and fixed several issues that resulted in some battles not being counted.
|
21 |
* reprocessed all data and fixed several issues that resulted in some battles not being counted.
|
17 |
* added option (see settings up right) to load only parts of data (default 3 months) to speed up loading
|
22 |
* added option (see settings up right) to load only parts of data (default 3 months) to speed up loading
|
18 |
* enabled serving compressed gzip (should help with download speed) data size reduced from 385 MB to 60 MB.
|
23 |
* enabled serving compressed gzip (should help with download speed) data size reduced from 385 MB to 60 MB.
|
19 |
* added player resign statistics page
|
24 |
* added player resign statistics page
|
20 |
* improved explanations for some of the graphs
|
25 |
* improved explanations for some of the graphs
|
21 |
* made the filters keep same values across pages to make it easier to compare
|
26 |
* made the filters keep same values across pages to make it easier to compare
|
22 |
* the mod selected by default is Zero-K (the others are available but must be selected)
|
27 |
* the mod selected by default is Zero-K (the others are available but must be selected)
|
23 |
*
[url=http://zerok-local-analysis.
s3-website.
eu-west-3.
amazonaws.
com/release2022-07-17-01/]release2022-07-17-01[/url]
|
28 |
*
[release2022-07-17-01
|
24 |
* added new game type (other PvP - ffa, 1v1 outside matchmaking) - thanks @Dave[tB] for noticing some games are missing
|
29 |
* added new game type (other PvP - ffa, 1v1 outside matchmaking) - thanks @Dave[tB] for noticing some games are missing
|
25 |
* updating background loaded data happens rarer to improve interface responsivity during loading
|
30 |
* updating background loaded data happens rarer to improve interface responsivity during loading
|
26 |
* show the last date scrapping was done, for clarity
|
31 |
* show the last date scrapping was done, for clarity
|
27 |
*
[url=http://zerok-local-analysis.
s3-website.
eu-west-3.
amazonaws.
com/release2022-07-07-01/]release2022-07-07-01[/url]
|
32 |
*
release2022-07-07-01
|
28 |
* made data loading a background task.
|
33 |
* made data loading a background task.
|
29 |
* automated new data uploading (daily) so I don't need to do anything
|
34 |
* automated new data uploading (daily) so I don't need to do anything
|
30 |
* added player nicknames in clear. This will be updated regularly (but not often)
|
35 |
* added player nicknames in clear. This will be updated regularly (but not often)
|
31 |
* added player award page (shows number or normalized number of awards per player, with filters)
|
36 |
* added player award page (shows number or normalized number of awards per player, with filters)
|
32 |
*
[url=http://zerok-local-analysis.
s3-website.
eu-west-3.
amazonaws.
com/release2022-02-22-01/]release2022-02-22-01[/url]
|
37 |
*
release2022-02-22-01
|
33 |
* added player win/loss/ratio for maps, teammates and enemies
|
38 |
* added player win/loss/ratio for maps, teammates and enemies
|
34 |
* fix issue when some times where not counted (shown values in game modes played where lower than they really were)
|
39 |
* fix issue when some times where not counted (shown values in game modes played where lower than they really were)
|
35 |
*
[url=http://zerok-local-analysis.
s3-website.
eu-west-3.
amazonaws.
com/release2022-02-13-01/]release2022-02-13-01[/url]
|
40 |
*
release2022-02-13-01
|
36 |
* significant performance improvement (between 20x and 70x faster)
|
41 |
* significant performance improvement (between 20x and 70x faster)
|
37 |
* added more periods to game counts (1,3 and 5 years)
|
42 |
* added more periods to game counts (1,3 and 5 years)
|
38 |
* added button to select/deselect all games
|
43 |
* added button to select/deselect all games
|
39 |
*
[url=http://zerok-local-analysis.
s3-website.
eu-west-3.
amazonaws.
com/release2022-02-08-01/]release2022-02-08-01[/url]
|
44 |
*
release2022-02-08-01
|
40 |
* slightly improved performance
|
45 |
* slightly improved performance
|
41 |
* fixed start date to be exact (weekends are seen when granularity is set to days, no more artifacts in particular months)
|
46 |
* fixed start date to be exact (weekends are seen when granularity is set to days, no more artifacts in particular months)
|