Jump to content
Sign in to follow this  
maruk

Arma II Linux Server 1.04 Public Alpha

Recommended Posts

Irony, one week after I replaced my linux box with Windows, now I gotta find the discs again. :D

Share this post


Link to post
Share on other sites

On server start: results were the game was not found:

ArmA 2 Linux Dedicated Server 1.04

Converting ArmA 2 directory:

72 file-names were converted

ArmA 2 server was installed.

[xxxxxxxxxxxxxxxxx]$ ./server

Cannot register unknown string STR_USRACT_NETWORK_DS_INTERFACE

Cannot register unknown string STR_ADDON_ACTIONS_INSTALL_CORE

Cannot register unknown string STR_ADDON_ACTIONS_INSTALL_MOD

Cannot register unknown string STR_ADDON_ACTIONS_PLAY_MISSION

Cannot register unknown string STR_ADDON_ACTIONS_TRY_ENTITY

Cannot register unknown string STR_ADDON_ACTIONS_TRY_WEAPON

Cannot register unknown string STR_MSG_ADDON_NOT_FOUND

Cannot register unknown string STR_MSG_ADDON_CANNOT_OPEN

Cannot register unknown string STR_MSG_ADDON_UNKNOWN_PRODUCT

6:43:40 Dedicated host created.

Warning Message: No entry 'bin\config.bin/CfgCoreData.textureLine3D'.

Warning Message: '/' is not a value

Cannot find a sound file ca\weapons\data\sound\car_horn_v1.wss

Cannot find a sound file ca\sounds\weapons\rifles\reload-m16-3.wss

Cannot find a sound file ca\sounds\weapons\rifles\dry.wss

Cannot find a sound file ca\weapons\data\sound\z_sinus.wss

Cannot find a sound file ca\weapons\data\sound\z_sinus.wss

Cannot find a sound file ca\weapons\data\sound\z_sinus.wss

Cannot find a sound file ca\sounds\weapons\rifles\reload-ak-2ivan.wss

Cannot find a sound file ca\sounds\weapons\rifles\dry.wss

Cannot find a sound file ca\sounds\weapons\rifles\reload-m16-3.wss

Cannot find a sound file ca\sounds\weapons\rifles\dry.wss

Cannot find a sound file ca\sounds\weapons\rifles\reload-m16-3.wss

Cannot find a sound file ca\sounds\weapons\rifles\dry.wss

Cannot find a sound file ca\weapons\data\sound\pistol_reload.wss

Cannot find a sound file ca\weapons\data\sound\t33_dry_v1.wss

Cannot find a sound file ca\weapons\data\sound\truck_horn_v1.wss

Cannot find a sound file ca\sounds\weapons\rockets\flare_reload.wss

Cannot find a sound file ca\sounds\weapons\rockets\dry.wss

Cannot find a sound file ca\sounds\weapons\rockets\flare_reload.wss

Cannot find a sound file ca\sounds\weapons\rockets\dry.wss

Cannot find a sound file ca\weapons\data\sound\skoda_horn_v1.wss

Cannot find a sound file ca\weapons\data\sound\bicycle_ring_v1.wss

Cannot find a sound file ca\weapons\data\sound\minicar_horn_v1.wss

6:43:41 Host identity created.

ArmA 2 Console version 1.04 : port 2302 - Sockets

Share this post


Link to post
Share on other sites

Those error messages are harmless.

6:43:41 Host identity created.

ArmA 2 Console version 1.04 : port 2302 - Sockets

Means the server started.

Share this post


Link to post
Share on other sites

Issue resolved...testing underway...

I then tried to connect to the server to test it and it does not show up in the remote game server window, ip confirmed. thoughts?

Those error messages are harmless.

6:43:41 Host identity created.

ArmA 2 Console version 1.04 : port 2302 - Sockets

Means the server started.

Edited by phxfire

Share this post


Link to post
Share on other sites
Good news for comrades in arms coop nights! :)

Thats also good news for me :D

Im hoping this brings some new servers to the community soon

Share this post


Link to post
Share on other sites

Burning fires seem to have a very bad effect on server fps. Simple way to reproduce is to place 30 burning fires on airfield of Utes, one unit, start the map and and watch the server performance with #monitor 1

