ACE3 icon indicating copy to clipboard operation
ACE3 copied to clipboard

Pylons Menu unavailable for Zeus when disabled for players.

Open xrufix opened this issue 8 years ago • 2 comments

Arma 3 Version: 1.82 (stable) CBA Version: 3.7.0.180430 (stable) ACE3 Version: 3.12.3 (stable)

Mods:

- Multiple, but should not make a difference

Description:

  • When disabling Pylons Menu in settings, Pylons Menu is also unavailable to Zeus.

Expected Behaviour:

  • Zeus can change pylon loadouts even if it is disabled for players.

Steps to reproduce:

  • Disable Pylons Menu in mission settings and force on client.
  • Play the mission and use Zeus module "Configure Pylons" on a plane or helicopter.
  • Nothing happens.

Where did the issue occur?

  • Dedicated

xrufix avatar May 10 '18 14:05 xrufix

https://github.com/acemod/ACE3/blob/master/addons/zeus/functions/fnc_moduleConfigurePylons.sqf#L37 calls https://github.com/acemod/ACE3/blob/master/addons/pylons/functions/fnc_showDialog.sqf#L21and exits there.

Problem is though that disabling pylons https://github.com/acemod/ACE3/blob/master/addons/pylons/XEH_postInit.sqf#L4 Really disables the whole pylon module. It doesn't just "disallow" it for the clients. even if you change showDialog the namespace and events are not there.

dedmen avatar May 11 '18 07:05 dedmen

Think the best way to handle this is we get rid of the "enabled" setting and instead add "enabled from ammo trucks" & "enabled for zeus" settings instead. Should also move it over to CBA settings while I'm at it.

654wak654 avatar May 11 '18 12:05 654wak654