From b5d9e27e6f0bfaad8204682a4f94ebc7197073ca Mon Sep 17 00:00:00 2001 From: Jip Date: Sun, 5 Mar 2023 14:21:32 +0100 Subject: [PATCH] Revert network parameter changes (#4786) --- changelog.md | 10 ++++++++++ lua/ui/game/gamemain.lua | 9 ++++----- lua/ui/lobby/changelogData.lua | 18 +++++++++++++++++- lua/version.lua | 6 +++--- mod_info.lua | 2 +- 5 files changed, 35 insertions(+), 10 deletions(-) diff --git a/changelog.md b/changelog.md index 72eff1150b..ba14a9f056 100644 --- a/changelog.md +++ b/changelog.md @@ -1,6 +1,16 @@ Some sections of the changelog are available in other languages such as [French](changelog-fr.md) or [Russian](changelog-ru.md) +# Game version 3755 (5th of March, 2023) + +## Bug fixes + +- (#4786) Revert the network parameters back to their usual values + +## Contributors + +Jip (#4786) + # Game version 3754 (5th of March, 2023) See the patch notes of 3751 for the full patch notes. diff --git a/lua/ui/game/gamemain.lua b/lua/ui/game/gamemain.lua index e21248b6b9..1ac268b064 100644 --- a/lua/ui/game/gamemain.lua +++ b/lua/ui/game/gamemain.lua @@ -183,15 +183,14 @@ function CreateUI(isReplay) ConExecute('d3d_WindowsCursor on') -- tweak networking parameters - ConExecute('net_MinResendDelay 80') - ConExecute('net_MaxResendDelay 300') + ConExecute('net_MinResendDelay 100') + ConExecute('net_MaxResendDelay 1000') ConExecute('net_MaxSendRate 8192') ConExecute('net_MaxBacklog 8192') - ConExecute('net_SendDelay 1') - ConExecute('net_AckDelay 1') - ConExecute('net_ResendDelayBias 1') + ConExecute('net_SendDelay 5') + ConExecute('net_AckDelay 5') -- enable experimental graphics if Prefs.GetFromCurrentProfile('options.fidelity') >= 2 and diff --git a/lua/ui/lobby/changelogData.lua b/lua/ui/lobby/changelogData.lua index dd4ce32be1..691df02fc5 100644 --- a/lua/ui/lobby/changelogData.lua +++ b/lua/ui/lobby/changelogData.lua @@ -1,4 +1,4 @@ -last_version = 3754 +last_version = 3755 ---@alias PatchNotesType "Hotfix"|"Developers patch"|"Balance patch" @@ -12,6 +12,22 @@ last_version = 3754 ---@type PatchNotes[] gamePatches = { + { + version = 3755, + name = "Hotfix", + description = { + "", + "See the patch notes of 3751 for the full patch notes.", + "", + "## Bug fixes", + "", + "- (#4786) Revert the network parameters back to their usual values", + "", + "## Contributors", + "", + "Jip (#4786)", + } + }, { version = 3754, name = "Hotfix", diff --git a/lua/version.lua b/lua/version.lua index ff55441693..27f37c435d 100644 --- a/lua/version.lua +++ b/lua/version.lua @@ -1,6 +1,6 @@ -local Version = "3754" ----@alias PATCH "3754" ----@alias VERSION "1.5.3754" +local Version = "3755" +---@alias PATCH "3755" +---@alias VERSION "1.5.3755" ---@return PATCH function GetVersion() LOG('Supreme Commander: Forged Alliance version ' .. Version) diff --git a/mod_info.lua b/mod_info.lua index c4d2a7d5f6..67bbe19c87 100644 --- a/mod_info.lua +++ b/mod_info.lua @@ -3,7 +3,7 @@ -- Documentation for the extended FAF mod_info.lua format can be found here: -- https://github.com/FAForever/fa/wiki/mod_info.lua-documentation name = "Forged Alliance Forever" -version = 3754 +version = 3755 _faf_modname='faf' copyright = "Forged Alliance Forever Community" description = "Forged Alliance Forever extends Forged Alliance, bringing new patches, game modes, units, ladder, and much more!"