Forum Jump :

Author Message


Posts: 484
Rank:


Level: Member

Country: uk
Location:
Occupation:
Age:
In-game name:

 
#1 Posted at 2007-07-14 23:51        
     
Install Armed Assault \ ArmaCombat Operations on the server

Tip: By installing Arma on the Server this saves time messing with regedit when a patch comes out. here's how you do it if you do NOT have arma installed and want to patch it and remove CDKEY info after..

Do this on the computer were Armed Assault is installed.
1. Goto Start\Run type Regedit Click OK.
2. Goto HKEY_LOCAL_MACHINE\SOFTWARE\Bohemia Interactive Studio\ArmA Or as 2.5 says.
2.5 HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Bohemia Interactive Studio\ArmA
3. On the left panel right click the Arma folder and export and save it as ArmaREG.
4. Copy this file to the Server and double click it and say yes and click ok.
5. Now you install your patches.
To remove CDKEY from server after patching.
6. Repeate steps 1 and 2
7. Delete the one called KEY ( should have a bunch of numbers for the data. ).

To be able to patch the server again you will have to Merge the ArmaREG file again ( Quickest )






WARNING: By updating your game server and copying the files over to the server will mean you will have to upload the WHOLE updated game to the server for each patch. UNLESS you find all updated files fromt he patch which could prove problematic.

1-
Locate Arma_server.exe file and make a shortcut to your desktop by right clicking it and dragging it to your desktop.

2-
In your Armed Assault folder create a file called "server.cfg" (without the "")
More information about this can be found here:
http://community.bistudio.com/wiki/server.cfg


Add this to it change to your needs.
//
// server.cfg
//
// comments are written with "//" in front of them.



// GLOBAL SETTINGS
hostname="Fun and Test Server";	// The name of the server that shall be displayed in the public server list
password="";						// Password for joining, eg connecting to the server
passwordAdmin="xyz";					// Password to become server admin. When Youre in Arma MP and connected to the server, type '#login xyz'
reportingIP="armedass.master.gamespy.com";		// This is the default setting. If you change this, your server might not turn up in the public list. Leave empty for private servers
logFile="server_console.log";			// Tells arma-server where the logfile should go and what it should be called



// WELCOME MESSAGE ("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[]={
	"", "", "", 
	"Welcome to the Testing",
	"Server Settings: Veteran, Crosshair=off, 3rdPerson=off, MapInfo=off, VoN=off, CustomFiles=200KByte, Voting=33%, PersistentMaps=on",
	"We are looking for fun - Join us Now !",
	"http://www.mypage.org/",
	"",
	"You should use mumble, its better than",
	"TS2 Server for recruits: mypage.org:8767"
};
motdInterval=5;						// Time interval (in seconds) between each message



// JOINING RULES
checkfiles[]={						// Checks if these files are equal to the servers files. If one or more is not, player will be kicked from server
	"HWTL\dta\data3d.pbo",
	"dta\data3d.pbo"
};
maxPlayers=30;						// Maximum amount of players. Civilians and watchers, beholder, bystanders and so on also count as player.
Kickduplicate=1;					// Each ArmA version has its onw ID. If kickduplicate is set to 1, a player will be kicked when he joins a server where another player with the same ID is playing.
verifySignatures=0;					// Verifies the players files by checking them with the .bisign signatures. Works properly from 1.08 on
equalModRequired=0;					// If set to 1, player has to use exactly the same -mod= startup parameter as the server.



// VOTING
voteMissionPlayers=1;  					// Tells the server how many people must connect so that it displays the mission selection screen.
voteThreshold=0.33;					// 33% or more players need to vote for something, for example an admin or a new map, to become effective



// INGAME SETTINGS
disableVoN=1;						// If set to 1, Voice over Net will not be available
vonCodecQuality=0;					// Quality from 1 to 10
persistent=1;						// If 1, missions still run on even after the last player disconnected.



