da hhb ich ja drin das ist ja das komische
set sv_log_damage 1
da hhb ich ja drin das ist ja das komische
set sv_log_damage 1
[24.10.08 05:25:10] Notice: ----------------------
[24.10.08 05:25:10] Notice: Mod is starting...
[24.10.08 05:25:10] Notice: ----------------------
[24.10.08 05:25:10] Notice: !! Please wait until the mod is completely initialised
[24.10.08 05:25:10] Notice: Config files parsed
[24.10.08 05:25:11] Notice: RCON connection established
[24.10.08 05:25:11] PHP-Error: Notice in daemon.php:95 => Undefined index: sv_log_damage
[24.10.08 05:25:11] PHP-Error: Notice in daemon.php:96 => Undefined index: sv_log_damage
[24.10.08 05:25:11] !! Error: Dvar 'sv_log_damage' must be qual to 1, current:
10s to quit
Exit cause of a critical error
[24.10.08 05:25:21] PHP-Error: Notice in classes/q3query.class.php:85 => Undefined index: mod
Fatal error: Call to a member function getCV() on a non-object in /usr/local/games/cod4mod/adminmod/classes/q3query.class.php on line 85
Debian-40-etch-64-LAMP:/usr/local/games/cod4mod/adminmod#
Alles anzeigen
Benutze Debian lamp 64bit falls es weiter hilft
Hier mein startscript
#! /bin/sh
# STARTSCRIPT by Hool and manu
# Many thanks to him :)
#
# If you have any problems, visit manuadminmod.de
# or contact [email]manuel.strider@web.de[/email]
#
#============================
#
#=========
# CONFIG
#=========
#
# Name of process
#================
NAME=ManuAdminMod
#Default: NAME=ManuAdminMod
#
# Basedir to adminmod installation:
#==================================
DIR=/usr/local/games/cod4mod/adminmod
#Example: DIR=/var/games/cod4/adminmod
#
# Path to config directory
#=========================
CFGDIR=config
#Default: CFGDIR=cfg
#
# Path to log directory
#======================
LOGDIR=log
#Default: LOGDIR=log
#
# Path to php-binary
#===================
PHP=/usr/bin/php
#Example: PHP=/usr/local/bin/php
#
# Parameters for PHP (only for versed user)
#==========================================
PARAMS="-f"
#Default: PARAMS="-f"
#
#==================================
# DO NOT EDIT STH BELOW THIS LINE
#=================================
# -------------------------------------------------------------------
case "$1" in
start)
if [[ `screen -ls |grep $NAME` ]]
then
echo "Error: $NAME is already running, use '$0 stop' to stop it"
else
cd $DIR
screen -dmS $NAME $PHP $PARAMS daemon.php "$CFGDIR" "$LOGDIR"
echo "$NAME was started. If you have problems try '$0 debug'"
fi
;;
stop)
if [[ `screen -ls |grep $NAME` ]]
then
kill `screen -ls |grep $NAME |awk -F . '{print $1}'|awk '{print $1}'`
echo "$NAME was stopped"
else
echo "Error: $NAME isn't currently running"
fi
;;
status)
if [[ `screen -ls |grep $NAME` ]]
then
echo "$NAME is currently running"
else
echo "$NAME is NOT running"
fi
;;
debug)
if [[ `screen -ls |grep $NAME` ]]
then
echo "Error: $NAME is running, use '$0 stop' to stop it"
else
cd $DIR
$PHP $PARAMS daemon.php "$CFGDIR" "$LOGDIR"
fi
;;
show)
tail -f "$LOGDIR/mod.log"
;;
*)
echo "Usage: $0 {start|stop|status|debug|show}"
exit 1
;;
esac
exit 0
Alles anzeigen