diff --git a/.htaccess b/.htaccess
index fd2af8f..5a1273e 100644
--- a/.htaccess
+++ b/.htaccess
@@ -5,4 +5,10 @@ RewriteCond %{REQUEST_FILENAME} !-d
# Check if appending .php points to an existing file
RewriteCond %{REQUEST_FILENAME}\.php -f
# Rewrite the neat URL to its .php counterpart
-RewriteRule ^(.*)$ $1.php [L]
\ No newline at end of file
+RewriteRule ^(.*)$ $1.php [L]
+
+
+ Header set Cache-Control "no-cache, no-store, must-revalidate"
+ Header set Pragma "no-cache"
+ Header set Expires "0"
+
diff --git a/last_stats.php b/last_stats.php
index 02583ac..d3ab038 100644
--- a/last_stats.php
+++ b/last_stats.php
@@ -43,6 +43,8 @@ error_reporting(E_ALL);
Matches |
K/D (Human) |
K/D (All) |
+ Wins |
+ Win Ratio |
";
foreach ($player_datas as $player_data) {
if (!isset($player_data['playername']) || is_null($player_data['playername'])) {
@@ -72,7 +74,8 @@ error_reporting(E_ALL);
: (is_numeric($player_data['KD_ALL'])
? number_format((float) $player_data['KD_ALL'], 2, ',', '')
: "0")); // or any other default string for non-numerical values
-
+ $wins = number_format($player_data['wins'], 2, ',', '');
+ $winratio = number_format($player_data['winratio'], 2, ',', '');
echo "
@@ -83,6 +86,8 @@ error_reporting(E_ALL);
| $matches |
$KD_H |
$KD_ALL |
+ $wins |
+ $winratio |
";
}
diff --git a/update/matchparser.ps1 b/update/matchparser.ps1
index 52f09ec..29e365e 100644
--- a/update/matchparser.ps1
+++ b/update/matchparser.ps1
@@ -40,6 +40,9 @@ $killstats = @()
$i = 0
foreach ($player in $all_player_matches) {
+ if($player.psobject.properties.name -eq 'new_win_matches'){
+ continue
+ }
$player_name = $player.playername
$i++
$j = 0