From be4b03fcdf89f3d9511a1553f1d13bdd0fc23f97 Mon Sep 17 00:00:00 2001 From: itsneufox <156133096+itsneufox@users.noreply.github.com> Date: Thu, 15 Oct 2026 00:35:19 +0100 Subject: [PATCH] Update release announcements --- frontend/content/releases/launcher/v1.7.0.md | 58 +++++++++ .../content/releases/server/v1.6.7.3217.md | 117 ++++++++++++++++++ frontend/i18n/fa/code.json | 21 +++- frontend/i18n/id/code.json | 21 +++- frontend/i18n/pt-BR/code.json | 21 +++- frontend/i18n/th/code.json | 21 +++- frontend/i18n/tr/code.json | 21 +++- frontend/i18n/uk/code.json | 21 +++- frontend/i18n/zh-CN/code.json | 21 +++- frontend/src/pages/index.tsx | 107 ++++++++++------ 10 files changed, 368 insertions(+), 61 deletions(-) create mode 100644 frontend/content/releases/launcher/v1.7.0.md create mode 100644 frontend/content/releases/server/v1.6.7.3217.md diff --git a/frontend/content/releases/launcher/v1.7.0.md b/frontend/content/releases/launcher/v1.7.0.md new file mode 100644 index 000000000000..458db5bfdfea --- /dev/null +++ b/frontend/content/releases/launcher/v1.7.0.md @@ -0,0 +1,58 @@ +--- +tag: v1.7.0 +publishedAt: "2026-10-14T05:40:33Z" +htmlUrl: https://github.com/openmultiplayer/launcher/releases/tag/v1.7.0 +highlights: + - Smoother in-game overlay and improved compatibility with ENB and graphics modifications + - Models cache folder setting and recently used nickname history + - More reliable connections, reconnections, and client stability + - Armenian, Korean, and Bulgarian translations, with updates to several other languages +assets: + - label: "Download Launcher Installer (.exe)" + url: https://github.com/openmultiplayer/launcher/releases/download/v1.7.0/omp-launcher-setup.exe + size: "3.8 MB" + - label: "Download Portable Launcher (.exe)" + url: https://github.com/openmultiplayer/launcher/releases/download/v1.7.0/omp-launcher.exe + size: "8.7 MB" +--- + +## What's Changed + +### In-Game & Client Features +- Made the in-game launcher overlay smoother and more reliable, including when its window is recreated. +- Improved compatibility with ENB and other graphics modifications. +- Fixed splash-screen images displaying incorrectly on some setups. +- Fixed some custom textures failing to load when their names are long. +- Improved connections from the in-game launcher when nicknames or passwords contain special characters. +- Improved stability when joining or reconnecting to servers, receiving incomplete server responses, and closing the game. +- Reduced some unnecessary work during gameplay and overlay rendering. + +### Launcher Improvements +- Added a **Models cache folder** setting in Advanced settings, with a folder picker and a default SA-MP cache path on Windows. +- Added a history of up to five recently used nicknames, selectable from the main window and server join prompt. +- Added the `--no-omp` command-line option to launch without injecting the open.mp client. +- Added Armenian, Korean, and Bulgarian translations. Expanded or corrected Spanish, Lithuanian, Georgian, Italian, and Serbian translations. +- Fixed edited per-server nicknames being reset in the join prompt, and preserved them when changing SA-MP versions. +- Fixed connecting to password-protected servers from the server context menu. +- Encoded nicknames and passwords in in-game connect messages so special characters are handled correctly. +- Fixed CLI connections to hyphenated hostnames by resolving them to IPv4 addresses before launch. +- Fixed the SA-MP ping query payload and guarded against replies too short to parse. +- Restored the main window’s size after the loading screen, including after a reload. +- Skipped update checks in the in-game launcher and improved fallback selection of download and plugin information. +- Started the game IPC listener only when needed, improved client connection cleanup, and sent overlay window IDs to the game client. +- Improved game executable launching by validating its path, setting the game directory, and disconnecting its standard input and output. +- Improved logging: try a file beside the executable, then local app data, then standard error. +- Kept server context menu colors in sync with theme changes, removed focus outlines in the server list, and aligned Advanced settings buttons with General settings styling. +- Changed the installer to download the WebView2 bootstrapper. +- Fixed the external server dialog. + +## New Contributors +- @khe4oyan made their first contribution in https://github.com/openmultiplayer/launcher/pull/369 +- @sampmoder made their first contribution in https://github.com/openmultiplayer/launcher/pull/375 +- @edgyaf made their first contribution in https://github.com/openmultiplayer/launcher/pull/410 +- @ricardoofnl made their first contribution in https://github.com/openmultiplayer/launcher/pull/416 +- @LopezDev7 made their first contribution in https://github.com/openmultiplayer/launcher/pull/427 +- @PANZEHIR54 made their first contribution in https://github.com/openmultiplayer/launcher/pull/390 +- @JOsee321 made their first contribution in https://github.com/openmultiplayer/launcher/pull/428 + +**Full Changelog**: https://github.com/openmultiplayer/launcher/compare/v1.6.1...v1.7.0 diff --git a/frontend/content/releases/server/v1.6.7.3217.md b/frontend/content/releases/server/v1.6.7.3217.md new file mode 100644 index 000000000000..bbeab7e22fcb --- /dev/null +++ b/frontend/content/releases/server/v1.6.7.3217.md @@ -0,0 +1,117 @@ +--- +tag: v1.6.7.3217 +publishedAt: "2026-10-14T22:24:31Z" +htmlUrl: https://github.com/openmultiplayer/open.mp/releases/tag/v1.6.7.3217 +highlights: + - New NPC vehicle position and rotation natives, with improved NPC vehicle movement + - Networking fixes for ban reloads, connections, broadcasts, and server shutdown + - Pawn, component, and C API fixes, plus Conan 2 and macOS ARM build support +assets: + - label: Windows + url: https://github.com/openmultiplayer/open.mp/releases/download/v1.6.7.3217/open.mp-win-x86.zip + size: "35.6 MB" + - label: Linux + url: https://github.com/openmultiplayer/open.mp/releases/download/v1.6.7.3217/open.mp-linux-x86.tar.gz + size: "32.1 MB" + - label: Linux (DynSSL) + url: https://github.com/openmultiplayer/open.mp/releases/download/v1.6.7.3217/open.mp-linux-x86-dynssl.tar.gz + size: "26.9 MB" +--- + +## open.mp server — changes since v1.5.8.3079 + +### Server operation and networking + +- Added `artwork.show_crc_logs` to enable TXD and DFF CRC logging when needed. It is disabled by default. [#1164](https://github.com/openmultiplayer/open.mp/pull/1164) +- Fixed environment-variable substitution in server configuration, including numeric and boolean settings. [#1195](https://github.com/openmultiplayer/open.mp/pull/1195) +- Fixed `reloadbans` so reloaded bans are enforced by the network again. Matching connected players are also removed. [#1276](https://github.com/openmultiplayer/open.mp/pull/1276) +- Fixed false “server is full” conditions after kicks, rejected invalid connection-lost packets, and temporarily banned invalid connection attempts to reduce log spam. [#1209](https://github.com/openmultiplayer/open.mp/pull/1209), [#1173](https://github.com/openmultiplayer/open.mp/pull/1173) +- Fixed connections attempted immediately after server startup being rejected by an invalid network cookie. [#1213](https://github.com/openmultiplayer/open.mp/pull/1213) +- Fixed broadcast RPC payloads being shortened when a plugin reads them before transmission. This affected features such as weather changes, messages, and game text. [#1215](https://github.com/openmultiplayer/open.mp/pull/1215) +- Fixed Linux shutdown hanging or crashing when the server runs without a terminal, such as under `nohup`. [#1203](https://github.com/openmultiplayer/open.mp/pull/1203) +- Vehicle paintjobs now reset when vehicles respawn. [#1213](https://github.com/openmultiplayer/open.mp/pull/1213) + +### Scripting and components + +- Fixed `%q` escaping in Pawn `format()`, a crash when reading a missing console variable as a string, and crashes caused by invalid `SetTimerEx` arguments. [#1159](https://github.com/openmultiplayer/open.mp/pull/1159), [#1171](https://github.com/openmultiplayer/open.mp/pull/1171), [#1223](https://github.com/openmultiplayer/open.mp/pull/1223) +- Fixed spawning after leaving spectator mode and made `TogglePlayerSpectating` reliably enable spectating again. [#1187](https://github.com/openmultiplayer/open.mp/pull/1187), [#1092](https://github.com/openmultiplayer/open.mp/pull/1092) +- Changed main-script unloading so components reset after the script is unloaded, preventing callbacks and timers from referring to an unloaded script. [#1190](https://github.com/openmultiplayer/open.mp/pull/1190) +- Added usage messages when script-loading console commands are called without a filename, and clearer errors for missing legacy plugins. [#1032](https://github.com/openmultiplayer/open.mp/pull/1032), [#1273](https://github.com/openmultiplayer/open.mp/pull/1273) +- Added separate object and attached-object editing state checks, and validated incoming editing responses against the active edit mode. [#1188](https://github.com/openmultiplayer/open.mp/pull/1188) +- Fixed the `syncRotation` argument being ignored by `AttachPlayerObjectToObject`, including its C API path. [#1163](https://github.com/openmultiplayer/open.mp/pull/1163) +- Fixed C API gang-zone and pickup destruction failing to release their legacy IDs for reuse. [#1231](https://github.com/openmultiplayer/open.mp/pull/1231) +- Updated Pawn with fixes for `memcpy` and `fwrite` on packed strings, and corrected presets in the legacy server-side game-text component. [#1180](https://github.com/openmultiplayer/open.mp/pull/1180) + +### NPCs + +- Added `NPC_SetVehiclePos`, `NPC_SetVehicleRot`, `NPC_GetVehiclePos`, and `NPC_GetVehicleRot`. **Behavior change:** `NPC_SetPos` now removes an NPC from its vehicle; use the vehicle-specific setter to reposition it while seated. [#1182](https://github.com/openmultiplayer/open.mp/pull/1182), [#1237](https://github.com/openmultiplayer/open.mp/pull/1237) +- Fixed NPC vehicles appearing flat or teleporting while driving on slopes, and improved vehicle movement synchronization. [#1249](https://github.com/openmultiplayer/open.mp/pull/1249), [#1280](https://github.com/openmultiplayer/open.mp/pull/1280) +- Fixed `NPC_PutInVehicle` leaving NPCs visibly on foot in boats. [#1236](https://github.com/openmultiplayer/open.mp/pull/1236) +- Fixed dead NPCs appearing standing when streamed in. `NPC_Respawn` now clears their death state. [#1238](https://github.com/openmultiplayer/open.mp/pull/1238), [#1184](https://github.com/openmultiplayer/open.mp/pull/1184) +- Fixed NPC infinite ammo when `NPC_SetAmmo` had not been called, corrected `NPC_GetSkin`’s return value, and fixed the angle calculated by `NPC_SetAngleToPos`. [#1165](https://github.com/openmultiplayer/open.mp/pull/1165), [#1182](https://github.com/openmultiplayer/open.mp/pull/1182), [#1252](https://github.com/openmultiplayer/open.mp/pull/1252) +- Improved movement between short NPC path nodes and prevented zero-time node transitions from repeatedly running in one tick. [Movement change](https://github.com/openmultiplayer/open.mp/commit/d39310858caa62557545a93e59a917ea417ca0d9), [transition limit](https://github.com/openmultiplayer/open.mp/commit/958349e44a9f122a9182bd380e493b5bf1b5911b) +- Fixed NPC cleanup and several crashes when optional components are missing or unloading. [#1175](https://github.com/openmultiplayer/open.mp/pull/1175), [#1182](https://github.com/openmultiplayer/open.mp/pull/1182) + +### Building and deployment + +- Migrated builds to **Conan 2** and added a dedicated [build guide](https://github.com/openmultiplayer/open.mp/blob/master/BUILD.md) for Windows, Linux, and macOS. [#1233](https://github.com/openmultiplayer/open.mp/pull/1233), [#998](https://github.com/openmultiplayer/open.mp/pull/998) +- Added macOS ARM build support and fixed Windows compatibility with newer Microsoft toolchains. [#1234](https://github.com/openmultiplayer/open.mp/pull/1234), [#1235](https://github.com/openmultiplayer/open.mp/pull/1235), [#1166](https://github.com/openmultiplayer/open.mp/pull/1166) +- Fixed the 32-bit Docker runtime image missing libraries required to start `omp-server`. [#1263](https://github.com/openmultiplayer/open.mp/pull/1263) + +## All pull requests merged + +* Restore Artwork CRC logs by @SimoSbara in https://github.com/openmultiplayer/open.mp/pull/1164 +* fix microsoft's shitty ABI compat breakage by @AmyrAhmady in https://github.com/openmultiplayer/open.mp/pull/1166 +* Fix string escape with %q in format() by @SimoSbara in https://github.com/openmultiplayer/open.mp/pull/1159 +* Fix GetConsoleVarAsString crash by @ksenonadv in https://github.com/openmultiplayer/open.mp/pull/1171 +* Ignore networked ID_CONNECTION_LOST packet. by @ksenonadv in https://github.com/openmultiplayer/open.mp/pull/1173 +* Fix NPC component cleanup by @vincenzocorso in https://github.com/openmultiplayer/open.mp/pull/1175 +* Fix issues with NPCs by @SimoSbara in https://github.com/openmultiplayer/open.mp/pull/1165 +* NPC_Respawn now resets death state to false by @stley in https://github.com/openmultiplayer/open.mp/pull/1184 +* Call components reset after finishing unloading the main script. by @ksenonadv in https://github.com/openmultiplayer/open.mp/pull/1190 +* Fix spawn when leaving spectator state by @ksenonadv in https://github.com/openmultiplayer/open.mp/pull/1187 +* NPC changes and fixes by @AmyrAhmady in https://github.com/openmultiplayer/open.mp/pull/1182 +* Patch to fix env vars by @itsneufox in https://github.com/openmultiplayer/open.mp/pull/1195 +* Fix Linux server deadlock on shutdown without TTY by @TanF12 in https://github.com/openmultiplayer/open.mp/pull/1203 +* Fix server-full issue introduced by Kick changes by @ksenonadv in https://github.com/openmultiplayer/open.mp/pull/1209 +* Fix RPC call to use correct bit count for data transmission by @bssth in https://github.com/openmultiplayer/open.mp/pull/1215 +* Tweaks for pawn component and more by @NexiusTailer in https://github.com/openmultiplayer/open.mp/pull/1180 +* CAPI: Fix legacy slots not being released for GZ and Pickups by @markski1 in https://github.com/openmultiplayer/open.mp/pull/1231 +* Fix server crash for invalid SetTimerEx args by @ksenonadv in https://github.com/openmultiplayer/open.mp/pull/1223 +* conan 2 (remembered mj goat today) by @AmyrAhmady in https://github.com/openmultiplayer/open.mp/pull/1233 +* Some more fixes for macOS by @NexiusTailer in https://github.com/openmultiplayer/open.mp/pull/1235 +* macos fix, add macos ci, fix conan cache for conan 2 by @AmyrAhmady in https://github.com/openmultiplayer/open.mp/pull/1234 +* Add help message when attempting to load a script without arguments by @xerox8521 in https://github.com/openmultiplayer/open.mp/pull/1032 +* Fix syncRotation ignored to AttachPlayerObjectToObject by @SimoSbara in https://github.com/openmultiplayer/open.mp/pull/1163 +* Fix NPC_SetAngleToPos(): use `{vec.x, vec.y}` instead of `{vec.x, vec.z}` by @KW46 in https://github.com/openmultiplayer/open.mp/pull/1252 +* docker/run.sh: fix omp-server failing to start due to missing libraries by @vincenzocorso in https://github.com/openmultiplayer/open.mp/pull/1263 +* Fix moving NPC vehicle pitch not synced by @Fanorisky in https://github.com/openmultiplayer/open.mp/pull/1249 +* fix: NPC_PutInVehicle not visually attaching NPC to boat seat by @Revelts in https://github.com/openmultiplayer/open.mp/pull/1236 +* Reset vehicle paintjob on respawn and seed cookies after network start by @berkleblebiciii in https://github.com/openmultiplayer/open.mp/pull/1213 +* Fix dead NPC appearing standing when streamed in by @krzysztofmotas in https://github.com/openmultiplayer/open.mp/pull/1238 +* Core: re-apply bans to networks in reloadBans by @berkleblebiciii in https://github.com/openmultiplayer/open.mp/pull/1276 +* add linux build instructions to README.md by @aszarth in https://github.com/openmultiplayer/open.mp/pull/998 +* Fixed: TogglePlayerSpectating by @uifdev in https://github.com/openmultiplayer/open.mp/pull/1092 +* fix misleading message for missing legacy plugins by @dockfries in https://github.com/openmultiplayer/open.mp/pull/1273 +* Fix NPC teleporting on slopes while driving by @itsneufox in https://github.com/openmultiplayer/open.mp/pull/1280 +* Add NPC_GetVehiclePos and NPC_GetVehicleRot natives by @Revelts in https://github.com/openmultiplayer/open.mp/pull/1237 +* Object editing types by @xunder-matth in https://github.com/openmultiplayer/open.mp/pull/1188 + +## New Contributors +* @SimoSbara made their first contribution in https://github.com/openmultiplayer/open.mp/pull/1164 +* @vincenzocorso made their first contribution in https://github.com/openmultiplayer/open.mp/pull/1175 +* @stley made their first contribution in https://github.com/openmultiplayer/open.mp/pull/1184 +* @TanF12 made their first contribution in https://github.com/openmultiplayer/open.mp/pull/1203 +* @bssth made their first contribution in https://github.com/openmultiplayer/open.mp/pull/1215 +* @markski1 made their first contribution in https://github.com/openmultiplayer/open.mp/pull/1231 +* @xerox8521 made their first contribution in https://github.com/openmultiplayer/open.mp/pull/1032 +* @KW46 made their first contribution in https://github.com/openmultiplayer/open.mp/pull/1252 +* @Fanorisky made their first contribution in https://github.com/openmultiplayer/open.mp/pull/1249 +* @Revelts made their first contribution in https://github.com/openmultiplayer/open.mp/pull/1236 +* @berkleblebiciii made their first contribution in https://github.com/openmultiplayer/open.mp/pull/1213 +* @krzysztofmotas made their first contribution in https://github.com/openmultiplayer/open.mp/pull/1238 +* @aszarth made their first contribution in https://github.com/openmultiplayer/open.mp/pull/998 +* @dockfries made their first contribution in https://github.com/openmultiplayer/open.mp/pull/1273 + +**Full Changelog**: https://github.com/openmultiplayer/open.mp/compare/v1.5.8.3079...v1.6.7.3217 + diff --git a/frontend/i18n/fa/code.json b/frontend/i18n/fa/code.json index 27dd3dbd11ab..919a7f5528ff 100644 --- a/frontend/i18n/fa/code.json +++ b/frontend/i18n/fa/code.json @@ -145,17 +145,32 @@ "announcement.serverVersion": { "message": "نسخه {version} سرور open.mp با رفع مشکلات فراوان، بهبود عملکرد و ویژگی‌های جدید در دسترس است!" }, + "announcement.serverReleaseSummary": { + "message": "این نسخه سرور، کنترل‌های تازه‌ای برای خودروهای NPC اضافه می‌کند، حرکت خودروهای NPC را بهبود می‌دهد و مشکلات شبکه و اسکریپت‌نویسی را برطرف می‌کند." + }, "announcement.changelog": { - "message": "تغییرات" + "message": "تغییرات سرور" }, "announcement.download": { - "message": "دانلود" + "message": "دانلود سرور" }, "announcement.launcherUpdate": { "message": "لانچر نیز به‌روزرسانی دریافت کرده است!" }, + "announcement.launcherReleaseSummary": { + "message": "لانچر هم‌پوشانی داخل بازی را روان‌تر می‌کند، پشتیبانی از مودهای گرافیکی را بهبود می‌دهد و اتصال را پایدارتر می‌کند." + }, + "announcement.launcherReleaseTitle": { + "message": "لانچر open.mp نسخه {version} منتشر شد!" + }, + "announcement.serverReleaseTitle": { + "message": "نسخه {version} سرور open.mp منتشر شد!" + }, + "announcement.bothReleaseTitle": { + "message": "نسخه‌های جدید منتشر شدند: سرور open.mp {serverVersion} و لانچر {launcherVersion}!" + }, "announcement.seeWhatsNew": { - "message": "تازه‌ها را ببینید" + "message": "تازه‌های لانچر" }, "announcement.dismiss": { "message": "بستن این پیام" diff --git a/frontend/i18n/id/code.json b/frontend/i18n/id/code.json index 3e1f8275d283..df87aeb41514 100644 --- a/frontend/i18n/id/code.json +++ b/frontend/i18n/id/code.json @@ -148,17 +148,32 @@ "announcement.serverVersion": { "message": "Versi server open.mp {version} tersedia dengan banyak perbaikan bug, peningkatan kinerja, dan fitur baru!" }, + "announcement.serverReleaseSummary": { + "message": "Rilis server ini menambahkan kontrol kendaraan NPC, meningkatkan pergerakan kendaraan NPC, serta memperbaiki masalah jaringan dan skrip." + }, "announcement.changelog": { - "message": "Catatan Perubahan" + "message": "Catatan perubahan server" }, "announcement.download": { - "message": "Unduh" + "message": "Unduh server" }, "announcement.launcherUpdate": { "message": "Launcher juga telah mendapatkan pembaruan!" }, + "announcement.launcherReleaseSummary": { + "message": "Launcher meningkatkan overlay dalam game, dukungan mod grafis, dan kestabilan koneksi." + }, + "announcement.launcherReleaseTitle": { + "message": "Launcher open.mp {version} kini tersedia!" + }, + "announcement.serverReleaseTitle": { + "message": "Versi baru server open.mp {version} kini tersedia!" + }, + "announcement.bothReleaseTitle": { + "message": "Rilis baru tersedia: server open.mp {serverVersion} dan Launcher {launcherVersion}!" + }, "announcement.seeWhatsNew": { - "message": "Lihat apa yang baru" + "message": "Pembaruan Launcher" }, "announcement.dismiss": { "message": "Hapus pesan ini" diff --git a/frontend/i18n/pt-BR/code.json b/frontend/i18n/pt-BR/code.json index e42533934907..10ecf08397a2 100644 --- a/frontend/i18n/pt-BR/code.json +++ b/frontend/i18n/pt-BR/code.json @@ -155,17 +155,32 @@ "announcement.serverVersion": { "message": "A versão {version} do servidor open.mp está disponível com muitas correções, melhorias de desempenho e novos recursos!" }, + "announcement.serverReleaseSummary": { + "message": "Esta versão adiciona controles para veículos NPC, melhora o movimento deles e corrige problemas de rede e scripts." + }, "announcement.changelog": { - "message": "Registro de Alterações" + "message": "Registro de alterações do servidor" }, "announcement.download": { - "message": "Baixar" + "message": "Baixar servidor" }, "announcement.launcherUpdate": { "message": "O launcher também recebeu uma atualização!" }, + "announcement.launcherReleaseSummary": { + "message": "O launcher melhora a sobreposição no jogo, o suporte a mods gráficos e a estabilidade da conexão." + }, + "announcement.launcherReleaseTitle": { + "message": "open.mp Launcher {version} já está disponível!" + }, + "announcement.serverReleaseTitle": { + "message": "A nova versão {version} do servidor open.mp está disponível!" + }, + "announcement.bothReleaseTitle": { + "message": "Novas versões disponíveis: servidor open.mp {serverVersion} e Launcher {launcherVersion}!" + }, "announcement.seeWhatsNew": { - "message": "Veja as novidades" + "message": "Novidades do Launcher" }, "announcement.dismiss": { "message": "Dispensar esta mensagem" diff --git a/frontend/i18n/th/code.json b/frontend/i18n/th/code.json index b4bc68314c50..3188e886cb7b 100644 --- a/frontend/i18n/th/code.json +++ b/frontend/i18n/th/code.json @@ -148,17 +148,32 @@ "announcement.serverVersion": { "message": "เวอร์ชันเซิร์ฟเวอร์ open.mp {version} พร้อมให้ใช้งานแล้ว พร้อมการแก้ไขบัคมากมาย การปรับปรุงประสิทธิภาพ และคุณสมบัติใหม่!" }, + "announcement.serverReleaseSummary": { + "message": "รุ่นเซิร์ฟเวอร์นี้เพิ่มการควบคุมยานพาหนะ NPC ปรับปรุงการเคลื่อนที่ของยานพาหนะ NPC และแก้ไขปัญหาเครือข่ายกับสคริปต์" + }, "announcement.changelog": { - "message": "บันทึกการเปลี่ยนแปลง" + "message": "บันทึกการเปลี่ยนแปลงเซิร์ฟเวอร์" }, "announcement.download": { - "message": "ดาวน์โหลด" + "message": "ดาวน์โหลดเซิร์ฟเวอร์" }, "announcement.launcherUpdate": { "message": "ตัวเรียกใช้ (Launcher) ก็ได้รับการอัปเดตเช่นกัน!" }, + "announcement.launcherReleaseSummary": { + "message": "Launcher ปรับปรุงโอเวอร์เลย์ในเกม การรองรับม็อดกราฟิก และความเสถียรของการเชื่อมต่อ" + }, + "announcement.launcherReleaseTitle": { + "message": "open.mp Launcher {version} พร้อมใช้งานแล้ว!" + }, + "announcement.serverReleaseTitle": { + "message": "เซิร์ฟเวอร์ open.mp เวอร์ชัน {version} พร้อมใช้งานแล้ว!" + }, + "announcement.bothReleaseTitle": { + "message": "open.mp มีเวอร์ชันใหม่แล้ว: เซิร์ฟเวอร์ {serverVersion} และ Launcher {launcherVersion}!" + }, "announcement.seeWhatsNew": { - "message": "ดูว่ามีอะไรใหม่" + "message": "อัปเดต Launcher" }, "announcement.dismiss": { "message": "ยกเลิกข้อความนี้" diff --git a/frontend/i18n/tr/code.json b/frontend/i18n/tr/code.json index 87724c3b66a5..939018bf5a48 100644 --- a/frontend/i18n/tr/code.json +++ b/frontend/i18n/tr/code.json @@ -145,17 +145,32 @@ "announcement.serverVersion": { "message": "{version} sürümüne sahip open.mp birçok hata düzeltmesi, performans artışı ve yeni özelliklerle çıktı!" }, + "announcement.serverReleaseSummary": { + "message": "Bu sunucu sürümü NPC araç kontrolleri ekler, NPC araç hareketini iyileştirir ve ağ ile betik sorunlarını giderir." + }, "announcement.changelog": { - "message": "Değişiklik Kaydı" + "message": "Sunucu değişiklik günlüğü" }, "announcement.download": { - "message": "İndir" + "message": "Sunucuyu indir" }, "announcement.launcherUpdate": { "message": "Başlatıcı güncellendi!" }, + "announcement.launcherReleaseSummary": { + "message": "Launcher, oyun içi katmanı, grafik modları desteğini ve bağlantı kararlılığını iyileştirir." + }, + "announcement.launcherReleaseTitle": { + "message": "open.mp Launcher {version} kullanıma sunuldu!" + }, + "announcement.serverReleaseTitle": { + "message": "open.mp sunucusunun {version} sürümü çıktı!" + }, + "announcement.bothReleaseTitle": { + "message": "Yeni sürümler çıktı: open.mp sunucusu {serverVersion} ve Launcher {launcherVersion}!" + }, "announcement.seeWhatsNew": { - "message": "Yenilikleri Gör" + "message": "Launcher yenilikleri" }, "announcement.dismiss": { "message": "Bu mesajı kapat" diff --git a/frontend/i18n/uk/code.json b/frontend/i18n/uk/code.json index fa429d02a1ed..dd55c7b6d6e8 100644 --- a/frontend/i18n/uk/code.json +++ b/frontend/i18n/uk/code.json @@ -145,17 +145,32 @@ "announcement.serverVersion": { "message": "Вийшла версія open.mp {version} із численними виправленнями помилок, покращенням продуктивності та новими функціями!" }, + "announcement.serverReleaseSummary": { + "message": "Ця версія сервера додає керування транспортом NPC, покращує рух транспорту NPC та виправляє проблеми з мережею і скриптами." + }, "announcement.changelog": { - "message": "Список змін" + "message": "Список змін сервера" }, "announcement.download": { - "message": "Завантажити" + "message": "Завантажити сервер" }, "announcement.launcherUpdate": { "message": "Лаунчер оновлено!" }, + "announcement.launcherReleaseSummary": { + "message": "Лаунчер покращує внутрішньоігрове накладання, підтримку графічних модифікацій і стабільність з’єднання." + }, + "announcement.launcherReleaseTitle": { + "message": "Вийшов open.mp Launcher {version}!" + }, + "announcement.serverReleaseTitle": { + "message": "Вийшла нова версія сервера open.mp {version}!" + }, + "announcement.bothReleaseTitle": { + "message": "Вийшли нові версії: сервер open.mp {serverVersion} та Launcher {launcherVersion}!" + }, "announcement.seeWhatsNew": { - "message": "Переглянути оновлення" + "message": "Оновлення Launcher" }, "announcement.dismiss": { "message": "Закрити це повідомлення" diff --git a/frontend/i18n/zh-CN/code.json b/frontend/i18n/zh-CN/code.json index f1791801e3a6..023c80757907 100644 --- a/frontend/i18n/zh-CN/code.json +++ b/frontend/i18n/zh-CN/code.json @@ -155,17 +155,32 @@ "announcement.serverVersion": { "message": "open.mp服务器{version}版本已发布!包含多项修复、性能优化及新特性!" }, + "announcement.serverReleaseSummary": { + "message": "此服务器版本新增了 NPC 车辆控制功能,改进了 NPC 车辆移动,并修复了网络和脚本问题。" + }, "announcement.changelog": { - "message": "更新日志" + "message": "服务器更新日志" }, "announcement.download": { - "message": "下载" + "message": "下载服务器" }, "announcement.launcherUpdate": { "message": "启动器同步更新!" }, + "announcement.launcherReleaseSummary": { + "message": "启动器改进了游戏内覆盖层、图形模组兼容性和连接稳定性。" + }, + "announcement.launcherReleaseTitle": { + "message": "open.mp 启动器 {version} 现已发布!" + }, + "announcement.serverReleaseTitle": { + "message": "open.mp 服务器 {version} 新版本现已发布!" + }, + "announcement.bothReleaseTitle": { + "message": "open.mp 服务器 {serverVersion} 与启动器 {launcherVersion} 新版本现已发布!" + }, "announcement.seeWhatsNew": { - "message": "查看新特性" + "message": "启动器更新" }, "announcement.dismiss": { "message": "忽略此消息" diff --git a/frontend/src/pages/index.tsx b/frontend/src/pages/index.tsx index c2994c6a154a..0f688bc55646 100644 --- a/frontend/src/pages/index.tsx +++ b/frontend/src/pages/index.tsx @@ -91,6 +91,15 @@ const SocialIcons = () => { ); }; +type HomepageAnnouncementMode = "launcher" | "server" | "both"; + +// Select the release announcement and update its version before publishing. +const homepageAnnouncementMode: HomepageAnnouncementMode = "both"; +const homepageAnnouncementVersions = { + launcher: "v1.7.0", + server: "v1.6.7.3217", +}; + const HomepageHeader = () => { const [showAnnouncement, setShowAnnouncement] = useState(true); const [isClosingAnnouncement, setIsClosingAnnouncement] = useState(false); @@ -102,6 +111,36 @@ const HomepageHeader = () => { }, 260); }; + const announcementTitle = + homepageAnnouncementMode === "launcher" ? ( + {homepageAnnouncementVersions.launcher} }} + > + {'open.mp Launcher {version} is out now!'} + + ) : homepageAnnouncementMode === "server" ? ( + {homepageAnnouncementVersions.server} }} + > + {'open.mp server {version} is out now!'} + + ) : ( + {homepageAnnouncementVersions.server}, + launcherVersion: {homepageAnnouncementVersions.launcher}, + }} + > + {'open.mp server {serverVersion} and Launcher {launcherVersion} are now available!'} + + ); + return (
@@ -113,47 +152,35 @@ const HomepageHeader = () => { isClosingAnnouncement && "dismissible-admonition-wrapper--closing", )} > - - A new version of open.mp server and launcher is out now! - - } - > - v1.5.8.3079 }} - > - {'Version {version} of open.mp server is out with many fixes, performance boosts, and new features!'} - {" "} - - Changelog - |{" "} - - Download - - . -
- The launcher also got an update!{" "} - - See what's new - - . + + {homepageAnnouncementMode !== "launcher" && ( + <> + + This server release adds NPC vehicle controls, improves NPC vehicle movement, and fixes networking and scripting issues. + {" "} + + Server changelog + |{" "} + + Server download + + + )} + {homepageAnnouncementMode === "both" &&
} + {homepageAnnouncementMode !== "server" && ( + <> + + The launcher improves its in-game overlay, graphics-mod support, and connection reliability. + {" "} + + Launcher updates + + + )}
-