From 8c13c2406629849f8a19c1a67640828eadba0fc2 Mon Sep 17 00:00:00 2001 From: Lncvrt Date: Wed, 8 Oct 2025 08:03:57 -0700 Subject: [PATCH] Get 1.33 working --- database/changeAccountUsername.php | 2 +- database/getTopPlayers.php | 2 +- database/loginAccount.php | 2 +- database/saveAccount.php | 3 ++- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/database/changeAccountUsername.php b/database/changeAccountUsername.php index 6d0cb89..a5ef9b9 100644 --- a/database/changeAccountUsername.php +++ b/database/changeAccountUsername.php @@ -6,7 +6,7 @@ if (isAllowedDatabaseVersion(getClientVersion())) { require __DIR__ . '/backported/1.3-beta1/changeAccountUsername.php'; exit; } - if (getClientVersion() == "1.3-beta2" || getClientVersion() == "1.3") { + if (getClientVersion() == "1.3-beta2" || getClientVersion() == "1.3" || getClientVersion() == "1.33") { require __DIR__ . '/backported/1.3-beta2/changeAccountUsername.php'; exit; } diff --git a/database/getTopPlayers.php b/database/getTopPlayers.php index 126499f..3711dee 100644 --- a/database/getTopPlayers.php +++ b/database/getTopPlayers.php @@ -2,7 +2,7 @@ require __DIR__ . '/../incl/util.php'; setPlainHeader(); if (isAllowedDatabaseVersion(getClientVersion())) { - if (getClientVersion() == "1.3-beta2" || getClientVersion() == "1.3") { + if (getClientVersion() == "1.3-beta2" || getClientVersion() == "1.3" || getClientVersion() == "1.33") { require __DIR__ . '/backported/1.3-beta2/getTopPlayers.php'; exit; } diff --git a/database/loginAccount.php b/database/loginAccount.php index 33f71a0..1e9149f 100644 --- a/database/loginAccount.php +++ b/database/loginAccount.php @@ -11,7 +11,7 @@ if (isAllowedDatabaseVersion(getClientVersion())) { require __DIR__ . '/backported/1.2-beta2/loginAccount.php'; exit; } - if (getClientVersion() == "1.3-beta2" || getClientVersion() == "1.3") { + if (getClientVersion() == "1.3-beta2" || getClientVersion() == "1.3" || getClientVersion() == "1.33") { require __DIR__ . '/backported/1.3-beta2/loginAccount.php'; exit; } diff --git a/database/saveAccount.php b/database/saveAccount.php index dccdeaf..d075cde 100644 --- a/database/saveAccount.php +++ b/database/saveAccount.php @@ -8,7 +8,8 @@ if (isAllowedDatabaseVersion(getClientVersion())) { getClientVersion() == "1.21" || getClientVersion() == "1.3-beta1" || getClientVersion() == "1.3-beta2" || - getClientVersion() == "1.3" + getClientVersion() == "1.3" || + getClientVersion() == "1.33" ) { require __DIR__ . '/backported/1.2-beta2/syncAccount.php'; exit;