Page MenuHomeFeedback Tracker

Server does not assign player a slot where forceHeadlessClient=1;
New, WishlistPublic

Description

When attempting to use var forceHeadlessClient=1;, Dedicated Client is not moved to the applicable slot automatically as seen in beta builds of ArmA2OA. This unexpected result makes usage of HeadlessClient functionality unfeasible as upon every mission/server restart the Dedicated Client must be moved manually to the proper player slot.

Details

Legacy ID
3735611963
Severity
None
Resolution
Open
Reproducibility
Always
Category
Dedicated Server
Steps To Reproduce
  1. Setup headless client as you would in Arma2OA beta build 1.63 Beta

(http://www.reddit.com/r/arma/comments/16nl5x/a_quick_n_dirty_guide_to_headless_clients_for/ [^])

  1. Add forceHeadlessClient=1; to Class Item# using a text editor such as notepad++

class Item36

{
 side="WEST";
 class Vehicles
 {
  items=1;
  class Item0
  {
   position[]={17090.363,365.23312,-3771.4404};
   azimut=13.3992;
   id=973;
   side="WEST";
   vehicle="BAF_Soldier_Officer_DDPM";
   player="PLAY CDG";
   forceHeadlessClient=1;
   leader=1;
   rank="MAJOR";
   skill=0.2;
   init="this allowdamage false; this setCaptive true;";
   description="Headless Client";
  };
 };
};

Two outcomes:
(a) At any mission save in editor; forceHeadlessClient=1; is deleted from the class Item# rendering var useless
(b) If the mission is compiled into a pbo in such a way that the editor cannot strip forceHeadlessClient=1; (such as modifying mission.sqm, saving in notepad++, then compiling with a pbo utility) AND forceHeadlessClient=1; is present during a search of the compiled pbo to verify existence; upon loading mission with Dedicated Client present, Dedicated Client is not moved to playerslot flagged with forceHeadlessClient=1;.

Additional Information

Resolution:

  1. Add functionality in editor to allow forceHeadlessClient=1; var in mission.sqm saves instead of stripping var.
  1. Merge functionality from Arma2OA beta build 1.63 Beta or later or code functionality to move Dedicated Client to player slot with var forceHeadlessClient=1;

**Filed as Engine bug due to functionality that impacts multiple categories such as Editor, Server, Etc

Event Timeline

zorrobyte edited Additional Information. (Show Details)
zorrobyte set Category to Dedicated Server.
zorrobyte set Reproducibility to Always.
zorrobyte set Severity to None.
zorrobyte set Resolution to Open.
zorrobyte set Legacy ID to 3735611963.May 7 2016, 5:26 PM
Bohemia added a subscriber: AD2001.Nov 17 2013, 6:38 PM

Since we have shiny new HC built into the server and it works fine, this ticket can and should be closed.