Bug #6406

MP DS difficulty settings cannot be fully overwritten.

Added by kju over 5 years ago. Updated over 1 year ago.

Status:Assigned Start date:11/30/2009
Priority:Normal Due date:12/01/2011
Assignee:Dwarden % Done:

0%

Category:Server
Target version:-
Affected ArmA II version:1.60 BETA First affected build:
Reproduced by another DH user:No First affected ArmA II version:
I am using some Mods:No Single / Multi Player?:
I am using: BIForumURL:
Reproducible for you:Yes NGUrl:
Related to content of DLC: WIKIurl:

Description

Obs:
1) On Recruit/Regular peripheralVisionAid cannot be deactivated by 1 HUD = 0; / EnemyTag = 0;
2) On mercenary is it no possible to have a cursor even with 1 WeaponCursor = 1;

Exp:
In ArmA I a dedicated server could set any flag value for any difficulty settings.
Probably a bug introduce with the 4th mode 'mercenary'.

Repro:
  1. Use the attach configuration files for the server (server.cfg, cb.ArmA2profile mainly).
  2. Try any mission on Recruit/Regular to see peripheralVisionAid is always active.
    Especially on Recruit you see the white dot in the center screen of animals and empty vehicles.
  3. Try any mission on mercenary to see that the cursor is hidden despite set active.
 1        class Flags
 2         {
 3             Armor=0;
 4             FriendlyTag=0;
 5             EnemyTag=0;
 6             HUD=0;
 7             HUDPerm=0;
 8             HUDWp=1;
 9             HUDWpPerm=1;
10             HUDGroupInfo=1;
11             WeaponCursor=1;
12             AutoAim=0;
13             AutoGuideAT=0;
14             3rdPersonView=0;
15             ClockIndicator=0;
16             Map=0;
17             Tracers=0;
18             AutoSpot=0;
19             UltraAI=0;
20             UnlimitedSaves=0;
21             DeathMessages=0;
22             NetStats=0;
23             VonID=0;
24         };

Server launch command:
-noFilePatching -config=server.cfg -cfg=basic.cfg -name=cb -port=2322 -profiles=C:\HDD1\ArmA2-kju\profiles\kju -ranking=C:\HDD1\ArmA2-kju\profiles\kju\ranking.log -noSound -cpuCount=2 -mod=server\clanbase-aas\required\worlds

cb.ArmA2Profile (2 kB) kju, 12/01/2009 18:44

server.cfg (3.8 kB) kju, 12/01/2009 18:44


Related issues

related to ARMA2 Community Issue Tracker - Feature #14140: Make it possible to change the default difficulty for a DS Assigned 10/03/2010
related to ARMA2 Community Issue Tracker - Bug #10843: Client changing difficulty setting in MP changes visibili... Assigned 05/26/2010 04/01/2012
related to ARMA2 Community Issue Tracker - Bug #21614: Server default difficulty MP Duplicate 06/30/2011
related to ARMA2 Community Issue Tracker - Bug #14703: The create game dialog does not show default difficulty o... Assigned 10/28/2010 02/01/2011
related to ARMA2 Community Issue Tracker - Feature #24857: Add option for admin to change difficulty settings for th... Assigned 09/24/2011
related to ARMA2 Community Issue Tracker - Feature #24862: Add option for admin to change the AI skill settings for ... Assigned 09/24/2011

History

Updated by kju over 5 years ago

Updated by kju over 5 years ago

Even though testing for 3 hours I was not able to get it to work.
In mercenary the cursor seems always off. Impossible to change.
Works for all other modes.
Also you can dis/enable the scorebord in mercenary.

It just mercenary is not freely configurable on a server like the other three.

Updated by kju over 5 years ago

  • Affected ArmA II version changed from 1.05 BETA server to 1.05.62014 server

Updated by kju almost 5 years ago

  • Due date changed from 02/20/2010 to 07/28/2010
  • Affected ArmA II version changed from 1.05.62014 server to 1.52.71816 server
  • Audio card set to Please specify!
  • Size of OS swap file set to Please specify!

Updated by kju over 4 years ago

  • Due date changed from 07/28/2010 to 12/01/2010
  • Affected ArmA II version changed from 1.52.71816 server to 1.54.72889 server
  • I am using some Mods set to No
  • Reproducible for you set to No

If anyone is interested, I made an addon to fix this.

Updated by kju over 4 years ago

The reason is the config space contains cfgDifficulities.
It defines what settings can be changed for the respective difficulty.

This is obvious to the user in the UI, when you try to tweak them.

class CfgDifficulties
{
 default = "Regular";
 defaultNormal = "Regular";
 defaultEasy = "Regular";
 defaultHard = "Veteran";
 class Recruit
 {
  class Flags
  {
   armor[] = {1,1};

it is two values
first mean active value
second means can be changed or not (1 = true)

 class Mercenary
 {
  class Flags
  {
   armor[] = {0,0};
   friendlyTag[] = {0,0};
   enemyTag[] = {0,0};
   hud[] = {0,0};
   hudPerm[] = {0,0};
   hudWp[] = {0,0};
   hudWpPerm[] = {0,0};
   autoSpot[] = {0,0};
   map[] = {0,0};
   weaponCursor[] = {0,0};
   autoGuideAT[] = {0,0};
   clockIndicator[] = {0,0};
   3rdPersonView[] = {0,0};
   ultraAI[] = {0,1};
   autoAim[] = {0,0};
   unlimitedSaves[] = {0,0};
   deathMessages[] = {0,1};
   netStats[] = {0,1};
   vonID[] = {0,1};
   cameraShake[] = {1,0};
   hudGroupInfo[] = {0,0};
   tracers[] = {0,0};
  };

so for mercenary you can hardly change anything
this makes sense for SP - not for MP in my view
(even for SP one could argue the restriction should be removed)

The problem is that some settings are hardcoded, so you cannot use regular in MP.
For example peripheralVisionAid is only fully disabled for mercenary.

Updated by kju over 4 years ago

  • Due date changed from 12/01/2010 to 03/01/2011
  • Affected ArmA II version changed from 1.54.72889 server to 1.56.76134

Updated by kju over 3 years ago

  • Due date changed from 03/01/2011 to 12/01/2011
  • Affected ArmA II version changed from 1.56.76134 to 1.60 BETA
  • CPU deleted (Please specify!)
  • Audio card deleted (Please specify!)
  • Size of OS swap file deleted (Please specify!)
  • Reproducible for you changed from No to Yes

Updated by Kochleffel over 3 years ago

  • File deleted (basic.cfg)

Updated by kju over 3 years ago

Why did you delete the basic.cfg Kochleffel?

Updated by Kochleffel over 3 years ago

wasnt on purpose, i wanted to download it maybe i clicked the wrong button.

Also available in: Atom PDF