From 0865cec4d93c343a3ec8482f8fa9cd3e7481ed61 Mon Sep 17 00:00:00 2001 From: James Manker Date: Tue, 15 Mar 2022 22:44:39 -0500 Subject: [PATCH] Fix Risk of Rain 2 The devs broke the log. It no longer shows player join/leave properly. It just has ??? for most values. This can't be fixed, but the join regex can be. They added a space before the line previously, now they added one after the line. I'm adding buffers to each line as a failsafe. --- risk-of-rain-2.kvp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/risk-of-rain-2.kvp b/risk-of-rain-2.kvp index 7a48736..2ce47a2 100644 --- a/risk-of-rain-2.kvp +++ b/risk-of-rain-2.kvp @@ -2,6 +2,7 @@ App.AdminMethod=STDIO App.ApplicationPort1=27015 App.ApplicationPort2=27016 App.ApplicationPort3=27017 +App.RemoteAdminPort=0 App.ApplicationReadyMode=RegexMatch App.BaseDirectory=./risk-of-rain-2/1180760/ App.CommandLineArgs={{$PlatformArgs}} @@ -28,10 +29,10 @@ App.UniversalSleepApplicationUDPPort=1 App.UniversalSleepSteamQueryPort=2 App.WakeupMode=Any Console.ThrowawayMessageRegex=^((WARNING|ERROR): Shader.+)|((Filename:.*))$ -Console.AppReadyRegex=^.*Press Enter to chat.$ +Console.AppReadyRegex=^.*Press Enter to chat.*$ Console.UserJoinRegex=^.*GameNetworkManager.AddPlayerInternal.*$ -Console.UserLeaveRegex=^(.*Log: connection .* has been disconnected by timeout.*)|(.*Kicking client on connection.*)$ -Console.UserChatRegex=^\[\d\d:\d\d:\d\d\] \[CHAT\] <(?.+?)> (?.+)$ +Console.UserLeaveRegex=^.*(.*Log: connection .* has been disconnected by timeout.*).*|.*(.*Kicking client on connection.*).*$ +Console.UserChatRegex=^.*\[\d\d:\d\d:\d\d\] \[CHAT\] <(?.+?)> (?.+)$ Meta.Author=IceOfWraith Meta.ConfigManifest=risk-of-rain-2config.json Meta.MetaConfigManifest=risk-of-rain-2metaconfig.json