// SCRIPTING ISSUES
onUserConnected="";					// self-explaining
onUserDisconnected="";
doubleIdDetected="";
regularCheck="";
onDifferentData="";
// some ArmA specific stuff - signature verification

verifySignatures=1; // check signatures
onUnsignedData = "kick (_this select 0);" // unsigned data detected
onHackedData = "ban (_this select 0)"; // tampering of the signature detected
onDifferentData=""; // data with a valid signature, but different version than the one present on server detected

// MISSIONS CYCLE (see below)
class Missions {
};

Example Pic.




Now to link your Arma_server to the information
Right click shortcut select properties
Were it says Target is were we be editing.
Add this to the end of that line ( do not forget the space )
-config=server.cfg

So it should look some thing like this.
"C:\Program files\Bohemia Interactive\ArmA\arma_server.exe" -config=server.cfg

Example Pic.



When added click Ok that should beall done now.

How you add a profile

Right click the Arma_server shortcut shortcut and select properties.
Same place we edited last time ( Target )

we add this to end end ( DO NOT forget the space ).
-profiles=C:\games\aaserver\profile

So it should look like this now
"C:\Program files\Bohemia Interactive\ArmA\arma_server.exe" -config=server.cfg -port=2302 -profiles=C:\games\aaserver\profile

Example Pic


It will make the folders for you and a few others.
For some addittional information check this link:
http://community.bistudio.com/wiki/ArmA:_Startup_Parameters#profiles

For this example
C:\Games\aaserver\profile
Will be were you find the error logs and server console log ( logFile = "server_console.log"; which is in the Server.cfg file ).

In C:\Games\aaserver\profile\Users\User Account ( the one you logon the server it self )

Pic Example


Here will comtain The Arma Config and User Account profile.
In this case it look like this
C:\Games\aaserver\profile\Users\User Account

Pic Example


Now in the file called UserAccount.ArmAProfile This is were we setup the server to how we need it.

Open it with Notepad\Subpad

This is the code that needs to be added to it at the end
{
	class regular
	{
		class Flags
		{
			Armor=0;
			FriendlyTag=1;
			EnemyTag=0;
			HUD=1;
			HUDPerm=1;
			HUDWp=1;
			HUDWpPerm=1;
			WeaponCursor=1;
			AutoAim=0;
			AutoGuideAT=0;
			3rdPersonView=1;
			ClockIndicator=1;
			Map=1;
			Tracers=1;
			AutoSpot=1;
			UltraAI=0;
			UnlimitedSaves=0;
		};
		skillFriendly=0.850000;
		skillEnemy=0.450000;
		precisionFriendly=0.850000;
		precisionEnemy=0.450000;
	};
	class veteran
	{
		class Flags
		{
			HUD=1;
			HUDWp=1;
			FriendlyTag=1;
			EnemyTag=0;
			HUDWpPerm=1;
			WeaponCursor=1;
			ClockIndicator=1;
			3rdPersonView=0;
			Tracers=1;
			UltraAI=0;
		};
		skillFriendly=0.850000;
		skillEnemy=0.850000;
		precisionFriendly=0.850000;
		precisionEnemy=0.850000;
	};
};

