diff --git a/discord/report_new_matches.ps1 b/discord/report_new_matches.ps1 index 2ce213d..5ff9362 100644 --- a/discord/report_new_matches.ps1 +++ b/discord/report_new_matches.ps1 @@ -147,6 +147,7 @@ id $($winmatches[0].id) } send-discord -content "[2D replay](<$2D_replay_url>)" + send-discord -content "More match details [DTCH_STATS](https://dtch.online/matchinfo.php?matchid=$($winmatches[0].id))" } else { write-output "Something went wrong (more then 10 matches to report)" diff --git a/images/logo.png b/images/logo.png index 27deb25..fdc269e 100644 Binary files a/images/logo.png and b/images/logo.png differ diff --git a/images/logo_uncompressed.png b/images/logo_uncompressed.png new file mode 100644 index 0000000..27deb25 Binary files /dev/null and b/images/logo_uncompressed.png differ diff --git a/matchinfo.php b/matchinfo.php index a8c5a2b..0a87b65 100644 --- a/matchinfo.php +++ b/matchinfo.php @@ -146,6 +146,7 @@ $lastMatches = array_slice($allMatches, 0, 8); echo "
| Player Name | +Sort | Kills | Damage Dealt | Time Survived | @@ -155,22 +156,42 @@ $lastMatches = array_slice($allMatches, 0, 8);DBNOs | Headshot Kills | Assists | +|||
|---|---|---|---|---|---|---|---|---|---|---|
| " . htmlspecialchars($playerStats['name']) . " | "; - echo "" . htmlspecialchars($playerStats['kills']) . " | "; - echo "" . htmlspecialchars($playerStats['damageDealt']) . " | "; - echo "" . htmlspecialchars($playerStats['timeSurvived']) . " | "; - echo "" . htmlspecialchars($playerStats['winPlace']) . " | "; - echo "" . htmlspecialchars($playerStats['revives']) . " | "; - echo "" . htmlspecialchars($playerStats['longestKill']) . " | "; - echo "" . htmlspecialchars($playerStats['DBNOs']) . " | "; - echo "" . htmlspecialchars($playerStats['headshotKills']) . " | "; - echo "" . htmlspecialchars($playerStats['assists']) . " | "; - echo "|
| " . htmlspecialchars($playerStats['name']) . " | "; + echo "Human | "; + echo "" . htmlspecialchars($playerStats['kills']) . " | "; + echo "" . htmlspecialchars($playerStats['damageDealt']) . " | "; + echo "" . htmlspecialchars($playerStats['timeSurvived']) . " | "; + echo "" . htmlspecialchars($playerStats['winPlace']) . " | "; + echo "" . htmlspecialchars($playerStats['revives']) . " | "; + echo "" . htmlspecialchars($playerStats['longestKill']) . " | "; + echo "" . htmlspecialchars($playerStats['DBNOs']) . " | "; + echo "" . htmlspecialchars($playerStats['headshotKills']) . " | "; + echo "" . htmlspecialchars($playerStats['assists']) . " | "; + echo "
| " . htmlspecialchars($playerStats['name']) . " | "; + echo "Bot | "; + echo "" . htmlspecialchars($playerStats['kills']) . " | "; + echo "" . htmlspecialchars($playerStats['damageDealt']) . " | "; + echo "" . htmlspecialchars($playerStats['timeSurvived']) . " | "; + echo "" . htmlspecialchars($playerStats['winPlace']) . " | "; + echo "" . htmlspecialchars($playerStats['revives']) . " | "; + echo "" . htmlspecialchars($playerStats['longestKill']) . " | "; + echo "" . htmlspecialchars($playerStats['DBNOs']) . " | "; + echo "" . htmlspecialchars($playerStats['headshotKills']) . " | "; + echo "" . htmlspecialchars($playerStats['assists']) . " | "; + echo "