Fair kd stats (humen vs all kills / deaths) #21

Merged
OpzekerIT merged 10 commits from dev into main 2023-09-25 12:15:01 +00:00
2 changed files with 11 additions and 10 deletions
Showing only changes of commit bbca4d9a8d - Show all commits

View file

@ -158,7 +158,7 @@
"mapName": "Baltic_Main"
}
],
"updated": "09/23/2023 17:53:53 - Time Zone: W. Europe Standard Time"
"updated": "09/24/2023 20:05:50 - Time Zone: W. Europe Standard Time"
},
{
"playername": "Petje1972",
@ -319,7 +319,7 @@
"mapName": "Baltic_Main"
}
],
"updated": "09/23/2023 17:53:53 - Time Zone: W. Europe Standard Time"
"updated": "09/24/2023 20:05:50 - Time Zone: W. Europe Standard Time"
},
{
"playername": "TaGMoM",
@ -480,7 +480,7 @@
"mapName": "Baltic_Main"
}
],
"updated": "09/23/2023 17:53:53 - Time Zone: W. Europe Standard Time"
"updated": "09/24/2023 20:05:50 - Time Zone: W. Europe Standard Time"
},
{
"playername": "r00tger",
@ -517,7 +517,7 @@
"mapName": "Baltic_Main"
}
],
"updated": "09/23/2023 17:53:53 - Time Zone: W. Europe Standard Time"
"updated": "09/24/2023 20:05:50 - Time Zone: W. Europe Standard Time"
},
{
"playername": "Masistuta",
@ -678,7 +678,7 @@
"mapName": "Baltic_Main"
}
],
"updated": "09/23/2023 17:53:53 - Time Zone: W. Europe Standard Time"
"updated": "09/24/2023 20:05:50 - Time Zone: W. Europe Standard Time"
},
{
"playername": "RalphNorris",
@ -839,7 +839,7 @@
"mapName": "Baltic_Main"
}
],
"updated": "09/23/2023 17:53:53 - Time Zone: W. Europe Standard Time"
"updated": "09/24/2023 20:05:50 - Time Zone: W. Europe Standard Time"
},
{
"playername": "Jimbo_The_One",
@ -1000,7 +1000,7 @@
"mapName": "Desert_Main"
}
],
"updated": "09/23/2023 17:53:53 - Time Zone: W. Europe Standard Time"
"updated": "09/24/2023 20:05:50 - Time Zone: W. Europe Standard Time"
},
{
"playername": "Shepherders",
@ -1099,6 +1099,6 @@
"mapName": "Baltic_Main"
}
],
"updated": "09/23/2023 17:53:53 - Time Zone: W. Europe Standard Time"
"updated": "09/24/2023 20:05:50 - Time Zone: W. Europe Standard Time"
}
]

View file

@ -45,15 +45,16 @@ error_reporting(E_ALL);
$date = new DateTime($match['createdAt']);
$formattedDate = $date->format('d F Y, H:i:s');
$matchType = $match['matchType'];
$gameMode = $match['gameMode'];
$mapName = $match['mapName'];
$kills = $match['stats']['kills'];
$damage = $match['stats']['damageDealt'];
$timeSurvived = $match['stats']['timeSurvived'];
echo "<tr><td>$formattedDate</td><td>$gameMode</td><td>$mapName</td><td>$kills</td><td>$damage</td><td>$timeSurvived</td></tr>";
echo "<tr><td>$formattedDate</td><td>$gameMode</td><td>$matchType</td><td>$mapName</td><td>$kills</td><td>$damage</td><td>$timeSurvived</td></tr>";
}
echo "</table><br>";
}
}
?>