From 63dd70e3c3b97de44c7d65854a29e93a76cb4f77 Mon Sep 17 00:00:00 2001 From: DataBitz <5953303+DataBitz@users.noreply.github.com> Date: Fri, 20 May 2022 00:06:12 +1200 Subject: [PATCH 1/2] Update risk-of-rain-2.kvp Updated regex for current log entries. e.g. User Join is SteamworksServerManager.OnAuthChange(steamId=11111197969451111, ownerId=11111197969451111, status=OK) User Leave is Log: connection {1} has been disconnected by timeout; address {::ffff:192.168.1.111:54586} time {126493}, last rec time {124158} rtt {13} timeout {2000} Attempt to send to not connected connection {1} --- risk-of-rain-2.kvp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/risk-of-rain-2.kvp b/risk-of-rain-2.kvp index 2ce47a2..733ced1 100644 --- a/risk-of-rain-2.kvp +++ b/risk-of-rain-2.kvp @@ -30,8 +30,8 @@ App.UniversalSleepSteamQueryPort=2 App.WakeupMode=Any Console.ThrowawayMessageRegex=^((WARNING|ERROR): Shader.+)|((Filename:.*))$ Console.AppReadyRegex=^.*Press Enter to chat.*$ -Console.UserJoinRegex=^.*GameNetworkManager.AddPlayerInternal.*$ -Console.UserLeaveRegex=^.*(.*Log: connection .* has been disconnected by timeout.*).*|.*(.*Kicking client on connection.*).*$ +Console.UserJoinRegex=^.*SteamworksServerManager.OnAuthChange.*$ +Console.UserLeaveRegex=^.*Log: connection .* has been disconnected by timeout.* Console.UserChatRegex=^.*\[\d\d:\d\d:\d\d\] \[CHAT\] <(?.+?)> (?.+)$ Meta.Author=IceOfWraith Meta.ConfigManifest=risk-of-rain-2config.json @@ -42,4 +42,4 @@ Meta.DisplayImageSource=steam:632360 Meta.DisplayName=Risk of Rain 2 Meta.EndpointURIFormat=steam://connect/{ip}/{GenericModule.App.ApplicationPort2} Meta.OS=3 -Meta.URL=https://store.steampowered.com/app/632360/Risk_of_Rain_2/ \ No newline at end of file +Meta.URL=https://store.steampowered.com/app/632360/Risk_of_Rain_2/ From a1887f672111a38bd5a2cfc7dc64daa8dbd54dfe Mon Sep 17 00:00:00 2001 From: DataBitz <5953303+DataBitz@users.noreply.github.com> Date: Sun, 22 May 2022 16:31:32 +1200 Subject: [PATCH 2/2] Update risk-of-rain-2.kvp Fix so steam ID is captured as userid on user join --- risk-of-rain-2.kvp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/risk-of-rain-2.kvp b/risk-of-rain-2.kvp index 733ced1..ca155cd 100644 --- a/risk-of-rain-2.kvp +++ b/risk-of-rain-2.kvp @@ -30,7 +30,7 @@ App.UniversalSleepSteamQueryPort=2 App.WakeupMode=Any Console.ThrowawayMessageRegex=^((WARNING|ERROR): Shader.+)|((Filename:.*))$ Console.AppReadyRegex=^.*Press Enter to chat.*$ -Console.UserJoinRegex=^.*SteamworksServerManager.OnAuthChange.*$ +Console.UserJoinRegex=^.*SteamworksServerManager.OnAuthChange.steamId=(?\d+),.*$ Console.UserLeaveRegex=^.*Log: connection .* has been disconnected by timeout.* Console.UserChatRegex=^.*\[\d\d:\d\d:\d\d\] \[CHAT\] <(?.+?)> (?.+)$ Meta.Author=IceOfWraith