Dear visitor, welcome to sourceserver.info. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.
Ein für mich nettes Feature wäre ja wenn das Script eine E-Mail an mich sendet wenn der Server länger als XY Minuten Offline ist und nicht gestartet werden kann wegen einem Problem. Oder ich per Mail benachichtigt werde wenn der Server geupdatet wurde
Source code |
|
1 2 3 4 |
while [[ "1" = "1" ]]; do if tail -parameter -f $DIR/$SRCDSDIR/screenlog.0 | grep -q "Suchmuster"; then echo "$SCREENNAME wurde geupdatet am $DATE" >> $LOGFILE bla bla |
Source code |
|
1 2 3 4 5 6 7 8 9 |
if [[ `cat $LOGFILE |grep Suchmuster'` ]]; then if [ -f "$LOGFILE" ]; then tar cvfj $LOGFILE-`date +%H-%M-%Y`.tar.gz $LOGFILE echo "$LOGFILE from $DATE as Attachment" |mutt -s "$SUBJECT" -a "$LOGFILE-`date +%H-%M-%Y`.tar.gz" $MAIL rm $LOGILFE*.tar.gz # Purge Logfile echo "" > $LOGFILE fi fi |
This post has been edited 1 times, last edit by "Impact" (Apr 23rd 2011, 5:09pm)
This post has been edited 3 times, last edit by "Impact" (Apr 26th 2011, 8:54am)
Administrator
Location: Hagen
Occupation: Mechatroniker (didaktische Systeme)
wcf.user.option.userOption53: Nein
Source code |
|
1 2 3 4 5 6 7 8 9 10 |
#!/usr/bin/python import sys, SourceQuery if len(sys.argv) != 3: sys.exit(2) try: server = SourceQuery.SourceQuery(sys.argv[1],int(sys.argv[2])) server.info() except: sys.exit(1) sys.exit(0) |
Source code |
|
1 2 3 4 |
$ ./test.py egypt.dyndns.info 27015 && echo Server online Server online $ ./test.py egypt.dyndns.info 27016 && echo Server online $ |
Source code |
|
1 2 |
Syntax | Zeit | Slots | SourceTv | Map ./server.sh rent 90 10 on de_dust2 |
This post has been edited 1 times, last edit by "Impact" (May 5th 2011, 9:49am)
This post has been edited 2 times, last edit by "Impact" (May 15th 2011, 6:12am)
Hallo bei mir erscheint immer diese Fehlermeldung:
Was bedeutet das? Der Ordner existiert und die Datei "server.sh" ist auch dort.
Source code |
|
1 2 3 |
Error: Das Verzeichnis '$DIR' scheint nicht zu existieren [- Es wurde folgendes Verzeichnis ausgelesen [- /Pfad/zum/Dir" |
This post has been edited 2 times, last edit by "Impact" (May 15th 2011, 8:08pm)
Source code |
|
1 2 3 4 5 6 7 8 9 10 |
--- CONFIG --- PREFIX="DE" DE_CONFIG_DOESNT_EXIST="Configdatei fehlt oder Pfad ist falsch." EN_CONFIG_DOESNT_EXIST="Config file is missing or path is incorrect." ------ --- SCRIPT --- ${PREFIX}_CONFIG_DOESNT_EXIST ------ |
This post has been edited 2 times, last edit by "Impact" (May 19th 2011, 3:17pm)
Source code |
|
1 |
wget http://downloads.gugy.eu/bash/server.sh/extensions/srcds_fps |
Source code |
|
1 |
BINARY="srcds_fps" |
Source code |
|
1 |
fps_max "0" |
This post has been edited 1 times, last edit by "Impact" (May 27th 2011, 8:48pm)
Hallo,
also ich kann mit
apt-get install quakestat nicht das Quakestat installieren da kommt immer dieser fehle: Unable to locate package quakestat
Somit kann ich ja das script nicht nutzen.
bash, CSS, css script css startscript, fastdl, fastdownload, gameserver, orangebox, SourceTV, ssh, Startscript