Closed MildlyInterested closed 2 years ago
Describe the bug Enabling logging to RPT (CSV or human readable doesn't matter) will procude a zero divisor error in logs.
To Reproduce Enable logging. Look at RPT file.
Expected behavior No errors
Log excerpt
14:00:53 Error Zero divisor 14:00:53 File t\zhc\addons\stat\fnc_fpsLogToRpt.sqf..., line 61 14:00:53 "[ZHC];Server;421.05;26;2;HC1;166.67;30;89;<null>;<null>;<null>;<null>;" 14:01:08 Error in expression <format ["%1;%2;%3;%4;", _x select 0, _x select 1, _x select 2, _x select 3];
Mods loaded at the time CBA Loads of stuff but I doubt its relevant.
Additional context It seems that the HC autodetection is always assuming one HC more than there actually is, causing the error.
Describe the bug Enabling logging to RPT (CSV or human readable doesn't matter) will procude a zero divisor error in logs.
To Reproduce Enable logging. Look at RPT file.
Expected behavior No errors
Log excerpt
Mods loaded at the time CBA Loads of stuff but I doubt its relevant.
Additional context It seems that the HC autodetection is always assuming one HC more than there actually is, causing the error.