On linux frame rate will go down to single digit fps within minutes, on windows it will continue to show 50 fps.

Edit: Mission to reproduce is available here

Share this post


Link to post
Share on other sites

@rundll.exe

It sure will bring new Servers to the Community :yay:. I´m Uploading the neccessary Files to my Server right now.

The [AIGB] is very happy to add and provide their ressources for ArmA II now :bounce3:

Greetz,

[AIGB]~Steiner

Share this post


Link to post
Share on other sites
Burning fires seem to have a very bad effect on server fps. Simple way to reproduce is to place 30 burning fires on airfield of Utes, one unit, start the map and and watch the server performance with #monitor 1

On linux frame rate will go down to single digit fps within minutes, on windows it will continue to show 50 fps.

Edit: Mission to reproduce is available here

Great find!

Reproduced successfully.

The cpu use continues even after the mission has been shutdown, server restart required.

Edited by zyklone

Share this post


Link to post
Share on other sites
great news... But too late, I'm now converted to windows ;)

You could always have a dual boot OS server..?

Share this post


Link to post
Share on other sites

Finally we got it :yay:

Thanks Bohemia !!!

For us it's running fine on a Gentoo 2.6.28-vs2.3.0.36.4 so far, but it's only using 1 CPU regardless of the cpucount param or without it. It is intended to be so?

We hoped this would enable us to play big battles with many AI's :butbut:

Share this post


Link to post
Share on other sites
but it's only using 1 CPU regardless of the cpucount param or without it. It is intended to be so?

Same here... the server only uses one CPU. Is there a way to make it use the others too ? Sadly CPUCOUNT doesn´t work.

Share this post


Link to post
Share on other sites

Got any1 the same Problem? After 1-1,5 hours freeze the Server, without crash and nobody can connect to Server.

We use only the caa1 Mod.

last 4 lines out of log:

NetServer::finishDestroyPlayer(1731952266): DESTROY immediately after CREATE, both cancelled
NetServer::finishDestroyPlayer(572840611): DESTROY immediately after CREATE, both cancelled
NetServer::finishDestroyPlayer(605010700): DESTROY immediately after CREATE, both cancelled
NetServer::finishDestroyPlayer(906859436): DESTROY immediately after CREATE, both cancelled
NetServer::finishDestroyPlayer(2091270015): DESTROY immediately after CREATE, both cancelled

The log did not continued

Never had the problem before (arma1 server)

got any1 a idea?

greetz H5

EDIT: Without mods the same problem, server freeze.

Edited by H5N1

Share this post


Link to post
Share on other sites

Any news regarding Arma2 server settings and config? current WIKI isnt that helpful. Thanks

Share this post


Link to post
Share on other sites

The Server runs good so far with! I love that you can use all sorts of characters in missionnames like ), ], +, etc. Saves a lot of renaming :)

Any news regarding Arma2 server settings and config? current WIKI isnt that helpful. Thanks

here is an example from our server:

arma2server edit the first lines:

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\;@draw_distance\;@plants_low\;@panthera\;@sakudriver\;@sap\;@sge\;@zgb\;@jtd\;@nightstalkers

and look for that line and edit as follows:

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

server.cfg (path specified in arma2server)

//
// server.cfg
//
// comments are written with "//" in front of them.



// GLOBAL SETTINGS
hostname="[F.A.K.K.] Eskalation - Veteran Mode only - www.FAKKer.de"; // The name of the server that shall be displayed in the public server list
password=""; // Password for joining, eg connecting to the server
passwordAdmin=""; // Password to become server admin. When you're in Arma MP and connected to the server, type '#login xyz'
reportingIP="arma2pc.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[]={
"", "", "", 
"Willkommen bei den Fakkern",
"",
"http://www.FAKKer.de",
""
};
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=40; // Maximum amount of players. Civilians and watchers, beholder, bystanders and so on also count as player.
kickDuplicate=1; // Each ArmA version has its own 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="";


// some ArmA specific stuff - signature verification
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
//BattlEye=1; //Server to use BattlEye system

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

MinBandwidth=15000000;
MaxBandwidth=100000000;
MaxMsgSend=1024;
MaxSizeGuaranteed=1024;
MaxSizeNonguaranteed=64;
MinErrorToSend=0.0025;
MaxCustomFileSize=0;

