gruppe-adler / gruppe_adler_mod

Gruppe Adler Mod is a collection of Gruppe Adler original addons that add new functionality or modify and improve existing functionality to suit our Arma gameplay.
GNU General Public License v2.0
10 stars 6 forks source link

Fix for #214 calls to TFAR functions in scheduled environment #215

Closed AdlerSalbei closed 1 week ago

AdlerSalbei commented 2 weeks ago

fix #214

b-mayr-1984 commented 1 week ago

Tested using

.\hemtt.exe build    
HEMTT 0.7.6
Original output filename: Arma3Retail_DX11_x64
Exe timestamp: 2024/03/21 14:45:00
Current time:  2024/09/11 21:59:02

Type: Public
Build: Stable
Version: 2.16.151618

Allocator: C:\Program Files (x86)\Steam\steamapps\common\Arma 3\Dll\tbb4malloc_bi_x64.dll [2017.0.0.0] [2017.0.0.0]
PhysMem: 16 GiB, VirtMem : 131072 GiB, AvailPhys : 7.2 GiB, AvailVirt : 131068 GiB, AvailPage : 15 GiB, PageSize : 4.0 KiB/2.0 MiB/HasLockMemory, CPUCount : 4

@AdlerSalbei unfortunately I get script errors when I change the TFAR short-range radio channel.

22:34:32 Error in expression <LrSettings;
};

((_settings param[2]) param [_channel,""])
>
22:34:32   Error position: <param [_channel,""])
>
22:34:32   Error Type Number,Not a Number, expected Number
22:34:32 File z\tfar\addons\core\functions\fnc_getChannelFrequency.sqf..., line 37
22:34:32  ➥ Context:    [] L250 (/x/cba/addons/common/fnc_directCall.sqf)
    [] L250 (/x/cba/addons/common/fnc_directCall.sqf)
    [] L47 (x\GRAD\addons\zeus\XEH_preClientInit.sqf)
    [] L37 (z\tfar\addons\core\functions\fnc_getChannelFrequency.sqf)
 <- 
22:34:32    [] L1 ()
    [] L1 ()
    [] L339 (/x/cba/addons/events/fnc_keyHandlerDown.sqf)
    [] L312 (/x/cba/addons/events/fnc_keyHandlerDown.sqf)
    [] L331 (/x/cba/addons/events/fnc_keyHandlerDown.sqf)
    [] L336 (/x/cba/addons/events/fnc_keyHandlerDown.sqf)
    [] L336 (/x/cba/addons/events/fnc_keyHandlerDown.sqf)
    [] L132 (z\tfar\addons\core\functions\fnc_initKeybinds.sqf)
    [] L25 (z\tfar\addons\core\functions\events\keys\fnc_processSWChannelKeys.sqf)
    [] L27 (z\tfar\addons\core\functions\events\keys\fnc_processSWChannelKeys.sqf)
    [] L30 (z\tfar\addons\core\functions\fnc_setSwChannel.sqf)
    [] L24 (z\tfar\addons\core\functions\events\handler\fnc_fireEventHandlers.sqf)
    [] L280 (/x/cba/addons/events/fnc_localEvent.sqf)
    [] L277 (/x/cba/addons/events/fnc_localEvent.sqf)
    [] L278 (/x/cba/addons/events/fnc_localEvent.sqf)
    [] L59 (x\GRAD\addons\zeus\XEH_preClientInit.sqf)
    [] L248 (/x/cba/addons/common/fnc_directCall.sqf)
AdlerSalbei commented 1 week ago

Thanks for the Test, I'll look have a look at it

b-mayr-1984 commented 1 week ago

Thanks for the Test, I'll look have a look at it

ccd63e1bc6a4ede6f3345280ae29dfc83b3fd5f0 does the trick.

Variables then track what I

image