diff --git a/pavlov-vr.kvp b/pavlov-vr.kvp index 5268535..2c2e0ba 100755 --- a/pavlov-vr.kvp +++ b/pavlov-vr.kvp @@ -64,7 +64,7 @@ App.RCONConnectRetrySeconds=5 App.RCONHeartbeatMinutes=0 App.RCONHeartbeatCommand=ping App.TelnetLoginFormat={0} -App.UpdateSources=[{"UpdateStageName":"SteamCMD Download","UpdateSourcePlatform":"Linux","UpdateSource":"SteamCMD","UpdateSourceData":"622970","UpdateSourceArgs":"555160","UpdateSourceVersion":"{{ServerVersion}}"},{"UpdateStageName":"Create Logs Directory","UpdateSourcePlatform":"Linux","UpdateSource":"CreateDirectory","UpdateSourceArgs":"{{$FullBaseDir}}Pavlov/Saved/Logs","OverwriteExistingFiles":false},{"UpdateStageName":"Create Config Directory","UpdateSourcePlatform":"Linux","UpdateSource":"CreateDirectory","UpdateSourceArgs":"{{$FullBaseDir}}Pavlov/Saved/Config/LinuxServer","OverwriteExistingFiles":false},{"UpdateStageName":"Create Maps Directory","UpdateSourcePlatform":"Linux","UpdateSource":"CreateDirectory","UpdateSourceArgs":"{{$FullBaseDir}}Pavlov/Saved/maps","OverwriteExistingFiles":false},{"UpdateStageName":"Config File Download","UpdateSourcePlatform":"Linux","UpdateSource":"FetchURL","UpdateSourceData":"https://raw.githubusercontent.com/CubeCoders/AMPTemplates/main/pavlov-vrconfigfile.ini","UpdateSourceArgs":"Game.ini","UpdateSourceTarget":"{{$FullBaseDir}}Pavlov/Saved/Config/LinuxServer","OverwriteExistingFiles":false}] +App.UpdateSources=@IncludeJson[pavlov-vrupdates.json] App.PreStartStages=[] App.Compatibility=None App.SteamUpdateAnonymousLogin=True @@ -80,8 +80,8 @@ App.ApplicationReadyMode=RegexMatch App.TemplateMatchRegex={{(\$?[\w]+)}} Console.FilterMatchRegex=(\[0m|\[33m) Console.FilterMatchReplacement= -Console.ThrowawayMessageRegex=^(WARNING|ERROR): Shader.+$ -Console.AppReadyRegex=^\[[\d.]+-[\d.]+:\d+\]\[[\d ]+\]LogGameState: Match State Changed from WaitingToStart to InProgress$ +Console.ThrowawayMessageRegex=^(WARNING|ERROR): Shader.+|.*PavlovOnlineLog: Warning: \[EOS\] Failed to copy IdToken$ +Console.AppReadyRegex=^\[[\d.]+-[\d.]+:\d+\]\[[\d ]+\](LogGameState|LogGameMode: Display): Match State Changed from WaitingToStart to InProgress$ Console.UserJoinRegex=^\[[\d.]+-[\d.]+:\d+\]\[[\d ]+\]PavlovLog: Player (?.+?) Joined, current bot Num = \d+$ Console.UserLeaveRegex=^\[[\d.]+-[\d.]+:\d+\]\[[\d ]+\]LogNet: UChannel::Close: Sending CloseBunch\. (?:.*?) UniqueId: NULL:(?.+?)$ Console.UserChatRegex=^$ diff --git a/pavlov-vrupdates.json b/pavlov-vrupdates.json new file mode 100755 index 0000000..0d7dd2f --- /dev/null +++ b/pavlov-vrupdates.json @@ -0,0 +1,61 @@ +[ + { + "UpdateStageName":"PC Server Binary Symlink Removal", + "UpdateSourcePlatform":"Linux", + "UpdateSource":"Executable", + "UpdateSourceData":"/bin/bash", + "UpdateSourceArgs":"-c 'rm {{$FullBaseDir}}Pavlov/Binaries/Linux/PavlovServer'" + }, + { + "UpdateStageName":"SteamCMD Download", + "UpdateSourcePlatform":"Linux", + "UpdateSource":"SteamCMD", + "UpdateSourceData":"622970", + "UpdateSourceArgs":"555160", + "UpdateSourceVersion":"{{ServerVersion}}" + }, + { + "UpdateStageName":"Create Logs Directory", + "UpdateSourcePlatform":"Linux", + "UpdateSource":"CreateDirectory", + "UpdateSourceArgs":"{{$FullBaseDir}}Pavlov/Saved/Logs", + "OverwriteExistingFiles":false + }, + { + "UpdateStageName":"Create Config Directory", + "UpdateSourcePlatform":"Linux", + "UpdateSource":"CreateDirectory", + "UpdateSourceArgs":"{{$FullBaseDir}}Pavlov/Saved/Config/LinuxServer", + "OverwriteExistingFiles":false + }, + { + "UpdateStageName":"Create Maps Directory", + "UpdateSourcePlatform":"Linux", + "UpdateSource":"CreateDirectory", + "UpdateSourceArgs":"{{$FullBaseDir}}Pavlov/Saved/maps", + "OverwriteExistingFiles":false + }, + { + "UpdateStageName":"Config File Download", + "UpdateSourcePlatform":"Linux", + "UpdateSource":"FetchURL", + "UpdateSourceData":"https://raw.githubusercontent.com/CubeCoders/AMPTemplates/main/pavlov-vrconfigfile.ini", + "UpdateSourceArgs":"Game.ini", + "UpdateSourceTarget":"{{$FullBaseDir}}Pavlov/Saved/Config/LinuxServer", + "OverwriteExistingFiles":false + }, + { + "UpdateStageName":"PC Server Binary Symlink Creation", + "UpdateSourcePlatform":"Linux", + "UpdateSource":"Executable", + "UpdateSourceData":"/bin/ln", + "UpdateSourceArgs":"-s {{$FullBaseDir}}Pavlov/Binaries/Linux/PavlovServer-Linux-Shipping {{$FullBaseDir}}Pavlov/Binaries/Linux/PavlovServer" + }, + { + "UpdateStageName":"Shared Library Symlink Creation", + "UpdateSourcePlatform":"Linux", + "UpdateSource":"Executable", + "UpdateSourceData":"/bin/ln", + "UpdateSourceArgs":"-sf /usr/lib/x86_64-linux-gnu/libc++.so.1 {{$FullBaseDir}}linux64/libc++.so" + } +] \ No newline at end of file