Skip to content

Commit

Permalink
Fix matchmaker games not launching (#6565)
Browse files Browse the repository at this point in the history
  • Loading branch information
BlackYps authored Nov 29, 2024
1 parent b809ad7 commit 4a824e8
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 6 deletions.
16 changes: 16 additions & 0 deletions docs/_posts/2024-11-29-3814.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
layout: post
title: Game version 3814
permalink: changelog/3814
---


# Game version 3814 (29th of November, 2024)

A log statement accessed an uninitialized variable, which causes matchmaker games to crash.
We fixed the log statement and matchmaker should now work again.
Special thanks to clyf and Nomander for being the emergency response team!

With kind regards,

BlackYps
2 changes: 1 addition & 1 deletion lua/ui/lobby/autolobby.lua
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ local AutolobbyCommunicationsInstance = false
---@param natTraversalProvider any
---@return UIAutolobbyCommunications
function CreateLobby(protocol, localPort, desiredPlayerName, localPlayerUID, natTraversalProvider)
LOG("CreateLobby", protocol, localPort, desiredPlayerName, localPlayerUID, natTraversalProvider)
LOG("CreateLobby", protocol, localPort, desiredPlayerName, localPlayerUID)

-- create the interface, needs to be done before the lobby is
local playerCount = tonumber(GetCommandLineArg("/players", 1)[1]) or 8
Expand Down
19 changes: 18 additions & 1 deletion lua/ui/lobby/changelogData.lua
Original file line number Diff line number Diff line change
@@ -1,8 +1,25 @@
---@type number
last_version = 3813
last_version = 3814

---@type PatchNotes[]
gamePatches = {
{
version = 3814,
name = "Hotfix",
hasPrettyGithubRelease = true,
hasPrettyPatchnotes = false,
description = {
"# Game version 3814 (29th of November, 2024)",
"",
"A log statement accessed an uninitialized variable, which causes matchmaker games to crash.",
"We fixed the log statement and matchmaker should now work again.",
"Special thanks to clyf and Nomander for being the emergency response team!",
"",
"With kind regards,",
"",
"BlackYps",
},
},
{
version = 3813,
name = "Developers patch",
Expand Down
6 changes: 3 additions & 3 deletions lua/version.lua
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ local Commit = 'unknown' -- The use of `'` instead of `"` is **intentional**

--#endregion

local Version = "3813"
---@alias PATCH "3813"
---@alias VERSION "1.5.3813"
local Version = "3814"
---@alias PATCH "3814"
---@alias VERSION "1.5.3814"
---@return PATCH # Game release
function GetVersion()
LOG(string.format('Supreme Commander: Forged Alliance Lua version %s at %s (%s)', Version, GameType, Commit))
Expand Down
2 changes: 1 addition & 1 deletion mod_info.lua
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
-- - https://github.com/FAForever/fa/blob/deploy/fafdevelop/lua/MODS.LUA

name = "Forged Alliance Forever"
version = 3813 -- needs to be an integer as it is parsed as a short (16 bit integer)
version = 3814 -- needs to be an integer as it is parsed as a short (16 bit integer)
_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!"
Expand Down

0 comments on commit 4a824e8

Please sign in to comment.