tfchaos-s4 / tfc-s4

A repository for S4 members to collaborate and for non-S4 members to create issues.
2 stars 2 forks source link

CBA removePerFrameHandler error spam #44

Open tfc-s4 opened 3 weeks ago

tfc-s4 commented 3 weeks ago

Describe the bug A mod or script has not been brought up to date with the latest CBA update and is causing spamming in the RPT.

To Reproduce Join the server.

Expected behavior Should not have RPT spam.

Screenshots If applicable, add screenshots to help explain your problem.

Additional context

21:59:00 Error in expression <];
    (cba_common_perFrameHandlerArray select _index) set [0, {}];

    if (cba>
21:59:00   Error position: <select _index) set [0, {}];

    if (cba>
21:59:00   Error Zero divisor
21:59:00 File /x/cba/addons/common/fnc_removePerFrameHandler.sqf..., line 34
21:59:00  ➥ Context:    [] L32 (/x/cba/addons/common/fnc_directCall.sqf)
    [] L32 (/x/cba/addons/common/fnc_directCall.sqf)
    [] L0 (/x/cba/addons/main/script_mod.hpp)
 <-     [] L5 (/x/cba/addons/common/XEH_postInit.sqf)
    [] L38 (x\cba\addons\common\init_perFrameHandler.sqf)
    [] L34 (x\cba\addons\common\init_perFrameHandler.sqf)
    [] L36 (x\cba\addons\common\init_perFrameHandler.sqf)
    [] L70 (BloodSplatter\Scripts\Core\Bleeding.sqf)
    [] L75 (BloodSplatter\Scripts\Core\Bleeding.sqf)
    [] L54 (/x/cba/addons/common/fnc_removePerFrameHandler.sqf)
    [] L29 (/x/cba/addons/common/fnc_directCall.sqf)
tfc-s4 commented 3 weeks ago

Error not present on Lib

tfc-s4 commented 3 weeks ago

Can not recreate on training server