Here's how ours looks like
version=1;
blood=1;
viewDistance=1900;
terrainGrid=10.000000;
volumeCD=7;
volumeFX=7;
volumeSpeech=7;
singleVoice=0;
playerVoice=0;
gamma=1.000000;
brightness=1.000000;
fovTop=0.750000;
fovLeft=1.000000;
uiTopLeftX=0.000000;
uiTopLeftY=0.000000;
uiBottomRightX=1.000000;
uiBottomRightY=1.000000;
sceneComplexity=300000.000000;
shadingQuality=7;
shadowQuality=2;
soundEnableEAX=1;
soundEnableHW=0;
difficulty="veteran";
class Difficulties
{
	class regular
	{
		class Flags
		{
			Armor=0;
			FriendlyTag=1;
			EnemyTag=0;
			HUD=1;
			HUDPerm=1;
			HUDWp=1;
			HUDWpPerm=1;
			WeaponCursor=1;
			AutoAim=0;
			AutoGuideAT=0;
			3rdPersonView=1;
			ClockIndicator=1;
			Map=1;
			Tracers=1;
			AutoSpot=1;
			UltraAI=0;
			UnlimitedSaves=0;
		};
		skillFriendly=0.850000;
		skillEnemy=0.450000;
		precisionFriendly=0.850000;
		precisionEnemy=0.450000;
	};
	class veteran
	{
		class Flags
		{
			HUD=1;
			HUDWp=1;
			FriendlyTag=1;
			EnemyTag=0;
			HUDWpPerm=1;
			WeaponCursor=1;
			ClockIndicator=1;
			3rdPersonView=0;
			Tracers=1;
			UltraAI=0;
		};
		skillFriendly=0.850000;
		skillEnemy=0.850000;
		precisionFriendly=0.850000;
		precisionEnemy=0.850000;
	};
};

Example Pic

Example Pic


When thats done and saved you should be already.

In the profile folders you should find error logs \ concole logs \ peoples sigs \ and arma server settings.

Have Fun!

And i hope i have not missed any thing out LMAO if so will add it i'm sure Fox or some one will let me know :p

Some old stuff i used to add to OFP not tryed it with Arma as there been no need for us.

For the Server.cfg you could add some thing like this. The cyclic order we had was upto about 40 missions.
class Missions
{
    class MPCTF_01    // name for the mission, can be anything
    {
        template = M02CaptureTheFlag.SaraLite;
        cadetMode = 1;   // difficulty 0=veteran 1=cadet (not only AI, but radar, map etc)
    };
    class MPCOOP_01   // name for the mission, can be anything
    {
        template = M01Cooperative.SaraLite;
        cadetMode = 1;   // difficulty 0=veteran 1=cadet (not only AI, but radar, map etc)
    };
    class MPCTI_01   // name for the mission, can be anything
    {
        template = M03ConquerTheIsland.SaraLite;
        cadetMode = 1;   // difficulty 0=veteran 1=cadet (not only AI, but radar, map etc)
    };
};

Example Pic for above.



Other code that can be added to the Arma.cfg. Depending on your server and bandwidth it has you may find tweaking them to your needs more beneficial.
MaxMsgSend=4096; // 128 default
MaxSizeGuaranteed=128; // 512 default
MaxSizeNonguaranteed=128; // 256 default
MinBandwidth=8388608; // 131072 default
MaxBandwidth=104857600;
MinErrorToSend=0.001; // 0.01 default

Or this for more demanding missions ( MAY get scope lag )

MaxMsgSend=2048; // 128 default
MaxSizeGuaranteed=128; // 512 default
MaxSizeNonguaranteed=128; // 256 default
MinBandwidth=8388608; // 131072 default
MaxBandwidth=104857600;
MinErrorToSend=0.002; // 0.01 default

Example Pic



http://community.bistudio.com/wiki/ArmA:_Dedicated_Server


Another very detailed server installing information post can be found here:
- http://www.flashpoint1985.com/cgi-bin/ikonboard311/ikonboard.cgi?act=ST;f=73;t=63934


And here is a short tutorial about using signed addons on your server:
http://forums.bistudio.com/showthread.php?t=83214



[size=4]Linux server[/size]


Activating mods:
- Launching mods on Linux server

This post was edited by Foxhound (2010-02-09 09:03, ago)

Specialdetachment.org
Asus Maximus Formula \ E8400 Wolfdale 3.0GHz \Xigmatek HDT-S1283\ G.Skill 2x2GB \ AxeRam 2GB 1200+ \ XFX 4890 1000\1100 \ 3xWDYS250GIG Raid5\ 3xWDKS250GIG Raid5 \ Liteon163 DVD \ GCE-8400B (8MB) \ Samsung DVDRW \ TOSHIBA 40" 1080p LCD HDTV \ PC Power & Cooling 750 Quad CF Edi

