Open netinsideout opened 9 years ago
It is occurring because of an 'isNil' check I forgot to do on that variable (only occurs when a 'parent' mission ends). I have the fix for it and a couple other things. Will be posting the fixes tomorrow.
On Wed, Jul 15, 2015 at 10:30 AM, netinsideout notifications@github.com wrote:
Hi horbin,
Yesterday I installed FuMS-HC-Server v 2.1 on Linux server with 1.46 arma3 and Epoch 0.3.0.3 (Build 9) and have following errors in rpt log. I do not use custom missions. I use headless client for missions.
I started digging error log and code to simplify bug report.
Main problem is with:
Error Undefined variable in expression: _kids 18:34:29 File FuMS\HC\MsnCtrl\LogicBomb\ActionBomb.sqf, line 230
Also i have issue with body count algorithm but it may be related to the first problem. 23:54:10 Error Undefined variable in expression: _msntag 23:54:10 File FuMS\HC\MsnCtrl\LogicBomb\CheckforBodyCount.sqf, line 53
Simplified error log of 6 hours of game
FuMS_8_0_0
init
18:02:47 " ControlLoop: Theme:StaticSpawns(index:22) #Players:1 met launch requirements [1:100]. Starting a mission!" 18:02:47 " NewLogicBomb: _pos:[11287.8,13470.6], Theme:["Captive",-1], _initData:[["Captive",200,"LAND",[0,0,0],"NONE","NONE"],["Captives","mil_dot","ELLIPSE","ColorYellow","FDiagonal",20 18:02:47 " NewLogicBomb: _lineage: [0,"PARENT",0,"ROOT"]" 18:02:47 " NewLogicBomb: _msnTag: FuMS_8_0_0" 18:02:47 " NewLogicBomb: _dist:0 _dir:63.1934 _eCenter:[11287.8,13470.6]" 18:02:47 " NewLogicBomb: _positionOffset:[11287.8,13470.6]" 18:02:48 " FillLoot: 33 items added to b6399000# 1815389: boat_armed_01_minigun_f.p3d"
errors
18:34:18 " ActionBomb: Action:LOSE for FuMS_8_0_0" 18:34:28 " ActionBomb: Action:END for FuMS_8_0_0" 18:34:28 " ActionBomb: FuMS_8_0_0 terminating children []" 18:34:28 " RemoveDecayObjects FuMS_8_0_0 deleting 1 Buildings" 18:34:28 " RemoveDecayObjects FuMS_8_0_0 deleting 2 Vehicles" 18:34:28 " RemoveDecayObjects FuMS_8_0_0 deleting 5 Groups" 18:34:28 " RemoveDecayObjects: 1 Loot will expire in 20 minutes Loot : [99f20e00# 1816116: ammoveh_f.p3d]" 18:34:28 " RemoveDecayObjects: O Alpha 2-1:3 cleanup delayed because it is engaged with players!" 18:34:29 " RemoveDecayObjects: O Alpha 2-1:2 cleanup delayed because it is engaged with players!" 18:34:29 " RemoveDecayObjects: O Alpha 2-1:1 cleanup delayed because it is engaged with players!" 18:34:29 " RemoveDecayObjects: O Alpha 1-3:10 cleanup delayed because it is engaged with players!" 18:34:29 " RemoveDecayObjects: O Alpha 1-3:9 cleanup delayed because it is engaged with players!" 18:34:29 " RemoveDecayObjects: O Alpha 1-3:8 cleanup delayed because it is engaged with players!" 18:34:29 " RemoveDecayObjects: O Alpha 1-3:7 cleanup delayed because it is engaged with players!" 18:34:29 " RemoveDecayObjects: O Alpha 1-3:6 cleanup delayed because it is engaged with players!" 18:34:29 " RemoveDecayObjects: O Alpha 1-3:5 cleanup delayed because it is engaged with players!" 18:34:29 " RemoveDecayObjects: O Alpha 1-3:4 cleanup delayed because it is engaged with players!" 18:34:29 " RemoveDecayObjects: O Alpha 1-3:3 cleanup delayed because it is engaged with players!" 18:34:29 " RemoveDecayObjects: O Alpha 1-3:2 cleanup delayed because it is engaged with players!" 18:34:29 " RemoveDecayObjects: O Alpha 1-3:1 cleanup delayed because it is engaged with players!" 18:34:29 " RemoveDecayObjects: O Alpha 1-3:1 cleanup delayed because it is engaged with players!" 18:34:29 Error in expression _kids = _kids - [_msnTag]; missionNamespace setV> 18:34:29 Error position: <_kids - [_msnTag]; missionNamespace setV> 18:34:29 Error Undefined variable in expression: _kids 18:34:29 File FuMS\HC\MsnCtrl\LogicBomb\ActionBomb.sqf, line 230 18:34:29 " ActionBomb: Action:END for FuMS_8_0_0" 18:34:29 Error in expression _animP = toString [_animStateChars select 5, _animStateChars select 6, _ani> 18:34:29 Error position: 18:34:29 Error Zero divisor 18:34:29 File FuMS\HC\AI\Logic\Captured.sqf, line 13 18:34:29 Error in expression _animP = toString [_animStateChars select 5, _animStateChars select 6, _ani> 18:34:29 Error position: 18:34:29 Error Zero divisor 18:34:29 File FuMS\HC\AI\Logic\Captured.sqf, line 13 18:34:29 " Captured: O Alpha 2-1:1 has become lost and reverting to STAY. Stance=Up" 18:34:29 Error in expression _animP = toString [_animStateChars select 5, _animStateChars select 6, _ani> 18:34:29 Error position: 18:34:29 Error Zero divisor 18:34:29 File FuMS\HC\AI\Logic\Captured.sqf, line 13 18:34:29 Error in expression _animP = toString [_animStateChars select 5, _animStateChars select 6, _ani> 18:34:29 Error position: 18:34:29 Error Zero divisor 18:34:29 File FuMS\HC\AI\Logic\Captured.sqf, line 13 18:34:29 " Captured: O Alpha 2-1:3 has become lost and reverting to STAY. Stance=Up" 18:34:29 " ControlLoop: FuMS_8_0_0_MsnStatus ["DEAD"]. Selecting a new mission for this Theme:["Captive",-1]" 18:34:29 Error in expression _animP = toString [_animStateChars select 5, _animStateChars select 6, _ani> 18:34:29 Error position: 18:34:29 Error Zero divisor 18:34:29 File FuMS\HC\AI\Logic\Captured.sqf, line 13 18:34:29 Error in expression _animP = toString [_animStateChars select 5, _animStateChars select 6, _ani> 18:34:29 Error position: 18:34:29 Error Zero divisor 18:34:29 File FuMS\HC\AI\Logic\Captured.sqf, line 13 18:34:29 " Captured: O Alpha 2-1:2 has become lost and reverting to STAY. Stance=Up" 18:34:34 " ActionBomb: FuMS_8_0_0 's action loop terminated!" 18:34:34 " ActionBomb: Action:END for FuMS_2_0_0" 18:34:34 " ActionBomb: FuMS_2_0_0 terminating children []" 18:34:34 " RemoveDecayObjects FuMS_2_0_0 deleting 0 Buildings" 18:34:34 " RemoveDecayObjects FuMS_2_0_0 deleting 16 Vehicles"
19:05:57 " VehStuck: R Charlie 1-2:1 being teleported to nearest road segment because it was stuck!" Road not found 19:05:59 " VehStuck: R Charlie 2-1:5 being teleported to nearest road segment because it was stuck!" 19:06:00 " ActionBomb: Action:LOSE for FuMS_8_0_0" 19:06:10 " ActionBomb: Action:END for FuMS_8_0_0" 19:06:10 " ActionBomb: FuMS_8_0_0 terminating children []" 19:06:10 " RemoveDecayObjects FuMS_8_0_0 deleting 1 Buildings" 19:06:10 " RemoveDecayObjects FuMS_8_0_0 deleting 2 Vehicles" 19:06:10 " RemoveDecayObjects FuMS_8_0_0 deleting 5 Groups" 19:06:10 " RemoveDecayObjects: 1 Loot will expire in 20 minutes Loot : [5c2b2700# 1867097: ammobox_f.p3d]" 19:06:10 Error in expression _kids = _kids - [_msnTag]; missionNamespace setV> 19:06:10 Error position: <_kids - [_msnTag]; missionNamespace setV> 19:06:10 Error Undefined variable in expression: _kids 19:06:10 File FuMS\HC\MsnCtrl\LogicBomb\ActionBomb.sqf, line 230 19:06:10 " ActionBomb: Action:END for FuMS_8_0_0" 19:06:10 Error in expression _animP = toString [_animStateChars select 5, _animStateChars select 6, _ani> 19:06:10 Error position: 19:06:10 Error Zero divisor 19:06:10 File FuMS\HC\AI\Logic\Captured.sqf, line 13 19:06:10 " Captured: O Alpha 2-3:1 has become lost and reverting to STAY. Stance=Up" 19:06:10 Error in expression _animP = toString [_animStateChars select 5, _animStateChars select 6, _ani> 19:06:10 Error position: 19:06:10 Error Zero divisor 19:06:10 File FuMS\HC\AI\Logic\Captured.sqf, line 13 19:06:10 " Captured: O Alpha 2-3:2 has become lost and reverting to STAY. Stance=Up" 19:06:10 " ControlLoop: FuMS_8_0_0_MsnStatus ["DEAD"]. Selecting a new mission for this Theme:["Captive",-1]" 19:06:10 " RemoveDecayObjects: O Alpha 2-3:1 cleanup delayed because it is engaged with players!" 19:06:10 " RemoveDecayObjects: O Alpha 2-3:2 cleanup delayed because it is engaged with players!" 19:06:10 " RemoveDecayObjects: O Alpha 2-2:7 cleanup delayed because it is engaged with players!" 19:06:10 " RemoveDecayObjects: O Alpha 2-3:3 cleanup delayed because it is engaged with players!" 19:06:10 " RemoveDecayObjects: O Alpha 2-2:6 cleanup delayed because it is engaged with players!" 19:06:10 " RemoveDecayObjects: O Alpha 2-2:5 cleanup delayed because it is engaged with players!"
19:37:41 " VehStuck: R Charlie 1-2:1 being teleported to nearest road segment because it was stuck!" 19:37:50 " ActionBomb: Action:LOSE for FuMS_8_0_0" 19:38:00 " ActionBomb: Action:END for FuMS_8_0_0" 19:38:00 " ActionBomb: FuMS_8_0_0 terminating children []" 19:38:00 " RemoveDecayObjects FuMS_8_0_0 deleting 1 Buildings" 19:38:00 " RemoveDecayObjects FuMS_8_0_0 deleting 2 Vehicles" 19:38:00 " RemoveDecayObjects FuMS_8_0_0 deleting 5 Groups" 19:38:00 " RemoveDecayObjects: 1 Loot will expire in 20 minutes Loot : [6f6cd200# 1919549: ammobox_f.p3d]" 19:38:00 Error in expression _kids = _kids - [_msnTag]; missionNamespace setV> 19:38:00 Error position: <_kids - [_msnTag]; missionNamespace setV> 19:38:00 Error Undefined variable in expression: _kids 19:38:00 File FuMS\HC\MsnCtrl\LogicBomb\ActionBomb.sqf, line 230 19:38:00 " ActionBomb: Action:END for FuMS_8_0_0" 19:38:00 " ControlLoop: FuMS_8_0_0_MsnStatus ["DEAD"]. Selecting a new mission for this Theme:["Captive",-1]" 19:38:01 " RemoveDecayObjects: O Alpha 3-2:3 cleanup delayed because it is engaged with players!" 19:38:01 " RemoveDecayObjects: O Alpha 3-2:2 cleanup delayed because it is engaged with players!" 19:38:01 " RemoveDecayObjects: O Alpha 3-2:1 cleanup delayed because it is engaged with players!" 19:38:01 " RemoveDecayObjects: O Alpha 3-1:10 cleanup delayed because it is engaged with players!" 19:38:01 " RemoveDecayObjects: O Alpha 3-1:9 cleanup delayed because it is engaged with players!" 19:38:01 " RemoveDecayObjects: O Alpha 3-1:8 cleanup delayed because it is engaged with players!"
FuMS_2_0_0
init
18:02:17 " NewLogicBomb: _pos:[20194.6,11660.7,-45.8387], Theme:["TownRaid",-1], _initData:[["RaidTown",200],["Town","mil_objective","ELLIPSE","ColorRed","FDiagonal",200],[[false,"ALL",0, 18:02:17 " NewLogicBomb: _lineage: [0,"PARENT",0,"ROOT"]" 18:02:17 " NewLogicBomb: _msnTag: FuMS_2_0_0" 18:02:17 " NewLogicBomb: _positionOffset:[20194.6,11660.7,-45.8387]"
error
19:07:10 " RemoveDecayObjects: 0 Loot will expire in 20 minutes Loot : []" 19:07:10 Error in expression _kids = _kids - [_msnTag]; missionNamespace setV> 19:07:10 Error position: <_kids - [_msnTag]; missionNamespace setV> 19:07:10 Error Undefined variable in expression: _kids 19:07:10 File FuMS\HC\MsnCtrl\LogicBomb\ActionBomb.sqf, line 230 19:07:10 " ActionBomb: Action:END for FuMS_2_0_0" 19:07:10 " ControlLoop: Theme:Captive(index:8) #Players:3 met launch requirements [1:100]. Starting a mission!" 19:07:10 " ControlLoop: FuMS_2_0_0_MsnStatus ["DEAD"]. Selecting a new mission for this Theme:["TownRaid",-1]" 19:07:12 " ControlLoop: FuMS_8_0_0_MsnStatus defined with value of ["DEAD"]. Waiting for mission to start."
FuMS_25_1_0
init
19:12:08 " ActionBomb: CHILD:FuMS_25_1_0 : Horde birthing it at [0,0] " 19:12:08 " NewLogicBomb: _pos:[12950.1,15041.6], Theme:["MadScience",-1], _initData:[["Zombies",200],["Zombies","mil_objective","ELLIPSE","Colorblack","FDiagonal",200],[[false,"ALL",0,fal 19:12:08 " NewLogicBomb: _lineage: [1,"CHILD",0,"FuMS_25_0_0"]" 19:12:08 " NewLogicBomb: _msnTag: FuMS_25_1_0" 19:12:08 " NewLogicBomb: _positionOffset:[12950.1,15041.6]"
error
23:54:06 " CheckforBodyCount : 541f9000# 1971549: coveralls.p3d in FuMS_25_1_0" 23:54:10 " CheckforBodyCount : in " 23:54:10 Error in expression CheckforBodyCount : %1 in %2", _unit, _msnTag]; [_msnTag, unit] call FuMS> 23:54:10 Error position: < _msnTag]; [_msnTag, unit] call FuMS> 23:54:10 Error Undefined variable in expression: _msntag 23:54:10 File FuMS\HC\MsnCtrl\LogicBomb\CheckforBodyCount.sqf, line 53
Unknown errors
23:54:43 " CheckforBodyCount : in " 23:54:43 Error in expression if (!isNil "_bcVar") then { i> 23:54:43 Error position: <
_msnTag]); if (!isNil "_bcVar") then { i> 23:54:43 Error Undefined variable in expression: _msntag 23:54:43 File FuMS\HC\MsnCtrl\LogicBomb\CheckforBodyCount.sqf, line 35 23:54:43 Error in expression if (_lineage select 1 != 0) t> 23:54:43 Error position: <_msnTag]); if (_lineage select 1 != 0) t> 23:54:43 Error Undefined variable in expression: _msntag 23:54:43 File FuMS\HC\MsnCtrl\LogicBomb\CheckforBodyCount.sqf, line 17 23:54:43 Error in expression CheckforBodyCount : %1 in %2",_unit, _msnTag]; [_msnTag, unit] call FuMS> 23:54:43 Error position: < _msnTag]; [_msnTag, unit] call FuMS> 23:54:43 Error Undefined variable in expression: _msntag 23:54:43 File FuMS\HC\MsnCtrl\LogicBomb\CheckforBodyCount.sqf, line 53
23:54:44 " CheckforBodyCount : in " 23:54:44 Error in expression if (!isNil "_bcVar") then { i> 23:54:44 Error position: <
_msnTag]); if (!isNil "_bcVar") then { i> 23:54:44 Error Undefined variable in expression: _msntag 23:54:44 File FuMS\HC\MsnCtrl\LogicBomb\CheckforBodyCount.sqf, line 35 23:54:44 Error in expression if (_lineage select 1 != 0) t> 23:54:44 Error position: <_msnTag]); if (_lineage select 1 != 0) t> 23:54:44 Error Undefined variable in expression: _msntag 23:54:44 File FuMS\HC\MsnCtrl\LogicBomb\CheckforBodyCount.sqf, line 17 23:54:44 Error in expression CheckforBodyCount : %1 in %2",_unit, _msnTag]; [_msnTag, unit] call FuMS> 23:54:44 Error position: < _msnTag]; [_msnTag, unit] call FuMS> 23:54:44 Error Undefined variable in expression:
_msntag 23:54:44 File FuMS\HC\MsnCtrl\LogicBomb\CheckforBodyCount.sqf, line 53 23:54:44 " CheckforBodyCount : in " 23:54:44 Error in expression if (!isNil "_bcVar") then { i> 23:54:44 Error position: <_msnTag]); if (!isNil "_bcVar") then { i> 23:54:44 Error Undefined variable in expression: _msntag 23:54:44 File FuMS\HC\MsnCtrl\LogicBomb\CheckforBodyCount.sqf, line 35 23:54:44 Error in expression if (_lineage select 1 != 0) t> 23:54:44 Error position: <_msnTag]); if (_lineage select 1 != 0) t> 23:54:44 Error Undefined variable in expression: _msntag 23:54:44 File FuMS\HC\MsnCtrl\LogicBomb\CheckforBodyCount.sqf, line 17 23:54:44 Error in expression CheckforBodyCount : %1 in %2",_unit, _msnTag]; [_msnTag, unit] call FuMS> 23:54:44 Error position: < _msnTag]; [_msnTag, unit] call FuMS> 23:54:44 Error Undefined variable in expression: _msntag 23:54:44 File FuMS\HC\MsnCtrl\LogicBomb\CheckforBodyCount.sqf, line 53
I can publish full log but it is huge.
— Reply to this email directly or view it on GitHub https://github.com/horbin/FuMS-HC-Server/issues/1.
Hi horbin,
Yesterday I installed FuMS-HC-Server v 2.1 on Linux server with 1.46 arma3 and Epoch 0.3.0.3 (Build 9) and have following errors in HC rpt log. I do not use custom missions. I use headless client for missions.
I started digging error log and code to simplify bug report.
Main problem is with:
Also i have issue with body count algorithm but it may be related to the first problem.
Simplified error log of 6 hours of game
I can publish full log but it is huge.