Jump to content

Sign in to follow this  
warlock2511

Arma2 dedicated server howto

Recommended Posts

  Quote
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 by [HUD]Dorph

Share this post


Link to post
Share on other sites

:mad:

  Quote
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

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

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

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 by SWAT_BigBear

Share this post


Link to post
Share on other sites
  Quote
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
  SWAT_BigBear said:
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 by ball0fire

Share this post


Link to post
Share on other sites

"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 by WWIII

Share this post


Link to post
Share on other sites

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

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

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

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

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 by Sira

Share this post


Link to post
Share on other sites

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

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:

  Quote
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:

  Quote
./arma2server start

Starting ArmA 2 server...

x@armaserver:/opt/arma2# nohup: redirecting stderr to stdout

server.cfg

  Reveal hidden contents

arma2.cfg

  Reveal hidden contents

player.arma2profile.cfg

  Reveal hidden contents

arma2server

  Reveal hidden contents

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 by Sira

Share this post


Link to post
Share on other sites

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 by jirkaelda

Share this post


Link to post
Share on other sites
  jirkaelda said:
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 by Sira

Share this post


Link to post
Share on other sites

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 said:
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

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

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

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

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 by stk2008

Share this post


Link to post
Share on other sites

\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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×