host.arma2profile (as specified in arma2server)

version=1;
difficulty="veteran";
class Difficulties
{

class recruit
{
	class Flags
	{
		Armor=0;
		FriendlyTag=0;
		EnemyTag=0;
		HUD=1;
		HUDPerm=0;
		HUDWp=0;
		HUDWpPerm=0;
		WeaponCursor=0;
		AutoAim=0;
		AutoGuideAT=0;
		3rdPersonView=1;
		ClockIndicator=1;
		Map=0;
		Tracers=0;
		AutoSpot=0;
		UltraAI=0;
		UnlimitedSaves=1;
		DeathMessages=1;
		NetStats=1;
		VonID=1;
	};
	skillFriendly=0.34999999;
	skillEnemy=0.34999999;
	precisionFriendly=0.20;
	precisionEnemy=0.20;
};

class regular
{
	class Flags
	{
		Armor=0;
		FriendlyTag=0;
		EnemyTag=0;
		HUD=0;
		HUDPerm=0;
		HUDWp=0;
		HUDWpPerm=0;
		WeaponCursor=0;
		AutoAim=0;
		AutoGuideAT=0;
		3rdPersonView=1;
		ClockIndicator=1;
		Map=0;
		Tracers=0;
		AutoSpot=0;
		UltraAI=0;
		UnlimitedSaves=1;
		DeathMessages=1;
		NetStats=1;
		VonID=1;
	};
	skillFriendly=0.39999999;
	skillEnemy=0.39999999;
	precisionFriendly=0.25;
	precisionEnemy=0.25;
};
class veteran
{
	class Flags
	{
		Armor=0;
		FriendlyTag=0;
		EnemyTag=0;
		HUD=0;
		HUDPerm=0;
		HUDWp=0;
		HUDWpPerm=0;
		WeaponCursor=0;
		AutoAim=0;
		AutoGuideAT=0;
		3rdPersonView=0;
		ClockIndicator=1;
		Map=0;
		Tracers=0;
		AutoSpot=0;
		UltraAI=0;
		UnlimitedSaves=1;
		DeathMessages=1;
		NetStats=1;
		VonID=1;
	};
	skillFriendly=0.44999999;
	skillEnemy=0.44999999;
	precisionFriendly=0.25;
	precisionEnemy=0.25;
};
	class expert
{
	class Flags
	{
		Armor=0;
		FriendlyTag=0;
		EnemyTag=0;
		HUD=0;
		HUDPerm=0;
		HUDWp=0;
		HUDWpPerm=0;
		WeaponCursor=0;
		AutoAim=0;
		AutoGuideAT=0;
		3rdPersonView=0;
		ClockIndicator=1;
		Map=0;
		Tracers=0;
		AutoSpot=0;
		UltraAI=0;
		UnlimitedSaves=1;
		DeathMessages=0;
		NetStats=0;
		VonID=1;
	};
	skillFriendly=0.54999999;
	skillEnemy=0.54999999;
	precisionFriendly=0.35;
	precisionEnemy=0.35;
};
};
blood=1;
singleVoice=0;
gamma=1;
brightness=1;
shadingQuality=7;
shadowQuality=3;
soundEnableEAX=1;
soundEnableHW=0;
sceneComplexity=300000;
viewDistance=1600;
terrainGrid=10;
volumeCD=5;
volumeFX=5;
volumeSpeech=5;

just tune the variables how you like it.

Edited by Dr.Pulp

Share this post


Link to post
Share on other sites

Cool!

Many thanks Dr Pulp going to overwrite my config with your example to see if I can make it working.

I'm having trouble with server not being stable on startup, with alot of error messages of vars missing etc, and I wondered if I'm missed some config.

Does the pbo files from the game need to be copied to the server beside the MPMmission that will run? Cheers

---------- Post added at 11:23 PM ---------- Previous post was at 11:12 PM ----------

:confused:

Tried the config but got similar error results...

WATCHDOG (18992): [Fri Oct 30 23:15:27 GMT 2009] Starting server (port 2302)...

Warning Message: No entry '.profilePathDefault'.

Warning Message: '/' is not a value

Warning Message: No entry '.profilePathCommon'.

