From 721bb1e0318867d279f28adf5818017b309db836 Mon Sep 17 00:00:00 2001 From: IceOfWraith <96364530+IceOfWraith@users.noreply.github.com> Date: Wed, 31 May 2023 22:37:48 -0500 Subject: [PATCH] Update Vintage Story Regex (#383) The latest version includes the date at the beginning of the line. Updated the regex to handle new and old versions. `31.5.2023 18:52:33 [Server Event] Dedicated Server now running on Port 40027 and all ips!` --- vintage-story.kvp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/vintage-story.kvp b/vintage-story.kvp index 754086e..f0330f7 100644 --- a/vintage-story.kvp +++ b/vintage-story.kvp @@ -69,10 +69,10 @@ App.TemplateMatchRegex={{(\$?[\w]+)}} Console.FilterMatchRegex= Console.FilterMatchReplacement= Console.ThrowawayMessageRegex=^(WARNING|ERROR): Shader.+$ -Console.AppReadyRegex=^[\d:]+ \[Server Event\] Dedicated Server now running on Port \d+ and (all ips|ip .*)!$ -Console.UserJoinRegex=^[\d:]+ \[Server Event\] (?.+?) [\[\]a-f\d:.]+ joins\.$ -Console.UserLeaveRegex=^[\d:]+ \[Server Event\] Player (?.+?) (left|got removed\. Reason: Server shutting down - Shutdown via server command).*$ -Console.UserChatRegex=^[\d:]+ \[Server Chat\] (?.+?): (?.+?): (?.+)$ +Console.AppReadyRegex=^[\d.]*\s*[\d:]+ \[Server Event\] Dedicated Server now running on Port \d+ and (all ips|ip .*)!$ +Console.UserJoinRegex=^[\d.]*\s*[\d:]+ \[Server Event\] (?.+?) [\[\]a-f\d:.]+ joins\.$ +Console.UserLeaveRegex=^[\d.]*\s*[\d:]+ \[Server Event\] Player (?.+?) (left|got removed\. Reason: Server shutting down - Shutdown via server command).*$ +Console.UserChatRegex=^[\d.]*\s*[\d:]+ \[Server Chat\] (?.+?): (?.+?): (?.+)$ Console.UpdateAvailableRegex=^\[\d\d:\d\d:\d\d\] \[INFO\] A new server update is available! v[\d\.]+.$ Console.MetricsRegex= Console.SuppressLogAtStart=False @@ -83,4 +83,4 @@ Limits.SleepOnStart=False Limits.SleepDelayMinutes=5 Limits.DozeDelay=2 Limits.AutoRetryCount=5 -Limits.SleepStartThresholdSeconds=25 \ No newline at end of file +Limits.SleepStartThresholdSeconds=25