Author Message

Foxhound  

glancing at hot chicks with a dumbfounded look


Posts: 18671
Rank:


Level: Super Admin

Country: nl
Location: The Netherlands
Occupation:
Age: 38
In-game name: Foxhound

 
#2 Posted at 2007-07-15 01:14        
     
Perfect Asrock, great post :thumb
I will edit it a bit tomorrow and than sticky it when I am more sober :p

Visit my family webshop desteigerhoutshop.nl.

Advertisement


Author Message


Posts: 7
Rank:


Level: Member

Country: us
Location:
Occupation: Laptop tech
Age: 30
In-game name:

 
#3 Posted at 2007-07-25 09:10        
     
:)Wow you left out alot care if i rewrite it? a tad like add 3+ pages. and go in to more deatain about things?

u dont mention you can change the difuculty settings also you changed them from the defult. im not bashing you at all its a good guide. also you dont need the full path for a the profiles you can just use -profile=profile or what ever you want to name it. and you realy need to talk about bandiwth settings to and the #1 thing How to admin and how to ban kick identifi cheaters and fake cd-keys

This post was edited by SkyWolf (2007-07-25 09:24, ago)

Play with the best die like the rest!

Author Message

Foxhound  

glancing at hot chicks with a dumbfounded look


Posts: 18671
Rank:


Level: Super Admin

Country: nl
Location: The Netherlands
Occupation:
Age: 38
In-game name: Foxhound

 
#4 Posted at 2007-07-25 10:09        
     
SkyWolf : :)Wow you left out alot care if i rewrite it? a tad like add 3+ pages. and go in to more deatain about things?

Anything you can add/clearify is more than welcome :thumb

Visit my family webshop desteigerhoutshop.nl.

Author Message


Posts: 6
Rank:


Level: Member

Country: us
Location:
Occupation:
Age:
In-game name:

 
#5 Posted at 2007-08-22 17:55        
     
How would I do this if I rent my server from Art of War Central? I log into their server interface to change config files/add missions. Anyone mind walking me through this?

[TFN]Warrior


Author Message

Foxhound  

glancing at hot chicks with a dumbfounded look


Posts: 18671
Rank:


Level: Super Admin

Country: nl
Location: The Netherlands
Occupation:
Age: 38
In-game name: Foxhound

 
#6 Posted at 2007-08-22 17:57        
     
Hi TFNWarrior, :welcome to armaholic

You already rented it? Or just want to know how it might work?
This is a shared server right? Not a dedicated?

Visit my family webshop desteigerhoutshop.nl.

Author Message


Posts: 6
Rank:


Level: Member

Country: us
Location:
Occupation:
Age:
In-game name:

 
#7 Posted at 2007-08-22 18:12        
     
Right, its a shared server, and yes I have already rented. =)

[TFN]Warrior


Author Message

Foxhound  

glancing at hot chicks with a dumbfounded look


Posts: 18671
Rank:


Level: Super Admin

Country: nl
Location: The Netherlands
Occupation:
Age: 38
In-game name: Foxhound

 
#8 Posted at 2007-08-22 18:15        
     
Well, if its a shared one you will have limitted acces to it. But it should be possible to add missions and addons to it as if you would add it to your own folder (uploading through FTP client I guess with the acces codes they gave you, DONT share those).

If you didnt recieve any codes to upload files to your own server you should contact their support.


I never used a shared game server but you should be able to add your own files to it I think.

Visit my family webshop desteigerhoutshop.nl.

Author Message


Posts: 6
Rank:


Level: Member

Country: us
Location:
Occupation:
Age:
In-game name:

 
#9 Posted at 2007-08-22 18:22        
     
The main problem I have with my server is that I'm not able to create shortcuts or see the file paths for changing the arma_server.exe. I can add folders/files, modify preexisting files. Is it possible in my situation?

