mirror of
https://ceregatti.org/git/daniel/dayzdockerserver.git
synced 2025-08-09 08:33:35 +00:00
Compare commits
3 commits
481e485328
...
baf4ab82bc
Author | SHA1 | Date | |
---|---|---|---|
![]() |
baf4ab82bc | ||
![]() |
3d93b4d297 | ||
![]() |
dc974ddb64 |
20 changed files with 44 additions and 16 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -2,3 +2,4 @@
|
|||
*.iml
|
||||
.env*
|
||||
node_modules/
|
||||
files/serverDZ.cfg.live
|
||||
|
|
1
files/mods/1797720064/xml.env
Normal file
1
files/mods/1797720064/xml.env
Normal file
|
@ -0,0 +1 @@
|
|||
TYPES=./Extras/types.xml
|
1
files/mods/1832448183/xml.env
Normal file
1
files/mods/1832448183/xml.env
Normal file
|
@ -0,0 +1 @@
|
|||
TYPES=./server\ data/types.xml
|
1
files/mods/1890912719/xml.env
Normal file
1
files/mods/1890912719/xml.env
Normal file
|
@ -0,0 +1 @@
|
|||
TYPES=./Types/types_FBF.xml
|
1
files/mods/2049002856/xml.env
Normal file
1
files/mods/2049002856/xml.env
Normal file
|
@ -0,0 +1 @@
|
|||
TYPES=./Extra/types_MCK.xml
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
1
files/mods/2693659085/xml.env
Normal file
1
files/mods/2693659085/xml.env
Normal file
|
@ -0,0 +1 @@
|
|||
TYPES=./Xmls/types\(NOT\ A\ REPLACER\).xml
|
1
files/mods/2860643107/xml.env
Normal file
1
files/mods/2860643107/xml.env
Normal file
|
@ -0,0 +1 @@
|
|||
TYPES=./00_Info/Types/example_types_complete.xml
|
1
files/mods/2905759309/xml.env
Normal file
1
files/mods/2905759309/xml.env
Normal file
|
@ -0,0 +1 @@
|
|||
TYPES=./XML/Types.xml
|
1
files/mods/@BoomLaysThings
Symbolic link
1
files/mods/@BoomLaysThings
Symbolic link
|
@ -0,0 +1 @@
|
|||
2860643107
|
1
files/mods/@BowenCamoGear
Symbolic link
1
files/mods/@BowenCamoGear
Symbolic link
|
@ -0,0 +1 @@
|
|||
2905759309
|
1
files/mods/@FlipTransport
Symbolic link
1
files/mods/@FlipTransport
Symbolic link
|
@ -0,0 +1 @@
|
|||
1832448183
|
1
files/mods/@ForeverBurningCampfire
Symbolic link
1
files/mods/@ForeverBurningCampfire
Symbolic link
|
@ -0,0 +1 @@
|
|||
1890912719
|
1
files/mods/@MassClothing
Symbolic link
1
files/mods/@MassClothing
Symbolic link
|
@ -0,0 +1 @@
|
|||
2693659085
|
1
files/mods/@MuchCarKey
Symbolic link
1
files/mods/@MuchCarKey
Symbolic link
|
@ -0,0 +1 @@
|
|||
2049002856
|
1
files/mods/@WindstridesClothingPack
Symbolic link
1
files/mods/@WindstridesClothingPack
Symbolic link
|
@ -0,0 +1 @@
|
|||
1797720064
|
|
@ -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
|
||||
|
|
28
web/bin/dz
28
web/bin/dz
|
@ -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}" ]
|
||||
|
|
Loading…
Add table
Reference in a new issue