From b9594ee603133e4f12962663bf07c50b261dcddb Mon Sep 17 00:00:00 2001 From: Blazico Date: Sun, 12 Oct 2025 18:40:58 +0200 Subject: [PATCH] Add handling for 'wl:mkw_race_result' in WWFC report processing --- gpcm/report.go | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/gpcm/report.go b/gpcm/report.go index 97dfb38..f353341 100644 --- a/gpcm/report.go +++ b/gpcm/report.go @@ -63,6 +63,15 @@ func (g *GameSpySession) handleWWFCReport(command common.GameSpyCommand) { } qr2.ProcessMKWSelectRecord(g.User.ProfileId, key, value) + + case "wl:mkw_race_result": + if g.GameName != "mariokartwii" { + logging.Warn(g.ModuleName, "Ignoring", keyColored, "from wrong game") + continue + } + + logging.Info(g.ModuleName, "Received race result from profile", aurora.BrightCyan(strconv.FormatUint(uint64(g.User.ProfileId), 10))) + logging.Info(g.ModuleName, "Race result payload:", aurora.BrightMagenta(value)) } } }