Compare commits

...

3 commits

20 changed files with 44 additions and 16 deletions

1
.gitignore vendored
View file

@ -2,3 +2,4 @@
*.iml
.env*
node_modules/
files/serverDZ.cfg.live

View file

@ -0,0 +1 @@
TYPES=./Extras/types.xml

View file

@ -0,0 +1 @@
TYPES=./server\ data/types.xml

View file

@ -0,0 +1 @@
TYPES=./Types/types_FBF.xml

View file

@ -0,0 +1 @@
TYPES=./Extra/types_MCK.xml

View file

@ -1,2 +1,2 @@
TYPES=./xml_and_clasnames/snafu_types.xml
CFGSPAWNABLETYPES=./xml_and_clasnames/snafuspawnabletypes25percent.xml
TYPES=./XML_and_Clasnames/SNAFU_types.xml
CFGSPAWNABLETYPES=./XML_and_Clasnames/snafuspawnabletypes25percent.xml

View file

@ -1,5 +1,4 @@
CFGSPAWNABLETYPES=./files/spawnabletypes/mmg_cfgspawnabletypes.xml
# Merge all the XML files into a single types.xml file:
# Merge all the XML files into a single types.xml file in the run time mods directory:
# cd /mods/221100/2663169692/files/types
# xmlmerge -o types.xml *.xml
TYPES=local
# xmlmerge -o /mods/221100/2663169692/types.xml *.xml
CFGSPAWNABLETYPES=./files/spawnabletypes/mmg_cfgspawnabletypes.xml

View file

@ -1,6 +1,6 @@
CFGSPAWNABLETYPES=https://raw.githubusercontent.com/RedFalconKen/RedFalconFlightSystem-Heliz/main/Config%20Files/Event%20Spawn%20Config/RFFSHelis_cfgspawnabletypes.xml
#CFGEVENTSPAWNS=https://raw.githubusercontent.com/RedFalconKen/RedFalconFlightSystem-Heliz/main/Config%20Files/Event%20Spawn%20Config/Banov/RFFSHelis_cfgeventspawns.xml
CFGEVENTSPAWNS=https://raw.githubusercontent.com/RedFalconKen/RedFalconFlightSystem-Heliz/main/Config%20Files/Event%20Spawn%20Config/Chernarus/RFFSHelis_cfgeventspawns.xml
CFGEVENTSPAWNS=https://raw.githubusercontent.com/RedFalconKen/RedFalconFlightSystem-Heliz/main/Config%20Files/Event%20Spawn%20Config/Banov/RFFSHelis_cfgeventspawns.xml
#CFGEVENTSPAWNS=https://raw.githubusercontent.com/RedFalconKen/RedFalconFlightSystem-Heliz/main/Config%20Files/Event%20Spawn%20Config/Chernarus/RFFSHelis_cfgeventspawns.xml
#CFGEVENTSPAWNS=https://raw.githubusercontent.com/RedFalconKen/RedFalconFlightSystem-Heliz/main/Config%20Files/Event%20Spawn%20Config/DeerIsle/RFFSHelis_cfgeventspawns.xml
#CFGEVENTSPAWNS=https://raw.githubusercontent.com/RedFalconKen/RedFalconFlightSystem-Heliz/main/Config%20Files/Event%20Spawn%20Config/Namalsk/RFFSHelis_cfgeventspawns.xml
EVENTS=https://raw.githubusercontent.com/RedFalconKen/RedFalconFlightSystem-Heliz/main/Config%20Files/Event%20Spawn%20Config/RFFSHelis_events.xml

View file

@ -0,0 +1 @@
TYPES=./Xmls/types\(NOT\ A\ REPLACER\).xml

View file

@ -0,0 +1 @@
TYPES=./00_Info/Types/example_types_complete.xml

View file

@ -0,0 +1 @@
TYPES=./XML/Types.xml

1
files/mods/@BoomLaysThings Symbolic link
View file

@ -0,0 +1 @@
2860643107

1
files/mods/@BowenCamoGear Symbolic link
View file

@ -0,0 +1 @@
2905759309

1
files/mods/@FlipTransport Symbolic link
View file

@ -0,0 +1 @@
1832448183

View file

@ -0,0 +1 @@
1890912719

1
files/mods/@MassClothing Symbolic link
View file

@ -0,0 +1 @@
2693659085

1
files/mods/@MuchCarKey Symbolic link
View file

@ -0,0 +1 @@
2049002856

View file

@ -0,0 +1 @@
1797720064

View file

@ -586,7 +586,7 @@ status(){
else
RELEASE="Experimental"
fi
VERSION="$(strings /serverfiles/DayZServer | grep -P "DayZ \d\.\d+\.\d+" | cut -c6-) - ${RELEASE}"
VERSION=$(cat /serverfiles/version)
# Map
MAP=${MAP}
# Number of mods plus the list denoting on or off

View file

@ -198,6 +198,7 @@ install(){
else
printf "[ ${lightblue}DayZ${default} ] The server is already installed.\n"
fi
putVersion
}
# Update the server files.
@ -243,6 +244,25 @@ update(){
printf "\tAvailable version: ${green}${availablebuild}${default}\n"
printf "\thttps://steamdb.info/app/${release_server_appid}/\n\n"
fi
putVersion
}
function putVersion() {
# Put the version in a file for easy access
BUILDID=$(grep buildid /serverfiles/steamapps/appmanifest_223350.acf | awk '{print $2}' | tr -d '"')
# FIXME! Get the server version from the buildid...somehow
echo "1.28.160123" > /serverfiles/version
}
function getVersion() {
VERSION=$(cat /serverfiles/version)
if [[ ${release_client_appid} = "221100" ]]
then
RELEASE="Stable"
else
RELEASE="Experimental"
fi
echo "${VERSION} - ${RELEASE}"
}
# Update mods
@ -265,13 +285,7 @@ status(){
if [ -f "${SERVER_INSTALL_FILE}" ]
then
INSTALLED="${YES}"
if [[ ${release_client_appid} = "221100" ]]
then
RELEASE="Stable"
else
RELEASE="Experimental"
fi
VERSION="$(strings /serverfiles/DayZServer | grep -P "DayZ \d\.\d+\.\d+" | cut -c6-) - ${RELEASE}"
VERSION=$(getVersion)
fi
# Logged into Steam
if [ -f "${STEAM_LOGIN}" ]