From b246d4658a2a8a8ff050270cbb3374adcb3c963a Mon Sep 17 00:00:00 2001 From: Felix Beckmann Date: Thu, 11 Aug 2016 23:35:13 +0200 Subject: [PATCH 1/2] Fix escaping params for ZSH --- ARKSurvivalEvolved/arkserver | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ARKSurvivalEvolved/arkserver b/ARKSurvivalEvolved/arkserver index bedae9e1f..33c20eb6d 100644 --- a/ARKSurvivalEvolved/arkserver +++ b/ARKSurvivalEvolved/arkserver @@ -38,9 +38,10 @@ rconpassword="" # Set to enable rcon maxplayers="50" ip="0.0.0.0" updateonstart="off" - + + fn_parms(){ -parms="TheIsland?listen?MultiHome=${ip}?SessionName=${servername}?MaxPlayers=${maxplayers}?QueryPort=${queryport}?RCONPort=${rconport}?Port=${port}?ServerAdminPassword=${rconpassword}" +parms="\"TheIsland?listen?MultiHome=${ip}?SessionName=${servername}?MaxPlayers=${maxplayers}?QueryPort=${queryport}?RCONPort=${rconport}?Port=${port}?ServerAdminPassword=${rconpassword}\"" } #### Advanced Variables #### From b36e5da404bb17aa5f78232edfb11553ca1e10e3 Mon Sep 17 00:00:00 2001 From: Flex Date: Thu, 11 Aug 2016 23:44:45 +0200 Subject: [PATCH 2/2] Remove emptyline change. --- ARKSurvivalEvolved/arkserver | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ARKSurvivalEvolved/arkserver b/ARKSurvivalEvolved/arkserver index 33c20eb6d..e21ac212e 100644 --- a/ARKSurvivalEvolved/arkserver +++ b/ARKSurvivalEvolved/arkserver @@ -37,8 +37,7 @@ rconport="32330" rconpassword="" # Set to enable rcon maxplayers="50" ip="0.0.0.0" -updateonstart="off" - +updateonstart="off" fn_parms(){ parms="\"TheIsland?listen?MultiHome=${ip}?SessionName=${servername}?MaxPlayers=${maxplayers}?QueryPort=${queryport}?RCONPort=${rconport}?Port=${port}?ServerAdminPassword=${rconpassword}\""