diff --git a/addons/common/functions/fnc_checkFiles.sqf b/addons/common/functions/fnc_checkFiles.sqf index 468a5c906c..3205209130 100644 --- a/addons/common/functions/fnc_checkFiles.sqf +++ b/addons/common/functions/fnc_checkFiles.sqf @@ -20,7 +20,9 @@ _version = getText (configFile >> "CfgPatches" >> "ace_main" >> "versionStr"); diag_log text format ["[ACE]: ACE is version %1.", _version]; private "_addons"; -_addons = activatedAddons; +//_addons = activatedAddons; // broken with High-Command module, see #2134 +_addons = "true" configClasses (configFile >> "CfgPatches");// +_addons = [_addons, {toLower configName _this}] call FUNC(map);// _addons = [_addons, {_this find "ace_" == 0}] call FUNC(filter); { @@ -63,25 +65,25 @@ if (isMultiplayer) then { // send servers version of ACE to all clients GVAR(ServerVersion) = _version; GVAR(ServerAddons) = _addons; - diag_log text format ["[ACE] DEBUG: ServerVersion - %1", GVAR(ServerVersion)]; - diag_log text format ["[ACE] DEBUG: ServerAddons - %1", GVAR(ServerAddons)]; + //diag_log text format ["[ACE] DEBUG: ServerVersion - %1", GVAR(ServerVersion)]; + //diag_log text format ["[ACE] DEBUG: ServerAddons - %1", GVAR(ServerAddons)]; publicVariable QGVAR(ServerVersion); publicVariable QGVAR(ServerAddons); } else { // clients have to wait for the variables [{ if (isNil QGVAR(ServerVersion) || isNil QGVAR(ServerAddons)) exitWith { - diag_log text "[ACE] DEBUG: Waiting for file info from server."; + //diag_log text "[ACE] DEBUG: Waiting for file info from server."; }; private ["_version","_addons"]; _version = (_this select 0) select 0; _addons = (_this select 0) select 1; - diag_log text format ["[ACE] DEBUG: ServerVersion - %1", GVAR(ServerVersion)]; - diag_log text format ["[ACE] DEBUG: ServerAddons - %1", GVAR(ServerAddons)]; - diag_log text format ["[ACE] DEBUG: ClientVersion - %1", _version]; - diag_log text format ["[ACE] DEBUG: ClientAddons - %1", _addons]; + //diag_log text format ["[ACE] DEBUG: ServerVersion - %1", GVAR(ServerVersion)]; + //diag_log text format ["[ACE] DEBUG: ServerAddons - %1", GVAR(ServerAddons)]; + //diag_log text format ["[ACE] DEBUG: ClientVersion - %1", _version]; + //diag_log text format ["[ACE] DEBUG: ClientAddons - %1", _addons]; if (_version != GVAR(ServerVersion)) then { private "_errorMsg"; diff --git a/addons/main/config.cpp b/addons/main/config.cpp index c6f487aa53..a013d8e971 100644 --- a/addons/main/config.cpp +++ b/addons/main/config.cpp @@ -545,7 +545,6 @@ class CfgPatches { }; author[] = {ECSTRING(common,ACETeam)}; authorUrl = "http://ace3mod.com/"; - versionDesc = "ACE3"; VERSION_CONFIG; }; }; diff --git a/addons/winddeflection/config.cpp b/addons/winddeflection/config.cpp index df2b55d221..a7bedbb9ef 100644 --- a/addons/winddeflection/config.cpp +++ b/addons/winddeflection/config.cpp @@ -6,7 +6,6 @@ class CfgPatches { weapons[] = {}; requiredVersion = REQUIRED_VERSION; requiredAddons[] = {"ace_weather"}; - versionDesc = "ACE Wind Deflection"; author[] = {ECSTRING(common,ACETeam), "Glowbal", "Ruthberg"}; authorUrl = "http://ace3mod.com/"; VERSION_CONFIG;