Logged scripterrors for bis_fnc_radialRed on line 54
Zero devisor
_dirToFront = (180 - _dir) / 180;
Logged scripterrors for bis_fnc_radialRed on line 54
Zero devisor
_dirToFront = (180 - _dir) / 180;
Playing the game
Please run the game with -debug parameter.
And attach the full RPT log file for this error
Sorry for being unclear.
Is comming from my error database. Looking at the code it would have to do with the relative direction between two players being 180 causing the 0 devisor to appear. This function is being called by the game itself and not something which i can control.
_unit = _handleDamageArray select 0; _shooter = _handleDamageArray select 3; _dir = if (_unit == _shooter) then { 0 } else { [_unit,_shooter] call bis_fnc_relativedirto; // Might be 180 }; if (isNil "_dir") then {_dir = 0}; _dirToFront = (180 - _dir) / 180; // Zero devisor if _dir is 180
This error happens about once every 250 hours of playtime on a deathmatch server.
The error is from the next line:
_dirToEnd = (abs _dirToFront / _dirToFront) - _dirToFront;