genesis92x / VcomAI-3.0

Vcom AI 3.0
75 stars 39 forks source link

Object in cba_settings causes errior #157

Closed AndreasBrostrom closed 4 years ago

AndreasBrostrom commented 4 years ago

Describe the bug CBA parse error caused by cba_settings not being able to join string containing side object.

17:53:25 [CBA] (settings) INFO: Mission Config: File [cba_settings.sqf] loaded successfully.
17:53:25 Error in expression <ring [10, 13, 9, 32] joinString "";
};

parseSimpleArray (["[", _string, "]"] jo>
17:53:25   Error position: <parseSimpleArray (["[", _string, "]"] jo>
17:53:25   Error Generic error in expression
17:53:25 File x\cba\addons\settings\fnc_parse.sqf..., line 30
17:53:25 Error in expression <ring [10, 13, 9, 32] joinString "";
};

parseSimpleArray (["[", _string, "]"] jo>
17:53:25   Error position: <parseSimpleArray (["[", _string, "]"] jo>
17:53:25   Error Generic error in expression
17:53:25 File x\cba\addons\settings\fnc_parse.sqf..., line 30
17:53:25 [ACE] (common) INFO: Parsed Settings Configs [71.8 ms]
17:53:25 [XEH]: One or more children of class All do not support Extended Event Handlers. Fall back to loop.

To Reproduce Steps to reproduce the behavior:

  1. Add vcom settings in cba_settings.sqf
  2. Reload mission
  3. Error should occur

VCOM Version:

Additional mods used:

Additional context Possible solution string the objects and handle side detection in separate script.

AndreasBrostrom commented 4 years ago

Duplicate of #155