From b96e3bbdbcbf8d8df4748aebaaf8b72c0ef1c80e Mon Sep 17 00:00:00 2001 From: richard Date: Sat, 29 Aug 2009 00:18:43 +0200 Subject: [PATCH 1/3] Made script for making release package. --- build.sh | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100755 build.sh diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..a55501f --- /dev/null +++ b/build.sh @@ -0,0 +1,44 @@ +#!/bin/sh + +RELEASEDIR=release +BUILDDIR=build +ZIPFILE=$(hg id -b)-$(hg id -n).zip + +PLUGINFILES=cstrike +DOCS=docs +PLUGINFILE=zombiereloaded.smx +PLUGINDIR=cstrike/addons/sourcemod/plugins + +# Clean release directory if specified and exit. +if [ "$1" = "clean" ] +then + rm -r $RELEASEDIR + echo "Cleaned release directory." + exit 0 +fi + +# Make release directory. +mkdir -p $RELEASEDIR + +# Check if the plugin is built. +if [ ! -e $BUILDDIR/$PLUGINFILE ] +then + echo "Cannot build release package, plugin is not built. Missing file '$BUILDDIR/$PLUGINFILE'." + exit 1 +fi + +# Copy files. +echo "Copying files..." +cp -r "$PLUGINFILES" "$RELEASEDIR" +cp -r "$DOCS" "$RELEASEDIR" + +mkdir -p $RELEASEDIR/$PLUGINDIR +cp -r $BUILDDIR/$PLUGINFILE $RELEASEDIR/$PLUGINDIR/$PLUGINFILE +cp -r license.txt $RELEASEDIR/$DOCS/license.txt + +# Make release package. +echo "Compressing files..." +cd $RELEASEDIR +zip -r $ZIPFILE * + +echo "Release package available at $RELEASEDIR/$ZIPFILE." From 578f1f643c2fdf0ce406e1a90bb9b348175c05a8 Mon Sep 17 00:00:00 2001 From: richard Date: Sat, 29 Aug 2009 16:14:06 +0200 Subject: [PATCH 2/3] Updated norwegian translations. --- .../sourcemod/translations/no/zombiereloaded.phrases.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cstrike/addons/sourcemod/translations/no/zombiereloaded.phrases.txt b/cstrike/addons/sourcemod/translations/no/zombiereloaded.phrases.txt index 1e5eb3b..fa1dc3c 100644 --- a/cstrike/addons/sourcemod/translations/no/zombiereloaded.phrases.txt +++ b/cstrike/addons/sourcemod/translations/no/zombiereloaded.phrases.txt @@ -537,6 +537,11 @@ "no" "Våpenet @green{1}@default har en kjøpegrense på @green{2}@default enheter. Vent til neste runde eller gjenoppliving." } + "Weapons zmarket grenade max" + { + "no" "Du kan bare holde {1} granat(er) av denne typen." + } + "Weapons zmarket auto-rebuy toggle on" { "no" "Autokjøp er aktivert, dine valg vil automatisk bli kjøpt hver runde eller hver gjenoppliving." From 2830eb4c7d2e2a966daaeed14a08a6a62014640d Mon Sep 17 00:00:00 2001 From: richard Date: Sat, 29 Aug 2009 23:39:59 +0200 Subject: [PATCH 3/3] Fixed players ignited twice on some anticamp volumes. --- src/zr/volfeatures/volanticamp.inc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/zr/volfeatures/volanticamp.inc b/src/zr/volfeatures/volanticamp.inc index e8f6dd4..75837ee 100644 --- a/src/zr/volfeatures/volanticamp.inc +++ b/src/zr/volfeatures/volanticamp.inc @@ -369,6 +369,9 @@ VolAnticampApplyAction(client, dataIndex, volumeIndex) // Validate amount. if (amount > 0.0) { + // Extinguish player first. + ExtinguishEntity(client); + // Ignite player for "amount" seconds. IgniteEntity(client, amount);