Hud Dorph 22 Posted August 30, 2010 (edited) Does anyone have any input on this. I am needing a little help on the server config. It would be easier to change the settings in the mission - i did that on doomi (i have no editing skills at all). Here is a brief how to: Get Arma Pbo View - unpack the mission - then u get a dir, in that dir open the file called "description.ext" with notepad. In that file is all the mission-parameters. Just change the default values (0=yes or 1=no). When changes done pack the dir with Arma Pbo View again - and you are done. Takes aprx 10mins to set all parameters to your prefered settings. I think if you do it in the server.cfg you will need a different .cfg for each different mission you play on the server. Edited August 30, 2010 by [HUD]Dorph Share this post Link to post Share on other sites
=S8= -UGC- FlyDoggie 10 Posted August 31, 2010 :mad: Dorph;1736272']It would be easier to change the settings in the mission - i did that on doomi (i have no editing skills at all). Here is a brief how to:Get Arma Pbo View - unpack the mission - then u get a dir' date=' in that dir open the file called "description.ext" with notepad. In that file is all the mission-parameters. Just change the default values (0=yes or 1=no). When changes done pack the dir with Arma Pbo View again - and you are done. Takes aprx 10mins to set all parameters to your prefered settings. I think if you do it in the server.cfg you will need a different .cfg for each different mission you play on the server.[/quote'] Thank you I will try this. :) Share this post Link to post Share on other sites
jirkaelda 10 Posted August 31, 2010 well it is easier if you need to do it only once. If you change the mission everytime new version comes out, more easiest way how to change mission parameters is to set it in the server.cfg file. Cause you only channge the mission, but parameters are still the same. You only need to set newly added params. Share this post Link to post Share on other sites
ball0fire 10 Posted September 3, 2010 hey guys im back ( so far the help has been good from this thread) however i'm running into another small (read large) problem with the server im in control of its running CO now. was running A2 just fine. its mostly a BE warfare server and it seems at the end of every CO warfare mission game it hangs the server, still testing to see if it hangs on regular A2 or OA only warfare games but its defenatly doing it on CO any idea's as to what could cause this? my cfgs are pretty much the same as i posted back a few pages (which are the same as jmans generic cfgs) has the mission rotation system changed since A2 to CO? cos i only have 1 mission in the rotation, but the strange thing is i THINK its only the CO missions that hang (still testing this theory by running only A2 or OA warfares) its prolly just a funky install of AO on th server and its causing problems ( like my old drama's were) anyhoo enuf rambling, any idea's? (its already running -exthreads=1) and starts and load fine plays the mission till the end of the game , then hangs either at the end with scoreboards or when it goes to start a new mission Share this post Link to post Share on other sites
SWAT_BigBear 0 Posted September 3, 2010 (edited) ballofire, I see this happening with several user made missions, even in a few A2 missions. The only way I've found to clear the server is to #missions. #restart, #reassign, just does not get it. Edited September 3, 2010 by SWAT_BigBear Share this post Link to post Share on other sites
packtloss 10 Posted September 3, 2010 Dorph;1736272']It would be easier to change the settings in the mission - i did that on doomi (i have no editing skills at all). Here is a brief how to:Get Arma Pbo View - unpack the mission - then u get a dir' date=' in that dir open the file called "description.ext" with notepad. In that file is all the mission-parameters. Just change the default values (0=yes or 1=no). When changes done pack the dir with Arma Pbo View again - and you are done. Takes aprx 10mins to set all parameters to your prefered settings. I think if you do it in the server.cfg you will need a different .cfg for each different mission you play on the server.[/quote'] Im running a few variations of warfare and domination with a (big!) server.cfg with separate parameters for each mission call - no need to edit the pbo nor have a bunch of edited copies of the same map for different parameter sets. Share this post Link to post Share on other sites
ball0fire 10 Posted September 3, 2010 (edited) ballofire,I see this happening with several user made missions, even in a few A2 missions. The only way I've found to clear the server is to #missions. #restart, #reassign, just does not get it. thnx for the reply tho i dont think that works the server locks up , no longer in the server broswer and just sits on the white 'wait for host' screen for ever till i manually restart it EDIT: ive found out that it does it with all missions if it gets to the end of game score and tries to load the next mission itself. however if the admin manually does #missions or the server control missions button panel BEFORE the server does it they can play on with another round. its only if the server tries to do it itself that it freezes and needs a restart. :S strange i know Edited September 5, 2010 by ball0fire Share this post Link to post Share on other sites
WWIII 10 Posted September 16, 2010 (edited) "C:\Games\Bohemia Interactive\ArmA 2\arma2oaserver.exe" -config=server.cfg -port=2302 -mod=CA;Expansion\beta;Expansion\beta\Expansion;@CBA;@ACE;@ACEX;@ACEX_SM;@ACEX_ru;@ACEX_usnavy;@GL4 I can't run CO from the line above, is there anything wrong? the Arma2 chenarus mission cannot run properly, only OA can Edited September 16, 2010 by WWIII Share this post Link to post Share on other sites
-ade- 10 Posted September 16, 2010 If You run beta the right command must be: "C:\Games\Bohemia Interactive\ArmA 2\Expansion\beta\arma2oaserver.exe" -config=server.cfg -port=2302 -mod=CA;Expansion\beta;Expansion\beta\Expansion;@CB A;@ACE;@ACEX;@ACEX_SM;@ACEX_ru;@ACEX_usnavy;@GL4 Share this post Link to post Share on other sites
WWIII 10 Posted September 17, 2010 when i run a mission with both ArmA2 and OA addons it crash to desktop, script error, add_mout_ammo.sqf error... could it be the new ACE2 of OA no working with ArmA2? Share this post Link to post Share on other sites
Karlo 10 Posted September 21, 2010 Dedicated server Server.cfg Map Rotation question: My Maps will sequentially load from top to bottom as they end but, how do I get the first map to reload again after all of the maps have played? It doesn't happen. Share this post Link to post Share on other sites
Sn00kumS 10 Posted October 7, 2010 I hate to ask it again but does one of the newer serverversions finally support the -ip option on the commandline so that you can't change the IP within the cfg-file? regards Sn00kumS Share this post Link to post Share on other sites
Sira 10 Posted October 9, 2010 (edited) I've got a few questions. Are 1000 GB per month enough for a dedicated server that would have max. 20 players at peek or will we have potentiality more traffic? Did anyone run into trouble using the Linux server version on Ubuntu? Did anyone have problems using a Virtual server? Thanks Edited October 9, 2010 by Sira Share this post Link to post Share on other sites
Rustydog 10 Posted October 9, 2010 I would think 1 tb per month of bandwidth for ama2 is cutting it close. A lot depends on the mission you are running. To be safe look for a dedicted server that offers at least 4tb . I tried running various virtual servers from different providers and found them to be low on the performance side . Always went back to a true dedicated server. Share this post Link to post Share on other sites
Sira 10 Posted October 15, 2010 (edited) Hi guys, This is my first attempt at running a arma2 Linux server on Ubuntu10.04 *32 and I'm having some trouble. I'll try to provide as much details as possible. Used the following tutorials: http://www.kellys-heroes.eu/files/tutorials/dedicated/ (used example files) http://www.apollon-domain.co.uk/?p=221 Server version: arma2server-1.05.62021 After sorting a couple of errors, the following prevail: WATCHDOG (30587): [Fri Oct 15 01:59:50 UTC 2010] Starting server (port 2302)...Warning Message: No entry '.\ArmA2.cfg.3D_Performance'. Warning Message: '/' is not a value Warning Message: No entry '.\ArmA2.cfg.adapter'. Warning Message: '/' is not a value Warning Message: No entry '.\ArmA2.cfg.Resolution_Bpp'. Warning Message: '/' is not a value Item str_disp_server_control listed twice Item str_disp_server_control listed twice Terminal output: ./arma2server startStarting ArmA 2 server... x@armaserver:/opt/arma2# nohup: redirecting stderr to stdout server.cfg // GLOBAL SETTINGS // Password for private servers. Uncomment this if you wish to run a private server // password = ""; /* Password to protect admin access type: #login mypassword in ingame client chatbox to login as admin type: #missions in ingame client chatbox to display the mission list */ passwordAdmin = "456buy57hry"; // The name of the server that shall be displayed in the public server list hostname="Armed Assault test server"; /* Message of the day. It can be several lines, separated by comma empty messages "" will not be displayed at all but are only for increasing the interval */ motd[]= { "hello Soldier" }; // Time interval (in seconds) between each message of the day motdInterval=50; /* 25% or more players need to vote for mission to become effective set to 1.5 to turn off missions voting */ voteThreshold=1.5; BattlEye=1; /* Maximum amount of server slots server will always display 64 slots if maxPlayers is >64 and server is empty */ maxPlayers=30; /* Gamespy reporting url for public server list inclusion use 127.0.0.1 for LAN server */ reportingIP="arma2pc.master.gamespy.com"; /* If specified player connects/disconnects and player id are written to file. log file is persistant and appends data on server restart. */ logfile="myserver.log"; /* Specifies the mission rotation and related difficulty settings. leave blank i.e class Missions {}; to enable player's selection from mission list & difficulty settings (voted on if no admin logged in) */ class Missions { class Mission_01 // name for the mission, can be anything { template = chenrausliferevolution2.1.4a.chernarus; // omit the .pbo suffix /* difficulty: recruit, regular, veteran & expert as specified in *.Arma2profile */ difficulty = "regular"; /* The following options are seen in the lobby of a multiplayer game. These options can be useful for setting time limits and score limits in such games as Capture the Flag and Death Matches. Other popular uses include accelerate time, setting the mission difficulty or switching the intro on/off. */ param1 = param2 = }; // If class missions is blank start voting when 1 players connect. voteMissionPlayers=0; // Do not allow players with duplicate ids to connect kickduplicate=1; // If set to 1 players must use exactly the same -mod= startup parameter as the server. equalModRequired=0; // If set to 1, Voice over Net will not be available disableVoN=0; /* Quality from 1 to 10 refer to: http://community.bistudio.com/wiki/ArmA:_Multiplayer#VOIP_support for codec info. 7 is the best. */ vonCodecQuality=7; /* Set the timestamp format used on each report line in server-side RPT file. possible values are: none (default), short & full */ timeStampFormat=full; /* Enables persistent battlefield dependent on the mission specifiying persistence, otherwise has no effect. missions must contain either instant respawn or base respawn options located in the missions description.ext file */ persistent=0; /* Enables signature verification for addons this will prevent pbo hacks by only allowing pbos that pass servers public key checks */ verifySignatures=0; // Signature timeout fix regularcheck="{}"; // See ArmA Biki for additional signature commands // EOF arma2.cfg /* Example ArmA2 configuration file by [KH]Jman, 1st July 2009. http://www.kellys-heroes.eu These example numbers are for a 2.5Ghz Quad Core Xeon on a 100mBit connection. */ /* Bandwidth the server is guaranteed to have (in bps). This value helps server to estimate bandwidth available. Increasing it to too optimistic values can increase lag and CPU load as too many messages will be sent but discarded. Default: 131072 */ MinBandwidth=15000000; /* Bandwidth the server is guaranteed to never have. This value helps the server to estimate bandwidth available. */ MaxBandwidth=100000000; /* Maximum number of messages that can be sent in one simulation cycle. Increasing this value can decrease lag on high upload bandwidth servers. Default: 128 */ MaxMsgSend = 1024; /* Maximum size of guaranteed packet in bytes (without headers). Small messages are packed to larger frames. Guaranteed messages are used for non-repetitive events like shooting. Default: 512 */ MaxSizeGuaranteed = 1024; /* Maximum size of non-guaranteed packet in bytes (without headers). Non-guaranteed messages are used for repetitive updates like soldier or vehicle position. Increasing this value may improve bandwidth requirement, but it may increase lag. Default: 256 */ MaxSizeNonguaranteed = 64; /* Minimal error to send updates across network. Using a smaller value can make units observed by binoculars or sniper rifle to move smoother. Default: 0.01 */ MinErrorToSend = 0.0025; /* Users with custom faces or custom sounds larger than this size are kicked when trying to connect. Use this wisely as it can be the cause of alot of Join in Progress lag. 1600000 = 160k */ MaxCustomFileSize=0; // EOF player.arma2profile.cfg version=1; blood=1; viewDistance=2000; terrainGrid=10; singleVoice=0; gamma=1; brightness=1; soundEnableEAX=1; soundEnableHW=0; difficulty=â€regularâ€; difficultymp=â€regularâ€; class Difficulties { class recruit { class Flags { Armor=1; FriendlyTag=1; EnemyTag=0; HUD=1; HUDPerm=1; HUDWp=1; HUDWpPerm=1; HUDGroupInfo=1; AutoSpot=1; Map=1; WeaponCursor=0; AutoGuideAT=1; ClockIndicator=1; 3rdPersonView=1; Tracers=1; UltraAI=0; AutoAim=0; UnlimitedSaves=1; DeathMessages=1; NetStats=1; VonID=1; }; skillFriendly=1; skillEnemy=0.55000001; precisionFriendly=1; precisionEnemy=0.30000001; }; class regular { class Flags { Armor=1; FriendlyTag=1; HUD=1; HUDPerm=1; HUDWp=1; HUDWpPerm=1; AutoSpot=1; Map=1; WeaponCursor=0; AutoGuideAT=1; ClockIndicator=1; 3rdPersonView=1; Tracers=1; UltraAI=0; AutoAim=0; UnlimitedSaves=1; DeathMessages=1; NetStats=1; VonID=1; }; skillFriendly=1; skillEnemy=0.69999999; precisionFriendly=1; precisionEnemy=0.5; }; class veteran { class Flags { HUD=1; HUDGroupInfo=0; WeaponCursor=0; 3rdPersonView=1; UltraAI=0; DeathMessages=1; NetStats=1; VonID=0; }; skillFriendly=1; skillEnemy=0.89999998; precisionFriendly=1; precisionEnemy=0.75; }; class mercenary { class Flags { UltraAI=0; DeathMessages=0; NetStats=0; VonID=0; }; skillFriendly=1; skillEnemy=1; precisionFriendly=1; precisionEnemy=1; }; }; volumeCD=5; volumeFX=5; volumeSpeech=5; arma2server #!/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=/opt/arma2/ CONFIG=server.cfg CFG=arma2.cfg PORT=2302 PIDFILE=${ARMA_DIR}/${PORT}.pid RUNFILE=${ARMA_DIR}/${PORT}.run LOGFILE=${ARMA_DIR}/log.${PORT}.txt SERVER=${ARMA_DIR}/server #======================================================================= 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} if [ -f ${RUNFILE} ]; then echo >>${LOGFILE} "WATCHDOG ($$): [$(date)] Server died, waiting to restart..." sleep 5s else echo >>${LOGFILE} "WATCHDOG ($$): [$(date)] Server shutdown intentional, watchdog terminatin$ fi done ;; *) echo "$0 (start|stop|restart|status|check)" ;; esac The server seems to run but I'm not able to see it in the server list. Your help is much appreciated, Thank you Edited October 15, 2010 by Sira Share this post Link to post Share on other sites
jirkaelda 10 Posted October 15, 2010 (edited) well, do you have arma2.cfg configured? You need to have arma2.cfg and server.cfg. Errors displayed in your watchdog shows unconfigured lines from arma2.cfg. here is my arma2.cfg language="English"; adapter=-1; 3D_Performance=1; Resolution_Bpp=32; Resolution_W=160; Resolution_H=120; viewDistance=2500; terrainGrid=40; MinBandwidth=8192000; MaxBandwidth=16384000; MaxMsgSend=1024; MaxSizeGuaranteed=1024; MaxSizeNonguaranteed=64; MinErrorToSend=0.0024999999; MaxCustomFileSize=0; Windowed=0; Edited October 15, 2010 by jirkaelda Share this post Link to post Share on other sites
Sira 10 Posted October 15, 2010 (edited) well, do you have arma2.cfg configured?You need to have arma2.cfg and server.cfg. Errors displayed in your watchdog shows unconfigured lines from arma2.cfg. here is my arma2.cfg Thank you for your quick reply. Your arma2.cfg solved the first couple of error however the last error, which is probably the reason I cant find the server prevails. Item str_disp_server_control listed twice Also, am I using the correct server version (arma2server-1.05.62021)? I noticed on the official Arma2 page is only one version available which is newer but labelled OA. I think the problem might be that the server is not listening. netstat -a | grep LISTEN does not show anyhting ArmA2 related. Any idea how to fix that? EDIT: all working now. Edited October 16, 2010 by Sira Share this post Link to post Share on other sites
stk2008 14 Posted October 18, 2010 Sorry to high jack the thread. I would like to create a dedi server from home but I am very bad at this. looking at the WIKI it says I dont actually need to install the game on the server? and if so says the latest dedi server exe are provided in the beta patches. Well looking at beta patch 74123 I see no server exe just the main OA patch. I am lost please advise I have no worries actually installing the whole game onto the server if thats the only way then patching it up to match my gaming machine whice is all so running beta patch 74123 but it would be using the same DVD and key as server if I have to install the game to the serve. thanks Share this post Link to post Share on other sites
jirkaelda 10 Posted October 18, 2010 If you install the patch, there will be the server EXE in the beta folder. Share this post Link to post Share on other sites
stk2008 14 Posted October 18, 2010 If you install the patch, there will be the server EXE in the beta folder. Hi there I have found it I believe its in the extensions folder. Thats mad because no where does it say the BETA server exe is in there I was looking in me main ARMA2 directory. All so I see a con fig file in there would that be the settings the server will run then?. Thanks Share this post Link to post Share on other sites
jirkaelda 10 Posted October 18, 2010 well, i recommecd you to run the exe with params like the path to the EXE, path to the config. I guess it is better to specify all of the params paths exactly not relatively to the EXE. But I do not use beta versions of server. I use the final version placed in the main folder. arma2oaserver.exe -port=2302 -config=EldaServer\Server.cfg -cfg=EldaServer\Arma2.cfg -profiles=EldaServer where Eldaserver is the folder inside main arma folder containing all of my configs. Share this post Link to post Share on other sites
stk2008 14 Posted October 18, 2010 Hi there I really am no good at this stuff. Some one should do a really in depth step by step on this like where the files should be what to do. The wiki does show ya but I cant follow it. I have created a short cut of the OA dedi server exe from main directory then added -beta command and assume it will now start dedi server using beta I have installed. next I have to create a server.cfg file and to do this I create a folder in me main directory then create a path in me dedi server exe line to link to this folder?. All so when I have a server up and running I will then want to run ACE2 but lets get vanilla server up first hahahaha. would this help? http://www.armaholic.com/page.php?id=10737&highlight=DEDICATED or http://www.armaholic.com/page.php?id=6156 thanks again. Share this post Link to post Share on other sites
jirkaelda 10 Posted October 18, 2010 well if I have more time later, I can do more detailed guide. Now: If you need to start BETA server, you need to start the EXE from the BETA folder and add param -mod=beta If you have a shortcut for it, you need to specify where to run it FROM (start folder) - you need to let it to the Game folder. Not to the BETA. Well in the shortcut: Target: Path to the EXE in the beta folder (example: d:\arma\beta\armaoaserver.exe -port 2302 -mod=beta) Start in: Path to the root of the game forlder (example: d:\arma) I guess this settings needs the config files placed inside game folder directly. Do not remember, but I suppose so. Share this post Link to post Share on other sites
stk2008 14 Posted October 18, 2010 (edited) Hi there I really appreciate your time and patience hahaha. Thats the other thing I don't have a BETA folder in me main ARMA2 directory the only BETA folder I have is E:\Program Files\Bohemia Interactive\ArmA 2\Expansion\beta and the dedi server exe in there don't have the option to change target or location lines?. If poss some one should make a video of setting up a dedi server from downloading the latest BETA patch then where the exe should go creating the config where that should go etc etc :). Edited October 18, 2010 by stk2008 Share this post Link to post Share on other sites
nobrainer 0 Posted October 18, 2010 \expansions\beta\ is correct. The serverfile in this catalog is the one to start. First just right click it and make a shortcut to the desktop. Then you can edit the statup folder on that link. I like to use a own folder for my setup, like c:\a2co Then I startup the dedi with arma2oaserver.exe -port=2302 -nosound -world=empty -name=Server -profiles=c:\a2co This way it create the folder "users" and "server" in c:\a2co\ Just shut the server down afterwards. Now you you can see what files it have created in your c:\a2co. It should have something like c:\a2co\ArmA2OA.cfg and c:\a2co\users\Server\Server.ArmA2OAProfile Now you can start makeing startup.cfg and edit ArmA2OA.cfg to your likings. Ones your done you can start the dedi server again with arma2oaserver.exe -port=2302 -nosound -world=empty -name=Server -profiles=c:\a2co\A2F -cfg=c:\a2co\ArmA2OA.cfg -config=c:\a2co\serveroa.cfg -mod=Expansion\beta;Expansion\beta\Expansion;common You might have to fix so it's the right files your using. But this should give you an idea of what to do. Share this post Link to post Share on other sites