Just wanted to bounce a theory around here before submitting an issue on Git.
From time to time there are some CQB errors in the serverlog regarding CQB groups:
2016/08/18, 11:01:42 "CQB error: Group R Alpha 2-2:1 has no buildingpositions! Deleting..." 2016/08/18, 11:01:42 Error in expression <roup = _this; if (local _group) then { deleteGroup _group; } else { _group remo> 2016/08/18, 11:01:42 Error position: <deleteGroup _group; } else { _group remo> 2016/08/18, 11:01:42 Error deletegroup: Type Object, expected Group 2016/08/18, 11:01:42 File x\alive\addons\x_lib\functions\groups\fnc_DeleteGroupRemote.sqf, line 31 2016/08/18, 11:01:50 CQB ERROR: No House was defined for CQB group R Alpha 2-2! Count units in group that have _house set: 0
Started to investigate the issue and here is the theory:
- "CQB error: Group R Alpha 2-2:1 has no buildingpositions! Deleting..." is originating from mil_cqb/HousePatrol.fsm:151
- Call is made to ALiVE_fnc_CQB with "delGroup" param (mil_cqb/fnc_CQB.sqf:1026).
- ALiVE_fnc_CQB does some internal "magic", then calls "ALiVE_fnc_DeleteGroupRemote" (mil_cqb/fnc_CQB.sqf:1054) to delete the group.
- ALiVE_fnc_DeleteGroupRemote receives the call, but "_this" is an Object, not a Group.
Looking at the first logged line, the _grp param from mil_cqb/HousePatrol.fsm looks like a unit "CQB error: Group R Alpha 2-2:1 has no buildingpositions! Deleting...".
Shouldn't the ASSERT_TRUE statement in mil_cqb/fnc_CQB.sqf:1028 squeal if _args isn't of the type Group ?
The server is running ALiVE 1.1.1-1607201 with ACE and RHS, but only vanilla factions for ALiVE.