Jump to content
Sign in to follow this  
Snacky

ACE2 Dedicated Server setup? NEED HELP!

Recommended Posts

I tried posting this in the release thread, but with well over 150 pages it just gets overlooked.

I need help setting up the dedicated server using AC2. I had a ded server running Arma2 with no problem, but now with this new sync program it's like trying to learn a foreign language.

How do I get a ded server running and please remember I am just a simple person so try to keep it simple stupid.

Thanks

Share this post


Link to post
Share on other sites

well the without the technical jargon that is gonna hit here soon, I'm gonna point out the simple fact that due to the nature of the currently beta run of ACE2, there will be almost daily updates, which will leave you having to update your server several times over the course of this month.

Share this post


Link to post
Share on other sites

First important element : what OS is your server running on?

Share this post


Link to post
Share on other sites

I have a windows 2003 Server and have uploaded the ACE folders via FTP but unlike every other mod I have installed this way ACE didn't work. Are there any special config file that needs to be placed anywhere? How does it get updated?

Edited by vmaclan

Share this post


Link to post
Share on other sites
First important element : what OS is your server running on?

Windows 7 64bit and I'm running the STEAM version if that matters.

Edited by Snacky

Share this post


Link to post
Share on other sites

As said earlier on other thread, ACEmod server support is s**t... always has been. Maybe you should look Dta-folder for config files there they were in arma1, but none will know for sure because there aint any info about serverhosting :j:

Share this post


Link to post
Share on other sites

Apart from the @ACE/addons and the @ACEX/addons there is userconfig/ACE in there shall be

ace_clientside_config.hpp and ace_keys.hpp and ACE_serverconfig.hpp and ACE_Tracking.hpp

Share this post


Link to post
Share on other sites

Hi all, writing again, any1 can help me how to run ACE2 on linux server?

Share this post


Link to post
Share on other sites

I uploaded ACE, ACEX, CBA, but I dont now how to run the server with it. I mean if I should edit some file like arma2server, or arma2.cfg. Because when I try login on server in arma2 game, it write me that the server doesnt support the mods iam using :(

Share this post


Link to post
Share on other sites

Yes I did and also I have it like this:

ARMA_DIR=.

CONFIG=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=@ace\;@cba\;@acex

#=======================================================================

But still its not working.

Share this post


Link to post
Share on other sites

did you edit the lower part of the file too?

this line: ${SERVER} >>${LOGFILE} 2>&1 -server -config=${CONFIG} -port=${PORT} -pid=${PIDFILE} -name=${NAME} -profile=${PROFILE} -mod=${MOD}

Share this post


Link to post
Share on other sites

Yes, I use all your info I have check it, but still ist not working :( maybe files are corrupted.

And expect this arma2server, do I need edit something else? or perform some other action ?

Edited by Rodman

Share this post


Link to post
Share on other sites

if you mean myserver.log here it is, but is in czech, anyway it says that server was created, then that player is using modifed files and player has beed disconected

21:42:11 Identita serveru vytvoÃ…ena.

0:12:33 [=BTK=]FANATIC použÃ***vá modifikovaný datový soubor - CA;@CBA;@ACE;@ACEX;

0:12:33 HrÃ¡Ä [=BTK=]FANATIC se pÅipojuje.

0:12:36 HrÃ¡Ä [=BTK=]FANATIC se pÅipojil (id=78913).

109/11/10, 0:12:37 File description.ext, line 7: '.titleParam1': Missing ';' at the end of line

109/11/10, 0:12:37 File description.ext, line 4: '.onLoadMission': Missing ';' at the end of line

109/11/10, 0:12:37 File description.ext, line 2: '.onLoadMission': Missing ';' at the end of line

0:12:42 HrÃ¡Ä [=BTK=]FANATIC byl odpojen.

Edited by Rodman

Share this post


Link to post
Share on other sites

On a windows server is there anyway to actively update ACE2 (with nothing but FTP access)?

This is hypothetically speaking (as in someone writes the program to do it). Not sure if its possible with Six Updater.

Share this post


Link to post
Share on other sites
if you mean myserver.log here it is, but is in czech, anyway it says that server was created, then that player is using modifed files and player has beed disconected

21:42:11 Identita serveru vytvoÃ…ena.

0:12:33 [=BTK=]FANATIC použÃ***vá modifikovaný datový soubor - CA;@CBA;@ACE;@ACEX;

0:12:33 HrÃ¡Ä [=BTK=]FANATIC se pÅipojuje.

0:12:36 HrÃ¡Ä [=BTK=]FANATIC se pÅipojil (id=78913).

109/11/10, 0:12:37 File description.ext, line 7: '.titleParam1': Missing ';' at the end of line

109/11/10, 0:12:37 File description.ext, line 4: '.onLoadMission': Missing ';' at the end of line

109/11/10, 0:12:37 File description.ext, line 2: '.onLoadMission': Missing ';' at the end of line

0:12:42 HrÃ¡Ä [=BTK=]FANATIC byl odpojen.

czech log is nasty! ;-) are you using a czech OS???

anyways: it looks like you and your server are not consistent with the mod version! Are you sure you and the server have exactly the same files?

Share this post


Link to post
Share on other sites
On a windows server is there anyway to actively update ACE2 (with nothing but FTP access)?

This is hypothetically speaking (as in someone writes the program to do it). Not sure if its possible with Six Updater.

I've got the same problem, I can get it to run but it does not finish the update at some point.

Share this post


Link to post
Share on other sites

It looks like Iam big noob :D Dr.Pulp can u pls tell my step after step how exactly u did it?

like:

1)uploaded files @CBA, @ACE, @ACEX