Do you know where the server stores the default user information, perhaps I could just edit defaults?
I not even sure if that is possible.

[TFN]Warrior

This post was edited by TFNWarrior (2007-08-22 18:27, ago)


Author Message

Foxhound  

glancing at hot chicks with a dumbfounded look


Posts: 18671
Rank:


Level: Super Admin

Country: nl
Location: The Netherlands
Occupation:
Age: 38
In-game name: Foxhound

 
#10 Posted at 2007-08-22 18:56        
     
Nope, sorry I really have no idea how thats done with a shared sever. Maybe you can email support ask how to change the startup shortcut so you can add your own server.cfg, profile etc.
It is possible, that I am sure of cause so many people rent shared servers and all of them have custome names etc.

Visit my family webshop desteigerhoutshop.nl.

Author Message


Posts: 6
Rank:


Level: Member

Country: us
Location:
Occupation:
Age:
In-game name:

 
#11 Posted at 2007-08-22 19:12        
     
Is the command line the same as changing the shortcut, right now my command line is:


-config=server.cfg verifySignatures=1 persistent=1 -netlog -port=2302 verifySignatures=1



I do have the ability to modify that. Only problem now would be finding out what the file extension was for the profile folder I would add right?

[TFN]Warrior

This post was edited by TFNWarrior (2007-08-22 19:19, ago)


Author Message

Foxhound  

glancing at hot chicks with a dumbfounded look


Posts: 18671
Rank:


Level: Super Admin

Country: nl
Location: The Netherlands
Occupation:
Age: 38
In-game name: Foxhound

 
#12 Posted at 2007-08-22 19:39        
     
verifySignatures=1 persistent=1 -netlog verifySignatures=1

verifySignatures is there 2 times and also the above should all be added in the server.cfg

Looking at your command line your server config file is called:
server.cfg
You can find that file in the root arma folder.


Probably your shortcut is in your arma folder? Than you can edit it to your likings as is described in some of the "how to set up a dedicated server" topics ;)
By default your arma server has created a profile already. But again with a shared server I am not sure where it will be placed and wether you can acces it.
Have a look here:
http://community.bistudio.com/wiki/ArmA:_Startup_Parameters#profiles

Visit my family webshop desteigerhoutshop.nl.

Author Message

ASix  



Posts: 18
Rank:


Country: nz
Location: Auckland
Occupation: Computer Reseller
Age: 37
In-game name: ASix

 
#13 Posted at 2007-08-30 22:53        
     
I setup a server yesterday for myself. I wish I'd I'd known about this guide. I got by with the BIS wiki server page. Foxhound we should put this into the Article section with a few screen shot etc?

A6-Intruder
http://nzf.net.nz

Author Message


Posts: 484
Rank:


Level: Member

Country: uk
Location:
Occupation:
Age:
In-game name:

 
#14 Posted at 2007-08-31 01:16        
     
As Fox is Busy with lots of other stuff ill see whot i can do about screen shots. No promises though

Specialdetachment.org
Asus Maximus Formula \ E8400 Wolfdale 3.0GHz \Xigmatek HDT-S1283\ G.Skill 2x2GB \ AxeRam 2GB 1200+ \ XFX 4890 1000\1100 \ 3xWDYS250GIG Raid5\ 3xWDKS250GIG Raid5 \ Liteon163 DVD \ GCE-8400B (8MB) \ Samsung DVDRW \ TOSHIBA 40" 1080p LCD HDTV \ PC Power & Cooling 750 Quad CF Edi

Author Message

Foxhound  

glancing at hot chicks with a dumbfounded look


Posts: 18671
Rank:


Level: Super Admin

Country: nl
Location: The Netherlands
Occupation:
Age: 38
In-game name: Foxhound

 
#15 Posted at 2007-08-31 09:56        
     
@A6-Intruder
That would be perfect, an article on this with really the complete info would be awesome :)

@AsRock
Thanks if you can make that :)

Visit my family webshop desteigerhoutshop.nl.