This repository was archived by the owner on Jun 29, 2019. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 10
This repository was archived by the owner on Jun 29, 2019. It is now read-only.
Wrong map statistics #85
Copy link
Copy link
Open
Labels
Description
Watch the "times played" and "downloads"
mysql> select * from table_map_features where map_id = 6261;
+--------+--------+----------------------------------+-----------+--------------+-----------+
| map_id | rating | voters | downloads | times_played | num_draws |
+--------+--------+----------------------------------+-----------+--------------+-----------+
| 6261 | 5 | YToxOntpOjEzMzYzNjtzOjE6IjUiO30= | 2 | 0 | 0 |
+--------+--------+----------------------------------+-----------+--------------+-----------+
1 row in set (0.01 sec)
But:
"data": [
{
"attributes": {
"author": "Blodir",
"battle_type": "FFA",
"create_time": "2016-08-08T23:39:01+00:00",
"description": "Dusty Mounds made by Blodir on twitch stream www.twitch.tv/blodir",
"display_name": "Dusty Mounds",
"download_url": "http://content.faforever.com/faf/vault/maps/dusty_mounds.v0004.zip",
"downloads": 149,
"height": 512,
"id": "4381",
"map_type": "skirmish",
"max_players": 6,
"num_draws": 0,
"rating": 2.2,
"technical_name": "dusty_mounds.v0004",
"thumbnail_url_large": "http://content.faforever.com/faf/vault/map_previews/large/dusty_mounds.v0004.png",
"thumbnail_url_small": "http://content.faforever.com/faf/vault/map_previews/small/dusty_mounds.v0004.png",
"times_played": 54,
"version": "4",
"width": 512
},
"id": "4381",
"type": "map"
},