Page MenuHomeFeedback Tracker

"BIS_fnc_isCurator " doesn't work
Closed, ResolvedPublic

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
1791064462
Severity
None
Resolution
No Bug
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

I'm on actual dev-branch and sorry for my english

Event Timeline

battelunti edited Additional Information. (Show Details)
battelunti set Category to Scripting.
battelunti set Reproducibility to Always.
battelunti set Severity to None.
battelunti set Resolution to No Bug.
battelunti set Legacy ID to 1791064462.May 7 2016, 6:42 PM

The condition is correct, it is supposed to check for 'simulation' attribute.
Not sure why you suggest 'displayName', but since it's different in every language, it cannot be used for comparison.

The function works as intended, it returns true when called on Zeus module, false when called on anything else.

Hm, but why do i get an error, when i use the size or defend modules? Look at this ticket 0019236.

MadDogX added a subscriber: MadDogX.May 7 2016, 6:42 PM

Mass closing tickets marked as resolved more than 1 month ago.

If the issue is in fact not resolved, please create a new ticket referencing this one and ask for it to be re-opened.