1. GSManager
    1. Features
    2. Supported Games
    3. News
    4. Statistics
    5. Server list
  2. Lexicon
  3. Filebase
  4. Development
  5. Forum
    1. Dashboard
    2. Unresolved Threads
  6. Web-Interface
  7. Articles
  8. Members
    1. Recent Activities
    2. Users Online
    3. Team
    4. Search Members
  • Login
  • Register
  • Search
This Thread
  • Everywhere
  • This Thread
  • This Forum
  • Articles
  • Pages
  • Files
  • Forum
  • Lexikon
  • More Options
  1. GSManager
  2. Forum
  3. Support
  4. Usage

start.bat Fehlermeldung

  • Oberst Schmidt
  • June 5, 2011 at 10:14 PM
The project GSManager (formerly ManuAdminMod) was discontinued on 01.01.2020 - this internet presence stays available, but the software is no longer maintained. Thanks for your support over the more than 10 past years!
1st Official Post
  • Oberst Schmidt
    Beginner
    Points
    225
    Posts
    38
    • June 5, 2011 at 10:14 PM
    • #1

    :hallo:

    ich habe zu Hause einen zweiten Rechner stehen, der als Game Server fungiert. Habe CoD 2 und CoD WaW drauf. Beim manuadminmod macht mir CoD WaW Probleme, mit der start.bat
    Fehlermeldung lautet: Error in command line parameters: Unrecognized part config - Ich habe sicherlich einen Fehler gemacht. Habe aber soweit alles installiert, wie beschrieben, aber ich komme nicht drauf. PHP ist auch installiert, so wie beschrieben. Hänge mal mein Startscript mit dran.

    PHP
    #!/bin/sh
    
    
    
    
    # STARTSCRIPT by Hool and manu
    # Much thanks to him :)
    #
    # If you have any problems, visit manuadminmod.de
    # or contact manuel.strider@web.de
    #
    #============================
    #
    #=========
    # CONFIG
    #=========
    #
    # Name of process
    # Unique for each mod installation
    #=================================
    NAME=ManuAdminMod_1
    #Default: NAME=ManuAdminMod_1
    #
    # Basedir to adminmod installation:
    #==================================
    DIR=/home/gameserver/cod4_1/adminmod
    #Example: DIR=/var/games/cod4/adminmod
    #
    # Path to config directory
    #=========================
    CFGDIR=config
    #Default: CFGDIR=config
    #
    # Path to log directory
    #======================
    LOGDIR=log
    #Default: LOGDIR=log
    #
    # Additional parameters for the mod (e.g. -force)
    #================================================
    PARAMS=""
    #Default: PARAMS=""
    #
    # Path to php-binary
    # Normally only 'php'
    #===================
    PHP=php
    #Example: PHP=/usr/local/bin/php
    #
    # Parameters for PHP (only for versed user)
    #==========================================
    PHPPARAMS="-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 $PHPPARAMS daemon.php -- -configdir "$CFGDIR" -logdir "$LOGDIR" $PARAMS
            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 $PHPPARAMS daemon.php -- -configdir "$CFGDIR" -logdir "$LOGDIR" $PARAMS
        fi
    ;;
    show)
        tail -f "$LOGDIR/mod.log"
    ;;
    *)
        echo "Usage: $0 {start|stop|status|debug|show}"
        exit 1
    ;;
    esac
    
    
    
    
    exit 0
    Display More

    Ich bin noch Anfänger auf diesem Gebiet. , für eine Rückantwort.

    Edited 4 times, last by Oberst Schmidt (June 5, 2011 at 10:26 PM).

  • manu
    Master
    Points
    10,835
    Trophies
    3
    Posts
    2,113
    • June 5, 2011 at 10:58 PM
    • #2

    Das Startscript ist nur für Linux. Diese Datei musst du nur bearbeiten, wenn du Linux hast. Du brauchst nur die start.bat. Poste mal deren Inhalt hier

  • Oberst Schmidt
    Beginner
    Points
    225
    Posts
    38
    • June 5, 2011 at 11:08 PM
    • #3
    PHP
    @echo off
    :1
    C:\php\php.exe -f daemon.php config log
    goto 1

    Edited once, last by Oberst Schmidt (June 9, 2011 at 4:40 PM).

  • This threads contains 45 more posts that have been hidden for guests.
  1. Staff
  2. Privacy Policy
  3. Terms of Service
  4. Legal Notice
  5. Contact
Powered by WoltLab Suite™