From 9639fb57e85ca7eddeb8d4574cce4a64aec31d1d Mon Sep 17 00:00:00 2001 From: Th3irdEye <59779319+Th3irdEye@users.noreply.github.com> Date: Sun, 28 Jan 2024 17:05:28 -0600 Subject: [PATCH 1/2] Update README.md Fixed BUILD_OBJECT_DETERIORATION_DAMAGE_RATE associated Game Setting and corrected a typo in the Description. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7e5c480..023928e 100644 --- a/README.md +++ b/README.md @@ -126,7 +126,7 @@ Information sources and credits to the following websites: | PAL_AUTO_HP_REGENE_RATE | PalAutoHPRegeneRate | Pal auto HP regeneration rate | 1.000000 | Float | | PAL_AUTO_HP_REGENE_RATE_IN_SLEEP | PalAutoHpRegeneRateInSleep | Pal sleep health regeneration rate (in Palbox) | 1.000000 | Float | | BUILD_OBJECT_DAMAGE_RATE | BuildObjectDamageRate | Damage to structure multiplier | 1.000000 | Float | -| BUILD_OBJECT_DETERIORATION_DAMAGE_RATE | PalAutoHpRegeneRateInSleep | Structure determination rate | 1.000000 | Float | +| BUILD_OBJECT_DETERIORATION_DAMAGE_RATE | BuildObjectDeteriorationDamageRate | Structure deterioration rate | 1.000000 | Float | | COLLECTION_DROP_RATE | CollectionDropRate | Gatherable items multiplier | 1.000000 | Float | | COLLECTION_OBJECT_HP_RATE | CollectionObjectHpRate | Gatherable objects HP multiplier | 1.000000 | Float | | COLLECTION_OBJECT_RESPAWN_SPEED_RATE | CollectionObjectRespawnSpeedRate | Gatherable objects respawn interval | 1.000000 | Float | From 391f0a023c80f4f58e6cf0501dd39f867f218280 Mon Sep 17 00:00:00 2001 From: mcs5234 <111593342+mcs5234@users.noreply.github.com> Date: Mon, 29 Jan 2024 23:21:49 -0500 Subject: [PATCH 2/2] Update servermanager.sh Removed duplicated ENV value BUILD_OBJECT_DETERIORATION_DAMAGE_RATE. This duplicate pointed to wrong property for PalAutoHpRegenRate --- servermanager.sh | 4 ---- 1 file changed, 4 deletions(-) diff --git a/servermanager.sh b/servermanager.sh index 957e888..5886079 100755 --- a/servermanager.sh +++ b/servermanager.sh @@ -149,10 +149,6 @@ function setupPalWorldSettingsIni() { echo "> Setting BuildObjectDeteriorationDamageRate to $BUILD_OBJECT_DETERIORATION_DAMAGE_RATE" sed -E -i "s/BuildObjectDeteriorationDamageRate=[+-]?([0-9]*[.])?[0-9]+/BuildObjectDeteriorationDamageRate=$BUILD_OBJECT_DETERIORATION_DAMAGE_RATE/" ${GAME_PATH}/Pal/Saved/Config/LinuxServer/PalWorldSettings.ini fi - if [[ ! -z ${BUILD_OBJECT_DETERIORATION_DAMAGE_RATE+x} ]]; then - echo "> Setting PalAutoHpRegeneRateInSleep to $BUILD_OBJECT_DETERIORATION_DAMAGE_RATE" - sed -E -i "s/PalAutoHpRegeneRateInSleep=[+-]?([0-9]*[.])?[0-9]+/PalAutoHpRegeneRateInSleep=$BUILD_OBJECT_DETERIORATION_DAMAGE_RATE/" ${GAME_PATH}/Pal/Saved/Config/LinuxServer/PalWorldSettings.ini - fi if [[ ! -z ${COLLECTION_DROP_RATE+x} ]]; then echo "> Setting CollectionDropRate to $COLLECTION_DROP_RATE" sed -E -i "s/CollectionDropRate=[+-]?([0-9]*[.])?[0-9]+/CollectionDropRate=$COLLECTION_DROP_RATE/" ${GAME_PATH}/Pal/Saved/Config/LinuxServer/PalWorldSettings.ini