From bd23cb7e3a63d04fc4ac54d075a27ce87d9244af Mon Sep 17 00:00:00 2001 From: Ragowit Date: Mon, 11 Mar 2024 19:47:51 +0100 Subject: [PATCH] Possible Cheaters Mega Man: Legacy Collection --- wwwroot/admin/possible.php | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/wwwroot/admin/possible.php b/wwwroot/admin/possible.php index 7c624d8..de75f0f 100644 --- a/wwwroot/admin/possible.php +++ b/wwwroot/admin/possible.php @@ -644,5 +644,22 @@ echo "". $possibleCheater["online_id"] ." (". $possibleCheater["account_id"] .")
"; } ?> + +
+ Mega Man: Legacy Collection:
+ prepare("SELECT account_id, online_id, ABS(TIMESTAMPDIFF(SECOND, first_trophy, second_trophy)) time_difference + FROM player p + JOIN (SELECT earned_date AS first_trophy, account_id FROM trophy_earned WHERE np_communication_id = 'NPWR09098_00' AND order_id = 6) trophy_start USING (account_id) + JOIN (SELECT earned_date AS second_trophy, account_id FROM trophy_earned WHERE np_communication_id = 'NPWR09098_00' AND order_id = 7) trophy_end USING (account_id) + WHERE p.status != 1 + HAVING time_difference <= 60 + ORDER BY online_id"); + $query->execute(); + $possibleCheaters = $query->fetchAll(); + foreach ($possibleCheaters as $possibleCheater) { + echo "". $possibleCheater["online_id"] ." (". $possibleCheater["account_id"] .")
"; + } + ?>