Page MenuHomeFeedback Tracker

BIS_fnc_MP not executing functions on Headless Client
Closed, ResolvedPublic

Description

Functions are not executed remotely on the HC.
If you specify a function to be run on all clients, like so:

[[9], "zam_hc_exclude", true, false] spawn BIS_fnc_MP;

Where zam_hc_exclude is some function defined on all clients and the server, it will run on all clients and the server, except for the HC.
{F19682}

Details

Legacy ID
1432478733
Severity
None
Resolution
Fixed
Reproducibility
Always
Category
Scripting
Steps To Reproduce

Using the attached mission, export it onto a server, have yourself and the HC join onto the two slots, wait 5 seconds after missions start and then check the RPT log for the server, your client and the HC.

On all machines, the following messages will be logged in the RPT, except for the HC:

"BIS_fnc_MP Test log"
"BIS_fnc_MP Test log"
"BIS_fnc_MP Test log"
"BIS_fnc_MP Test log"
"BIS_fnc_MP Test log"

These messages where created by the BIS_fnc_MP only being run on the server with the following command:

[[[],"log.sqf"],"BIS_fnc_execVM"] spawn BIS_fnc_MP;

Where log.sqf contains:

diag_log "BIS_fnc_MP Test log";

5x.

Event Timeline

Phoenix_ZA edited Additional Information. (Show Details)
Phoenix_ZA set Category to Scripting.
Phoenix_ZA set Reproducibility to Always.
Phoenix_ZA set Severity to None.
Phoenix_ZA set Resolution to Fixed.
Phoenix_ZA set Legacy ID to 1432478733.May 7 2016, 2:22 PM

Already fixed in default Beta build

Mass close.