Jump to content

proxzor

Member
  • Content Count

    1
  • Joined

  • Last visited

  • Medals

Posts posted by proxzor


  1. Ok, I have tried many solutions that I have found on this forum and through google yet nothing seems to be working. When joining the server I can see that it is saying the following thing:

    1:08:55 Missing addons detected:

    1:08:55 acex_c_weapon

    1:08:55 ace_sys_playerhud

    1:08:55 ace_sys_viewblock

    1:08:55 ace_sys_wounds

    1:08:55 map_eu

    1:08:55 Warning Message: You cannot play/edit this mission; it is dependent on downloadable content that has been deleted.acex_c_weapon, ace_sys_playerhud, ace_sys_viewblock, ace_sys_wounds, map_eu

    I have made everything in lowercase letters, and I have tried to play around with the arma2oaserver file, startupline and everything but nothing seems to work and I have no clue what else I could try, I don't seen any other solutions either and therefore I am making this, hoping that this wonderful community is able to help me out!

    arma2oaserver file

    #!/bin/bash
    #
    # armaserver: ArmA 2 Linux Dedicated Server Control Script
    #  (c) 2010 BIStudio
    #  ArmA 2 binary version must be 1.04 or later
    #
    
    #=======================================================================
    #========               CONFIGURATION PARAMETERS                ========
    #======== MUST BE EDITED MANUALLY TO FIT YOUR SYSTEM PARAMETERS ========
    #=======================================================================
    ARMA_DIR=/home/game07
    SYS_DIR=/home/game07/system
    CONFIG=server.cfg
    CFG=arma2oa.cfg
    PORT=2302
    PIDFILE=${SYS_DIR}/${PORT}.pid
    RUNFILE=${SYS_DIR}/${PORT}.run
    LOGFILE=${SYS_DIR}/serverlog.txt
    SERVER=${ARMA_DIR}/server
    OTHERPARAMS='-cfg=arma2oa.cfg -cpucount=2'
    CBA="@cba;@cba_a2;@cba_oa"
    ACE="@ace;@acex;@acex_ru;@acex_usnavy;@zeu_ai_ace"
    ACRE="@acre"
    MODS="${EXP};${CBA};${ACE};${ACRE}"
    #=======================================================================
    ulimit -c 1000000
    
    case "$1" in
    
    
       start)
    if [ -f ${RUNFILE} ]; then
        $0 stop
    fi
    echo "Starting ArmA 2 server..."
    # file to mark we want server running...	
    echo "go" >${RUNFILE}
    # launch the background watchdog process to run the server
    nohup </dev/null >/dev/null $0 watchdog &
    ;;
    
       stop)
    echo "Stopping ArmA 2 server..."
    if [ -f ${RUNFILE} ]; then
    # ask watcher process to exit by deleting its runfile...
        rm -f ${RUNFILE}
    fi
    # and terminate ArmA 2 server process
    if [ -f ${PIDFILE} ]; then
        kill -TERM $(< ${PIDFILE})
        if [ -f ${PIDFILE} ]; then
    	rm -f ${PIDFILE}
        fi
    fi
    ;;
    
    
       status)
    if [ -f ${RUNFILE} ]; then
        echo "Server should be running..."
    else
        echo "Server should not be running..."
    fi
    if [ -f ${PIDFILE} ]; then
        PID=$(< ${PIDFILE})
        echo "PID file exists (PID=${PID})..."
        if [ -f /proc/${PID}/cmdline ]; then
    	echo "Server process seems to be running..."
        fi
    fi
    ;;
    
    
       check)
    echo -n "ArmA 2 directory: ${ARMA_DIR} "
    if [ -d ${ARMA_DIR} ]; then
        echo "OK"
    else
        echo "MISSING!"
    fi
    
    echo -n "Server executable: ${SERVER} "
    if [ -x ${SERVER} ]; then
        echo "OK"
    else
        echo "ERROR!"
    fi
    
    echo "Port number: ${PORT}"
    
    echo -n "Config file: ${CONFIG} "
    if [ -f ${CONFIG} ]; then
        echo "OK"
    else
        echo "MISSING!"
    fi
    
    echo "PID file: ${PIDFILE}"
    echo "RUN file: ${RUNFILE}"
    
    ;;
    
       restart)
    $0 stop
    $0 start
           ;;
    
       watchdog)
    # this is a background watchdog process. Do not start directly
    while [ -f ${RUNFILE} ]; do
    # launch the server...
        cd ${ARMA_DIR}
        echo >>${LOGFILE} "WATCHDOG ($$): [$(date)] Starting server (port ${PORT})..."
        sudo -u arma ${SERVER} >>${LOGFILE} 2>&1 -server -config=${CONFIG} -port=${PORT} -pid=${PIDFILE} -mod=${MODS} ${OTHERPARAMS}
        if [ -f ${RUNFILE} ]; then
    	echo >>${LOGFILE} "WATCHDOG ($$): [$(date)] Server died, waiting to restart..."
    	sleep 5s
        else
    	echo >>${LOGFILE} "WATCHDOG ($$): [$(date)] Server shutdown intentional, watchdog terminating"
        fi
    done    
    ;;
       *)
    echo "$0 (start|stop|restart|status|check)"
    ;;
    esac
    

    ./server -port=2302 -config=configs/server.cfg -cfg=configs/arma2oa.cfg -mod=x/\@ace\;x/\@acex\;x/\@acex_sm\;x/\@acex_ru\;x/\@acex_usnavy\;x/\@acre\;x/\@cba_co\;x/\@jayarma2lib\;x/\@bb_oa_mercs\;x/\@cba_oa\;x/\@cba_a2\;x/\@cba\;

×