1para{god-father} 105 Posted February 15, 2012 (edited) I just cannot get any MODS working on our server any help would be most welcome ! The server comes up fine but and I displays the mod line but it just does not seem to load the MOD #!/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=/var/www/vhosts/1para.alexjg.co.uk/httpdocs/arma2 CONFIG=//var/www/vhosts/1para.alexjg.co.uk/httpdocs/arma2/server.cfg PORT=2302 PIDFILE=${ARMA_DIR}/${PORT}.pid RUNFILE=${ARMA_DIR}/${PORT}.run LOGFILE=${ARMA_DIR}/log.${PORT}.txt SERVER=${ARMA_DIR}/server MOD="@lingor" OTHERPARAMS=-cpucount=4 #======================================================================= 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}" echo "MODS : ${MOD}" ;; 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})..." ${SERVER} >>${LOGFILE} 2>&1 -server -config=${CONFIG} -port=${PORT} -pid=${PIDFILE} ${OTHERPARAMS} -mod=${MOD} 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 log I get 14:36:57 Missing addons detected: 14:36:57 lingor Edited February 15, 2012 by psvialli Share this post Link to post Share on other sites
Banshee 9 Posted February 15, 2012 Instead of MOD="@lingor" try MOD=${ARMA_DIR}/modlist.txt whereas modlist.txt is a plain txt file with the mods in form "@cba;@ace;@lingor" without the "" in the file. If that doesn't work, doublecheck if you have a @lingor directory in your gameserver root directory wich actually also contains that addons folder and all the files. And check if it's readable by the user the server runs under. Is it a Linux or Windows dedicated? Share this post Link to post Share on other sites
visceralsyn 10 Posted February 15, 2012 Or... Use the linux script as intended: OTHERPARAMS=-cpucount=4 to OTHERPARAMS=-cpucount=4 -mod=@lingor or even OTHERPARAMS='-cpucount=4 -mod=@lingor' Adding mess to the script, when all the mods can be put on the OTHERPARAMS line, officially irks me to no end. Why bother using the provided script, if yer ganna bloat it with more garbage? ...Syn... Share this post Link to post Share on other sites
Banshee 9 Posted February 15, 2012 ... because then you won't need to bother with the script, but can possibly alter the additional modfile trough a webinterface or in any other convenient way. :) Share this post Link to post Share on other sites
1para{god-father} 105 Posted February 15, 2012 Hmmm still no joy tried both ways :( Linux server 100% have it on the server and it is all lowercase Share this post Link to post Share on other sites
visceralsyn 10 Posted February 15, 2012 do have the lingor mod in a directory named @lingor. And does the mod require any other mods? ...Syn... Share this post Link to post Share on other sites
1para{god-father} 105 Posted February 15, 2012 Yes it is 100% there called @lingor and have all the stuff needed in the same folder as it was transfrered from my PC and i tested it ! Also tried another Map same result - @hellskitchen works on my PC transfers it all to the server same file structure and when i go into the dedi i see the new map on the list and the mission but when i clcik on the mission nothing. Its like it does not load the MOD ? And the mission is just a test i.e 1 unit placed down as player Any Idea ? Share this post Link to post Share on other sites
1para{god-father} 105 Posted February 16, 2012 SOLVED - - it was permissions as it workes from root so all solved now- - - - - - - Share this post Link to post Share on other sites