OCAP2 / OCAP

OCAP is an Arma 3 mission recording suite. It consists of a serverside addon and a packaged web server executable that allows for after-action review and better insight into what really happened.
Other
58 stars 14 forks source link

error in RPT if admin disconnects #74

Closed MildlyInterested closed 1 year ago

MildlyInterested commented 1 year ago
20:57:29 Admin logged out, player: A/LCpl Mueller, playerUID: 76561198042251903, IP: 192.168.56.1:2304.
20:57:29 Error in expression <wner", "_playerUID"];
_unit = _userInfo select 10;

_fnc_addControls = {
params>
20:57:29   Error position: <select 10;

_fnc_addControls = {
params>
20:57:29   Error Zero divisor
20:57:29 File x\OCAP\addons\recorder\fnc_adminUIcontrol.sqf..., line 12
20:57:29 Error in expression <"];

_object = (getUserInfo _networkId) select 10;
if (isNull _object) exitWith >
20:57:29   Error position: <select 10;
if (isNull _object) exitWith >
20:57:29   Error Zero divisor
20:57:29 File x\OCAP\addons\recorder\fnc_eh_onUserAdminStateChanged.sqf..., line 5

happened with CBA rework version Full rpt can be sent via DM.

indig0fox commented 1 year ago

Did this occur with the latest test version? I believe this bug is fixed in that. https://ptb.discord.com/channels/858402673066115102/871034165271855125/1078066234979012688

MildlyInterested commented 1 year ago

Nope, the version previous to that. Haven't deployed the linked version yet.

MildlyInterested commented 1 year ago

Bug still present in the "fixUGL" version.

22:33:58 Error in expression <wner", "_playerUID"];
_unit = _userInfo select 10;

_fnc_addControls = {
params >
22:33:58   Error position: <select 10;

_fnc_addControls = {
params >
22:33:58   Error Zero divisor
22:33:58 File x\OCAP\addons\recorder\fnc_adminUIcontrol.sqf..., line 15
22:33:58 Error in expression <Info") exitWith {};
_object = _userInfo select 10;

if (_loggedIn && !_votedIn) >
22:33:58   Error position: <select 10;

if (_loggedIn && !_votedIn) >
22:33:58   Error Zero divisor
22:33:58 File x\OCAP\addons\recorder\fnc_eh_onUserAdminStateChanged.sqf..., line 8
indig0fox commented 1 year ago

fixed by https://github.com/OCAP2/addon/pull/31