From 68d5ac07e0a139dd98047ac38af4ad7a8dc19bab Mon Sep 17 00:00:00 2001 From: peshomir <80340328+peshomir@users.noreply.github.com> Date: Sat, 24 Aug 2024 17:04:39 +0300 Subject: [PATCH] Update v0.6.5.4 - Add a message on the "New game update" screen to clarify that FX Client is not yet up to date with the latest game version --- patches.js | 6 ++++++ src/fx_core.js | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/patches.js b/patches.js index 7176933..15d2fea 100644 --- a/patches.js +++ b/patches.js @@ -18,6 +18,12 @@ export default ({ replace, replaceOne, replaceRawCode, dictionary, matchOne, mat + "

" + "FX Client v" + fx_version + " " + fx_update + "
FX Client Discord server" + "
Github repository
",`); + // Add update information + replaceRawCode(`new k("🚀 New Game Update","The game has been updated! Please reload the game.",!0,[`, + `new k("🚀 New Game Update","The game has been updated! Please reload the game." + + "

FX Client is not yet compatible with the latest version of the game.

Updates should normally be available within a few hours.
You can still use FX to play in singleplayer mode.

",!0,[` + ); + // Max size for custom maps: from 4096x4096 to 8192x8192 // TODO: test this; it might cause issues with new boat mechanics? diff --git a/src/fx_core.js b/src/fx_core.js index 7ea611e..e3bf34f 100644 --- a/src/fx_core.js +++ b/src/fx_core.js @@ -1,5 +1,5 @@ -const fx_version = '0.6.5.3'; // FX Client Version -const fx_update = 'Aug 3'; // FX Client Last Updated +const fx_version = '0.6.5.4'; // FX Client Version +const fx_update = 'Aug 24'; // FX Client Last Updated if (localStorage.getItem("fx_winCount") == undefined || localStorage.getItem("fx_winCount") == null) { var wins_counter = 0;