
COH2stats.com match and player statistics 2.0
22 Jun 2022, 15:47 PM
#221


Posts: 1712 | Subs: 2
I have not been able to see the LIVE GAMES for 4v4 recently. I can view 1v1, 2v2, and 3v3 but selecting 4v4 goes to an error screen and nothing brings the site back until I close the window and start over. I am usually the problem, but since 1s, 2s, and 3s work...I figured I better post something.


1 Jul 2022, 09:09 AM
#222

Posts: 127 | Subs: 1
Hi guys
If anyone is interested in their own analysis / looking into all the games which are played each day. The site is now exporting all the matches we store for each day into json files. You can find more info here https://github.com/cohstats/coh2stats/blob/master/README.md#open-source-data
That's really weird one. The internal API from Relic is unstable so errors 401 Unauthorized are common on the live games page but this one looks like some malformed data are coming from the API. I added some safeguards which could help with this problem. Please let me know if it happens again. Thanks
EDIT: It should be fixed the issue was with this steam profile https://steamcommunity.com/id/vengx/ he has white spaces as alias.
If anyone is interested in their own analysis / looking into all the games which are played each day. The site is now exporting all the matches we store for each day into json files. You can find more info here https://github.com/cohstats/coh2stats/blob/master/README.md#open-source-data
I have not been able to see the LIVE GAMES for 4v4 recently. I can view 1v1, 2v2, and 3v3 but selecting 4v4 goes to an error screen and nothing brings the site back until I close the window and start over. I am usually the problem, but since 1s, 2s, and 3s work...I figured I better post something.
That's really weird one. The internal API from Relic is unstable so errors 401 Unauthorized are common on the live games page but this one looks like some malformed data are coming from the API. I added some safeguards which could help with this problem. Please let me know if it happens again. Thanks
EDIT: It should be fixed the issue was with this steam profile https://steamcommunity.com/id/vengx/ he has white spaces as alias.
23 Jul 2022, 11:53 AM
#223

Posts: 127 | Subs: 1
Hello guys
Big update! From 12 July 2022 We are now gathering ~90% -> ~95% all matches played.
This increased the amount of games for analysis 3x.
https://coh2stats.com/stats?range=week&statsSource=all&type=1v1&race=wermacht&timeStamp=1658102400
Old crawler process:
- We gathered top 600 positions in leaderboards
Problems:
- We were missing lower rank games (which is majority of the games)
- We were gathering about 40% of all games played
New crawler process:
- Every 5 minutes we check live games, we gather played games and based on that we get those games into the system
This brings:
- Much more games in analysis
- Way less requests to Relic API (Because we request only players which played games that day)
Problems:
- Some games under 5 minutes are not gathered (Shouldn't be a problem)
- Games longer than 6 hours are not gathered (Very small number of games) - this help us save resources

Keep in mind that - that number total games is not accurate - that's in fact the ~95% of games. We are getting that number from amount of live games we track. Aka we might miss some games under 5 minutes.
The reasons why the amount of analyzed games is less that the amount of played games could be various:
- Some games end with incorrect results - there is no winner (everyone loses) - we filter them out
- Some games have corrupted data in Relic Servers - we filter them out
Reasons why there is more games than total games:
- Should be the 5 minutes games
- Sometimes it's possible that live games gathering function crashes (error from Steam / error from Relic etc ) and the game is not tracked in total games. This happens rarely tho - should only affect the games under 10 minutes.
Overall I think the analysis should give us now much better overview of the game balance!
Cheers
pagep
Big update! From 12 July 2022 We are now gathering ~90% -> ~95% all matches played.
This increased the amount of games for analysis 3x.
https://coh2stats.com/stats?range=week&statsSource=all&type=1v1&race=wermacht&timeStamp=1658102400
Old crawler process:
- We gathered top 600 positions in leaderboards Problems:
- We were missing lower rank games (which is majority of the games)
- We were gathering about 40% of all games played
New crawler process:
- Every 5 minutes we check live games, we gather played games and based on that we get those games into the system This brings:
- Much more games in analysis
- Way less requests to Relic API (Because we request only players which played games that day)
Problems:
- Some games under 5 minutes are not gathered (Shouldn't be a problem)
- Games longer than 6 hours are not gathered (Very small number of games) - this help us save resources

Keep in mind that - that number total games is not accurate - that's in fact the ~95% of games. We are getting that number from amount of live games we track. Aka we might miss some games under 5 minutes.
The reasons why the amount of analyzed games is less that the amount of played games could be various:
- Some games end with incorrect results - there is no winner (everyone loses) - we filter them out
- Some games have corrupted data in Relic Servers - we filter them out
Reasons why there is more games than total games:
- Should be the 5 minutes games
- Sometimes it's possible that live games gathering function crashes (error from Steam / error from Relic etc ) and the game is not tracked in total games. This happens rarely tho - should only affect the games under 10 minutes.
Overall I think the analysis should give us now much better overview of the game balance!
Cheers
pagep
2 Aug 2022, 09:48 AM
#224

Posts: 127 | Subs: 1
Hello guys
A new update for the site. You can now access players matches which are stored at COH2stats.com
https://coh2stats.com/players/76561198018614046-Isildur?view=matches
So now you have two options how to see your last matches:
Please let me know if you find some errors / bugs or some matches are missing.
Thank you
A new update for the site. You can now access players matches which are stored at COH2stats.com
https://coh2stats.com/players/76561198018614046-Isildur?view=matches
So now you have two options how to see your last matches:
- Relic Matches - The keep last 10 matches of each mode (10x 1v1, 10x 2v2 etc)
- COH2Stats Matches - We keep last 14 days of matches
Please let me know if you find some errors / bugs or some matches are missing.
Thank you
1 user is browsing this thread:
1 guest
Livestreams
![]() |
![]() |
![]() |
68 | ||
![]() |
![]() |
![]() |
30 | ||
![]() |
![]() |
![]() |
14 | ||
![]() |
![]() |
![]() |
2 | ||
![]() |
![]() |
![]() |
1084 | ||
![]() |
![]() |
![]() |
70 | ||
![]() |
![]() |
![]() |
5 |
Ladders Top 10
Replay highlight
Board Info
203 users are online:
203 guests
9 posts in the last 24h
162 posts in the last week
557 posts in the last month
162 posts in the last week
557 posts in the last month
Registered members: 34030
Welcome our newest member, Dudney31905
Most online: 1221 users on 25 Feb 2020, 12:03 PM
Welcome our newest member, Dudney31905
Most online: 1221 users on 25 Feb 2020, 12:03 PM