Page MenuHomeFeedback Tracker

Headless client AI ignore audio input and bullet impacts
Reviewed, NormalPublic

Description

AI units transferred to the headless client ignore gunshots from player/s. When the locality of the AI is transferred back to the server (or never moved in the first place) AI react correctly.

I've attached a demo mission which gives the user an addAction to change AI to the HC, please allow time for them to change (10-15 seconds). This was done in a vanilla environment, the client is the stable 1.64 release (1.64.0.138732) and so is the server.

Server launch params: -port=2320 -config=C:\arma\profiles\server.cfg -cfg=C:\arma\profiles\basic.cfg -profiles=C:\arma\profiles\server -enableHT -nosound
HC launch params: -client -connect=127.0.0.1 -password=***** -port=2320 -profiles=C:\arma\profiles\hc -cpuCount=2

Server.cfg contains the required code

localClient[]			= {"127.0.0.1"};
headlessClients[]		= {"127.0.0.1"};

Details

Severity
Major
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Category
AI Issues
Steps To Reproduce
  1. Load attached mission
  2. Use vanilla server/hc
  3. Connect with vanilla client
  4. Use addaction to change AI locality (please wait 10/15 seconds for the engine to switch them or monitor AI locality)
  5. Shoot near/around AI (do not hit them!)
Additional Information

init.sqf

isHcPresent = !isNil {hc_unit} && {!isNull hc_unit} && {isPlayer hc_unit};

if (isHcPresent && {hasInterface}) then {
    player addAction ["Transfer to HC", {
        [[],{
            private _hcOwner = owner hc_unit;
            {
                _x setGroupOwner _hcOwner;
            } foreach (allGroups select { side _x == east });
        }] remoteExec ["bis_fnc_call", 2]
    }];
}

Example video: https://www.youtube.com/watch?v=fj6PVXpXCT4

Event Timeline

Cyruz created this task.Nov 28 2016, 10:19 PM
Cyruz updated the task description. (Show Details)
Cyruz updated the task description. (Show Details)Nov 28 2016, 10:21 PM
Cyruz updated the task description. (Show Details)Nov 28 2016, 10:55 PM
Cyruz updated the task description. (Show Details)

Adjusted the HC launch options and tried other combinations to see if it was based around the -nosound flag but no changes.

Removed the lines about BattleEye from the server.cfg as we don't use BattleEye.

Tests carried out on a Windows Server 2008 R2 machine.

Cyruz updated the task description. (Show Details)Nov 28 2016, 11:06 PM

Removed -serverMod=@ASM to ensure it wasn't invalidating the test, no change.

Cyruz updated the task description. (Show Details)Nov 28 2016, 11:11 PM
Cyruz added a comment.Dec 2 2016, 1:06 AM

Issue persists in 1.66

razazel claimed this task.Dec 6 2016, 5:44 PM
razazel changed the task status from New to Reviewed.
Cyruz added a comment.Sep 6 2017, 4:16 PM

Issue persists in 1.74

Issue persists in 1.84
HC is totally useless

Ai doesn't react even if the command reveal is used with max (4) level