Warning Message: '/' is not a value

Warning Message: No entry '.extensionSave'.

Warning Message: '/' is not a value

Warning Message: No entry '.extensionProfile'.

Warning Message: '/' is not a value

Warning Message: No entry '.extensionWizardMission'.

Warning Message: '/' is not a value

Warning Message: No entry '.extensionAddon'.

Warning Message: '/' is not a value

Cannot register string STR_SUNDAY - global stringtable not found

Cannot register string STR_MONDAY - global stringtable not found

Cannot register string STR_TUESDAY - global stringtable not found

Cannot register string STR_WEDNESDAY - global stringtable not found

Cannot register string STR_THURSDAY - global stringtable not found

Cannot register string STR_FRIDAY - global stringtable not found

Cannot register string STR_SATURDAY - global stringtable not found

Cannot register string STR_JANUARY - global stringtable not found

Cannot register string STR_FEBRUARY - global stringtable not found

Cannot register string STR_MARCH - global stringtable not found

...

...

..

...

Warning Message: Size: '/' not an array

Warning Message: No entry '.hideCursor'.

Warning Message: '/' is not a value

Warning Message: No entry '.CfgWrapperUI'.

Warning Message: No entry '.Cursors'.

Warning Message: No entry '.Arrow'.

Warning Message: No entry '.texture'.

Warning Message: '/' is not a value

Warning Message: No entry '.hotspotX'.

Warning Message: '/' is not a value

Warning Message: No entry '.hotspotY'.

Warning Message: '/' is not a value

Warning Message: No entry '.width'.

Warning Message: '/' is not a value

Warning Message: No entry '.height'.

Warning Message: '/' is not a value

Warning Message: No entry '.color'.

Warning Message: Size: '/' not an array

Warning Message: Size: '/' not an array

Warning Message: Resource RscDisplayNotFreeze not found

Warning: preNLOD format in object

Critical: Destroying running thread!

WATCHDOG (18992): [Fri Oct 30 23:16:14 GMT 2009] Server died, waiting to restart...

Share this post


Link to post
Share on other sites

yeah, you got to copy your whole arma2 folder to the server! otherwise it won't work.

(took me about 2 days to upload...) after that convert all file- and directorynames to lower case letters with tolower.

and i think some warnings in the log are normal...got them with arma1 and now with arma2. normally missing ; at the end of some lines at some addons.

Edited by Dr.Pulp

Share this post


Link to post
Share on other sites
yeah, you got to copy your whole arma2 folder to the server! otherwise it won't work.

after that convert all file- and directorynames to lower case letters with tolower.

and i think some warnings in the log are normal...got them with arma1 and now with arma2. normally missing ; at the end of some lines at some addons.

"...after that convert all file- and directorynames to lower case letters..."

found that all the errors were related to capital cases on the pbo addon files

I'm lowering the file names however, but still some strings are unknown... but the error log looks better now :yay:

WATCHDOG (19407): [Fri Oct 30 23: 31:21 GMT 2009] Starting server (port 2302)...

Cannot register unknown string STR_USRACT_NETWORK_DS_INTERFACE

Cannot register unknown string STR_ADDON_ACTIONS_INSTALL_CORE

Cannot register unknown string STR_ADDON_ACTIONS_INSTALL_MOD

Cannot register unknown string STR_ADDON_ACTIONS_PLAY_MISSION

Cannot register unknown string STR_ADDON_ACTIONS_TRY_ENTITY

Cannot register unknown string STR_ADDON_ACTIONS_TRY_WEAPON

Cannot register unknown string STR_MSG_ADDON_NOT_FOUND

Cannot register unknown string STR_MSG_ADDON_CANNOT_OPEN

Cannot register unknown string STR_MSG_ADDON_UNKNOWN_PRODUCT

Cannot open file 'addons\chernarus_data_layers.pbo'

Critical: Destroying running thread!

WATCHDOG (19407): [Fri Oct 30 23: 31:22 GMT 2009] Server died, waiting to restart...

Many thanks for your insight Dr.Pulp :thumb:

Share this post


Link to post
Share on other sites

no problem!

btw. that:

Cannot open file 'addons\chernarus_data_layers.pbo'

are you missing this file, or is it damaged?

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

×