Page MenuHomeFeedback Tracker

BIS_fnc_dynamicGroups can't "InitializePlayer" after "terminatePlayer"
New, NormalPublic

Description

Group manager UI can't be opened anymore after dynamicGroup init - terminate - init.

Details

Severity
None
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Category
End Game - Dynamic Groups
Steps To Reproduce

["InitializePlayer", [player, false]] call BIS_fnc_dynamicGroups;
["TerminatePlayer", [player]] call BIS_fnc_dynamicGroups;
["InitializePlayer", [player, false]] call BIS_fnc_dynamicGroups; //error already init.

Additional Information

in a3\mark\addons\functions_f_mp_mark.pbo > dynamicGroups\fn_dynamicGroups.sqf

in initializePlayer block you set a flag on player's unit (line 641) > _player setVariable [VAR_INITIALIZED, true, IS_PUBLIC];

that flag is not reset on terminatePlayer call.

To fix add _player setVariable [VAR_INITIALIZED, nil, IS_PUBLIC]; in the TerminatePlayer block (line 712)

Event Timeline

Still present in 1.90!

Assigned to "none" during 2 years, when you provided the solution is just .... ridiculous!