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

dev
peshomir 2024-08-24 17:04:39 +03:00
parent 287f58db62
commit 68d5ac07e0
2 changed files with 8 additions and 2 deletions

View File

@ -18,6 +18,12 @@ export default ({ replace, replaceOne, replaceRawCode, dictionary, matchOne, mat
+ "<br><br><b>" + "FX Client v" + fx_version + " " + fx_update + "<br><a href='https://discord.gg/dyxcwdNKwK' target='_blank'>FX Client Discord server</a>"
+ "<br><a href='https://github.com/fxclient/FXclient' target='_blank'>Github repository</a></b>",`);
// 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."
+ "<div style='border: white; border-width: 1px; border-style: solid; margin: 10px; padding: 5px;'><h2>FX Client is not yet compatible with the latest version of the game.</h2><p>Updates should normally be available within a few hours.<br>You can still use FX to play in singleplayer mode.</p></div>",!0,[`
);
// Max size for custom maps: from 4096x4096 to 8192x8192
// TODO: test this; it might cause issues with new boat mechanics?

View File

@ -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;