2)run tolower

3)change arma2server

etc...

Cos I realy dont know where is the problem, and Iam running english ubuntu on sever, and czech WIN XP on my PC, and Iam pretty sure iam using exactly the same files.

Thanks a lot :)

Edited by Rodman

Share this post


Link to post
Share on other sites
On a windows server is there anyway to actively update ACE2 (with nothing but FTP access)?

This is hypothetically speaking (as in someone writes the program to do it). Not sure if its possible with Six Updater.

I have found at least with my FTP software Filezilla that the ability to update ACE Server files already exist in the FTP software. I simply us Six Updater on my local machine which updates my version to the latest version. I then log onto my dedicated with my FTP software. I goto upload my @ACE & @ACEX directory's but tell it to update files that are newer than the one on the servers. It flys through the files missing out any that are not new. I switch my dedicated back on and ACE is updated.:yay:

Share this post


Link to post
Share on other sites

@Rodman:

this is my arma2server...you can try to use it!

#!/bin/bash
#
# armaserver: ArmA 2 Linux Dedicated Server Control Script
#  (c) 2009 BIStudio
#  ArmA 2 binary version must be 1.04 or later
#

#=======================================================================
#========               CONFIGURATION PARAMETERS                ========
#======== MUST BE EDITED MANUALLY TO FIT YOUR SYSTEM PARAMETERS ========
#=======================================================================
ARMA_DIR=.
CONFIG=server.cfg
PORT=2302
PIDFILE=${ARMA_DIR}/${PORT}.pid
RUNFILE=${ARMA_DIR}/${PORT}.run
LOGFILE=${ARMA_DIR}/log.${PORT}.txt
SERVER=${ARMA_DIR}/server
PROFILE=${ARMA_DIR}/host/host.arma2profile
NAME=host
MOD=@cba\;@ace\;@acex\;beta
#=======================================================================
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})..."
           ${SERVER} >>${LOGFILE} 2>&1 -server -config=${CONFIG} -port=${PORT} -pid=${PIDFILE} -name=${NAME} -profile=${PROFILE} -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

maybe you need to edit this path / file and the hostname depending on your filename (line 19 and 20):

PROFILE=${ARMA_DIR}/host/host.arma2profile

NAME=host

and you need to edit the modfolder names if they differ (line 21):

MOD=@cba\;@ace\;@acex\;beta

Edited by Dr.Pulp

Share this post


Link to post
Share on other sites

Hi all, How do I configure the server so it will only allow ACED clients but they may ALSO use other mods that are signed in the keys folder?

Currently I have ACE working ok but it will also allow non ACEd clients. If i set equalModRequired to 1 then only ACE, ACEX and CBA can join. No other mods can join like JTD or LandTex etc which i have inserted the keys for.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×