-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed metamod/sourcemod install bug which caused linux binaries to be…
… installed on windows. - if you had problems with sourcemod plugins on windows this will fix it Upgraded Sourcemod to latest stable release 1.7 - build 5303 Sourcemod config page - support for stock plugins + Franug-Weapon_Paints and Franug-Knifes - add sourcemod admins (by steam id or ip) - banprotection for running sourcemod plugins in lanonly mode Automatically builds mapcycle.txt and maplist.txt Now notifies you of csgosl updates Now automatically upgrades metamod/sourcemod/plugins when csgosl is upgraded New option to set IP the server should bind to (srcds command line option -ip) - useful when running lanonly server over VLAN - this option, if set, overrides the "-ip 0.0.0.0" fix for RCON on linux
- Loading branch information
1 parent
9313f71
commit 88ba1df
Showing
25 changed files
with
921 additions
and
106 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/bash | ||
|
||
export CSGOSL_ROOT=`pwd` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
MODS_ROOT=$(CSGOSL_ROOT)/mods/$(TARGET)/mods | ||
MODS_CONFIGS=$(MODS_ROOT)/addons/sourcemod/configs | ||
MODS_PLUGINS=$(MODS_ROOT)/addons/sourcemod/plugins | ||
MODS_TRANSLATIONS=$(MODS_ROOT)/addons/sourcemod/translations |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,43 @@ | ||
#Linux | ||
TARGET=linux | ||
include ../common.mk | ||
METAMOD_HOME_URL="http://www.metamodsource.net/" | ||
METAMOD_URL="http://www.gsptalk.com/mirror/sourcemod/mmsource-1.10.6-linux.tar.gz" | ||
METAMOD_VERSION="1.10.6" | ||
SOURCEMOD_HOME_URL="http://www.sourcemod.net/" | ||
SOURCEMOD_URL="http://www.sourcemod.net/smdrop/1.7/sourcemod-1.7.3-git5302-linux.tar.gz" | ||
SOURCEMOD_VERSION="1.7.3-git5302" | ||
SOURCEMOD_URL="http://www.sourcemod.net/smdrop/1.7/sourcemod-1.7.3-git5303-linux.tar.gz" | ||
SOURCEMOD_VERSION="1.7.3-git5303" | ||
export | ||
|
||
all: mods | ||
|
||
contribs: | ||
@echo "$(TARGET) metamod $(METAMOD_VERSION) $(METAMOD_HOME_URL) $(METAMOD_URL)" | ||
@echo "$(TARGET) sourcemod $(SOURCEMOD_VERSION) $(SOURCEMOD_HOME_URL) $(SOURCEMOD_URL)" | ||
$(MAKE) -C ../mods/franug-knifes contrib | ||
$(MAKE) -C ../mods/franug-weapon-paint contrib | ||
|
||
metamod: | ||
dl-metamod: | ||
wget $(METAMOD_URL) -O metamod.tar.gz | ||
|
||
sourcemod: | ||
dl-sourcemod: | ||
wget $(SOURCEMOD_URL) -O sourcemod.tar.gz | ||
|
||
mods: metamod sourcemod | ||
\rm -rf mods >/dev/null 2>&1 | ||
mkdir mods | ||
(cd mods ; tar xzvpf ../metamod.tar.gz) | ||
(cd mods ; tar xzvpf ../sourcemod.tar.gz) | ||
cp ../metamod.vdf mods/addons/ | ||
(cd mods ; zip -r ../mods.zip *) | ||
\rm -rf mods >/dev/null 2>&1 | ||
mods: dl-metamod dl-sourcemod | ||
\rm -rf $(MODS_ROOT) mods*.zip >/dev/null 2>&1 | ||
mkdir -p $(MODS_ROOT) | ||
(cd $(MODS_ROOT) ; tar xzvpf ../metamod.tar.gz) | ||
(cd $(MODS_ROOT) ; tar xzvpf ../sourcemod.tar.gz) | ||
(cd $(MODS_ROOT) ; zip -r ../mods.zip *) | ||
\rm -rf $(MODS_ROOT) >/dev/null 2>&1 | ||
mkdir -p $(MODS_ROOT) | ||
$(MAKE) -C ../mods/franug-knifes | ||
$(MAKE) -C ../mods/franug-weapon-paint | ||
(cd $(MODS_ROOT) ; zip -r ../mods-risky.zip *) | ||
\rm -rf $(MODS_ROOT) >/dev/null 2>&1 | ||
|
||
clean: | ||
\rm -f metamod.tar.gz sourcemod.tar.gz mods.zip | ||
$(MAKE) -C ../mods/franug-knifes clean | ||
$(MAKE) -C ../mods/franug-weapon-paint clean | ||
\rm -f metamod.tar.gz sourcemod.tar.gz mods*.zip | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
FRANUG_KNIFES_HOME_URL="https://github.com/Franc1sco/Franug-Knifes" | ||
FRANUG_KNIFES_URL="https://github.com/Franc1sco/Franug-Knifes/archive/ff449c6.zip" | ||
FRANUG_KNIFES_VERSION="sha-ff449c6-2016-05-05" | ||
|
||
all: build | ||
|
||
contrib: | ||
@echo "$(TARGET) franug_knifes $(FRANUG_KNIFES_VERSION) $(FRANUG_KNIFES_HOME_URL) $(FRANUG_KNIFES_URL)" | ||
|
||
dl: | ||
wget $(FRANUG_KNIFES_URL) -O franug-knifes.zip | ||
|
||
build: dl | ||
unzip -o franug-knifes.zip | ||
(cd Franug-Knifes-* ; mkdir -p $(MODS_CONFIGS) && cp -f csgo_knives.cfg $(MODS_CONFIGS)/) | ||
(cd Franug-Knifes-* ; mkdir -p $(MODS_PLUGINS)/disabled && cp -f sm_franugknife.smx $(MODS_PLUGINS)/disabled/) | ||
\rm -rf Franug-Knifes-* | ||
|
||
clean: | ||
\rm -f franug-knifes.zip | ||
\rm -rf Franug-Knifes-* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
FRANUG_WEAPON_PAINTS_HOME_URL="https://github.com/Franc1sco/Franug-Weapon_Paints" | ||
FRANUG_WEAPON_PAINTS_URL="https://github.com/Franc1sco/Franug-Weapon_Paints/archive/fc7178d.zip" | ||
FRANUG_WEAPON_PAINTS_VERSION="sha-fc7178d-2016-05-05" | ||
|
||
all: build | ||
|
||
contrib: | ||
@echo "$(TARGET) franug_weapon_paints $(FRANUG_WEAPON_PAINTS_VERSION) $(FRANUG_WEAPON_PAINTS_HOME_URL) $(FRANUG_WEAPON_PAINTS_URL)" | ||
|
||
dl: | ||
wget $(FRANUG_WEAPON_PAINTS_URL) -O franug-weapon-paint.zip | ||
|
||
build: dl | ||
unzip -o franug-weapon-paint.zip | ||
cp -f databases.cfg $(MODS_CONFIGS)/ | ||
(cd Franug-Weapon_Paints-* ; mkdir -p $(MODS_CONFIGS) && cp -f csgo_wpaints.cfg $(MODS_CONFIGS)/) | ||
(cd Franug-Weapon_Paints-* ; mkdir -p $(MODS_PLUGINS)/disabled && cp -f franug_weaponpaints_public.smx $(MODS_PLUGINS)/disabled/) | ||
(cd Franug-Weapon_Paints-* ; mkdir -p $(MODS_TRANSLATIONS) && cp -f franug_weaponpaints.phrases.txt $(MODS_TRANSLATIONS)/) | ||
\rm -rf Franug-Weapon_Paints-* | ||
|
||
clean: | ||
\rm -f franug-weapon-paint.zip | ||
\rm -rf Franug-Weapon_Paints-* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
"Databases" | ||
{ | ||
"driver_default" "mysql" | ||
|
||
// When specifying "host", you may use an IP address, a hostname, or a socket file path | ||
|
||
"default" | ||
{ | ||
"driver" "default" | ||
"host" "localhost" | ||
"database" "sourcemod" | ||
"user" "root" | ||
"pass" "" | ||
//"timeout" "0" | ||
//"port" "0" | ||
} | ||
|
||
"storage-local" | ||
{ | ||
"driver" "sqlite" | ||
"database" "sourcemod-local" | ||
} | ||
|
||
"clientprefs" | ||
{ | ||
"driver" "sqlite" | ||
"host" "localhost" | ||
"database" "clientprefs-sqlite" | ||
"user" "root" | ||
"pass" "" | ||
//"timeout" "0" | ||
//"port" "0" | ||
} | ||
|
||
"weaponpaints" | ||
{ | ||
"driver" "sqlite" | ||
"database" "weaponpaints" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,42 @@ | ||
#Windows | ||
TARGET=windows | ||
include ../common.mk | ||
METAMOD_HOME_URL="http://www.metamodsource.net/" | ||
METAMOD_URL="http://mirror.pointysoftware.net/alliedmodders/mmsource-1.10.6-windows.zip" | ||
METAMOD_VERSION="1.10.6" | ||
SOURCEMOD_HOME_URL="http://www.sourcemod.net/" | ||
SOURCEMOD_URL="https://www.sourcemod.net/smdrop/1.7/sourcemod-1.7.3-git5302-windows.zip" | ||
SOURCEMOD_VERSION="1.7.3-git5302" | ||
SOURCEMOD_URL="https://www.sourcemod.net/smdrop/1.7/sourcemod-1.7.3-git5303-windows.zip" | ||
SOURCEMOD_VERSION="1.7.3-git5303" | ||
export | ||
|
||
all: mods | ||
|
||
contribs: | ||
@echo "$(TARGET) metamod $(METAMOD_VERSION) $(METAMOD_HOME_URL) $(METAMOD_URL)" | ||
@echo "$(TARGET) sourcemod $(SOURCEMOD_VERSION) $(SOURCEMOD_HOME_URL) $(SOURCEMOD_URL)" | ||
$(MAKE) -C ../mods/franug-knifes contrib | ||
$(MAKE) -C ../mods/franug-weapon-paint contrib | ||
|
||
metamod: | ||
dl-metamod: | ||
wget $(METAMOD_URL) -O metamod.zip | ||
|
||
sourcemod: | ||
dl-sourcemod: | ||
wget $(SOURCEMOD_URL) -O sourcemod.zip | ||
|
||
mods: metamod sourcemod | ||
\rm -rf mods >/dev/null 2>&1 | ||
mkdir mods | ||
(cd mods ; unzip -o ../metamod.zip) | ||
(cd mods ; unzip -o ../sourcemod.zip) | ||
cp ../metamod.vdf mods/addons/ | ||
(cd mods ; zip -r ../mods.zip *) | ||
\rm -rf mods >/dev/null 2>&1 | ||
mods: dl-metamod dl-sourcemod | ||
\rm -rf $(MODS_ROOT) mods*.zip >/dev/null 2>&1 | ||
mkdir -p $(MODS_ROOT) | ||
(cd $(MODS_ROOT) ; unzip -o ../metamod.zip) | ||
(cd $(MODS_ROOT) ; unzip -o ../sourcemod.zip) | ||
(cd $(MODS_ROOT) ; zip -r ../mods.zip *) | ||
\rm -rf $(MODS_ROOT) >/dev/null 2>&1 | ||
mkdir -p $(MODS_ROOT) | ||
$(MAKE) -C ../mods/franug-knifes | ||
$(MAKE) -C ../mods/franug-weapon-paint | ||
(cd $(MODS_ROOT) ; zip -r ../mods-risky.zip *) | ||
\rm -rf $(MODS_ROOT) >/dev/null 2>&1 | ||
|
||
clean: | ||
\rm -f metamod.zip sourcemod.zip mods.zip | ||
$(MAKE) -C ../mods/franug-knifes clean | ||
$(MAKE) -C ../mods/franug-weapon-paint clean | ||
\rm -f metamod.zip sourcemod.zip mods*.zip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.