Pavlov VR: update stage updates (#387)

This commit is contained in:
Greelan 2023-06-14 15:12:01 +10:00 committed by GitHub
parent 4de523de0e
commit 7a3e61626a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 64 additions and 3 deletions

View File

@ -64,7 +64,7 @@ App.RCONConnectRetrySeconds=5
App.RCONHeartbeatMinutes=0 App.RCONHeartbeatMinutes=0
App.RCONHeartbeatCommand=ping App.RCONHeartbeatCommand=ping
App.TelnetLoginFormat={0} 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.PreStartStages=[]
App.Compatibility=None App.Compatibility=None
App.SteamUpdateAnonymousLogin=True App.SteamUpdateAnonymousLogin=True
@ -80,8 +80,8 @@ App.ApplicationReadyMode=RegexMatch
App.TemplateMatchRegex={{(\$?[\w]+)}} App.TemplateMatchRegex={{(\$?[\w]+)}}
Console.FilterMatchRegex=(\[0m|\[33m) Console.FilterMatchRegex=(\[0m|\[33m)
Console.FilterMatchReplacement= Console.FilterMatchReplacement=
Console.ThrowawayMessageRegex=^(WARNING|ERROR): Shader.+$ Console.ThrowawayMessageRegex=^(WARNING|ERROR): Shader.+|.*PavlovOnlineLog: Warning: \[EOS\] Failed to copy IdToken$
Console.AppReadyRegex=^\[[\d.]+-[\d.]+:\d+\]\[[\d ]+\]LogGameState: Match State Changed from WaitingToStart to InProgress$ Console.AppReadyRegex=^\[[\d.]+-[\d.]+:\d+\]\[[\d ]+\](LogGameState|LogGameMode: Display): Match State Changed from WaitingToStart to InProgress$
Console.UserJoinRegex=^\[[\d.]+-[\d.]+:\d+\]\[[\d ]+\]PavlovLog: Player (?<userid>.+?) Joined, current bot Num = \d+$ Console.UserJoinRegex=^\[[\d.]+-[\d.]+:\d+\]\[[\d ]+\]PavlovLog: Player (?<userid>.+?) Joined, current bot Num = \d+$
Console.UserLeaveRegex=^\[[\d.]+-[\d.]+:\d+\]\[[\d ]+\]LogNet: UChannel::Close: Sending CloseBunch\. (?:.*?) UniqueId: NULL:(?<userid>.+?)$ Console.UserLeaveRegex=^\[[\d.]+-[\d.]+:\d+\]\[[\d ]+\]LogNet: UChannel::Close: Sending CloseBunch\. (?:.*?) UniqueId: NULL:(?<userid>.+?)$
Console.UserChatRegex=^$ Console.UserChatRegex=^$

61
pavlov-vrupdates.json Executable file
View File

@ -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"
}
]