Page MenuHomeFeedback Tracker

"BIS_fnc_isCurator" doesn't work
New, WishlistPublic

Description

BIS_fnc_isCurator doesn't work, because it checks the wrong variable.

The function is:

private ["_curator"];
_curator = [_this,0,objnull,[objnull]] call bis_fnc_param;
gettext (configfile >> "cfgvehicles" >> typeof _curator >> "simulation") == "curator"

But it should be: ("displayName" insted of "simulation")

private ["_curator"];
_curator = [_this,0,objnull,[objnull]] call bis_fnc_param;
gettext (configfile >> "cfgvehicles" >> typeof _curator >> "displayName") == "curator"

So every script, function, ect which uses BIS_fnc_isCurator doesn't work correctrly.
Because of that also the SEIZE and DEFEND Gameplay-Modules don't work with the configuration listed in SHOW-INFO

Details

Legacy ID
84708162
Severity
None
Resolution
Open
Reproducibility
Always
Category
Scripting
Steps To Reproduce

call the function on a Currator-Logic or try to set up a defend or seize game-mode. You will always get an error message

Additional Information

This was reported with ticket 0019056 a while ago and was closed with a mass closing but was never really resolved. Discovered while viewing ticket 0019236.

Event Timeline

Nutlink edited Steps To Reproduce. (Show Details)Nov 5 2015, 1:40 PM
Nutlink edited Additional Information. (Show Details)
Nutlink set Category to Scripting.
Nutlink set Reproducibility to Always.
Nutlink set Severity to None.
Nutlink set Resolution to Open.
Nutlink set Legacy ID to 84708162.May 8 2016, 1:03 PM