Lieber Besucher, herzlich willkommen bei: sourceserver.info. Falls dies dein erster Besuch auf dieser Seite ist, lies bitte die Hilfe durch. Dort wird dir die Bedienung dieser Seite näher erläutert. Darüber hinaus solltest du dich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutze das Registrierungsformular, um dich zu registrieren oder informiere dich ausführlich über den Registrierungsvorgang. Falls du dich bereits zu einem früheren Zeitpunkt registriert hast, kannst du dich hier anmelden.
Ich habe SourceMOD installiert und einige Custom Maps hinzugefügt, ich habe alle mal übers Adminmenü gestartet, alle lassen sich ohne Probleme Spielen.
Zitat
01:18:07: Team "CT" triggered "CTs_Win" (CT "3") (T "1")
L 05/25/2011 - 01:18:07: Team "CT" scored "3" with "3" players
L 05/25/2011 - 01:18:07: Team "TERRORIST" scored "1" with "3" players
L 05/25/2011 - 01:18:07: World triggered "Round_End"
L 05/25/2011 - 01:18:19: World triggered "Round_Start"
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Supervisor« (28. Mai 2011, 17:33)
-tickrate 66 -timeout 10 +map cs_italy &
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Koffein« (30. Mai 2011, 14:55)
Dieser Beitrag wurde bereits 2 mal editiert, zuletzt von »Supervisor« (30. Mai 2011, 16:46)
wofür steht das "-AmdS css"? ist das der ordner wo CSS liegt?
![]() |
Quellcode |
1 2 3 |
-d (-r) - Detach the elsewhere running screen (and reattach here). -m - ignore $STY variable, do create a new screen session. -S sockname - Name this session <pid>.sockname instead of <pid>.<tty>.<host>. |
@Impact
sry aber kann mit dein Infos gerade nichts Anfangen =(
Liegts vielleicht an meinem Installierten Linux,nicht jeder Linux Befehl ist für jede Linux Version geeignet, habe Debian auf meine Root Installiert.
![]() |
Quellcode |
1 |
man screen |
Meintest du jetzt das Start-Script in deiner Signatur?
der befehl so wie du ihn eingestellt hast um den server zu starten, funktioniert abern nicht.
Zitat
NAME
screen - screen manager with VT100/ANSI terminal emulation
SYNOPSIS
screen [ -options ] [ cmd [ args ] ]
screen -r [[pid.]tty[.host]]
screen -r sessionowner/[[pid.]tty[.host]]
DESCRIPTION
Screen is a full-screen window manager that multiplexes a physical terâ
minal between several processes (typically interactive shells). Each
virtual terminal provides the functions of a DEC VT100 terminal and, in
addition, several control functions from the ISO 6429 (ECMA 48, ANSI
X3.64) and ISO 2022 standards (e.g. insert/delete line and support for
multiple character sets). There is a scrollback history buffer for
each virtual terminal and a copy-and-paste mechanism that allows moving
text regions between windows.
When screen is called, it creates a single window with a shell in it
(or the specified command) and then gets out of your way so that you
can use the program as you normally would. Then, at any time, you can
Manual page screen(1) line 1
da es nciht ngeklappt hatte, hab ich es auch nicht weiter versucht.
Zitat
#! /bin/bash
#
# Start the Counter-Strike: Source dedicated server.
#
# AUTHORS :
#
# Julien Escario ( pandemik@azilog.net )
# &
# Cedric Rochat ( crochat@younics.org )
# &
# Cmdr._Firewalker ( cmdr._firewalker@web.de )
#
# ===========================================
#
# What you need:
#
# Linux
# awk
# screen
# the srcds_l & cstrike files (obtainable via steam)
#
# How to use:
#
# Edit the CS_USER-Var to the user running your cs-servers
# Edit the DIR-Var to fit your system (just contains the path to the dir that contains srcds_run)
# Edit the PARAMS-Var to fit your needs
# - standard is startup as internet server
# if you use multiple scripts on one system you should change the NAME-var (otherwise
# all will be stopped if you run the script with "stop", and status will be useless)
#
# When this is done, copy the file to /etc/rc.d/init.d (or whereever your system stores the
# scripts for starting the services) and set the execute permission.
# Now you can link the script to your runlevel-dir, here's an example for runlevel 3:
# ln -s /etc/rc.d/init.d/srcds /etc/rc.d/rc3.d/S90srcds
# ln -s /etc/rc.d/init.d/srcds /etc/rc.d/rc3.d/K50srcds
# or use update-rc.d if you got a system using that tool (like Debian, see manpage)
#
# Or use it manually like:
# ./srcds start
# ./srcds stop
#
# To see the server-console start the script with the parameter "watch".
#
# DOC by jwm (jwm@counter-strike.de)
# !!!!!!!!!!!!!! CHANGE THIS TO THE USER YOU USE FOR YOUR SERVER !!!!!!!!!!!!!!!
CS_USER=cssserveruser
PATH=/bin:/usr/bin:/sbin:/usr/sbin
# # DON'T FORGET TO CHANGE THE PATH TO YOUR NEEDS!
DIR=/srcds
DAEMON=srcds_run
# LAN server:
# PARAMS="-game cstrike -nomaster -insecure +sv_lan 1 +maxplayers 24 +map de_dust"
# Internet server:
PARAMS="-game cstrike +map de_dust +maxplayers 24 -port 27015"
NAME=cssserver
DESC="CS:S dedicated server"
# No edits (should be) necessary beyond this line
if [ ! -x `which awk` ]; then echo "You need awk for this script"; exit 1; fi
if [ ! -x `which screen` ]; then echo "You need screen (the program, moron!) for this script"; exit 1; fi
if [ `whoami` = root ]
then
usagetype=root
else
usagetype=nonroot
fi
start() {
if [ ! -d $DIR ]; then echo " ... No such directory: $DIR!"; exit 1; fi
if [ ! -x $DIR/$DAEMON ]; then echo "$DIR/$DAEMON does not exist or is not executable!"; exit 1; fi
if status; then echo " ... $DESC: $NAME is already running!"; exit 1; fi
case "$usagetype" in
root)
su - $CS_USER -c "cd $DIR ; screen -AmdS $NAME ./$DAEMON $PARAMS"
;;
nonroot)
cd $DIR ; screen -AmdS $NAME ./$DAEMON $PARAMS
;;
esac
}
stop () {
if ! status; then echo " ... $DESC $NAME could not be found. Probably not running."; exit 1; fi
case "$usagetype" in
root)
tmp=$(su - $CS_USER -c "screen -ls" | awk -F . "\$2 ~ /^$NAME[[:space:]].*/ {print \$1}" | awk '{print $1}')
su - $CS_USER -c "screen -r $tmp -X quit"
;;
nonroot)
screen -r $(screen -ls | awk -F . "\$2 ~ /^$NAME[[:space:]].*/ {print \$1}" | awk '{print $1}') -X quit
;;
esac
}
status () {
case "$usagetype" in
root)
su - $CS_USER -c "screen -ls" | grep [.]$NAME[[:space:]] > /dev/null
;;
nonroot)
screen -ls | grep [.]$NAME[[:space:]] > /dev/null
;;
esac
}
watch () {
if ! status; then echo "$DESC $NAME could not be found. Probably not running."; exit 1; fi
case "$usagetype" in
root)
tmp=$(su - $CS_USER -c "screen -ls" | awk -F . "\$2 ~ /^$NAME[[:space:]].*/ {print \$1}" | awk '{print $1}')
su - $CS_USER -c "screen -r $tmp"
;;
nonroot)
screen -r $(screen -ls | awk -F . "\$2 ~ /^$NAME[[:space:]].*/ {print \$1}" | awk '{print $1}')
;;
esac
}
case "$1" in
start)
echo "Starting $DESC: $NAME"
start
echo " ... done."
;;
stop)
echo "Stopping $DESC: $NAME"
stop
echo " ... done."
;;
restart)
echo "Restarting $DESC: $NAME"
status && stop
start
echo " ... done."
;;
status)
if status
then echo "$DESC: $NAME is UP"
else echo "$DESC: $NAME is DOWN"
fi
;;
watch)
watch
;;
*)
echo "Usage: $0 {start|stop|status|restart|watch}\nWhile watching press ctrl-a, ctrl-d to stop watching without stopping the server."
exit 1
;;
esac
exit 0
![]() |
Quellcode |
1 |
Programmname --help |
Wofür soll "QuakeStat" gut sein? fals das für QuakeSounds sein sollte, die hab ich nicht drauf =)
Zitat
Auf nicht Debian Systemen unterscheiden sich die Qstat Binarys namentlich, falls kein Debian im Einsatz ist muss diese Variable moeglicherweise angepasst werden.
die ADDOn URL soltle sicher so bleiben oder?
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Supervisor« (31. Mai 2011, 20:56) aus folgendem Grund: verhindern von doppelpostings