Forum Jump :

Author Message


Posts: 484
Rank:


Level: Member

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

 
#7681 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