ACE3 icon indicating copy to clipboard operation
ACE3 copied to clipboard

ACE Whitelist invalid value

Open fire-391 opened this issue 6 years ago • 7 comments

Mods (complete and add to the following information):

  • Arma 3: 1.96 stable
  • CBA: 3.15.0 stable
  • ACE3: 3.13.1 stable Make sure to reproduce the issue with only CBA and ACE3 on a newly created mission!

Description: ace_common_checkPBOsWhitelist not working

Steps to reproduce: Run server with ACE and CBA with jsrs entry's in the whitelist run jsrs (for example) on client

Expected behavior: Not be kicked by server, no "missing addons" errors

Where did the issue occur?

  • Dedicated

Log Files:

  • Server - https://pastebin.com/gJRsrdrZ
  • Client - https://pastebin.com/WJ9tqVR0

Additional context: Related CBA settings:

force force ace_common_checkPBOsAction = 2; force force ace_common_checkPBOsCheckAll = true; force force ace_common_checkPBOsWhitelist = "["jsrs_soundmod_complete_edition","jsrs_soundmod_boats","jsrs_soundmod_sonic_cracks","jsrs_soundmod_weapons","jsrs_soundmod_environment","jsrs_soundmod_explosions","jsrs_soundmod_framework","jsrs_soundmod_landvehicles","jsrs_soundmod_movement","jsrs_soundmod_bullethits","jsrs_soundmod_helicopters"]";

Notable RPT error:

2020/04/10, 9:59:41 [CBA] (settings) WARNING: Invalid value any for setting ace_common_checkPBOsWhitelist. Fall back to default value.

Screenshots: N/A

fire-391 avatar Apr 10 '20 14:04 fire-391

That's not a bug, you have an invalid sytanx for checkPBOsWhitelist. Did you use the export or wrote this yourself?

Should be:

force force ace_common_checkPBOsWhitelist =
"['jsrs_soundmod_complete_edition','jsrs_soundmod_boats','jsrs_soundmod_sonic_cracks','jsrs_soundmod_weapons','jsrs_soundmod_environment','jsrs_soundmod_explosions','jsrs_soundmod_framework','jsrs_soundmod_landvehicles','jsrs_soundmod_movement','jsrs_soundmod_bullethits','jsrs_soundmod_helicopters']";

or double double quotes.

jonpas avatar Apr 10 '20 14:04 jonpas

Was originally single quotes when it broke, changed to double to attempt a fix, just tried yours and got the same error.

fire-391 avatar Apr 10 '20 16:04 fire-391

I have tried the solution given and got the same errors.

fire-391 avatar Apr 10 '20 23:04 fire-391

Working example

ace_common_checkPBOsWhitelist = "[""jsrs_soundmod_complete_edition"",""jsrs_soundmod_complete_edition_soundfiles"",""jsrs_soundmod_boats"",""jsrs_soundmod_sonic_cracks"",""jsrs_soundmod_weapons"",""jsrs_soundmod_environment"",""jsrs_soundmod_explosions"",""jsrs_soundmod_framework"",""jsrs_soundmod_landvehicles"",""jsrs_soundmod_movement"",""jsrs_soundmod_bullethits"",""jsrs_soundmod_helicopters""]";

bux avatar Apr 11 '20 04:04 bux

Where are you setting this? My example works in static settings mod as well as mission completely fine.

jonpas avatar Apr 11 '20 10:04 jonpas

In cba_settings.sqf located in the userconfig file in the root folder of arma on the server. @bux's example worked.

fire-391 avatar Apr 11 '20 14:04 fire-391

image

We have the best examples!

bux avatar Apr 11 '20 14:04 bux