Warning (2): Division by zero [APP\Controller\PlayerHitZonesController.php, line 39]Code Context $n = count($hitZones);
for ($i = 0; $i < $n; $i++) {
$percentage = $hitZones[$i]['PlayerHitZone']['kills'] / $totalKills;
$playerID = '1181'
$hitZones = array(
(int) 0 => array(
'PlayerHitZone' => array(
'id' => '7181',
'bodypart_id' => '4',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '26',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '4',
'name' => 'head',
'kills' => '1547',
'teamkills' => '27',
'suicides' => '1'
)
),
(int) 1 => array(
'PlayerHitZone' => array(
'id' => '7196',
'bodypart_id' => '2',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '24',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '2',
'name' => 'torso_lower',
'kills' => '6088',
'teamkills' => '25',
'suicides' => '0'
)
),
(int) 2 => array(
'PlayerHitZone' => array(
'id' => '7197',
'bodypart_id' => '2',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '2',
'name' => 'torso_lower',
'kills' => '6088',
'teamkills' => '25',
'suicides' => '0'
)
),
(int) 3 => array(
'PlayerHitZone' => array(
'id' => '8643',
'bodypart_id' => '16',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '0',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '16',
'name' => 'left_hand',
'kills' => '103',
'teamkills' => '1',
'suicides' => '0'
)
),
(int) 4 => array(
'PlayerHitZone' => array(
'id' => '8644',
'bodypart_id' => '16',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '16',
'name' => 'left_hand',
'kills' => '103',
'teamkills' => '1',
'suicides' => '0'
)
),
(int) 5 => array(
'PlayerHitZone' => array(
'id' => '8645',
'bodypart_id' => '15',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '3',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '15',
'name' => 'left_arm_upper',
'kills' => '380',
'teamkills' => '4',
'suicides' => '0'
)
),
(int) 6 => array(
'PlayerHitZone' => array(
'id' => '8646',
'bodypart_id' => '15',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '15',
'name' => 'left_arm_upper',
'kills' => '380',
'teamkills' => '4',
'suicides' => '0'
)
),
(int) 7 => array(
'PlayerHitZone' => array(
'id' => '8647',
'bodypart_id' => '13',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '13',
'name' => 'left_foot',
'kills' => '88',
'teamkills' => '2',
'suicides' => '0'
)
),
(int) 8 => array(
'PlayerHitZone' => array(
'id' => '8648',
'bodypart_id' => '13',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '13',
'name' => 'left_foot',
'kills' => '88',
'teamkills' => '2',
'suicides' => '0'
)
),
(int) 9 => array(
'PlayerHitZone' => array(
'id' => '8649',
'bodypart_id' => '6',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '2',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '6',
'name' => 'left_arm_lower',
'kills' => '453',
'teamkills' => '3',
'suicides' => '0'
)
),
(int) 10 => array(
'PlayerHitZone' => array(
'id' => '8650',
'bodypart_id' => '6',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '6',
'name' => 'left_arm_lower',
'kills' => '453',
'teamkills' => '3',
'suicides' => '0'
)
),
(int) 11 => array(
'PlayerHitZone' => array(
'id' => '8651',
'bodypart_id' => '7',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '7',
'name' => 'neck',
'kills' => '382',
'teamkills' => '2',
'suicides' => '0'
)
),
(int) 12 => array(
'PlayerHitZone' => array(
'id' => '7195',
'bodypart_id' => '14',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '14',
'name' => 'right_foot',
'kills' => '113',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 13 => array(
'PlayerHitZone' => array(
'id' => '7194',
'bodypart_id' => '14',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '4',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '14',
'name' => 'right_foot',
'kills' => '113',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 14 => array(
'PlayerHitZone' => array(
'id' => '7193',
'bodypart_id' => '3',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '3',
'name' => 'left_leg_upper',
'kills' => '1172',
'teamkills' => '8',
'suicides' => '0'
)
),
(int) 15 => array(
'PlayerHitZone' => array(
'id' => '7182',
'bodypart_id' => '4',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '4',
'name' => 'head',
'kills' => '1547',
'teamkills' => '27',
'suicides' => '1'
)
),
(int) 16 => array(
'PlayerHitZone' => array(
'id' => '7183',
'bodypart_id' => '9',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '5',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '9',
'name' => 'right_leg_upper',
'kills' => '1130',
'teamkills' => '6',
'suicides' => '0'
)
),
(int) 17 => array(
'PlayerHitZone' => array(
'id' => '7184',
'bodypart_id' => '10',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '15',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '10',
'name' => 'right_leg_lower',
'kills' => '468',
'teamkills' => '16',
'suicides' => '0'
)
),
(int) 18 => array(
'PlayerHitZone' => array(
'id' => '7185',
'bodypart_id' => '10',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '10',
'name' => 'right_leg_lower',
'kills' => '468',
'teamkills' => '16',
'suicides' => '0'
)
),
(int) 19 => array(
'PlayerHitZone' => array(
'id' => '7186',
'bodypart_id' => '8',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '28',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '8',
'name' => 'left_leg_lower',
'kills' => '493',
'teamkills' => '29',
'suicides' => '0'
)
),
(int) 20 => array(
'PlayerHitZone' => array(
'id' => '7187',
'bodypart_id' => '8',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '8',
'name' => 'left_leg_lower',
'kills' => '493',
'teamkills' => '29',
'suicides' => '0'
)
),
(int) 21 => array(
'PlayerHitZone' => array(
'id' => '7188',
'bodypart_id' => '5',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '4',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '5',
'name' => 'right_arm_upper',
'kills' => '517',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 22 => array(
'PlayerHitZone' => array(
'id' => '7189',
'bodypart_id' => '5',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '5',
'name' => 'right_arm_upper',
'kills' => '517',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 23 => array(
'PlayerHitZone' => array(
'id' => '7190',
'bodypart_id' => '1',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '22',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '1',
'name' => 'torso_upper',
'kills' => '2306',
'teamkills' => '23',
'suicides' => '0'
)
),
(int) 24 => array(
'PlayerHitZone' => array(
'id' => '7191',
'bodypart_id' => '1',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '1',
'name' => 'torso_upper',
'kills' => '2306',
'teamkills' => '23',
'suicides' => '0'
)
),
(int) 25 => array(
'PlayerHitZone' => array(
'id' => '7192',
'bodypart_id' => '3',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '7',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '3',
'name' => 'left_leg_upper',
'kills' => '1172',
'teamkills' => '8',
'suicides' => '0'
)
),
(int) 26 => array(
'PlayerHitZone' => array(
'id' => '8652',
'bodypart_id' => '7',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '7',
'name' => 'neck',
'kills' => '382',
'teamkills' => '2',
'suicides' => '0'
)
)
)
$hitZone = array(
'PlayerHitZone' => array(
'id' => '8652',
'bodypart_id' => '7',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '7',
'name' => 'neck',
'kills' => '382',
'teamkills' => '2',
'suicides' => '0'
)
)
$kills = array(
(int) 0 => '0',
(int) 1 => '0',
(int) 2 => '0',
(int) 3 => '0',
(int) 4 => '0',
(int) 5 => '0',
(int) 6 => '0',
(int) 7 => '0',
(int) 8 => '0',
(int) 9 => '0',
(int) 10 => '0',
(int) 11 => '0',
(int) 12 => '0',
(int) 13 => '0',
(int) 14 => '0',
(int) 15 => '0',
(int) 16 => '0',
(int) 17 => '0',
(int) 18 => '0',
(int) 19 => '0',
(int) 20 => '0',
(int) 21 => '0',
(int) 22 => '0',
(int) 23 => '0',
(int) 24 => '0',
(int) 25 => '0',
(int) 26 => '0'
)
$totalKills = (int) 0
$n = (int) 27
$i = (int) 0
PlayerHitZonesController::view() - APP\Controller\PlayerHitZonesController.php, line 39
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE\Cake\Controller\Controller.php, line 499
Dispatcher::_invoke() - CORE\Cake\Routing\Dispatcher.php, line 193
Dispatcher::dispatch() - CORE\Cake\Routing\Dispatcher.php, line 167
[main] - APP\webroot\index.php, line 97
Warning (2): Division by zero [APP\Controller\PlayerHitZonesController.php, line 39]Code Context $n = count($hitZones);
for ($i = 0; $i < $n; $i++) {
$percentage = $hitZones[$i]['PlayerHitZone']['kills'] / $totalKills;
$playerID = '1181'
$hitZones = array(
(int) 0 => array(
'PlayerHitZone' => array(
'id' => '7181',
'bodypart_id' => '4',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '26',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '4',
'name' => 'head',
'kills' => '1547',
'teamkills' => '27',
'suicides' => '1'
)
),
(int) 1 => array(
'PlayerHitZone' => array(
'id' => '7196',
'bodypart_id' => '2',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '24',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '2',
'name' => 'torso_lower',
'kills' => '6088',
'teamkills' => '25',
'suicides' => '0'
)
),
(int) 2 => array(
'PlayerHitZone' => array(
'id' => '7197',
'bodypart_id' => '2',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '2',
'name' => 'torso_lower',
'kills' => '6088',
'teamkills' => '25',
'suicides' => '0'
)
),
(int) 3 => array(
'PlayerHitZone' => array(
'id' => '8643',
'bodypart_id' => '16',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '0',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '16',
'name' => 'left_hand',
'kills' => '103',
'teamkills' => '1',
'suicides' => '0'
)
),
(int) 4 => array(
'PlayerHitZone' => array(
'id' => '8644',
'bodypart_id' => '16',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '16',
'name' => 'left_hand',
'kills' => '103',
'teamkills' => '1',
'suicides' => '0'
)
),
(int) 5 => array(
'PlayerHitZone' => array(
'id' => '8645',
'bodypart_id' => '15',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '3',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '15',
'name' => 'left_arm_upper',
'kills' => '380',
'teamkills' => '4',
'suicides' => '0'
)
),
(int) 6 => array(
'PlayerHitZone' => array(
'id' => '8646',
'bodypart_id' => '15',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '15',
'name' => 'left_arm_upper',
'kills' => '380',
'teamkills' => '4',
'suicides' => '0'
)
),
(int) 7 => array(
'PlayerHitZone' => array(
'id' => '8647',
'bodypart_id' => '13',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '13',
'name' => 'left_foot',
'kills' => '88',
'teamkills' => '2',
'suicides' => '0'
)
),
(int) 8 => array(
'PlayerHitZone' => array(
'id' => '8648',
'bodypart_id' => '13',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '13',
'name' => 'left_foot',
'kills' => '88',
'teamkills' => '2',
'suicides' => '0'
)
),
(int) 9 => array(
'PlayerHitZone' => array(
'id' => '8649',
'bodypart_id' => '6',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '2',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '6',
'name' => 'left_arm_lower',
'kills' => '453',
'teamkills' => '3',
'suicides' => '0'
)
),
(int) 10 => array(
'PlayerHitZone' => array(
'id' => '8650',
'bodypart_id' => '6',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '6',
'name' => 'left_arm_lower',
'kills' => '453',
'teamkills' => '3',
'suicides' => '0'
)
),
(int) 11 => array(
'PlayerHitZone' => array(
'id' => '8651',
'bodypart_id' => '7',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '7',
'name' => 'neck',
'kills' => '382',
'teamkills' => '2',
'suicides' => '0'
)
),
(int) 12 => array(
'PlayerHitZone' => array(
'id' => '7195',
'bodypart_id' => '14',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '14',
'name' => 'right_foot',
'kills' => '113',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 13 => array(
'PlayerHitZone' => array(
'id' => '7194',
'bodypart_id' => '14',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '4',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '14',
'name' => 'right_foot',
'kills' => '113',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 14 => array(
'PlayerHitZone' => array(
'id' => '7193',
'bodypart_id' => '3',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '3',
'name' => 'left_leg_upper',
'kills' => '1172',
'teamkills' => '8',
'suicides' => '0'
)
),
(int) 15 => array(
'PlayerHitZone' => array(
'id' => '7182',
'bodypart_id' => '4',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '4',
'name' => 'head',
'kills' => '1547',
'teamkills' => '27',
'suicides' => '1'
)
),
(int) 16 => array(
'PlayerHitZone' => array(
'id' => '7183',
'bodypart_id' => '9',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '5',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '9',
'name' => 'right_leg_upper',
'kills' => '1130',
'teamkills' => '6',
'suicides' => '0'
)
),
(int) 17 => array(
'PlayerHitZone' => array(
'id' => '7184',
'bodypart_id' => '10',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '15',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '10',
'name' => 'right_leg_lower',
'kills' => '468',
'teamkills' => '16',
'suicides' => '0'
)
),
(int) 18 => array(
'PlayerHitZone' => array(
'id' => '7185',
'bodypart_id' => '10',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '10',
'name' => 'right_leg_lower',
'kills' => '468',
'teamkills' => '16',
'suicides' => '0'
)
),
(int) 19 => array(
'PlayerHitZone' => array(
'id' => '7186',
'bodypart_id' => '8',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '28',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '8',
'name' => 'left_leg_lower',
'kills' => '493',
'teamkills' => '29',
'suicides' => '0'
)
),
(int) 20 => array(
'PlayerHitZone' => array(
'id' => '7187',
'bodypart_id' => '8',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '8',
'name' => 'left_leg_lower',
'kills' => '493',
'teamkills' => '29',
'suicides' => '0'
)
),
(int) 21 => array(
'PlayerHitZone' => array(
'id' => '7188',
'bodypart_id' => '5',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '4',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '5',
'name' => 'right_arm_upper',
'kills' => '517',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 22 => array(
'PlayerHitZone' => array(
'id' => '7189',
'bodypart_id' => '5',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '5',
'name' => 'right_arm_upper',
'kills' => '517',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 23 => array(
'PlayerHitZone' => array(
'id' => '7190',
'bodypart_id' => '1',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '22',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '1',
'name' => 'torso_upper',
'kills' => '2306',
'teamkills' => '23',
'suicides' => '0'
)
),
(int) 24 => array(
'PlayerHitZone' => array(
'id' => '7191',
'bodypart_id' => '1',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '1',
'name' => 'torso_upper',
'kills' => '2306',
'teamkills' => '23',
'suicides' => '0'
)
),
(int) 25 => array(
'PlayerHitZone' => array(
'id' => '7192',
'bodypart_id' => '3',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '7',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '3',
'name' => 'left_leg_upper',
'kills' => '1172',
'teamkills' => '8',
'suicides' => '0'
)
),
(int) 26 => array(
'PlayerHitZone' => array(
'id' => '8652',
'bodypart_id' => '7',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '7',
'name' => 'neck',
'kills' => '382',
'teamkills' => '2',
'suicides' => '0'
)
)
)
$hitZone = array(
'PlayerHitZone' => array(
'id' => '8652',
'bodypart_id' => '7',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '7',
'name' => 'neck',
'kills' => '382',
'teamkills' => '2',
'suicides' => '0'
)
)
$kills = array(
(int) 0 => '0',
(int) 1 => '0',
(int) 2 => '0',
(int) 3 => '0',
(int) 4 => '0',
(int) 5 => '0',
(int) 6 => '0',
(int) 7 => '0',
(int) 8 => '0',
(int) 9 => '0',
(int) 10 => '0',
(int) 11 => '0',
(int) 12 => '0',
(int) 13 => '0',
(int) 14 => '0',
(int) 15 => '0',
(int) 16 => '0',
(int) 17 => '0',
(int) 18 => '0',
(int) 19 => '0',
(int) 20 => '0',
(int) 21 => '0',
(int) 22 => '0',
(int) 23 => '0',
(int) 24 => '0',
(int) 25 => '0',
(int) 26 => '0'
)
$totalKills = (int) 0
$n = (int) 27
$i = (int) 1
$percentage = false
PlayerHitZonesController::view() - APP\Controller\PlayerHitZonesController.php, line 39
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE\Cake\Controller\Controller.php, line 499
Dispatcher::_invoke() - CORE\Cake\Routing\Dispatcher.php, line 193
Dispatcher::dispatch() - CORE\Cake\Routing\Dispatcher.php, line 167
[main] - APP\webroot\index.php, line 97
Warning (2): Division by zero [APP\Controller\PlayerHitZonesController.php, line 39]Code Context $n = count($hitZones);
for ($i = 0; $i < $n; $i++) {
$percentage = $hitZones[$i]['PlayerHitZone']['kills'] / $totalKills;
$playerID = '1181'
$hitZones = array(
(int) 0 => array(
'PlayerHitZone' => array(
'id' => '7181',
'bodypart_id' => '4',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '26',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '4',
'name' => 'head',
'kills' => '1547',
'teamkills' => '27',
'suicides' => '1'
)
),
(int) 1 => array(
'PlayerHitZone' => array(
'id' => '7196',
'bodypart_id' => '2',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '24',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '2',
'name' => 'torso_lower',
'kills' => '6088',
'teamkills' => '25',
'suicides' => '0'
)
),
(int) 2 => array(
'PlayerHitZone' => array(
'id' => '7197',
'bodypart_id' => '2',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '2',
'name' => 'torso_lower',
'kills' => '6088',
'teamkills' => '25',
'suicides' => '0'
)
),
(int) 3 => array(
'PlayerHitZone' => array(
'id' => '8643',
'bodypart_id' => '16',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '0',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '16',
'name' => 'left_hand',
'kills' => '103',
'teamkills' => '1',
'suicides' => '0'
)
),
(int) 4 => array(
'PlayerHitZone' => array(
'id' => '8644',
'bodypart_id' => '16',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '16',
'name' => 'left_hand',
'kills' => '103',
'teamkills' => '1',
'suicides' => '0'
)
),
(int) 5 => array(
'PlayerHitZone' => array(
'id' => '8645',
'bodypart_id' => '15',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '3',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '15',
'name' => 'left_arm_upper',
'kills' => '380',
'teamkills' => '4',
'suicides' => '0'
)
),
(int) 6 => array(
'PlayerHitZone' => array(
'id' => '8646',
'bodypart_id' => '15',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '15',
'name' => 'left_arm_upper',
'kills' => '380',
'teamkills' => '4',
'suicides' => '0'
)
),
(int) 7 => array(
'PlayerHitZone' => array(
'id' => '8647',
'bodypart_id' => '13',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '13',
'name' => 'left_foot',
'kills' => '88',
'teamkills' => '2',
'suicides' => '0'
)
),
(int) 8 => array(
'PlayerHitZone' => array(
'id' => '8648',
'bodypart_id' => '13',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '13',
'name' => 'left_foot',
'kills' => '88',
'teamkills' => '2',
'suicides' => '0'
)
),
(int) 9 => array(
'PlayerHitZone' => array(
'id' => '8649',
'bodypart_id' => '6',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '2',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '6',
'name' => 'left_arm_lower',
'kills' => '453',
'teamkills' => '3',
'suicides' => '0'
)
),
(int) 10 => array(
'PlayerHitZone' => array(
'id' => '8650',
'bodypart_id' => '6',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '6',
'name' => 'left_arm_lower',
'kills' => '453',
'teamkills' => '3',
'suicides' => '0'
)
),
(int) 11 => array(
'PlayerHitZone' => array(
'id' => '8651',
'bodypart_id' => '7',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '7',
'name' => 'neck',
'kills' => '382',
'teamkills' => '2',
'suicides' => '0'
)
),
(int) 12 => array(
'PlayerHitZone' => array(
'id' => '7195',
'bodypart_id' => '14',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '14',
'name' => 'right_foot',
'kills' => '113',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 13 => array(
'PlayerHitZone' => array(
'id' => '7194',
'bodypart_id' => '14',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '4',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '14',
'name' => 'right_foot',
'kills' => '113',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 14 => array(
'PlayerHitZone' => array(
'id' => '7193',
'bodypart_id' => '3',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '3',
'name' => 'left_leg_upper',
'kills' => '1172',
'teamkills' => '8',
'suicides' => '0'
)
),
(int) 15 => array(
'PlayerHitZone' => array(
'id' => '7182',
'bodypart_id' => '4',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '4',
'name' => 'head',
'kills' => '1547',
'teamkills' => '27',
'suicides' => '1'
)
),
(int) 16 => array(
'PlayerHitZone' => array(
'id' => '7183',
'bodypart_id' => '9',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '5',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '9',
'name' => 'right_leg_upper',
'kills' => '1130',
'teamkills' => '6',
'suicides' => '0'
)
),
(int) 17 => array(
'PlayerHitZone' => array(
'id' => '7184',
'bodypart_id' => '10',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '15',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '10',
'name' => 'right_leg_lower',
'kills' => '468',
'teamkills' => '16',
'suicides' => '0'
)
),
(int) 18 => array(
'PlayerHitZone' => array(
'id' => '7185',
'bodypart_id' => '10',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '10',
'name' => 'right_leg_lower',
'kills' => '468',
'teamkills' => '16',
'suicides' => '0'
)
),
(int) 19 => array(
'PlayerHitZone' => array(
'id' => '7186',
'bodypart_id' => '8',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '28',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '8',
'name' => 'left_leg_lower',
'kills' => '493',
'teamkills' => '29',
'suicides' => '0'
)
),
(int) 20 => array(
'PlayerHitZone' => array(
'id' => '7187',
'bodypart_id' => '8',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '8',
'name' => 'left_leg_lower',
'kills' => '493',
'teamkills' => '29',
'suicides' => '0'
)
),
(int) 21 => array(
'PlayerHitZone' => array(
'id' => '7188',
'bodypart_id' => '5',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '4',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '5',
'name' => 'right_arm_upper',
'kills' => '517',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 22 => array(
'PlayerHitZone' => array(
'id' => '7189',
'bodypart_id' => '5',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '5',
'name' => 'right_arm_upper',
'kills' => '517',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 23 => array(
'PlayerHitZone' => array(
'id' => '7190',
'bodypart_id' => '1',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '22',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '1',
'name' => 'torso_upper',
'kills' => '2306',
'teamkills' => '23',
'suicides' => '0'
)
),
(int) 24 => array(
'PlayerHitZone' => array(
'id' => '7191',
'bodypart_id' => '1',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '1',
'name' => 'torso_upper',
'kills' => '2306',
'teamkills' => '23',
'suicides' => '0'
)
),
(int) 25 => array(
'PlayerHitZone' => array(
'id' => '7192',
'bodypart_id' => '3',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '7',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '3',
'name' => 'left_leg_upper',
'kills' => '1172',
'teamkills' => '8',
'suicides' => '0'
)
),
(int) 26 => array(
'PlayerHitZone' => array(
'id' => '8652',
'bodypart_id' => '7',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '7',
'name' => 'neck',
'kills' => '382',
'teamkills' => '2',
'suicides' => '0'
)
)
)
$hitZone = array(
'PlayerHitZone' => array(
'id' => '8652',
'bodypart_id' => '7',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '7',
'name' => 'neck',
'kills' => '382',
'teamkills' => '2',
'suicides' => '0'
)
)
$kills = array(
(int) 0 => '0',
(int) 1 => '0',
(int) 2 => '0',
(int) 3 => '0',
(int) 4 => '0',
(int) 5 => '0',
(int) 6 => '0',
(int) 7 => '0',
(int) 8 => '0',
(int) 9 => '0',
(int) 10 => '0',
(int) 11 => '0',
(int) 12 => '0',
(int) 13 => '0',
(int) 14 => '0',
(int) 15 => '0',
(int) 16 => '0',
(int) 17 => '0',
(int) 18 => '0',
(int) 19 => '0',
(int) 20 => '0',
(int) 21 => '0',
(int) 22 => '0',
(int) 23 => '0',
(int) 24 => '0',
(int) 25 => '0',
(int) 26 => '0'
)
$totalKills = (int) 0
$n = (int) 27
$i = (int) 2
$percentage = false
PlayerHitZonesController::view() - APP\Controller\PlayerHitZonesController.php, line 39
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE\Cake\Controller\Controller.php, line 499
Dispatcher::_invoke() - CORE\Cake\Routing\Dispatcher.php, line 193
Dispatcher::dispatch() - CORE\Cake\Routing\Dispatcher.php, line 167
[main] - APP\webroot\index.php, line 97
Warning (2): Division by zero [APP\Controller\PlayerHitZonesController.php, line 39]Code Context $n = count($hitZones);
for ($i = 0; $i < $n; $i++) {
$percentage = $hitZones[$i]['PlayerHitZone']['kills'] / $totalKills;
$playerID = '1181'
$hitZones = array(
(int) 0 => array(
'PlayerHitZone' => array(
'id' => '7181',
'bodypart_id' => '4',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '26',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '4',
'name' => 'head',
'kills' => '1547',
'teamkills' => '27',
'suicides' => '1'
)
),
(int) 1 => array(
'PlayerHitZone' => array(
'id' => '7196',
'bodypart_id' => '2',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '24',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '2',
'name' => 'torso_lower',
'kills' => '6088',
'teamkills' => '25',
'suicides' => '0'
)
),
(int) 2 => array(
'PlayerHitZone' => array(
'id' => '7197',
'bodypart_id' => '2',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '2',
'name' => 'torso_lower',
'kills' => '6088',
'teamkills' => '25',
'suicides' => '0'
)
),
(int) 3 => array(
'PlayerHitZone' => array(
'id' => '8643',
'bodypart_id' => '16',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '0',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '16',
'name' => 'left_hand',
'kills' => '103',
'teamkills' => '1',
'suicides' => '0'
)
),
(int) 4 => array(
'PlayerHitZone' => array(
'id' => '8644',
'bodypart_id' => '16',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '16',
'name' => 'left_hand',
'kills' => '103',
'teamkills' => '1',
'suicides' => '0'
)
),
(int) 5 => array(
'PlayerHitZone' => array(
'id' => '8645',
'bodypart_id' => '15',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '3',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '15',
'name' => 'left_arm_upper',
'kills' => '380',
'teamkills' => '4',
'suicides' => '0'
)
),
(int) 6 => array(
'PlayerHitZone' => array(
'id' => '8646',
'bodypart_id' => '15',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '15',
'name' => 'left_arm_upper',
'kills' => '380',
'teamkills' => '4',
'suicides' => '0'
)
),
(int) 7 => array(
'PlayerHitZone' => array(
'id' => '8647',
'bodypart_id' => '13',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '13',
'name' => 'left_foot',
'kills' => '88',
'teamkills' => '2',
'suicides' => '0'
)
),
(int) 8 => array(
'PlayerHitZone' => array(
'id' => '8648',
'bodypart_id' => '13',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '13',
'name' => 'left_foot',
'kills' => '88',
'teamkills' => '2',
'suicides' => '0'
)
),
(int) 9 => array(
'PlayerHitZone' => array(
'id' => '8649',
'bodypart_id' => '6',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '2',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '6',
'name' => 'left_arm_lower',
'kills' => '453',
'teamkills' => '3',
'suicides' => '0'
)
),
(int) 10 => array(
'PlayerHitZone' => array(
'id' => '8650',
'bodypart_id' => '6',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '6',
'name' => 'left_arm_lower',
'kills' => '453',
'teamkills' => '3',
'suicides' => '0'
)
),
(int) 11 => array(
'PlayerHitZone' => array(
'id' => '8651',
'bodypart_id' => '7',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '7',
'name' => 'neck',
'kills' => '382',
'teamkills' => '2',
'suicides' => '0'
)
),
(int) 12 => array(
'PlayerHitZone' => array(
'id' => '7195',
'bodypart_id' => '14',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '14',
'name' => 'right_foot',
'kills' => '113',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 13 => array(
'PlayerHitZone' => array(
'id' => '7194',
'bodypart_id' => '14',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '4',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '14',
'name' => 'right_foot',
'kills' => '113',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 14 => array(
'PlayerHitZone' => array(
'id' => '7193',
'bodypart_id' => '3',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '3',
'name' => 'left_leg_upper',
'kills' => '1172',
'teamkills' => '8',
'suicides' => '0'
)
),
(int) 15 => array(
'PlayerHitZone' => array(
'id' => '7182',
'bodypart_id' => '4',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '4',
'name' => 'head',
'kills' => '1547',
'teamkills' => '27',
'suicides' => '1'
)
),
(int) 16 => array(
'PlayerHitZone' => array(
'id' => '7183',
'bodypart_id' => '9',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '5',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '9',
'name' => 'right_leg_upper',
'kills' => '1130',
'teamkills' => '6',
'suicides' => '0'
)
),
(int) 17 => array(
'PlayerHitZone' => array(
'id' => '7184',
'bodypart_id' => '10',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '15',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '10',
'name' => 'right_leg_lower',
'kills' => '468',
'teamkills' => '16',
'suicides' => '0'
)
),
(int) 18 => array(
'PlayerHitZone' => array(
'id' => '7185',
'bodypart_id' => '10',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '10',
'name' => 'right_leg_lower',
'kills' => '468',
'teamkills' => '16',
'suicides' => '0'
)
),
(int) 19 => array(
'PlayerHitZone' => array(
'id' => '7186',
'bodypart_id' => '8',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '28',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '8',
'name' => 'left_leg_lower',
'kills' => '493',
'teamkills' => '29',
'suicides' => '0'
)
),
(int) 20 => array(
'PlayerHitZone' => array(
'id' => '7187',
'bodypart_id' => '8',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '8',
'name' => 'left_leg_lower',
'kills' => '493',
'teamkills' => '29',
'suicides' => '0'
)
),
(int) 21 => array(
'PlayerHitZone' => array(
'id' => '7188',
'bodypart_id' => '5',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '4',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '5',
'name' => 'right_arm_upper',
'kills' => '517',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 22 => array(
'PlayerHitZone' => array(
'id' => '7189',
'bodypart_id' => '5',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '5',
'name' => 'right_arm_upper',
'kills' => '517',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 23 => array(
'PlayerHitZone' => array(
'id' => '7190',
'bodypart_id' => '1',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '22',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '1',
'name' => 'torso_upper',
'kills' => '2306',
'teamkills' => '23',
'suicides' => '0'
)
),
(int) 24 => array(
'PlayerHitZone' => array(
'id' => '7191',
'bodypart_id' => '1',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '1',
'name' => 'torso_upper',
'kills' => '2306',
'teamkills' => '23',
'suicides' => '0'
)
),
(int) 25 => array(
'PlayerHitZone' => array(
'id' => '7192',
'bodypart_id' => '3',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '7',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '3',
'name' => 'left_leg_upper',
'kills' => '1172',
'teamkills' => '8',
'suicides' => '0'
)
),
(int) 26 => array(
'PlayerHitZone' => array(
'id' => '8652',
'bodypart_id' => '7',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '7',
'name' => 'neck',
'kills' => '382',
'teamkills' => '2',
'suicides' => '0'
)
)
)
$hitZone = array(
'PlayerHitZone' => array(
'id' => '8652',
'bodypart_id' => '7',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '7',
'name' => 'neck',
'kills' => '382',
'teamkills' => '2',
'suicides' => '0'
)
)
$kills = array(
(int) 0 => '0',
(int) 1 => '0',
(int) 2 => '0',
(int) 3 => '0',
(int) 4 => '0',
(int) 5 => '0',
(int) 6 => '0',
(int) 7 => '0',
(int) 8 => '0',
(int) 9 => '0',
(int) 10 => '0',
(int) 11 => '0',
(int) 12 => '0',
(int) 13 => '0',
(int) 14 => '0',
(int) 15 => '0',
(int) 16 => '0',
(int) 17 => '0',
(int) 18 => '0',
(int) 19 => '0',
(int) 20 => '0',
(int) 21 => '0',
(int) 22 => '0',
(int) 23 => '0',
(int) 24 => '0',
(int) 25 => '0',
(int) 26 => '0'
)
$totalKills = (int) 0
$n = (int) 27
$i = (int) 3
$percentage = false
PlayerHitZonesController::view() - APP\Controller\PlayerHitZonesController.php, line 39
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE\Cake\Controller\Controller.php, line 499
Dispatcher::_invoke() - CORE\Cake\Routing\Dispatcher.php, line 193
Dispatcher::dispatch() - CORE\Cake\Routing\Dispatcher.php, line 167
[main] - APP\webroot\index.php, line 97
Warning (2): Division by zero [APP\Controller\PlayerHitZonesController.php, line 39]Code Context $n = count($hitZones);
for ($i = 0; $i < $n; $i++) {
$percentage = $hitZones[$i]['PlayerHitZone']['kills'] / $totalKills;
$playerID = '1181'
$hitZones = array(
(int) 0 => array(
'PlayerHitZone' => array(
'id' => '7181',
'bodypart_id' => '4',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '26',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '4',
'name' => 'head',
'kills' => '1547',
'teamkills' => '27',
'suicides' => '1'
)
),
(int) 1 => array(
'PlayerHitZone' => array(
'id' => '7196',
'bodypart_id' => '2',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '24',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '2',
'name' => 'torso_lower',
'kills' => '6088',
'teamkills' => '25',
'suicides' => '0'
)
),
(int) 2 => array(
'PlayerHitZone' => array(
'id' => '7197',
'bodypart_id' => '2',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '2',
'name' => 'torso_lower',
'kills' => '6088',
'teamkills' => '25',
'suicides' => '0'
)
),
(int) 3 => array(
'PlayerHitZone' => array(
'id' => '8643',
'bodypart_id' => '16',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '0',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '16',
'name' => 'left_hand',
'kills' => '103',
'teamkills' => '1',
'suicides' => '0'
)
),
(int) 4 => array(
'PlayerHitZone' => array(
'id' => '8644',
'bodypart_id' => '16',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '16',
'name' => 'left_hand',
'kills' => '103',
'teamkills' => '1',
'suicides' => '0'
)
),
(int) 5 => array(
'PlayerHitZone' => array(
'id' => '8645',
'bodypart_id' => '15',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '3',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '15',
'name' => 'left_arm_upper',
'kills' => '380',
'teamkills' => '4',
'suicides' => '0'
)
),
(int) 6 => array(
'PlayerHitZone' => array(
'id' => '8646',
'bodypart_id' => '15',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '15',
'name' => 'left_arm_upper',
'kills' => '380',
'teamkills' => '4',
'suicides' => '0'
)
),
(int) 7 => array(
'PlayerHitZone' => array(
'id' => '8647',
'bodypart_id' => '13',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '13',
'name' => 'left_foot',
'kills' => '88',
'teamkills' => '2',
'suicides' => '0'
)
),
(int) 8 => array(
'PlayerHitZone' => array(
'id' => '8648',
'bodypart_id' => '13',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '13',
'name' => 'left_foot',
'kills' => '88',
'teamkills' => '2',
'suicides' => '0'
)
),
(int) 9 => array(
'PlayerHitZone' => array(
'id' => '8649',
'bodypart_id' => '6',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '2',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '6',
'name' => 'left_arm_lower',
'kills' => '453',
'teamkills' => '3',
'suicides' => '0'
)
),
(int) 10 => array(
'PlayerHitZone' => array(
'id' => '8650',
'bodypart_id' => '6',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '6',
'name' => 'left_arm_lower',
'kills' => '453',
'teamkills' => '3',
'suicides' => '0'
)
),
(int) 11 => array(
'PlayerHitZone' => array(
'id' => '8651',
'bodypart_id' => '7',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '7',
'name' => 'neck',
'kills' => '382',
'teamkills' => '2',
'suicides' => '0'
)
),
(int) 12 => array(
'PlayerHitZone' => array(
'id' => '7195',
'bodypart_id' => '14',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '14',
'name' => 'right_foot',
'kills' => '113',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 13 => array(
'PlayerHitZone' => array(
'id' => '7194',
'bodypart_id' => '14',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '4',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '14',
'name' => 'right_foot',
'kills' => '113',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 14 => array(
'PlayerHitZone' => array(
'id' => '7193',
'bodypart_id' => '3',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '3',
'name' => 'left_leg_upper',
'kills' => '1172',
'teamkills' => '8',
'suicides' => '0'
)
),
(int) 15 => array(
'PlayerHitZone' => array(
'id' => '7182',
'bodypart_id' => '4',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '4',
'name' => 'head',
'kills' => '1547',
'teamkills' => '27',
'suicides' => '1'
)
),
(int) 16 => array(
'PlayerHitZone' => array(
'id' => '7183',
'bodypart_id' => '9',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '5',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '9',
'name' => 'right_leg_upper',
'kills' => '1130',
'teamkills' => '6',
'suicides' => '0'
)
),
(int) 17 => array(
'PlayerHitZone' => array(
'id' => '7184',
'bodypart_id' => '10',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '15',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '10',
'name' => 'right_leg_lower',
'kills' => '468',
'teamkills' => '16',
'suicides' => '0'
)
),
(int) 18 => array(
'PlayerHitZone' => array(
'id' => '7185',
'bodypart_id' => '10',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '10',
'name' => 'right_leg_lower',
'kills' => '468',
'teamkills' => '16',
'suicides' => '0'
)
),
(int) 19 => array(
'PlayerHitZone' => array(
'id' => '7186',
'bodypart_id' => '8',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '28',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '8',
'name' => 'left_leg_lower',
'kills' => '493',
'teamkills' => '29',
'suicides' => '0'
)
),
(int) 20 => array(
'PlayerHitZone' => array(
'id' => '7187',
'bodypart_id' => '8',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '8',
'name' => 'left_leg_lower',
'kills' => '493',
'teamkills' => '29',
'suicides' => '0'
)
),
(int) 21 => array(
'PlayerHitZone' => array(
'id' => '7188',
'bodypart_id' => '5',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '4',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '5',
'name' => 'right_arm_upper',
'kills' => '517',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 22 => array(
'PlayerHitZone' => array(
'id' => '7189',
'bodypart_id' => '5',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '5',
'name' => 'right_arm_upper',
'kills' => '517',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 23 => array(
'PlayerHitZone' => array(
'id' => '7190',
'bodypart_id' => '1',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '22',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '1',
'name' => 'torso_upper',
'kills' => '2306',
'teamkills' => '23',
'suicides' => '0'
)
),
(int) 24 => array(
'PlayerHitZone' => array(
'id' => '7191',
'bodypart_id' => '1',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '1',
'name' => 'torso_upper',
'kills' => '2306',
'teamkills' => '23',
'suicides' => '0'
)
),
(int) 25 => array(
'PlayerHitZone' => array(
'id' => '7192',
'bodypart_id' => '3',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '7',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '3',
'name' => 'left_leg_upper',
'kills' => '1172',
'teamkills' => '8',
'suicides' => '0'
)
),
(int) 26 => array(
'PlayerHitZone' => array(
'id' => '8652',
'bodypart_id' => '7',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '7',
'name' => 'neck',
'kills' => '382',
'teamkills' => '2',
'suicides' => '0'
)
)
)
$hitZone = array(
'PlayerHitZone' => array(
'id' => '8652',
'bodypart_id' => '7',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '7',
'name' => 'neck',
'kills' => '382',
'teamkills' => '2',
'suicides' => '0'
)
)
$kills = array(
(int) 0 => '0',
(int) 1 => '0',
(int) 2 => '0',
(int) 3 => '0',
(int) 4 => '0',
(int) 5 => '0',
(int) 6 => '0',
(int) 7 => '0',
(int) 8 => '0',
(int) 9 => '0',
(int) 10 => '0',
(int) 11 => '0',
(int) 12 => '0',
(int) 13 => '0',
(int) 14 => '0',
(int) 15 => '0',
(int) 16 => '0',
(int) 17 => '0',
(int) 18 => '0',
(int) 19 => '0',
(int) 20 => '0',
(int) 21 => '0',
(int) 22 => '0',
(int) 23 => '0',
(int) 24 => '0',
(int) 25 => '0',
(int) 26 => '0'
)
$totalKills = (int) 0
$n = (int) 27
$i = (int) 4
$percentage = false
PlayerHitZonesController::view() - APP\Controller\PlayerHitZonesController.php, line 39
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE\Cake\Controller\Controller.php, line 499
Dispatcher::_invoke() - CORE\Cake\Routing\Dispatcher.php, line 193
Dispatcher::dispatch() - CORE\Cake\Routing\Dispatcher.php, line 167
[main] - APP\webroot\index.php, line 97
Warning (2): Division by zero [APP\Controller\PlayerHitZonesController.php, line 39]Code Context $n = count($hitZones);
for ($i = 0; $i < $n; $i++) {
$percentage = $hitZones[$i]['PlayerHitZone']['kills'] / $totalKills;
$playerID = '1181'
$hitZones = array(
(int) 0 => array(
'PlayerHitZone' => array(
'id' => '7181',
'bodypart_id' => '4',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '26',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '4',
'name' => 'head',
'kills' => '1547',
'teamkills' => '27',
'suicides' => '1'
)
),
(int) 1 => array(
'PlayerHitZone' => array(
'id' => '7196',
'bodypart_id' => '2',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '24',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '2',
'name' => 'torso_lower',
'kills' => '6088',
'teamkills' => '25',
'suicides' => '0'
)
),
(int) 2 => array(
'PlayerHitZone' => array(
'id' => '7197',
'bodypart_id' => '2',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '2',
'name' => 'torso_lower',
'kills' => '6088',
'teamkills' => '25',
'suicides' => '0'
)
),
(int) 3 => array(
'PlayerHitZone' => array(
'id' => '8643',
'bodypart_id' => '16',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '0',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '16',
'name' => 'left_hand',
'kills' => '103',
'teamkills' => '1',
'suicides' => '0'
)
),
(int) 4 => array(
'PlayerHitZone' => array(
'id' => '8644',
'bodypart_id' => '16',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '16',
'name' => 'left_hand',
'kills' => '103',
'teamkills' => '1',
'suicides' => '0'
)
),
(int) 5 => array(
'PlayerHitZone' => array(
'id' => '8645',
'bodypart_id' => '15',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '3',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '15',
'name' => 'left_arm_upper',
'kills' => '380',
'teamkills' => '4',
'suicides' => '0'
)
),
(int) 6 => array(
'PlayerHitZone' => array(
'id' => '8646',
'bodypart_id' => '15',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '15',
'name' => 'left_arm_upper',
'kills' => '380',
'teamkills' => '4',
'suicides' => '0'
)
),
(int) 7 => array(
'PlayerHitZone' => array(
'id' => '8647',
'bodypart_id' => '13',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '13',
'name' => 'left_foot',
'kills' => '88',
'teamkills' => '2',
'suicides' => '0'
)
),
(int) 8 => array(
'PlayerHitZone' => array(
'id' => '8648',
'bodypart_id' => '13',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '13',
'name' => 'left_foot',
'kills' => '88',
'teamkills' => '2',
'suicides' => '0'
)
),
(int) 9 => array(
'PlayerHitZone' => array(
'id' => '8649',
'bodypart_id' => '6',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '2',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '6',
'name' => 'left_arm_lower',
'kills' => '453',
'teamkills' => '3',
'suicides' => '0'
)
),
(int) 10 => array(
'PlayerHitZone' => array(
'id' => '8650',
'bodypart_id' => '6',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '6',
'name' => 'left_arm_lower',
'kills' => '453',
'teamkills' => '3',
'suicides' => '0'
)
),
(int) 11 => array(
'PlayerHitZone' => array(
'id' => '8651',
'bodypart_id' => '7',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '7',
'name' => 'neck',
'kills' => '382',
'teamkills' => '2',
'suicides' => '0'
)
),
(int) 12 => array(
'PlayerHitZone' => array(
'id' => '7195',
'bodypart_id' => '14',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '14',
'name' => 'right_foot',
'kills' => '113',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 13 => array(
'PlayerHitZone' => array(
'id' => '7194',
'bodypart_id' => '14',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '4',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '14',
'name' => 'right_foot',
'kills' => '113',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 14 => array(
'PlayerHitZone' => array(
'id' => '7193',
'bodypart_id' => '3',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '3',
'name' => 'left_leg_upper',
'kills' => '1172',
'teamkills' => '8',
'suicides' => '0'
)
),
(int) 15 => array(
'PlayerHitZone' => array(
'id' => '7182',
'bodypart_id' => '4',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '4',
'name' => 'head',
'kills' => '1547',
'teamkills' => '27',
'suicides' => '1'
)
),
(int) 16 => array(
'PlayerHitZone' => array(
'id' => '7183',
'bodypart_id' => '9',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '5',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '9',
'name' => 'right_leg_upper',
'kills' => '1130',
'teamkills' => '6',
'suicides' => '0'
)
),
(int) 17 => array(
'PlayerHitZone' => array(
'id' => '7184',
'bodypart_id' => '10',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '15',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '10',
'name' => 'right_leg_lower',
'kills' => '468',
'teamkills' => '16',
'suicides' => '0'
)
),
(int) 18 => array(
'PlayerHitZone' => array(
'id' => '7185',
'bodypart_id' => '10',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '10',
'name' => 'right_leg_lower',
'kills' => '468',
'teamkills' => '16',
'suicides' => '0'
)
),
(int) 19 => array(
'PlayerHitZone' => array(
'id' => '7186',
'bodypart_id' => '8',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '28',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '8',
'name' => 'left_leg_lower',
'kills' => '493',
'teamkills' => '29',
'suicides' => '0'
)
),
(int) 20 => array(
'PlayerHitZone' => array(
'id' => '7187',
'bodypart_id' => '8',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '8',
'name' => 'left_leg_lower',
'kills' => '493',
'teamkills' => '29',
'suicides' => '0'
)
),
(int) 21 => array(
'PlayerHitZone' => array(
'id' => '7188',
'bodypart_id' => '5',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '4',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '5',
'name' => 'right_arm_upper',
'kills' => '517',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 22 => array(
'PlayerHitZone' => array(
'id' => '7189',
'bodypart_id' => '5',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '5',
'name' => 'right_arm_upper',
'kills' => '517',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 23 => array(
'PlayerHitZone' => array(
'id' => '7190',
'bodypart_id' => '1',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '22',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '1',
'name' => 'torso_upper',
'kills' => '2306',
'teamkills' => '23',
'suicides' => '0'
)
),
(int) 24 => array(
'PlayerHitZone' => array(
'id' => '7191',
'bodypart_id' => '1',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '1',
'name' => 'torso_upper',
'kills' => '2306',
'teamkills' => '23',
'suicides' => '0'
)
),
(int) 25 => array(
'PlayerHitZone' => array(
'id' => '7192',
'bodypart_id' => '3',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '7',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '3',
'name' => 'left_leg_upper',
'kills' => '1172',
'teamkills' => '8',
'suicides' => '0'
)
),
(int) 26 => array(
'PlayerHitZone' => array(
'id' => '8652',
'bodypart_id' => '7',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '7',
'name' => 'neck',
'kills' => '382',
'teamkills' => '2',
'suicides' => '0'
)
)
)
$hitZone = array(
'PlayerHitZone' => array(
'id' => '8652',
'bodypart_id' => '7',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '7',
'name' => 'neck',
'kills' => '382',
'teamkills' => '2',
'suicides' => '0'
)
)
$kills = array(
(int) 0 => '0',
(int) 1 => '0',
(int) 2 => '0',
(int) 3 => '0',
(int) 4 => '0',
(int) 5 => '0',
(int) 6 => '0',
(int) 7 => '0',
(int) 8 => '0',
(int) 9 => '0',
(int) 10 => '0',
(int) 11 => '0',
(int) 12 => '0',
(int) 13 => '0',
(int) 14 => '0',
(int) 15 => '0',
(int) 16 => '0',
(int) 17 => '0',
(int) 18 => '0',
(int) 19 => '0',
(int) 20 => '0',
(int) 21 => '0',
(int) 22 => '0',
(int) 23 => '0',
(int) 24 => '0',
(int) 25 => '0',
(int) 26 => '0'
)
$totalKills = (int) 0
$n = (int) 27
$i = (int) 5
$percentage = false
PlayerHitZonesController::view() - APP\Controller\PlayerHitZonesController.php, line 39
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE\Cake\Controller\Controller.php, line 499
Dispatcher::_invoke() - CORE\Cake\Routing\Dispatcher.php, line 193
Dispatcher::dispatch() - CORE\Cake\Routing\Dispatcher.php, line 167
[main] - APP\webroot\index.php, line 97
Warning (2): Division by zero [APP\Controller\PlayerHitZonesController.php, line 39]Code Context $n = count($hitZones);
for ($i = 0; $i < $n; $i++) {
$percentage = $hitZones[$i]['PlayerHitZone']['kills'] / $totalKills;
$playerID = '1181'
$hitZones = array(
(int) 0 => array(
'PlayerHitZone' => array(
'id' => '7181',
'bodypart_id' => '4',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '26',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '4',
'name' => 'head',
'kills' => '1547',
'teamkills' => '27',
'suicides' => '1'
)
),
(int) 1 => array(
'PlayerHitZone' => array(
'id' => '7196',
'bodypart_id' => '2',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '24',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '2',
'name' => 'torso_lower',
'kills' => '6088',
'teamkills' => '25',
'suicides' => '0'
)
),
(int) 2 => array(
'PlayerHitZone' => array(
'id' => '7197',
'bodypart_id' => '2',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '2',
'name' => 'torso_lower',
'kills' => '6088',
'teamkills' => '25',
'suicides' => '0'
)
),
(int) 3 => array(
'PlayerHitZone' => array(
'id' => '8643',
'bodypart_id' => '16',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '0',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '16',
'name' => 'left_hand',
'kills' => '103',
'teamkills' => '1',
'suicides' => '0'
)
),
(int) 4 => array(
'PlayerHitZone' => array(
'id' => '8644',
'bodypart_id' => '16',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '16',
'name' => 'left_hand',
'kills' => '103',
'teamkills' => '1',
'suicides' => '0'
)
),
(int) 5 => array(
'PlayerHitZone' => array(
'id' => '8645',
'bodypart_id' => '15',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '3',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '15',
'name' => 'left_arm_upper',
'kills' => '380',
'teamkills' => '4',
'suicides' => '0'
)
),
(int) 6 => array(
'PlayerHitZone' => array(
'id' => '8646',
'bodypart_id' => '15',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '15',
'name' => 'left_arm_upper',
'kills' => '380',
'teamkills' => '4',
'suicides' => '0'
)
),
(int) 7 => array(
'PlayerHitZone' => array(
'id' => '8647',
'bodypart_id' => '13',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '13',
'name' => 'left_foot',
'kills' => '88',
'teamkills' => '2',
'suicides' => '0'
)
),
(int) 8 => array(
'PlayerHitZone' => array(
'id' => '8648',
'bodypart_id' => '13',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '13',
'name' => 'left_foot',
'kills' => '88',
'teamkills' => '2',
'suicides' => '0'
)
),
(int) 9 => array(
'PlayerHitZone' => array(
'id' => '8649',
'bodypart_id' => '6',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '2',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '6',
'name' => 'left_arm_lower',
'kills' => '453',
'teamkills' => '3',
'suicides' => '0'
)
),
(int) 10 => array(
'PlayerHitZone' => array(
'id' => '8650',
'bodypart_id' => '6',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '6',
'name' => 'left_arm_lower',
'kills' => '453',
'teamkills' => '3',
'suicides' => '0'
)
),
(int) 11 => array(
'PlayerHitZone' => array(
'id' => '8651',
'bodypart_id' => '7',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '7',
'name' => 'neck',
'kills' => '382',
'teamkills' => '2',
'suicides' => '0'
)
),
(int) 12 => array(
'PlayerHitZone' => array(
'id' => '7195',
'bodypart_id' => '14',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '14',
'name' => 'right_foot',
'kills' => '113',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 13 => array(
'PlayerHitZone' => array(
'id' => '7194',
'bodypart_id' => '14',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '4',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '14',
'name' => 'right_foot',
'kills' => '113',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 14 => array(
'PlayerHitZone' => array(
'id' => '7193',
'bodypart_id' => '3',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '3',
'name' => 'left_leg_upper',
'kills' => '1172',
'teamkills' => '8',
'suicides' => '0'
)
),
(int) 15 => array(
'PlayerHitZone' => array(
'id' => '7182',
'bodypart_id' => '4',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '4',
'name' => 'head',
'kills' => '1547',
'teamkills' => '27',
'suicides' => '1'
)
),
(int) 16 => array(
'PlayerHitZone' => array(
'id' => '7183',
'bodypart_id' => '9',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '5',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '9',
'name' => 'right_leg_upper',
'kills' => '1130',
'teamkills' => '6',
'suicides' => '0'
)
),
(int) 17 => array(
'PlayerHitZone' => array(
'id' => '7184',
'bodypart_id' => '10',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '15',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '10',
'name' => 'right_leg_lower',
'kills' => '468',
'teamkills' => '16',
'suicides' => '0'
)
),
(int) 18 => array(
'PlayerHitZone' => array(
'id' => '7185',
'bodypart_id' => '10',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '10',
'name' => 'right_leg_lower',
'kills' => '468',
'teamkills' => '16',
'suicides' => '0'
)
),
(int) 19 => array(
'PlayerHitZone' => array(
'id' => '7186',
'bodypart_id' => '8',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '28',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '8',
'name' => 'left_leg_lower',
'kills' => '493',
'teamkills' => '29',
'suicides' => '0'
)
),
(int) 20 => array(
'PlayerHitZone' => array(
'id' => '7187',
'bodypart_id' => '8',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '8',
'name' => 'left_leg_lower',
'kills' => '493',
'teamkills' => '29',
'suicides' => '0'
)
),
(int) 21 => array(
'PlayerHitZone' => array(
'id' => '7188',
'bodypart_id' => '5',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '4',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '5',
'name' => 'right_arm_upper',
'kills' => '517',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 22 => array(
'PlayerHitZone' => array(
'id' => '7189',
'bodypart_id' => '5',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '5',
'name' => 'right_arm_upper',
'kills' => '517',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 23 => array(
'PlayerHitZone' => array(
'id' => '7190',
'bodypart_id' => '1',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '22',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '1',
'name' => 'torso_upper',
'kills' => '2306',
'teamkills' => '23',
'suicides' => '0'
)
),
(int) 24 => array(
'PlayerHitZone' => array(
'id' => '7191',
'bodypart_id' => '1',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '1',
'name' => 'torso_upper',
'kills' => '2306',
'teamkills' => '23',
'suicides' => '0'
)
),
(int) 25 => array(
'PlayerHitZone' => array(
'id' => '7192',
'bodypart_id' => '3',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '7',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '3',
'name' => 'left_leg_upper',
'kills' => '1172',
'teamkills' => '8',
'suicides' => '0'
)
),
(int) 26 => array(
'PlayerHitZone' => array(
'id' => '8652',
'bodypart_id' => '7',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '7',
'name' => 'neck',
'kills' => '382',
'teamkills' => '2',
'suicides' => '0'
)
)
)
$hitZone = array(
'PlayerHitZone' => array(
'id' => '8652',
'bodypart_id' => '7',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '7',
'name' => 'neck',
'kills' => '382',
'teamkills' => '2',
'suicides' => '0'
)
)
$kills = array(
(int) 0 => '0',
(int) 1 => '0',
(int) 2 => '0',
(int) 3 => '0',
(int) 4 => '0',
(int) 5 => '0',
(int) 6 => '0',
(int) 7 => '0',
(int) 8 => '0',
(int) 9 => '0',
(int) 10 => '0',
(int) 11 => '0',
(int) 12 => '0',
(int) 13 => '0',
(int) 14 => '0',
(int) 15 => '0',
(int) 16 => '0',
(int) 17 => '0',
(int) 18 => '0',
(int) 19 => '0',
(int) 20 => '0',
(int) 21 => '0',
(int) 22 => '0',
(int) 23 => '0',
(int) 24 => '0',
(int) 25 => '0',
(int) 26 => '0'
)
$totalKills = (int) 0
$n = (int) 27
$i = (int) 6
$percentage = false
PlayerHitZonesController::view() - APP\Controller\PlayerHitZonesController.php, line 39
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE\Cake\Controller\Controller.php, line 499
Dispatcher::_invoke() - CORE\Cake\Routing\Dispatcher.php, line 193
Dispatcher::dispatch() - CORE\Cake\Routing\Dispatcher.php, line 167
[main] - APP\webroot\index.php, line 97
Warning (2): Division by zero [APP\Controller\PlayerHitZonesController.php, line 39]Code Context $n = count($hitZones);
for ($i = 0; $i < $n; $i++) {
$percentage = $hitZones[$i]['PlayerHitZone']['kills'] / $totalKills;
$playerID = '1181'
$hitZones = array(
(int) 0 => array(
'PlayerHitZone' => array(
'id' => '7181',
'bodypart_id' => '4',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '26',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '4',
'name' => 'head',
'kills' => '1547',
'teamkills' => '27',
'suicides' => '1'
)
),
(int) 1 => array(
'PlayerHitZone' => array(
'id' => '7196',
'bodypart_id' => '2',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '24',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '2',
'name' => 'torso_lower',
'kills' => '6088',
'teamkills' => '25',
'suicides' => '0'
)
),
(int) 2 => array(
'PlayerHitZone' => array(
'id' => '7197',
'bodypart_id' => '2',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '2',
'name' => 'torso_lower',
'kills' => '6088',
'teamkills' => '25',
'suicides' => '0'
)
),
(int) 3 => array(
'PlayerHitZone' => array(
'id' => '8643',
'bodypart_id' => '16',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '0',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '16',
'name' => 'left_hand',
'kills' => '103',
'teamkills' => '1',
'suicides' => '0'
)
),
(int) 4 => array(
'PlayerHitZone' => array(
'id' => '8644',
'bodypart_id' => '16',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '16',
'name' => 'left_hand',
'kills' => '103',
'teamkills' => '1',
'suicides' => '0'
)
),
(int) 5 => array(
'PlayerHitZone' => array(
'id' => '8645',
'bodypart_id' => '15',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '3',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '15',
'name' => 'left_arm_upper',
'kills' => '380',
'teamkills' => '4',
'suicides' => '0'
)
),
(int) 6 => array(
'PlayerHitZone' => array(
'id' => '8646',
'bodypart_id' => '15',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '15',
'name' => 'left_arm_upper',
'kills' => '380',
'teamkills' => '4',
'suicides' => '0'
)
),
(int) 7 => array(
'PlayerHitZone' => array(
'id' => '8647',
'bodypart_id' => '13',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '13',
'name' => 'left_foot',
'kills' => '88',
'teamkills' => '2',
'suicides' => '0'
)
),
(int) 8 => array(
'PlayerHitZone' => array(
'id' => '8648',
'bodypart_id' => '13',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '13',
'name' => 'left_foot',
'kills' => '88',
'teamkills' => '2',
'suicides' => '0'
)
),
(int) 9 => array(
'PlayerHitZone' => array(
'id' => '8649',
'bodypart_id' => '6',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '2',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '6',
'name' => 'left_arm_lower',
'kills' => '453',
'teamkills' => '3',
'suicides' => '0'
)
),
(int) 10 => array(
'PlayerHitZone' => array(
'id' => '8650',
'bodypart_id' => '6',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '6',
'name' => 'left_arm_lower',
'kills' => '453',
'teamkills' => '3',
'suicides' => '0'
)
),
(int) 11 => array(
'PlayerHitZone' => array(
'id' => '8651',
'bodypart_id' => '7',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '7',
'name' => 'neck',
'kills' => '382',
'teamkills' => '2',
'suicides' => '0'
)
),
(int) 12 => array(
'PlayerHitZone' => array(
'id' => '7195',
'bodypart_id' => '14',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '14',
'name' => 'right_foot',
'kills' => '113',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 13 => array(
'PlayerHitZone' => array(
'id' => '7194',
'bodypart_id' => '14',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '4',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '14',
'name' => 'right_foot',
'kills' => '113',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 14 => array(
'PlayerHitZone' => array(
'id' => '7193',
'bodypart_id' => '3',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '3',
'name' => 'left_leg_upper',
'kills' => '1172',
'teamkills' => '8',
'suicides' => '0'
)
),
(int) 15 => array(
'PlayerHitZone' => array(
'id' => '7182',
'bodypart_id' => '4',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '4',
'name' => 'head',
'kills' => '1547',
'teamkills' => '27',
'suicides' => '1'
)
),
(int) 16 => array(
'PlayerHitZone' => array(
'id' => '7183',
'bodypart_id' => '9',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '5',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '9',
'name' => 'right_leg_upper',
'kills' => '1130',
'teamkills' => '6',
'suicides' => '0'
)
),
(int) 17 => array(
'PlayerHitZone' => array(
'id' => '7184',
'bodypart_id' => '10',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '15',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '10',
'name' => 'right_leg_lower',
'kills' => '468',
'teamkills' => '16',
'suicides' => '0'
)
),
(int) 18 => array(
'PlayerHitZone' => array(
'id' => '7185',
'bodypart_id' => '10',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '10',
'name' => 'right_leg_lower',
'kills' => '468',
'teamkills' => '16',
'suicides' => '0'
)
),
(int) 19 => array(
'PlayerHitZone' => array(
'id' => '7186',
'bodypart_id' => '8',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '28',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '8',
'name' => 'left_leg_lower',
'kills' => '493',
'teamkills' => '29',
'suicides' => '0'
)
),
(int) 20 => array(
'PlayerHitZone' => array(
'id' => '7187',
'bodypart_id' => '8',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '8',
'name' => 'left_leg_lower',
'kills' => '493',
'teamkills' => '29',
'suicides' => '0'
)
),
(int) 21 => array(
'PlayerHitZone' => array(
'id' => '7188',
'bodypart_id' => '5',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '4',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '5',
'name' => 'right_arm_upper',
'kills' => '517',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 22 => array(
'PlayerHitZone' => array(
'id' => '7189',
'bodypart_id' => '5',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '5',
'name' => 'right_arm_upper',
'kills' => '517',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 23 => array(
'PlayerHitZone' => array(
'id' => '7190',
'bodypart_id' => '1',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '22',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '1',
'name' => 'torso_upper',
'kills' => '2306',
'teamkills' => '23',
'suicides' => '0'
)
),
(int) 24 => array(
'PlayerHitZone' => array(
'id' => '7191',
'bodypart_id' => '1',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '1',
'name' => 'torso_upper',
'kills' => '2306',
'teamkills' => '23',
'suicides' => '0'
)
),
(int) 25 => array(
'PlayerHitZone' => array(
'id' => '7192',
'bodypart_id' => '3',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '7',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '3',
'name' => 'left_leg_upper',
'kills' => '1172',
'teamkills' => '8',
'suicides' => '0'
)
),
(int) 26 => array(
'PlayerHitZone' => array(
'id' => '8652',
'bodypart_id' => '7',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '7',
'name' => 'neck',
'kills' => '382',
'teamkills' => '2',
'suicides' => '0'
)
)
)
$hitZone = array(
'PlayerHitZone' => array(
'id' => '8652',
'bodypart_id' => '7',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '7',
'name' => 'neck',
'kills' => '382',
'teamkills' => '2',
'suicides' => '0'
)
)
$kills = array(
(int) 0 => '0',
(int) 1 => '0',
(int) 2 => '0',
(int) 3 => '0',
(int) 4 => '0',
(int) 5 => '0',
(int) 6 => '0',
(int) 7 => '0',
(int) 8 => '0',
(int) 9 => '0',
(int) 10 => '0',
(int) 11 => '0',
(int) 12 => '0',
(int) 13 => '0',
(int) 14 => '0',
(int) 15 => '0',
(int) 16 => '0',
(int) 17 => '0',
(int) 18 => '0',
(int) 19 => '0',
(int) 20 => '0',
(int) 21 => '0',
(int) 22 => '0',
(int) 23 => '0',
(int) 24 => '0',
(int) 25 => '0',
(int) 26 => '0'
)
$totalKills = (int) 0
$n = (int) 27
$i = (int) 7
$percentage = false
PlayerHitZonesController::view() - APP\Controller\PlayerHitZonesController.php, line 39
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE\Cake\Controller\Controller.php, line 499
Dispatcher::_invoke() - CORE\Cake\Routing\Dispatcher.php, line 193
Dispatcher::dispatch() - CORE\Cake\Routing\Dispatcher.php, line 167
[main] - APP\webroot\index.php, line 97
Warning (2): Division by zero [APP\Controller\PlayerHitZonesController.php, line 39]Code Context $n = count($hitZones);
for ($i = 0; $i < $n; $i++) {
$percentage = $hitZones[$i]['PlayerHitZone']['kills'] / $totalKills;
$playerID = '1181'
$hitZones = array(
(int) 0 => array(
'PlayerHitZone' => array(
'id' => '7181',
'bodypart_id' => '4',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '26',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '4',
'name' => 'head',
'kills' => '1547',
'teamkills' => '27',
'suicides' => '1'
)
),
(int) 1 => array(
'PlayerHitZone' => array(
'id' => '7196',
'bodypart_id' => '2',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '24',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '2',
'name' => 'torso_lower',
'kills' => '6088',
'teamkills' => '25',
'suicides' => '0'
)
),
(int) 2 => array(
'PlayerHitZone' => array(
'id' => '7197',
'bodypart_id' => '2',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '2',
'name' => 'torso_lower',
'kills' => '6088',
'teamkills' => '25',
'suicides' => '0'
)
),
(int) 3 => array(
'PlayerHitZone' => array(
'id' => '8643',
'bodypart_id' => '16',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '0',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '16',
'name' => 'left_hand',
'kills' => '103',
'teamkills' => '1',
'suicides' => '0'
)
),
(int) 4 => array(
'PlayerHitZone' => array(
'id' => '8644',
'bodypart_id' => '16',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '16',
'name' => 'left_hand',
'kills' => '103',
'teamkills' => '1',
'suicides' => '0'
)
),
(int) 5 => array(
'PlayerHitZone' => array(
'id' => '8645',
'bodypart_id' => '15',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '3',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '15',
'name' => 'left_arm_upper',
'kills' => '380',
'teamkills' => '4',
'suicides' => '0'
)
),
(int) 6 => array(
'PlayerHitZone' => array(
'id' => '8646',
'bodypart_id' => '15',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '15',
'name' => 'left_arm_upper',
'kills' => '380',
'teamkills' => '4',
'suicides' => '0'
)
),
(int) 7 => array(
'PlayerHitZone' => array(
'id' => '8647',
'bodypart_id' => '13',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '13',
'name' => 'left_foot',
'kills' => '88',
'teamkills' => '2',
'suicides' => '0'
)
),
(int) 8 => array(
'PlayerHitZone' => array(
'id' => '8648',
'bodypart_id' => '13',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '13',
'name' => 'left_foot',
'kills' => '88',
'teamkills' => '2',
'suicides' => '0'
)
),
(int) 9 => array(
'PlayerHitZone' => array(
'id' => '8649',
'bodypart_id' => '6',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '2',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '6',
'name' => 'left_arm_lower',
'kills' => '453',
'teamkills' => '3',
'suicides' => '0'
)
),
(int) 10 => array(
'PlayerHitZone' => array(
'id' => '8650',
'bodypart_id' => '6',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '6',
'name' => 'left_arm_lower',
'kills' => '453',
'teamkills' => '3',
'suicides' => '0'
)
),
(int) 11 => array(
'PlayerHitZone' => array(
'id' => '8651',
'bodypart_id' => '7',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '7',
'name' => 'neck',
'kills' => '382',
'teamkills' => '2',
'suicides' => '0'
)
),
(int) 12 => array(
'PlayerHitZone' => array(
'id' => '7195',
'bodypart_id' => '14',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '14',
'name' => 'right_foot',
'kills' => '113',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 13 => array(
'PlayerHitZone' => array(
'id' => '7194',
'bodypart_id' => '14',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '4',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '14',
'name' => 'right_foot',
'kills' => '113',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 14 => array(
'PlayerHitZone' => array(
'id' => '7193',
'bodypart_id' => '3',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '3',
'name' => 'left_leg_upper',
'kills' => '1172',
'teamkills' => '8',
'suicides' => '0'
)
),
(int) 15 => array(
'PlayerHitZone' => array(
'id' => '7182',
'bodypart_id' => '4',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '4',
'name' => 'head',
'kills' => '1547',
'teamkills' => '27',
'suicides' => '1'
)
),
(int) 16 => array(
'PlayerHitZone' => array(
'id' => '7183',
'bodypart_id' => '9',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '5',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '9',
'name' => 'right_leg_upper',
'kills' => '1130',
'teamkills' => '6',
'suicides' => '0'
)
),
(int) 17 => array(
'PlayerHitZone' => array(
'id' => '7184',
'bodypart_id' => '10',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '15',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '10',
'name' => 'right_leg_lower',
'kills' => '468',
'teamkills' => '16',
'suicides' => '0'
)
),
(int) 18 => array(
'PlayerHitZone' => array(
'id' => '7185',
'bodypart_id' => '10',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '10',
'name' => 'right_leg_lower',
'kills' => '468',
'teamkills' => '16',
'suicides' => '0'
)
),
(int) 19 => array(
'PlayerHitZone' => array(
'id' => '7186',
'bodypart_id' => '8',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '28',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '8',
'name' => 'left_leg_lower',
'kills' => '493',
'teamkills' => '29',
'suicides' => '0'
)
),
(int) 20 => array(
'PlayerHitZone' => array(
'id' => '7187',
'bodypart_id' => '8',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '8',
'name' => 'left_leg_lower',
'kills' => '493',
'teamkills' => '29',
'suicides' => '0'
)
),
(int) 21 => array(
'PlayerHitZone' => array(
'id' => '7188',
'bodypart_id' => '5',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '4',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '5',
'name' => 'right_arm_upper',
'kills' => '517',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 22 => array(
'PlayerHitZone' => array(
'id' => '7189',
'bodypart_id' => '5',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '5',
'name' => 'right_arm_upper',
'kills' => '517',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 23 => array(
'PlayerHitZone' => array(
'id' => '7190',
'bodypart_id' => '1',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '22',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '1',
'name' => 'torso_upper',
'kills' => '2306',
'teamkills' => '23',
'suicides' => '0'
)
),
(int) 24 => array(
'PlayerHitZone' => array(
'id' => '7191',
'bodypart_id' => '1',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '1',
'name' => 'torso_upper',
'kills' => '2306',
'teamkills' => '23',
'suicides' => '0'
)
),
(int) 25 => array(
'PlayerHitZone' => array(
'id' => '7192',
'bodypart_id' => '3',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '7',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '3',
'name' => 'left_leg_upper',
'kills' => '1172',
'teamkills' => '8',
'suicides' => '0'
)
),
(int) 26 => array(
'PlayerHitZone' => array(
'id' => '8652',
'bodypart_id' => '7',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '7',
'name' => 'neck',
'kills' => '382',
'teamkills' => '2',
'suicides' => '0'
)
)
)
$hitZone = array(
'PlayerHitZone' => array(
'id' => '8652',
'bodypart_id' => '7',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '7',
'name' => 'neck',
'kills' => '382',
'teamkills' => '2',
'suicides' => '0'
)
)
$kills = array(
(int) 0 => '0',
(int) 1 => '0',
(int) 2 => '0',
(int) 3 => '0',
(int) 4 => '0',
(int) 5 => '0',
(int) 6 => '0',
(int) 7 => '0',
(int) 8 => '0',
(int) 9 => '0',
(int) 10 => '0',
(int) 11 => '0',
(int) 12 => '0',
(int) 13 => '0',
(int) 14 => '0',
(int) 15 => '0',
(int) 16 => '0',
(int) 17 => '0',
(int) 18 => '0',
(int) 19 => '0',
(int) 20 => '0',
(int) 21 => '0',
(int) 22 => '0',
(int) 23 => '0',
(int) 24 => '0',
(int) 25 => '0',
(int) 26 => '0'
)
$totalKills = (int) 0
$n = (int) 27
$i = (int) 8
$percentage = false
PlayerHitZonesController::view() - APP\Controller\PlayerHitZonesController.php, line 39
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE\Cake\Controller\Controller.php, line 499
Dispatcher::_invoke() - CORE\Cake\Routing\Dispatcher.php, line 193
Dispatcher::dispatch() - CORE\Cake\Routing\Dispatcher.php, line 167
[main] - APP\webroot\index.php, line 97
Warning (2): Division by zero [APP\Controller\PlayerHitZonesController.php, line 39]Code Context $n = count($hitZones);
for ($i = 0; $i < $n; $i++) {
$percentage = $hitZones[$i]['PlayerHitZone']['kills'] / $totalKills;
$playerID = '1181'
$hitZones = array(
(int) 0 => array(
'PlayerHitZone' => array(
'id' => '7181',
'bodypart_id' => '4',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '26',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '4',
'name' => 'head',
'kills' => '1547',
'teamkills' => '27',
'suicides' => '1'
)
),
(int) 1 => array(
'PlayerHitZone' => array(
'id' => '7196',
'bodypart_id' => '2',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '24',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '2',
'name' => 'torso_lower',
'kills' => '6088',
'teamkills' => '25',
'suicides' => '0'
)
),
(int) 2 => array(
'PlayerHitZone' => array(
'id' => '7197',
'bodypart_id' => '2',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '2',
'name' => 'torso_lower',
'kills' => '6088',
'teamkills' => '25',
'suicides' => '0'
)
),
(int) 3 => array(
'PlayerHitZone' => array(
'id' => '8643',
'bodypart_id' => '16',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '0',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '16',
'name' => 'left_hand',
'kills' => '103',
'teamkills' => '1',
'suicides' => '0'
)
),
(int) 4 => array(
'PlayerHitZone' => array(
'id' => '8644',
'bodypart_id' => '16',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '16',
'name' => 'left_hand',
'kills' => '103',
'teamkills' => '1',
'suicides' => '0'
)
),
(int) 5 => array(
'PlayerHitZone' => array(
'id' => '8645',
'bodypart_id' => '15',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '3',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '15',
'name' => 'left_arm_upper',
'kills' => '380',
'teamkills' => '4',
'suicides' => '0'
)
),
(int) 6 => array(
'PlayerHitZone' => array(
'id' => '8646',
'bodypart_id' => '15',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '15',
'name' => 'left_arm_upper',
'kills' => '380',
'teamkills' => '4',
'suicides' => '0'
)
),
(int) 7 => array(
'PlayerHitZone' => array(
'id' => '8647',
'bodypart_id' => '13',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '13',
'name' => 'left_foot',
'kills' => '88',
'teamkills' => '2',
'suicides' => '0'
)
),
(int) 8 => array(
'PlayerHitZone' => array(
'id' => '8648',
'bodypart_id' => '13',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '13',
'name' => 'left_foot',
'kills' => '88',
'teamkills' => '2',
'suicides' => '0'
)
),
(int) 9 => array(
'PlayerHitZone' => array(
'id' => '8649',
'bodypart_id' => '6',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '2',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '6',
'name' => 'left_arm_lower',
'kills' => '453',
'teamkills' => '3',
'suicides' => '0'
)
),
(int) 10 => array(
'PlayerHitZone' => array(
'id' => '8650',
'bodypart_id' => '6',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '6',
'name' => 'left_arm_lower',
'kills' => '453',
'teamkills' => '3',
'suicides' => '0'
)
),
(int) 11 => array(
'PlayerHitZone' => array(
'id' => '8651',
'bodypart_id' => '7',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '7',
'name' => 'neck',
'kills' => '382',
'teamkills' => '2',
'suicides' => '0'
)
),
(int) 12 => array(
'PlayerHitZone' => array(
'id' => '7195',
'bodypart_id' => '14',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '14',
'name' => 'right_foot',
'kills' => '113',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 13 => array(
'PlayerHitZone' => array(
'id' => '7194',
'bodypart_id' => '14',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '4',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '14',
'name' => 'right_foot',
'kills' => '113',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 14 => array(
'PlayerHitZone' => array(
'id' => '7193',
'bodypart_id' => '3',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '3',
'name' => 'left_leg_upper',
'kills' => '1172',
'teamkills' => '8',
'suicides' => '0'
)
),
(int) 15 => array(
'PlayerHitZone' => array(
'id' => '7182',
'bodypart_id' => '4',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '4',
'name' => 'head',
'kills' => '1547',
'teamkills' => '27',
'suicides' => '1'
)
),
(int) 16 => array(
'PlayerHitZone' => array(
'id' => '7183',
'bodypart_id' => '9',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '5',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '9',
'name' => 'right_leg_upper',
'kills' => '1130',
'teamkills' => '6',
'suicides' => '0'
)
),
(int) 17 => array(
'PlayerHitZone' => array(
'id' => '7184',
'bodypart_id' => '10',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '15',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '10',
'name' => 'right_leg_lower',
'kills' => '468',
'teamkills' => '16',
'suicides' => '0'
)
),
(int) 18 => array(
'PlayerHitZone' => array(
'id' => '7185',
'bodypart_id' => '10',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '10',
'name' => 'right_leg_lower',
'kills' => '468',
'teamkills' => '16',
'suicides' => '0'
)
),
(int) 19 => array(
'PlayerHitZone' => array(
'id' => '7186',
'bodypart_id' => '8',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '28',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '8',
'name' => 'left_leg_lower',
'kills' => '493',
'teamkills' => '29',
'suicides' => '0'
)
),
(int) 20 => array(
'PlayerHitZone' => array(
'id' => '7187',
'bodypart_id' => '8',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '8',
'name' => 'left_leg_lower',
'kills' => '493',
'teamkills' => '29',
'suicides' => '0'
)
),
(int) 21 => array(
'PlayerHitZone' => array(
'id' => '7188',
'bodypart_id' => '5',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '4',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '5',
'name' => 'right_arm_upper',
'kills' => '517',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 22 => array(
'PlayerHitZone' => array(
'id' => '7189',
'bodypart_id' => '5',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '5',
'name' => 'right_arm_upper',
'kills' => '517',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 23 => array(
'PlayerHitZone' => array(
'id' => '7190',
'bodypart_id' => '1',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '22',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '1',
'name' => 'torso_upper',
'kills' => '2306',
'teamkills' => '23',
'suicides' => '0'
)
),
(int) 24 => array(
'PlayerHitZone' => array(
'id' => '7191',
'bodypart_id' => '1',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '1',
'name' => 'torso_upper',
'kills' => '2306',
'teamkills' => '23',
'suicides' => '0'
)
),
(int) 25 => array(
'PlayerHitZone' => array(
'id' => '7192',
'bodypart_id' => '3',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '7',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '3',
'name' => 'left_leg_upper',
'kills' => '1172',
'teamkills' => '8',
'suicides' => '0'
)
),
(int) 26 => array(
'PlayerHitZone' => array(
'id' => '8652',
'bodypart_id' => '7',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '7',
'name' => 'neck',
'kills' => '382',
'teamkills' => '2',
'suicides' => '0'
)
)
)
$hitZone = array(
'PlayerHitZone' => array(
'id' => '8652',
'bodypart_id' => '7',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '7',
'name' => 'neck',
'kills' => '382',
'teamkills' => '2',
'suicides' => '0'
)
)
$kills = array(
(int) 0 => '0',
(int) 1 => '0',
(int) 2 => '0',
(int) 3 => '0',
(int) 4 => '0',
(int) 5 => '0',
(int) 6 => '0',
(int) 7 => '0',
(int) 8 => '0',
(int) 9 => '0',
(int) 10 => '0',
(int) 11 => '0',
(int) 12 => '0',
(int) 13 => '0',
(int) 14 => '0',
(int) 15 => '0',
(int) 16 => '0',
(int) 17 => '0',
(int) 18 => '0',
(int) 19 => '0',
(int) 20 => '0',
(int) 21 => '0',
(int) 22 => '0',
(int) 23 => '0',
(int) 24 => '0',
(int) 25 => '0',
(int) 26 => '0'
)
$totalKills = (int) 0
$n = (int) 27
$i = (int) 9
$percentage = false
PlayerHitZonesController::view() - APP\Controller\PlayerHitZonesController.php, line 39
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE\Cake\Controller\Controller.php, line 499
Dispatcher::_invoke() - CORE\Cake\Routing\Dispatcher.php, line 193
Dispatcher::dispatch() - CORE\Cake\Routing\Dispatcher.php, line 167
[main] - APP\webroot\index.php, line 97
Warning (2): Division by zero [APP\Controller\PlayerHitZonesController.php, line 39]Code Context $n = count($hitZones);
for ($i = 0; $i < $n; $i++) {
$percentage = $hitZones[$i]['PlayerHitZone']['kills'] / $totalKills;
$playerID = '1181'
$hitZones = array(
(int) 0 => array(
'PlayerHitZone' => array(
'id' => '7181',
'bodypart_id' => '4',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '26',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '4',
'name' => 'head',
'kills' => '1547',
'teamkills' => '27',
'suicides' => '1'
)
),
(int) 1 => array(
'PlayerHitZone' => array(
'id' => '7196',
'bodypart_id' => '2',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '24',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '2',
'name' => 'torso_lower',
'kills' => '6088',
'teamkills' => '25',
'suicides' => '0'
)
),
(int) 2 => array(
'PlayerHitZone' => array(
'id' => '7197',
'bodypart_id' => '2',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '2',
'name' => 'torso_lower',
'kills' => '6088',
'teamkills' => '25',
'suicides' => '0'
)
),
(int) 3 => array(
'PlayerHitZone' => array(
'id' => '8643',
'bodypart_id' => '16',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '0',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '16',
'name' => 'left_hand',
'kills' => '103',
'teamkills' => '1',
'suicides' => '0'
)
),
(int) 4 => array(
'PlayerHitZone' => array(
'id' => '8644',
'bodypart_id' => '16',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '16',
'name' => 'left_hand',
'kills' => '103',
'teamkills' => '1',
'suicides' => '0'
)
),
(int) 5 => array(
'PlayerHitZone' => array(
'id' => '8645',
'bodypart_id' => '15',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '3',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '15',
'name' => 'left_arm_upper',
'kills' => '380',
'teamkills' => '4',
'suicides' => '0'
)
),
(int) 6 => array(
'PlayerHitZone' => array(
'id' => '8646',
'bodypart_id' => '15',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '15',
'name' => 'left_arm_upper',
'kills' => '380',
'teamkills' => '4',
'suicides' => '0'
)
),
(int) 7 => array(
'PlayerHitZone' => array(
'id' => '8647',
'bodypart_id' => '13',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '13',
'name' => 'left_foot',
'kills' => '88',
'teamkills' => '2',
'suicides' => '0'
)
),
(int) 8 => array(
'PlayerHitZone' => array(
'id' => '8648',
'bodypart_id' => '13',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '13',
'name' => 'left_foot',
'kills' => '88',
'teamkills' => '2',
'suicides' => '0'
)
),
(int) 9 => array(
'PlayerHitZone' => array(
'id' => '8649',
'bodypart_id' => '6',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '2',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '6',
'name' => 'left_arm_lower',
'kills' => '453',
'teamkills' => '3',
'suicides' => '0'
)
),
(int) 10 => array(
'PlayerHitZone' => array(
'id' => '8650',
'bodypart_id' => '6',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '6',
'name' => 'left_arm_lower',
'kills' => '453',
'teamkills' => '3',
'suicides' => '0'
)
),
(int) 11 => array(
'PlayerHitZone' => array(
'id' => '8651',
'bodypart_id' => '7',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '7',
'name' => 'neck',
'kills' => '382',
'teamkills' => '2',
'suicides' => '0'
)
),
(int) 12 => array(
'PlayerHitZone' => array(
'id' => '7195',
'bodypart_id' => '14',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '14',
'name' => 'right_foot',
'kills' => '113',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 13 => array(
'PlayerHitZone' => array(
'id' => '7194',
'bodypart_id' => '14',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '4',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '14',
'name' => 'right_foot',
'kills' => '113',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 14 => array(
'PlayerHitZone' => array(
'id' => '7193',
'bodypart_id' => '3',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '3',
'name' => 'left_leg_upper',
'kills' => '1172',
'teamkills' => '8',
'suicides' => '0'
)
),
(int) 15 => array(
'PlayerHitZone' => array(
'id' => '7182',
'bodypart_id' => '4',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '4',
'name' => 'head',
'kills' => '1547',
'teamkills' => '27',
'suicides' => '1'
)
),
(int) 16 => array(
'PlayerHitZone' => array(
'id' => '7183',
'bodypart_id' => '9',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '5',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '9',
'name' => 'right_leg_upper',
'kills' => '1130',
'teamkills' => '6',
'suicides' => '0'
)
),
(int) 17 => array(
'PlayerHitZone' => array(
'id' => '7184',
'bodypart_id' => '10',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '15',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '10',
'name' => 'right_leg_lower',
'kills' => '468',
'teamkills' => '16',
'suicides' => '0'
)
),
(int) 18 => array(
'PlayerHitZone' => array(
'id' => '7185',
'bodypart_id' => '10',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '10',
'name' => 'right_leg_lower',
'kills' => '468',
'teamkills' => '16',
'suicides' => '0'
)
),
(int) 19 => array(
'PlayerHitZone' => array(
'id' => '7186',
'bodypart_id' => '8',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '28',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '8',
'name' => 'left_leg_lower',
'kills' => '493',
'teamkills' => '29',
'suicides' => '0'
)
),
(int) 20 => array(
'PlayerHitZone' => array(
'id' => '7187',
'bodypart_id' => '8',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '8',
'name' => 'left_leg_lower',
'kills' => '493',
'teamkills' => '29',
'suicides' => '0'
)
),
(int) 21 => array(
'PlayerHitZone' => array(
'id' => '7188',
'bodypart_id' => '5',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '4',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '5',
'name' => 'right_arm_upper',
'kills' => '517',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 22 => array(
'PlayerHitZone' => array(
'id' => '7189',
'bodypart_id' => '5',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '5',
'name' => 'right_arm_upper',
'kills' => '517',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 23 => array(
'PlayerHitZone' => array(
'id' => '7190',
'bodypart_id' => '1',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '22',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '1',
'name' => 'torso_upper',
'kills' => '2306',
'teamkills' => '23',
'suicides' => '0'
)
),
(int) 24 => array(
'PlayerHitZone' => array(
'id' => '7191',
'bodypart_id' => '1',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '1',
'name' => 'torso_upper',
'kills' => '2306',
'teamkills' => '23',
'suicides' => '0'
)
),
(int) 25 => array(
'PlayerHitZone' => array(
'id' => '7192',
'bodypart_id' => '3',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '7',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '3',
'name' => 'left_leg_upper',
'kills' => '1172',
'teamkills' => '8',
'suicides' => '0'
)
),
(int) 26 => array(
'PlayerHitZone' => array(
'id' => '8652',
'bodypart_id' => '7',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '7',
'name' => 'neck',
'kills' => '382',
'teamkills' => '2',
'suicides' => '0'
)
)
)
$hitZone = array(
'PlayerHitZone' => array(
'id' => '8652',
'bodypart_id' => '7',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '7',
'name' => 'neck',
'kills' => '382',
'teamkills' => '2',
'suicides' => '0'
)
)
$kills = array(
(int) 0 => '0',
(int) 1 => '0',
(int) 2 => '0',
(int) 3 => '0',
(int) 4 => '0',
(int) 5 => '0',
(int) 6 => '0',
(int) 7 => '0',
(int) 8 => '0',
(int) 9 => '0',
(int) 10 => '0',
(int) 11 => '0',
(int) 12 => '0',
(int) 13 => '0',
(int) 14 => '0',
(int) 15 => '0',
(int) 16 => '0',
(int) 17 => '0',
(int) 18 => '0',
(int) 19 => '0',
(int) 20 => '0',
(int) 21 => '0',
(int) 22 => '0',
(int) 23 => '0',
(int) 24 => '0',
(int) 25 => '0',
(int) 26 => '0'
)
$totalKills = (int) 0
$n = (int) 27
$i = (int) 10
$percentage = false
PlayerHitZonesController::view() - APP\Controller\PlayerHitZonesController.php, line 39
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE\Cake\Controller\Controller.php, line 499
Dispatcher::_invoke() - CORE\Cake\Routing\Dispatcher.php, line 193
Dispatcher::dispatch() - CORE\Cake\Routing\Dispatcher.php, line 167
[main] - APP\webroot\index.php, line 97
Warning (2): Division by zero [APP\Controller\PlayerHitZonesController.php, line 39]Code Context $n = count($hitZones);
for ($i = 0; $i < $n; $i++) {
$percentage = $hitZones[$i]['PlayerHitZone']['kills'] / $totalKills;
$playerID = '1181'
$hitZones = array(
(int) 0 => array(
'PlayerHitZone' => array(
'id' => '7181',
'bodypart_id' => '4',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '26',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '4',
'name' => 'head',
'kills' => '1547',
'teamkills' => '27',
'suicides' => '1'
)
),
(int) 1 => array(
'PlayerHitZone' => array(
'id' => '7196',
'bodypart_id' => '2',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '24',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '2',
'name' => 'torso_lower',
'kills' => '6088',
'teamkills' => '25',
'suicides' => '0'
)
),
(int) 2 => array(
'PlayerHitZone' => array(
'id' => '7197',
'bodypart_id' => '2',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '2',
'name' => 'torso_lower',
'kills' => '6088',
'teamkills' => '25',
'suicides' => '0'
)
),
(int) 3 => array(
'PlayerHitZone' => array(
'id' => '8643',
'bodypart_id' => '16',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '0',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '16',
'name' => 'left_hand',
'kills' => '103',
'teamkills' => '1',
'suicides' => '0'
)
),
(int) 4 => array(
'PlayerHitZone' => array(
'id' => '8644',
'bodypart_id' => '16',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '16',
'name' => 'left_hand',
'kills' => '103',
'teamkills' => '1',
'suicides' => '0'
)
),
(int) 5 => array(
'PlayerHitZone' => array(
'id' => '8645',
'bodypart_id' => '15',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '3',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '15',
'name' => 'left_arm_upper',
'kills' => '380',
'teamkills' => '4',
'suicides' => '0'
)
),
(int) 6 => array(
'PlayerHitZone' => array(
'id' => '8646',
'bodypart_id' => '15',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '15',
'name' => 'left_arm_upper',
'kills' => '380',
'teamkills' => '4',
'suicides' => '0'
)
),
(int) 7 => array(
'PlayerHitZone' => array(
'id' => '8647',
'bodypart_id' => '13',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '13',
'name' => 'left_foot',
'kills' => '88',
'teamkills' => '2',
'suicides' => '0'
)
),
(int) 8 => array(
'PlayerHitZone' => array(
'id' => '8648',
'bodypart_id' => '13',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '13',
'name' => 'left_foot',
'kills' => '88',
'teamkills' => '2',
'suicides' => '0'
)
),
(int) 9 => array(
'PlayerHitZone' => array(
'id' => '8649',
'bodypart_id' => '6',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '2',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '6',
'name' => 'left_arm_lower',
'kills' => '453',
'teamkills' => '3',
'suicides' => '0'
)
),
(int) 10 => array(
'PlayerHitZone' => array(
'id' => '8650',
'bodypart_id' => '6',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '6',
'name' => 'left_arm_lower',
'kills' => '453',
'teamkills' => '3',
'suicides' => '0'
)
),
(int) 11 => array(
'PlayerHitZone' => array(
'id' => '8651',
'bodypart_id' => '7',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '7',
'name' => 'neck',
'kills' => '382',
'teamkills' => '2',
'suicides' => '0'
)
),
(int) 12 => array(
'PlayerHitZone' => array(
'id' => '7195',
'bodypart_id' => '14',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '14',
'name' => 'right_foot',
'kills' => '113',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 13 => array(
'PlayerHitZone' => array(
'id' => '7194',
'bodypart_id' => '14',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '4',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '14',
'name' => 'right_foot',
'kills' => '113',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 14 => array(
'PlayerHitZone' => array(
'id' => '7193',
'bodypart_id' => '3',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '3',
'name' => 'left_leg_upper',
'kills' => '1172',
'teamkills' => '8',
'suicides' => '0'
)
),
(int) 15 => array(
'PlayerHitZone' => array(
'id' => '7182',
'bodypart_id' => '4',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '4',
'name' => 'head',
'kills' => '1547',
'teamkills' => '27',
'suicides' => '1'
)
),
(int) 16 => array(
'PlayerHitZone' => array(
'id' => '7183',
'bodypart_id' => '9',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '5',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '9',
'name' => 'right_leg_upper',
'kills' => '1130',
'teamkills' => '6',
'suicides' => '0'
)
),
(int) 17 => array(
'PlayerHitZone' => array(
'id' => '7184',
'bodypart_id' => '10',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '15',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '10',
'name' => 'right_leg_lower',
'kills' => '468',
'teamkills' => '16',
'suicides' => '0'
)
),
(int) 18 => array(
'PlayerHitZone' => array(
'id' => '7185',
'bodypart_id' => '10',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '10',
'name' => 'right_leg_lower',
'kills' => '468',
'teamkills' => '16',
'suicides' => '0'
)
),
(int) 19 => array(
'PlayerHitZone' => array(
'id' => '7186',
'bodypart_id' => '8',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '28',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '8',
'name' => 'left_leg_lower',
'kills' => '493',
'teamkills' => '29',
'suicides' => '0'
)
),
(int) 20 => array(
'PlayerHitZone' => array(
'id' => '7187',
'bodypart_id' => '8',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '8',
'name' => 'left_leg_lower',
'kills' => '493',
'teamkills' => '29',
'suicides' => '0'
)
),
(int) 21 => array(
'PlayerHitZone' => array(
'id' => '7188',
'bodypart_id' => '5',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '4',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '5',
'name' => 'right_arm_upper',
'kills' => '517',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 22 => array(
'PlayerHitZone' => array(
'id' => '7189',
'bodypart_id' => '5',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '5',
'name' => 'right_arm_upper',
'kills' => '517',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 23 => array(
'PlayerHitZone' => array(
'id' => '7190',
'bodypart_id' => '1',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '22',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '1',
'name' => 'torso_upper',
'kills' => '2306',
'teamkills' => '23',
'suicides' => '0'
)
),
(int) 24 => array(
'PlayerHitZone' => array(
'id' => '7191',
'bodypart_id' => '1',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '1',
'name' => 'torso_upper',
'kills' => '2306',
'teamkills' => '23',
'suicides' => '0'
)
),
(int) 25 => array(
'PlayerHitZone' => array(
'id' => '7192',
'bodypart_id' => '3',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '7',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '3',
'name' => 'left_leg_upper',
'kills' => '1172',
'teamkills' => '8',
'suicides' => '0'
)
),
(int) 26 => array(
'PlayerHitZone' => array(
'id' => '8652',
'bodypart_id' => '7',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '7',
'name' => 'neck',
'kills' => '382',
'teamkills' => '2',
'suicides' => '0'
)
)
)
$hitZone = array(
'PlayerHitZone' => array(
'id' => '8652',
'bodypart_id' => '7',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '7',
'name' => 'neck',
'kills' => '382',
'teamkills' => '2',
'suicides' => '0'
)
)
$kills = array(
(int) 0 => '0',
(int) 1 => '0',
(int) 2 => '0',
(int) 3 => '0',
(int) 4 => '0',
(int) 5 => '0',
(int) 6 => '0',
(int) 7 => '0',
(int) 8 => '0',
(int) 9 => '0',
(int) 10 => '0',
(int) 11 => '0',
(int) 12 => '0',
(int) 13 => '0',
(int) 14 => '0',
(int) 15 => '0',
(int) 16 => '0',
(int) 17 => '0',
(int) 18 => '0',
(int) 19 => '0',
(int) 20 => '0',
(int) 21 => '0',
(int) 22 => '0',
(int) 23 => '0',
(int) 24 => '0',
(int) 25 => '0',
(int) 26 => '0'
)
$totalKills = (int) 0
$n = (int) 27
$i = (int) 11
$percentage = false
PlayerHitZonesController::view() - APP\Controller\PlayerHitZonesController.php, line 39
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE\Cake\Controller\Controller.php, line 499
Dispatcher::_invoke() - CORE\Cake\Routing\Dispatcher.php, line 193
Dispatcher::dispatch() - CORE\Cake\Routing\Dispatcher.php, line 167
[main] - APP\webroot\index.php, line 97
Warning (2): Division by zero [APP\Controller\PlayerHitZonesController.php, line 39]Code Context $n = count($hitZones);
for ($i = 0; $i < $n; $i++) {
$percentage = $hitZones[$i]['PlayerHitZone']['kills'] / $totalKills;
$playerID = '1181'
$hitZones = array(
(int) 0 => array(
'PlayerHitZone' => array(
'id' => '7181',
'bodypart_id' => '4',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '26',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '4',
'name' => 'head',
'kills' => '1547',
'teamkills' => '27',
'suicides' => '1'
)
),
(int) 1 => array(
'PlayerHitZone' => array(
'id' => '7196',
'bodypart_id' => '2',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '24',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '2',
'name' => 'torso_lower',
'kills' => '6088',
'teamkills' => '25',
'suicides' => '0'
)
),
(int) 2 => array(
'PlayerHitZone' => array(
'id' => '7197',
'bodypart_id' => '2',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '2',
'name' => 'torso_lower',
'kills' => '6088',
'teamkills' => '25',
'suicides' => '0'
)
),
(int) 3 => array(
'PlayerHitZone' => array(
'id' => '8643',
'bodypart_id' => '16',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '0',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '16',
'name' => 'left_hand',
'kills' => '103',
'teamkills' => '1',
'suicides' => '0'
)
),
(int) 4 => array(
'PlayerHitZone' => array(
'id' => '8644',
'bodypart_id' => '16',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '16',
'name' => 'left_hand',
'kills' => '103',
'teamkills' => '1',
'suicides' => '0'
)
),
(int) 5 => array(
'PlayerHitZone' => array(
'id' => '8645',
'bodypart_id' => '15',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '3',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '15',
'name' => 'left_arm_upper',
'kills' => '380',
'teamkills' => '4',
'suicides' => '0'
)
),
(int) 6 => array(
'PlayerHitZone' => array(
'id' => '8646',
'bodypart_id' => '15',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '15',
'name' => 'left_arm_upper',
'kills' => '380',
'teamkills' => '4',
'suicides' => '0'
)
),
(int) 7 => array(
'PlayerHitZone' => array(
'id' => '8647',
'bodypart_id' => '13',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '13',
'name' => 'left_foot',
'kills' => '88',
'teamkills' => '2',
'suicides' => '0'
)
),
(int) 8 => array(
'PlayerHitZone' => array(
'id' => '8648',
'bodypart_id' => '13',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '13',
'name' => 'left_foot',
'kills' => '88',
'teamkills' => '2',
'suicides' => '0'
)
),
(int) 9 => array(
'PlayerHitZone' => array(
'id' => '8649',
'bodypart_id' => '6',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '2',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '6',
'name' => 'left_arm_lower',
'kills' => '453',
'teamkills' => '3',
'suicides' => '0'
)
),
(int) 10 => array(
'PlayerHitZone' => array(
'id' => '8650',
'bodypart_id' => '6',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '6',
'name' => 'left_arm_lower',
'kills' => '453',
'teamkills' => '3',
'suicides' => '0'
)
),
(int) 11 => array(
'PlayerHitZone' => array(
'id' => '8651',
'bodypart_id' => '7',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '7',
'name' => 'neck',
'kills' => '382',
'teamkills' => '2',
'suicides' => '0'
)
),
(int) 12 => array(
'PlayerHitZone' => array(
'id' => '7195',
'bodypart_id' => '14',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '14',
'name' => 'right_foot',
'kills' => '113',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 13 => array(
'PlayerHitZone' => array(
'id' => '7194',
'bodypart_id' => '14',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '4',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '14',
'name' => 'right_foot',
'kills' => '113',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 14 => array(
'PlayerHitZone' => array(
'id' => '7193',
'bodypart_id' => '3',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '3',
'name' => 'left_leg_upper',
'kills' => '1172',
'teamkills' => '8',
'suicides' => '0'
)
),
(int) 15 => array(
'PlayerHitZone' => array(
'id' => '7182',
'bodypart_id' => '4',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '4',
'name' => 'head',
'kills' => '1547',
'teamkills' => '27',
'suicides' => '1'
)
),
(int) 16 => array(
'PlayerHitZone' => array(
'id' => '7183',
'bodypart_id' => '9',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '5',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '9',
'name' => 'right_leg_upper',
'kills' => '1130',
'teamkills' => '6',
'suicides' => '0'
)
),
(int) 17 => array(
'PlayerHitZone' => array(
'id' => '7184',
'bodypart_id' => '10',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '15',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '10',
'name' => 'right_leg_lower',
'kills' => '468',
'teamkills' => '16',
'suicides' => '0'
)
),
(int) 18 => array(
'PlayerHitZone' => array(
'id' => '7185',
'bodypart_id' => '10',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '10',
'name' => 'right_leg_lower',
'kills' => '468',
'teamkills' => '16',
'suicides' => '0'
)
),
(int) 19 => array(
'PlayerHitZone' => array(
'id' => '7186',
'bodypart_id' => '8',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '28',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '8',
'name' => 'left_leg_lower',
'kills' => '493',
'teamkills' => '29',
'suicides' => '0'
)
),
(int) 20 => array(
'PlayerHitZone' => array(
'id' => '7187',
'bodypart_id' => '8',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '8',
'name' => 'left_leg_lower',
'kills' => '493',
'teamkills' => '29',
'suicides' => '0'
)
),
(int) 21 => array(
'PlayerHitZone' => array(
'id' => '7188',
'bodypart_id' => '5',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '4',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '5',
'name' => 'right_arm_upper',
'kills' => '517',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 22 => array(
'PlayerHitZone' => array(
'id' => '7189',
'bodypart_id' => '5',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '5',
'name' => 'right_arm_upper',
'kills' => '517',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 23 => array(
'PlayerHitZone' => array(
'id' => '7190',
'bodypart_id' => '1',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '22',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '1',
'name' => 'torso_upper',
'kills' => '2306',
'teamkills' => '23',
'suicides' => '0'
)
),
(int) 24 => array(
'PlayerHitZone' => array(
'id' => '7191',
'bodypart_id' => '1',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '1',
'name' => 'torso_upper',
'kills' => '2306',
'teamkills' => '23',
'suicides' => '0'
)
),
(int) 25 => array(
'PlayerHitZone' => array(
'id' => '7192',
'bodypart_id' => '3',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '7',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '3',
'name' => 'left_leg_upper',
'kills' => '1172',
'teamkills' => '8',
'suicides' => '0'
)
),
(int) 26 => array(
'PlayerHitZone' => array(
'id' => '8652',
'bodypart_id' => '7',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '7',
'name' => 'neck',
'kills' => '382',
'teamkills' => '2',
'suicides' => '0'
)
)
)
$hitZone = array(
'PlayerHitZone' => array(
'id' => '8652',
'bodypart_id' => '7',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '7',
'name' => 'neck',
'kills' => '382',
'teamkills' => '2',
'suicides' => '0'
)
)
$kills = array(
(int) 0 => '0',
(int) 1 => '0',
(int) 2 => '0',
(int) 3 => '0',
(int) 4 => '0',
(int) 5 => '0',
(int) 6 => '0',
(int) 7 => '0',
(int) 8 => '0',
(int) 9 => '0',
(int) 10 => '0',
(int) 11 => '0',
(int) 12 => '0',
(int) 13 => '0',
(int) 14 => '0',
(int) 15 => '0',
(int) 16 => '0',
(int) 17 => '0',
(int) 18 => '0',
(int) 19 => '0',
(int) 20 => '0',
(int) 21 => '0',
(int) 22 => '0',
(int) 23 => '0',
(int) 24 => '0',
(int) 25 => '0',
(int) 26 => '0'
)
$totalKills = (int) 0
$n = (int) 27
$i = (int) 12
$percentage = false
PlayerHitZonesController::view() - APP\Controller\PlayerHitZonesController.php, line 39
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE\Cake\Controller\Controller.php, line 499
Dispatcher::_invoke() - CORE\Cake\Routing\Dispatcher.php, line 193
Dispatcher::dispatch() - CORE\Cake\Routing\Dispatcher.php, line 167
[main] - APP\webroot\index.php, line 97
Warning (2): Division by zero [APP\Controller\PlayerHitZonesController.php, line 39]Code Context $n = count($hitZones);
for ($i = 0; $i < $n; $i++) {
$percentage = $hitZones[$i]['PlayerHitZone']['kills'] / $totalKills;
$playerID = '1181'
$hitZones = array(
(int) 0 => array(
'PlayerHitZone' => array(
'id' => '7181',
'bodypart_id' => '4',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '26',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '4',
'name' => 'head',
'kills' => '1547',
'teamkills' => '27',
'suicides' => '1'
)
),
(int) 1 => array(
'PlayerHitZone' => array(
'id' => '7196',
'bodypart_id' => '2',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '24',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '2',
'name' => 'torso_lower',
'kills' => '6088',
'teamkills' => '25',
'suicides' => '0'
)
),
(int) 2 => array(
'PlayerHitZone' => array(
'id' => '7197',
'bodypart_id' => '2',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '2',
'name' => 'torso_lower',
'kills' => '6088',
'teamkills' => '25',
'suicides' => '0'
)
),
(int) 3 => array(
'PlayerHitZone' => array(
'id' => '8643',
'bodypart_id' => '16',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '0',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '16',
'name' => 'left_hand',
'kills' => '103',
'teamkills' => '1',
'suicides' => '0'
)
),
(int) 4 => array(
'PlayerHitZone' => array(
'id' => '8644',
'bodypart_id' => '16',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '16',
'name' => 'left_hand',
'kills' => '103',
'teamkills' => '1',
'suicides' => '0'
)
),
(int) 5 => array(
'PlayerHitZone' => array(
'id' => '8645',
'bodypart_id' => '15',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '3',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '15',
'name' => 'left_arm_upper',
'kills' => '380',
'teamkills' => '4',
'suicides' => '0'
)
),
(int) 6 => array(
'PlayerHitZone' => array(
'id' => '8646',
'bodypart_id' => '15',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '15',
'name' => 'left_arm_upper',
'kills' => '380',
'teamkills' => '4',
'suicides' => '0'
)
),
(int) 7 => array(
'PlayerHitZone' => array(
'id' => '8647',
'bodypart_id' => '13',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '13',
'name' => 'left_foot',
'kills' => '88',
'teamkills' => '2',
'suicides' => '0'
)
),
(int) 8 => array(
'PlayerHitZone' => array(
'id' => '8648',
'bodypart_id' => '13',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '13',
'name' => 'left_foot',
'kills' => '88',
'teamkills' => '2',
'suicides' => '0'
)
),
(int) 9 => array(
'PlayerHitZone' => array(
'id' => '8649',
'bodypart_id' => '6',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '2',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '6',
'name' => 'left_arm_lower',
'kills' => '453',
'teamkills' => '3',
'suicides' => '0'
)
),
(int) 10 => array(
'PlayerHitZone' => array(
'id' => '8650',
'bodypart_id' => '6',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '6',
'name' => 'left_arm_lower',
'kills' => '453',
'teamkills' => '3',
'suicides' => '0'
)
),
(int) 11 => array(
'PlayerHitZone' => array(
'id' => '8651',
'bodypart_id' => '7',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '7',
'name' => 'neck',
'kills' => '382',
'teamkills' => '2',
'suicides' => '0'
)
),
(int) 12 => array(
'PlayerHitZone' => array(
'id' => '7195',
'bodypart_id' => '14',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '14',
'name' => 'right_foot',
'kills' => '113',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 13 => array(
'PlayerHitZone' => array(
'id' => '7194',
'bodypart_id' => '14',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '4',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '14',
'name' => 'right_foot',
'kills' => '113',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 14 => array(
'PlayerHitZone' => array(
'id' => '7193',
'bodypart_id' => '3',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '3',
'name' => 'left_leg_upper',
'kills' => '1172',
'teamkills' => '8',
'suicides' => '0'
)
),
(int) 15 => array(
'PlayerHitZone' => array(
'id' => '7182',
'bodypart_id' => '4',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '4',
'name' => 'head',
'kills' => '1547',
'teamkills' => '27',
'suicides' => '1'
)
),
(int) 16 => array(
'PlayerHitZone' => array(
'id' => '7183',
'bodypart_id' => '9',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '5',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '9',
'name' => 'right_leg_upper',
'kills' => '1130',
'teamkills' => '6',
'suicides' => '0'
)
),
(int) 17 => array(
'PlayerHitZone' => array(
'id' => '7184',
'bodypart_id' => '10',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '15',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '10',
'name' => 'right_leg_lower',
'kills' => '468',
'teamkills' => '16',
'suicides' => '0'
)
),
(int) 18 => array(
'PlayerHitZone' => array(
'id' => '7185',
'bodypart_id' => '10',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '10',
'name' => 'right_leg_lower',
'kills' => '468',
'teamkills' => '16',
'suicides' => '0'
)
),
(int) 19 => array(
'PlayerHitZone' => array(
'id' => '7186',
'bodypart_id' => '8',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '28',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '8',
'name' => 'left_leg_lower',
'kills' => '493',
'teamkills' => '29',
'suicides' => '0'
)
),
(int) 20 => array(
'PlayerHitZone' => array(
'id' => '7187',
'bodypart_id' => '8',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '8',
'name' => 'left_leg_lower',
'kills' => '493',
'teamkills' => '29',
'suicides' => '0'
)
),
(int) 21 => array(
'PlayerHitZone' => array(
'id' => '7188',
'bodypart_id' => '5',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '4',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '5',
'name' => 'right_arm_upper',
'kills' => '517',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 22 => array(
'PlayerHitZone' => array(
'id' => '7189',
'bodypart_id' => '5',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '5',
'name' => 'right_arm_upper',
'kills' => '517',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 23 => array(
'PlayerHitZone' => array(
'id' => '7190',
'bodypart_id' => '1',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '22',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '1',
'name' => 'torso_upper',
'kills' => '2306',
'teamkills' => '23',
'suicides' => '0'
)
),
(int) 24 => array(
'PlayerHitZone' => array(
'id' => '7191',
'bodypart_id' => '1',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '1',
'name' => 'torso_upper',
'kills' => '2306',
'teamkills' => '23',
'suicides' => '0'
)
),
(int) 25 => array(
'PlayerHitZone' => array(
'id' => '7192',
'bodypart_id' => '3',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '7',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '3',
'name' => 'left_leg_upper',
'kills' => '1172',
'teamkills' => '8',
'suicides' => '0'
)
),
(int) 26 => array(
'PlayerHitZone' => array(
'id' => '8652',
'bodypart_id' => '7',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '7',
'name' => 'neck',
'kills' => '382',
'teamkills' => '2',
'suicides' => '0'
)
)
)
$hitZone = array(
'PlayerHitZone' => array(
'id' => '8652',
'bodypart_id' => '7',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '7',
'name' => 'neck',
'kills' => '382',
'teamkills' => '2',
'suicides' => '0'
)
)
$kills = array(
(int) 0 => '0',
(int) 1 => '0',
(int) 2 => '0',
(int) 3 => '0',
(int) 4 => '0',
(int) 5 => '0',
(int) 6 => '0',
(int) 7 => '0',
(int) 8 => '0',
(int) 9 => '0',
(int) 10 => '0',
(int) 11 => '0',
(int) 12 => '0',
(int) 13 => '0',
(int) 14 => '0',
(int) 15 => '0',
(int) 16 => '0',
(int) 17 => '0',
(int) 18 => '0',
(int) 19 => '0',
(int) 20 => '0',
(int) 21 => '0',
(int) 22 => '0',
(int) 23 => '0',
(int) 24 => '0',
(int) 25 => '0',
(int) 26 => '0'
)
$totalKills = (int) 0
$n = (int) 27
$i = (int) 13
$percentage = false
PlayerHitZonesController::view() - APP\Controller\PlayerHitZonesController.php, line 39
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE\Cake\Controller\Controller.php, line 499
Dispatcher::_invoke() - CORE\Cake\Routing\Dispatcher.php, line 193
Dispatcher::dispatch() - CORE\Cake\Routing\Dispatcher.php, line 167
[main] - APP\webroot\index.php, line 97
Warning (2): Division by zero [APP\Controller\PlayerHitZonesController.php, line 39]Code Context $n = count($hitZones);
for ($i = 0; $i < $n; $i++) {
$percentage = $hitZones[$i]['PlayerHitZone']['kills'] / $totalKills;
$playerID = '1181'
$hitZones = array(
(int) 0 => array(
'PlayerHitZone' => array(
'id' => '7181',
'bodypart_id' => '4',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '26',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '4',
'name' => 'head',
'kills' => '1547',
'teamkills' => '27',
'suicides' => '1'
)
),
(int) 1 => array(
'PlayerHitZone' => array(
'id' => '7196',
'bodypart_id' => '2',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '24',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '2',
'name' => 'torso_lower',
'kills' => '6088',
'teamkills' => '25',
'suicides' => '0'
)
),
(int) 2 => array(
'PlayerHitZone' => array(
'id' => '7197',
'bodypart_id' => '2',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '2',
'name' => 'torso_lower',
'kills' => '6088',
'teamkills' => '25',
'suicides' => '0'
)
),
(int) 3 => array(
'PlayerHitZone' => array(
'id' => '8643',
'bodypart_id' => '16',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '0',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '16',
'name' => 'left_hand',
'kills' => '103',
'teamkills' => '1',
'suicides' => '0'
)
),
(int) 4 => array(
'PlayerHitZone' => array(
'id' => '8644',
'bodypart_id' => '16',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '16',
'name' => 'left_hand',
'kills' => '103',
'teamkills' => '1',
'suicides' => '0'
)
),
(int) 5 => array(
'PlayerHitZone' => array(
'id' => '8645',
'bodypart_id' => '15',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '3',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '15',
'name' => 'left_arm_upper',
'kills' => '380',
'teamkills' => '4',
'suicides' => '0'
)
),
(int) 6 => array(
'PlayerHitZone' => array(
'id' => '8646',
'bodypart_id' => '15',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '15',
'name' => 'left_arm_upper',
'kills' => '380',
'teamkills' => '4',
'suicides' => '0'
)
),
(int) 7 => array(
'PlayerHitZone' => array(
'id' => '8647',
'bodypart_id' => '13',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '13',
'name' => 'left_foot',
'kills' => '88',
'teamkills' => '2',
'suicides' => '0'
)
),
(int) 8 => array(
'PlayerHitZone' => array(
'id' => '8648',
'bodypart_id' => '13',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '13',
'name' => 'left_foot',
'kills' => '88',
'teamkills' => '2',
'suicides' => '0'
)
),
(int) 9 => array(
'PlayerHitZone' => array(
'id' => '8649',
'bodypart_id' => '6',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '2',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '6',
'name' => 'left_arm_lower',
'kills' => '453',
'teamkills' => '3',
'suicides' => '0'
)
),
(int) 10 => array(
'PlayerHitZone' => array(
'id' => '8650',
'bodypart_id' => '6',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '6',
'name' => 'left_arm_lower',
'kills' => '453',
'teamkills' => '3',
'suicides' => '0'
)
),
(int) 11 => array(
'PlayerHitZone' => array(
'id' => '8651',
'bodypart_id' => '7',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '7',
'name' => 'neck',
'kills' => '382',
'teamkills' => '2',
'suicides' => '0'
)
),
(int) 12 => array(
'PlayerHitZone' => array(
'id' => '7195',
'bodypart_id' => '14',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '14',
'name' => 'right_foot',
'kills' => '113',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 13 => array(
'PlayerHitZone' => array(
'id' => '7194',
'bodypart_id' => '14',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '4',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '14',
'name' => 'right_foot',
'kills' => '113',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 14 => array(
'PlayerHitZone' => array(
'id' => '7193',
'bodypart_id' => '3',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '3',
'name' => 'left_leg_upper',
'kills' => '1172',
'teamkills' => '8',
'suicides' => '0'
)
),
(int) 15 => array(
'PlayerHitZone' => array(
'id' => '7182',
'bodypart_id' => '4',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '4',
'name' => 'head',
'kills' => '1547',
'teamkills' => '27',
'suicides' => '1'
)
),
(int) 16 => array(
'PlayerHitZone' => array(
'id' => '7183',
'bodypart_id' => '9',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '5',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '9',
'name' => 'right_leg_upper',
'kills' => '1130',
'teamkills' => '6',
'suicides' => '0'
)
),
(int) 17 => array(
'PlayerHitZone' => array(
'id' => '7184',
'bodypart_id' => '10',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '15',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '10',
'name' => 'right_leg_lower',
'kills' => '468',
'teamkills' => '16',
'suicides' => '0'
)
),
(int) 18 => array(
'PlayerHitZone' => array(
'id' => '7185',
'bodypart_id' => '10',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '10',
'name' => 'right_leg_lower',
'kills' => '468',
'teamkills' => '16',
'suicides' => '0'
)
),
(int) 19 => array(
'PlayerHitZone' => array(
'id' => '7186',
'bodypart_id' => '8',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '28',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '8',
'name' => 'left_leg_lower',
'kills' => '493',
'teamkills' => '29',
'suicides' => '0'
)
),
(int) 20 => array(
'PlayerHitZone' => array(
'id' => '7187',
'bodypart_id' => '8',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '8',
'name' => 'left_leg_lower',
'kills' => '493',
'teamkills' => '29',
'suicides' => '0'
)
),
(int) 21 => array(
'PlayerHitZone' => array(
'id' => '7188',
'bodypart_id' => '5',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '4',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '5',
'name' => 'right_arm_upper',
'kills' => '517',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 22 => array(
'PlayerHitZone' => array(
'id' => '7189',
'bodypart_id' => '5',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '5',
'name' => 'right_arm_upper',
'kills' => '517',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 23 => array(
'PlayerHitZone' => array(
'id' => '7190',
'bodypart_id' => '1',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '22',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '1',
'name' => 'torso_upper',
'kills' => '2306',
'teamkills' => '23',
'suicides' => '0'
)
),
(int) 24 => array(
'PlayerHitZone' => array(
'id' => '7191',
'bodypart_id' => '1',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '1',
'name' => 'torso_upper',
'kills' => '2306',
'teamkills' => '23',
'suicides' => '0'
)
),
(int) 25 => array(
'PlayerHitZone' => array(
'id' => '7192',
'bodypart_id' => '3',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '7',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '3',
'name' => 'left_leg_upper',
'kills' => '1172',
'teamkills' => '8',
'suicides' => '0'
)
),
(int) 26 => array(
'PlayerHitZone' => array(
'id' => '8652',
'bodypart_id' => '7',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '7',
'name' => 'neck',
'kills' => '382',
'teamkills' => '2',
'suicides' => '0'
)
)
)
$hitZone = array(
'PlayerHitZone' => array(
'id' => '8652',
'bodypart_id' => '7',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '7',
'name' => 'neck',
'kills' => '382',
'teamkills' => '2',
'suicides' => '0'
)
)
$kills = array(
(int) 0 => '0',
(int) 1 => '0',
(int) 2 => '0',
(int) 3 => '0',
(int) 4 => '0',
(int) 5 => '0',
(int) 6 => '0',
(int) 7 => '0',
(int) 8 => '0',
(int) 9 => '0',
(int) 10 => '0',
(int) 11 => '0',
(int) 12 => '0',
(int) 13 => '0',
(int) 14 => '0',
(int) 15 => '0',
(int) 16 => '0',
(int) 17 => '0',
(int) 18 => '0',
(int) 19 => '0',
(int) 20 => '0',
(int) 21 => '0',
(int) 22 => '0',
(int) 23 => '0',
(int) 24 => '0',
(int) 25 => '0',
(int) 26 => '0'
)
$totalKills = (int) 0
$n = (int) 27
$i = (int) 14
$percentage = false
PlayerHitZonesController::view() - APP\Controller\PlayerHitZonesController.php, line 39
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE\Cake\Controller\Controller.php, line 499
Dispatcher::_invoke() - CORE\Cake\Routing\Dispatcher.php, line 193
Dispatcher::dispatch() - CORE\Cake\Routing\Dispatcher.php, line 167
[main] - APP\webroot\index.php, line 97
Warning (2): Division by zero [APP\Controller\PlayerHitZonesController.php, line 39]Code Context $n = count($hitZones);
for ($i = 0; $i < $n; $i++) {
$percentage = $hitZones[$i]['PlayerHitZone']['kills'] / $totalKills;
$playerID = '1181'
$hitZones = array(
(int) 0 => array(
'PlayerHitZone' => array(
'id' => '7181',
'bodypart_id' => '4',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '26',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '4',
'name' => 'head',
'kills' => '1547',
'teamkills' => '27',
'suicides' => '1'
)
),
(int) 1 => array(
'PlayerHitZone' => array(
'id' => '7196',
'bodypart_id' => '2',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '24',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '2',
'name' => 'torso_lower',
'kills' => '6088',
'teamkills' => '25',
'suicides' => '0'
)
),
(int) 2 => array(
'PlayerHitZone' => array(
'id' => '7197',
'bodypart_id' => '2',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '2',
'name' => 'torso_lower',
'kills' => '6088',
'teamkills' => '25',
'suicides' => '0'
)
),
(int) 3 => array(
'PlayerHitZone' => array(
'id' => '8643',
'bodypart_id' => '16',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '0',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '16',
'name' => 'left_hand',
'kills' => '103',
'teamkills' => '1',
'suicides' => '0'
)
),
(int) 4 => array(
'PlayerHitZone' => array(
'id' => '8644',
'bodypart_id' => '16',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '16',
'name' => 'left_hand',
'kills' => '103',
'teamkills' => '1',
'suicides' => '0'
)
),
(int) 5 => array(
'PlayerHitZone' => array(
'id' => '8645',
'bodypart_id' => '15',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '3',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '15',
'name' => 'left_arm_upper',
'kills' => '380',
'teamkills' => '4',
'suicides' => '0'
)
),
(int) 6 => array(
'PlayerHitZone' => array(
'id' => '8646',
'bodypart_id' => '15',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '15',
'name' => 'left_arm_upper',
'kills' => '380',
'teamkills' => '4',
'suicides' => '0'
)
),
(int) 7 => array(
'PlayerHitZone' => array(
'id' => '8647',
'bodypart_id' => '13',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '13',
'name' => 'left_foot',
'kills' => '88',
'teamkills' => '2',
'suicides' => '0'
)
),
(int) 8 => array(
'PlayerHitZone' => array(
'id' => '8648',
'bodypart_id' => '13',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '13',
'name' => 'left_foot',
'kills' => '88',
'teamkills' => '2',
'suicides' => '0'
)
),
(int) 9 => array(
'PlayerHitZone' => array(
'id' => '8649',
'bodypart_id' => '6',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '2',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '6',
'name' => 'left_arm_lower',
'kills' => '453',
'teamkills' => '3',
'suicides' => '0'
)
),
(int) 10 => array(
'PlayerHitZone' => array(
'id' => '8650',
'bodypart_id' => '6',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '6',
'name' => 'left_arm_lower',
'kills' => '453',
'teamkills' => '3',
'suicides' => '0'
)
),
(int) 11 => array(
'PlayerHitZone' => array(
'id' => '8651',
'bodypart_id' => '7',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '7',
'name' => 'neck',
'kills' => '382',
'teamkills' => '2',
'suicides' => '0'
)
),
(int) 12 => array(
'PlayerHitZone' => array(
'id' => '7195',
'bodypart_id' => '14',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '14',
'name' => 'right_foot',
'kills' => '113',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 13 => array(
'PlayerHitZone' => array(
'id' => '7194',
'bodypart_id' => '14',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '4',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '14',
'name' => 'right_foot',
'kills' => '113',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 14 => array(
'PlayerHitZone' => array(
'id' => '7193',
'bodypart_id' => '3',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '3',
'name' => 'left_leg_upper',
'kills' => '1172',
'teamkills' => '8',
'suicides' => '0'
)
),
(int) 15 => array(
'PlayerHitZone' => array(
'id' => '7182',
'bodypart_id' => '4',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '4',
'name' => 'head',
'kills' => '1547',
'teamkills' => '27',
'suicides' => '1'
)
),
(int) 16 => array(
'PlayerHitZone' => array(
'id' => '7183',
'bodypart_id' => '9',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '5',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '9',
'name' => 'right_leg_upper',
'kills' => '1130',
'teamkills' => '6',
'suicides' => '0'
)
),
(int) 17 => array(
'PlayerHitZone' => array(
'id' => '7184',
'bodypart_id' => '10',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '15',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '10',
'name' => 'right_leg_lower',
'kills' => '468',
'teamkills' => '16',
'suicides' => '0'
)
),
(int) 18 => array(
'PlayerHitZone' => array(
'id' => '7185',
'bodypart_id' => '10',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '10',
'name' => 'right_leg_lower',
'kills' => '468',
'teamkills' => '16',
'suicides' => '0'
)
),
(int) 19 => array(
'PlayerHitZone' => array(
'id' => '7186',
'bodypart_id' => '8',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '28',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '8',
'name' => 'left_leg_lower',
'kills' => '493',
'teamkills' => '29',
'suicides' => '0'
)
),
(int) 20 => array(
'PlayerHitZone' => array(
'id' => '7187',
'bodypart_id' => '8',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '8',
'name' => 'left_leg_lower',
'kills' => '493',
'teamkills' => '29',
'suicides' => '0'
)
),
(int) 21 => array(
'PlayerHitZone' => array(
'id' => '7188',
'bodypart_id' => '5',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '4',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '5',
'name' => 'right_arm_upper',
'kills' => '517',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 22 => array(
'PlayerHitZone' => array(
'id' => '7189',
'bodypart_id' => '5',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '5',
'name' => 'right_arm_upper',
'kills' => '517',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 23 => array(
'PlayerHitZone' => array(
'id' => '7190',
'bodypart_id' => '1',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '22',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '1',
'name' => 'torso_upper',
'kills' => '2306',
'teamkills' => '23',
'suicides' => '0'
)
),
(int) 24 => array(
'PlayerHitZone' => array(
'id' => '7191',
'bodypart_id' => '1',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '1',
'name' => 'torso_upper',
'kills' => '2306',
'teamkills' => '23',
'suicides' => '0'
)
),
(int) 25 => array(
'PlayerHitZone' => array(
'id' => '7192',
'bodypart_id' => '3',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '7',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '3',
'name' => 'left_leg_upper',
'kills' => '1172',
'teamkills' => '8',
'suicides' => '0'
)
),
(int) 26 => array(
'PlayerHitZone' => array(
'id' => '8652',
'bodypart_id' => '7',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '7',
'name' => 'neck',
'kills' => '382',
'teamkills' => '2',
'suicides' => '0'
)
)
)
$hitZone = array(
'PlayerHitZone' => array(
'id' => '8652',
'bodypart_id' => '7',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '7',
'name' => 'neck',
'kills' => '382',
'teamkills' => '2',
'suicides' => '0'
)
)
$kills = array(
(int) 0 => '0',
(int) 1 => '0',
(int) 2 => '0',
(int) 3 => '0',
(int) 4 => '0',
(int) 5 => '0',
(int) 6 => '0',
(int) 7 => '0',
(int) 8 => '0',
(int) 9 => '0',
(int) 10 => '0',
(int) 11 => '0',
(int) 12 => '0',
(int) 13 => '0',
(int) 14 => '0',
(int) 15 => '0',
(int) 16 => '0',
(int) 17 => '0',
(int) 18 => '0',
(int) 19 => '0',
(int) 20 => '0',
(int) 21 => '0',
(int) 22 => '0',
(int) 23 => '0',
(int) 24 => '0',
(int) 25 => '0',
(int) 26 => '0'
)
$totalKills = (int) 0
$n = (int) 27
$i = (int) 15
$percentage = false
PlayerHitZonesController::view() - APP\Controller\PlayerHitZonesController.php, line 39
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE\Cake\Controller\Controller.php, line 499
Dispatcher::_invoke() - CORE\Cake\Routing\Dispatcher.php, line 193
Dispatcher::dispatch() - CORE\Cake\Routing\Dispatcher.php, line 167
[main] - APP\webroot\index.php, line 97
Warning (2): Division by zero [APP\Controller\PlayerHitZonesController.php, line 39]Code Context $n = count($hitZones);
for ($i = 0; $i < $n; $i++) {
$percentage = $hitZones[$i]['PlayerHitZone']['kills'] / $totalKills;
$playerID = '1181'
$hitZones = array(
(int) 0 => array(
'PlayerHitZone' => array(
'id' => '7181',
'bodypart_id' => '4',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '26',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '4',
'name' => 'head',
'kills' => '1547',
'teamkills' => '27',
'suicides' => '1'
)
),
(int) 1 => array(
'PlayerHitZone' => array(
'id' => '7196',
'bodypart_id' => '2',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '24',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '2',
'name' => 'torso_lower',
'kills' => '6088',
'teamkills' => '25',
'suicides' => '0'
)
),
(int) 2 => array(
'PlayerHitZone' => array(
'id' => '7197',
'bodypart_id' => '2',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '2',
'name' => 'torso_lower',
'kills' => '6088',
'teamkills' => '25',
'suicides' => '0'
)
),
(int) 3 => array(
'PlayerHitZone' => array(
'id' => '8643',
'bodypart_id' => '16',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '0',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '16',
'name' => 'left_hand',
'kills' => '103',
'teamkills' => '1',
'suicides' => '0'
)
),
(int) 4 => array(
'PlayerHitZone' => array(
'id' => '8644',
'bodypart_id' => '16',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '16',
'name' => 'left_hand',
'kills' => '103',
'teamkills' => '1',
'suicides' => '0'
)
),
(int) 5 => array(
'PlayerHitZone' => array(
'id' => '8645',
'bodypart_id' => '15',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '3',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '15',
'name' => 'left_arm_upper',
'kills' => '380',
'teamkills' => '4',
'suicides' => '0'
)
),
(int) 6 => array(
'PlayerHitZone' => array(
'id' => '8646',
'bodypart_id' => '15',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '15',
'name' => 'left_arm_upper',
'kills' => '380',
'teamkills' => '4',
'suicides' => '0'
)
),
(int) 7 => array(
'PlayerHitZone' => array(
'id' => '8647',
'bodypart_id' => '13',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '13',
'name' => 'left_foot',
'kills' => '88',
'teamkills' => '2',
'suicides' => '0'
)
),
(int) 8 => array(
'PlayerHitZone' => array(
'id' => '8648',
'bodypart_id' => '13',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '13',
'name' => 'left_foot',
'kills' => '88',
'teamkills' => '2',
'suicides' => '0'
)
),
(int) 9 => array(
'PlayerHitZone' => array(
'id' => '8649',
'bodypart_id' => '6',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '2',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '6',
'name' => 'left_arm_lower',
'kills' => '453',
'teamkills' => '3',
'suicides' => '0'
)
),
(int) 10 => array(
'PlayerHitZone' => array(
'id' => '8650',
'bodypart_id' => '6',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '6',
'name' => 'left_arm_lower',
'kills' => '453',
'teamkills' => '3',
'suicides' => '0'
)
),
(int) 11 => array(
'PlayerHitZone' => array(
'id' => '8651',
'bodypart_id' => '7',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '7',
'name' => 'neck',
'kills' => '382',
'teamkills' => '2',
'suicides' => '0'
)
),
(int) 12 => array(
'PlayerHitZone' => array(
'id' => '7195',
'bodypart_id' => '14',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '14',
'name' => 'right_foot',
'kills' => '113',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 13 => array(
'PlayerHitZone' => array(
'id' => '7194',
'bodypart_id' => '14',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '4',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '14',
'name' => 'right_foot',
'kills' => '113',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 14 => array(
'PlayerHitZone' => array(
'id' => '7193',
'bodypart_id' => '3',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '3',
'name' => 'left_leg_upper',
'kills' => '1172',
'teamkills' => '8',
'suicides' => '0'
)
),
(int) 15 => array(
'PlayerHitZone' => array(
'id' => '7182',
'bodypart_id' => '4',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '4',
'name' => 'head',
'kills' => '1547',
'teamkills' => '27',
'suicides' => '1'
)
),
(int) 16 => array(
'PlayerHitZone' => array(
'id' => '7183',
'bodypart_id' => '9',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '5',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '9',
'name' => 'right_leg_upper',
'kills' => '1130',
'teamkills' => '6',
'suicides' => '0'
)
),
(int) 17 => array(
'PlayerHitZone' => array(
'id' => '7184',
'bodypart_id' => '10',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '15',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '10',
'name' => 'right_leg_lower',
'kills' => '468',
'teamkills' => '16',
'suicides' => '0'
)
),
(int) 18 => array(
'PlayerHitZone' => array(
'id' => '7185',
'bodypart_id' => '10',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '10',
'name' => 'right_leg_lower',
'kills' => '468',
'teamkills' => '16',
'suicides' => '0'
)
),
(int) 19 => array(
'PlayerHitZone' => array(
'id' => '7186',
'bodypart_id' => '8',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '28',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '8',
'name' => 'left_leg_lower',
'kills' => '493',
'teamkills' => '29',
'suicides' => '0'
)
),
(int) 20 => array(
'PlayerHitZone' => array(
'id' => '7187',
'bodypart_id' => '8',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '8',
'name' => 'left_leg_lower',
'kills' => '493',
'teamkills' => '29',
'suicides' => '0'
)
),
(int) 21 => array(
'PlayerHitZone' => array(
'id' => '7188',
'bodypart_id' => '5',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '4',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '5',
'name' => 'right_arm_upper',
'kills' => '517',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 22 => array(
'PlayerHitZone' => array(
'id' => '7189',
'bodypart_id' => '5',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '5',
'name' => 'right_arm_upper',
'kills' => '517',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 23 => array(
'PlayerHitZone' => array(
'id' => '7190',
'bodypart_id' => '1',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '22',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '1',
'name' => 'torso_upper',
'kills' => '2306',
'teamkills' => '23',
'suicides' => '0'
)
),
(int) 24 => array(
'PlayerHitZone' => array(
'id' => '7191',
'bodypart_id' => '1',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '1',
'name' => 'torso_upper',
'kills' => '2306',
'teamkills' => '23',
'suicides' => '0'
)
),
(int) 25 => array(
'PlayerHitZone' => array(
'id' => '7192',
'bodypart_id' => '3',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '7',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '3',
'name' => 'left_leg_upper',
'kills' => '1172',
'teamkills' => '8',
'suicides' => '0'
)
),
(int) 26 => array(
'PlayerHitZone' => array(
'id' => '8652',
'bodypart_id' => '7',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '7',
'name' => 'neck',
'kills' => '382',
'teamkills' => '2',
'suicides' => '0'
)
)
)
$hitZone = array(
'PlayerHitZone' => array(
'id' => '8652',
'bodypart_id' => '7',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '7',
'name' => 'neck',
'kills' => '382',
'teamkills' => '2',
'suicides' => '0'
)
)
$kills = array(
(int) 0 => '0',
(int) 1 => '0',
(int) 2 => '0',
(int) 3 => '0',
(int) 4 => '0',
(int) 5 => '0',
(int) 6 => '0',
(int) 7 => '0',
(int) 8 => '0',
(int) 9 => '0',
(int) 10 => '0',
(int) 11 => '0',
(int) 12 => '0',
(int) 13 => '0',
(int) 14 => '0',
(int) 15 => '0',
(int) 16 => '0',
(int) 17 => '0',
(int) 18 => '0',
(int) 19 => '0',
(int) 20 => '0',
(int) 21 => '0',
(int) 22 => '0',
(int) 23 => '0',
(int) 24 => '0',
(int) 25 => '0',
(int) 26 => '0'
)
$totalKills = (int) 0
$n = (int) 27
$i = (int) 16
$percentage = false
PlayerHitZonesController::view() - APP\Controller\PlayerHitZonesController.php, line 39
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE\Cake\Controller\Controller.php, line 499
Dispatcher::_invoke() - CORE\Cake\Routing\Dispatcher.php, line 193
Dispatcher::dispatch() - CORE\Cake\Routing\Dispatcher.php, line 167
[main] - APP\webroot\index.php, line 97
Warning (2): Division by zero [APP\Controller\PlayerHitZonesController.php, line 39]Code Context $n = count($hitZones);
for ($i = 0; $i < $n; $i++) {
$percentage = $hitZones[$i]['PlayerHitZone']['kills'] / $totalKills;
$playerID = '1181'
$hitZones = array(
(int) 0 => array(
'PlayerHitZone' => array(
'id' => '7181',
'bodypart_id' => '4',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '26',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '4',
'name' => 'head',
'kills' => '1547',
'teamkills' => '27',
'suicides' => '1'
)
),
(int) 1 => array(
'PlayerHitZone' => array(
'id' => '7196',
'bodypart_id' => '2',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '24',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '2',
'name' => 'torso_lower',
'kills' => '6088',
'teamkills' => '25',
'suicides' => '0'
)
),
(int) 2 => array(
'PlayerHitZone' => array(
'id' => '7197',
'bodypart_id' => '2',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '2',
'name' => 'torso_lower',
'kills' => '6088',
'teamkills' => '25',
'suicides' => '0'
)
),
(int) 3 => array(
'PlayerHitZone' => array(
'id' => '8643',
'bodypart_id' => '16',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '0',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '16',
'name' => 'left_hand',
'kills' => '103',
'teamkills' => '1',
'suicides' => '0'
)
),
(int) 4 => array(
'PlayerHitZone' => array(
'id' => '8644',
'bodypart_id' => '16',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '16',
'name' => 'left_hand',
'kills' => '103',
'teamkills' => '1',
'suicides' => '0'
)
),
(int) 5 => array(
'PlayerHitZone' => array(
'id' => '8645',
'bodypart_id' => '15',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '3',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '15',
'name' => 'left_arm_upper',
'kills' => '380',
'teamkills' => '4',
'suicides' => '0'
)
),
(int) 6 => array(
'PlayerHitZone' => array(
'id' => '8646',
'bodypart_id' => '15',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '15',
'name' => 'left_arm_upper',
'kills' => '380',
'teamkills' => '4',
'suicides' => '0'
)
),
(int) 7 => array(
'PlayerHitZone' => array(
'id' => '8647',
'bodypart_id' => '13',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '13',
'name' => 'left_foot',
'kills' => '88',
'teamkills' => '2',
'suicides' => '0'
)
),
(int) 8 => array(
'PlayerHitZone' => array(
'id' => '8648',
'bodypart_id' => '13',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '13',
'name' => 'left_foot',
'kills' => '88',
'teamkills' => '2',
'suicides' => '0'
)
),
(int) 9 => array(
'PlayerHitZone' => array(
'id' => '8649',
'bodypart_id' => '6',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '2',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '6',
'name' => 'left_arm_lower',
'kills' => '453',
'teamkills' => '3',
'suicides' => '0'
)
),
(int) 10 => array(
'PlayerHitZone' => array(
'id' => '8650',
'bodypart_id' => '6',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '6',
'name' => 'left_arm_lower',
'kills' => '453',
'teamkills' => '3',
'suicides' => '0'
)
),
(int) 11 => array(
'PlayerHitZone' => array(
'id' => '8651',
'bodypart_id' => '7',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '7',
'name' => 'neck',
'kills' => '382',
'teamkills' => '2',
'suicides' => '0'
)
),
(int) 12 => array(
'PlayerHitZone' => array(
'id' => '7195',
'bodypart_id' => '14',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '14',
'name' => 'right_foot',
'kills' => '113',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 13 => array(
'PlayerHitZone' => array(
'id' => '7194',
'bodypart_id' => '14',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '4',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '14',
'name' => 'right_foot',
'kills' => '113',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 14 => array(
'PlayerHitZone' => array(
'id' => '7193',
'bodypart_id' => '3',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '3',
'name' => 'left_leg_upper',
'kills' => '1172',
'teamkills' => '8',
'suicides' => '0'
)
),
(int) 15 => array(
'PlayerHitZone' => array(
'id' => '7182',
'bodypart_id' => '4',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '4',
'name' => 'head',
'kills' => '1547',
'teamkills' => '27',
'suicides' => '1'
)
),
(int) 16 => array(
'PlayerHitZone' => array(
'id' => '7183',
'bodypart_id' => '9',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '5',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '9',
'name' => 'right_leg_upper',
'kills' => '1130',
'teamkills' => '6',
'suicides' => '0'
)
),
(int) 17 => array(
'PlayerHitZone' => array(
'id' => '7184',
'bodypart_id' => '10',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '15',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '10',
'name' => 'right_leg_lower',
'kills' => '468',
'teamkills' => '16',
'suicides' => '0'
)
),
(int) 18 => array(
'PlayerHitZone' => array(
'id' => '7185',
'bodypart_id' => '10',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '10',
'name' => 'right_leg_lower',
'kills' => '468',
'teamkills' => '16',
'suicides' => '0'
)
),
(int) 19 => array(
'PlayerHitZone' => array(
'id' => '7186',
'bodypart_id' => '8',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '28',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '8',
'name' => 'left_leg_lower',
'kills' => '493',
'teamkills' => '29',
'suicides' => '0'
)
),
(int) 20 => array(
'PlayerHitZone' => array(
'id' => '7187',
'bodypart_id' => '8',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '8',
'name' => 'left_leg_lower',
'kills' => '493',
'teamkills' => '29',
'suicides' => '0'
)
),
(int) 21 => array(
'PlayerHitZone' => array(
'id' => '7188',
'bodypart_id' => '5',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '4',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '5',
'name' => 'right_arm_upper',
'kills' => '517',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 22 => array(
'PlayerHitZone' => array(
'id' => '7189',
'bodypart_id' => '5',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '5',
'name' => 'right_arm_upper',
'kills' => '517',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 23 => array(
'PlayerHitZone' => array(
'id' => '7190',
'bodypart_id' => '1',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '22',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '1',
'name' => 'torso_upper',
'kills' => '2306',
'teamkills' => '23',
'suicides' => '0'
)
),
(int) 24 => array(
'PlayerHitZone' => array(
'id' => '7191',
'bodypart_id' => '1',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '1',
'name' => 'torso_upper',
'kills' => '2306',
'teamkills' => '23',
'suicides' => '0'
)
),
(int) 25 => array(
'PlayerHitZone' => array(
'id' => '7192',
'bodypart_id' => '3',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '7',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '3',
'name' => 'left_leg_upper',
'kills' => '1172',
'teamkills' => '8',
'suicides' => '0'
)
),
(int) 26 => array(
'PlayerHitZone' => array(
'id' => '8652',
'bodypart_id' => '7',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '7',
'name' => 'neck',
'kills' => '382',
'teamkills' => '2',
'suicides' => '0'
)
)
)
$hitZone = array(
'PlayerHitZone' => array(
'id' => '8652',
'bodypart_id' => '7',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '7',
'name' => 'neck',
'kills' => '382',
'teamkills' => '2',
'suicides' => '0'
)
)
$kills = array(
(int) 0 => '0',
(int) 1 => '0',
(int) 2 => '0',
(int) 3 => '0',
(int) 4 => '0',
(int) 5 => '0',
(int) 6 => '0',
(int) 7 => '0',
(int) 8 => '0',
(int) 9 => '0',
(int) 10 => '0',
(int) 11 => '0',
(int) 12 => '0',
(int) 13 => '0',
(int) 14 => '0',
(int) 15 => '0',
(int) 16 => '0',
(int) 17 => '0',
(int) 18 => '0',
(int) 19 => '0',
(int) 20 => '0',
(int) 21 => '0',
(int) 22 => '0',
(int) 23 => '0',
(int) 24 => '0',
(int) 25 => '0',
(int) 26 => '0'
)
$totalKills = (int) 0
$n = (int) 27
$i = (int) 17
$percentage = false
PlayerHitZonesController::view() - APP\Controller\PlayerHitZonesController.php, line 39
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE\Cake\Controller\Controller.php, line 499
Dispatcher::_invoke() - CORE\Cake\Routing\Dispatcher.php, line 193
Dispatcher::dispatch() - CORE\Cake\Routing\Dispatcher.php, line 167
[main] - APP\webroot\index.php, line 97
Warning (2): Division by zero [APP\Controller\PlayerHitZonesController.php, line 39]Code Context $n = count($hitZones);
for ($i = 0; $i < $n; $i++) {
$percentage = $hitZones[$i]['PlayerHitZone']['kills'] / $totalKills;
$playerID = '1181'
$hitZones = array(
(int) 0 => array(
'PlayerHitZone' => array(
'id' => '7181',
'bodypart_id' => '4',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '26',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '4',
'name' => 'head',
'kills' => '1547',
'teamkills' => '27',
'suicides' => '1'
)
),
(int) 1 => array(
'PlayerHitZone' => array(
'id' => '7196',
'bodypart_id' => '2',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '24',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '2',
'name' => 'torso_lower',
'kills' => '6088',
'teamkills' => '25',
'suicides' => '0'
)
),
(int) 2 => array(
'PlayerHitZone' => array(
'id' => '7197',
'bodypart_id' => '2',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '2',
'name' => 'torso_lower',
'kills' => '6088',
'teamkills' => '25',
'suicides' => '0'
)
),
(int) 3 => array(
'PlayerHitZone' => array(
'id' => '8643',
'bodypart_id' => '16',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '0',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '16',
'name' => 'left_hand',
'kills' => '103',
'teamkills' => '1',
'suicides' => '0'
)
),
(int) 4 => array(
'PlayerHitZone' => array(
'id' => '8644',
'bodypart_id' => '16',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '16',
'name' => 'left_hand',
'kills' => '103',
'teamkills' => '1',
'suicides' => '0'
)
),
(int) 5 => array(
'PlayerHitZone' => array(
'id' => '8645',
'bodypart_id' => '15',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '3',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '15',
'name' => 'left_arm_upper',
'kills' => '380',
'teamkills' => '4',
'suicides' => '0'
)
),
(int) 6 => array(
'PlayerHitZone' => array(
'id' => '8646',
'bodypart_id' => '15',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '15',
'name' => 'left_arm_upper',
'kills' => '380',
'teamkills' => '4',
'suicides' => '0'
)
),
(int) 7 => array(
'PlayerHitZone' => array(
'id' => '8647',
'bodypart_id' => '13',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '13',
'name' => 'left_foot',
'kills' => '88',
'teamkills' => '2',
'suicides' => '0'
)
),
(int) 8 => array(
'PlayerHitZone' => array(
'id' => '8648',
'bodypart_id' => '13',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '13',
'name' => 'left_foot',
'kills' => '88',
'teamkills' => '2',
'suicides' => '0'
)
),
(int) 9 => array(
'PlayerHitZone' => array(
'id' => '8649',
'bodypart_id' => '6',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '2',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '6',
'name' => 'left_arm_lower',
'kills' => '453',
'teamkills' => '3',
'suicides' => '0'
)
),
(int) 10 => array(
'PlayerHitZone' => array(
'id' => '8650',
'bodypart_id' => '6',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '6',
'name' => 'left_arm_lower',
'kills' => '453',
'teamkills' => '3',
'suicides' => '0'
)
),
(int) 11 => array(
'PlayerHitZone' => array(
'id' => '8651',
'bodypart_id' => '7',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '7',
'name' => 'neck',
'kills' => '382',
'teamkills' => '2',
'suicides' => '0'
)
),
(int) 12 => array(
'PlayerHitZone' => array(
'id' => '7195',
'bodypart_id' => '14',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '14',
'name' => 'right_foot',
'kills' => '113',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 13 => array(
'PlayerHitZone' => array(
'id' => '7194',
'bodypart_id' => '14',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '4',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '14',
'name' => 'right_foot',
'kills' => '113',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 14 => array(
'PlayerHitZone' => array(
'id' => '7193',
'bodypart_id' => '3',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '3',
'name' => 'left_leg_upper',
'kills' => '1172',
'teamkills' => '8',
'suicides' => '0'
)
),
(int) 15 => array(
'PlayerHitZone' => array(
'id' => '7182',
'bodypart_id' => '4',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '4',
'name' => 'head',
'kills' => '1547',
'teamkills' => '27',
'suicides' => '1'
)
),
(int) 16 => array(
'PlayerHitZone' => array(
'id' => '7183',
'bodypart_id' => '9',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '5',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '9',
'name' => 'right_leg_upper',
'kills' => '1130',
'teamkills' => '6',
'suicides' => '0'
)
),
(int) 17 => array(
'PlayerHitZone' => array(
'id' => '7184',
'bodypart_id' => '10',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '15',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '10',
'name' => 'right_leg_lower',
'kills' => '468',
'teamkills' => '16',
'suicides' => '0'
)
),
(int) 18 => array(
'PlayerHitZone' => array(
'id' => '7185',
'bodypart_id' => '10',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '10',
'name' => 'right_leg_lower',
'kills' => '468',
'teamkills' => '16',
'suicides' => '0'
)
),
(int) 19 => array(
'PlayerHitZone' => array(
'id' => '7186',
'bodypart_id' => '8',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '28',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '8',
'name' => 'left_leg_lower',
'kills' => '493',
'teamkills' => '29',
'suicides' => '0'
)
),
(int) 20 => array(
'PlayerHitZone' => array(
'id' => '7187',
'bodypart_id' => '8',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '8',
'name' => 'left_leg_lower',
'kills' => '493',
'teamkills' => '29',
'suicides' => '0'
)
),
(int) 21 => array(
'PlayerHitZone' => array(
'id' => '7188',
'bodypart_id' => '5',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '4',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '5',
'name' => 'right_arm_upper',
'kills' => '517',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 22 => array(
'PlayerHitZone' => array(
'id' => '7189',
'bodypart_id' => '5',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '5',
'name' => 'right_arm_upper',
'kills' => '517',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 23 => array(
'PlayerHitZone' => array(
'id' => '7190',
'bodypart_id' => '1',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '22',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '1',
'name' => 'torso_upper',
'kills' => '2306',
'teamkills' => '23',
'suicides' => '0'
)
),
(int) 24 => array(
'PlayerHitZone' => array(
'id' => '7191',
'bodypart_id' => '1',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '1',
'name' => 'torso_upper',
'kills' => '2306',
'teamkills' => '23',
'suicides' => '0'
)
),
(int) 25 => array(
'PlayerHitZone' => array(
'id' => '7192',
'bodypart_id' => '3',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '7',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '3',
'name' => 'left_leg_upper',
'kills' => '1172',
'teamkills' => '8',
'suicides' => '0'
)
),
(int) 26 => array(
'PlayerHitZone' => array(
'id' => '8652',
'bodypart_id' => '7',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '7',
'name' => 'neck',
'kills' => '382',
'teamkills' => '2',
'suicides' => '0'
)
)
)
$hitZone = array(
'PlayerHitZone' => array(
'id' => '8652',
'bodypart_id' => '7',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '7',
'name' => 'neck',
'kills' => '382',
'teamkills' => '2',
'suicides' => '0'
)
)
$kills = array(
(int) 0 => '0',
(int) 1 => '0',
(int) 2 => '0',
(int) 3 => '0',
(int) 4 => '0',
(int) 5 => '0',
(int) 6 => '0',
(int) 7 => '0',
(int) 8 => '0',
(int) 9 => '0',
(int) 10 => '0',
(int) 11 => '0',
(int) 12 => '0',
(int) 13 => '0',
(int) 14 => '0',
(int) 15 => '0',
(int) 16 => '0',
(int) 17 => '0',
(int) 18 => '0',
(int) 19 => '0',
(int) 20 => '0',
(int) 21 => '0',
(int) 22 => '0',
(int) 23 => '0',
(int) 24 => '0',
(int) 25 => '0',
(int) 26 => '0'
)
$totalKills = (int) 0
$n = (int) 27
$i = (int) 18
$percentage = false
PlayerHitZonesController::view() - APP\Controller\PlayerHitZonesController.php, line 39
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE\Cake\Controller\Controller.php, line 499
Dispatcher::_invoke() - CORE\Cake\Routing\Dispatcher.php, line 193
Dispatcher::dispatch() - CORE\Cake\Routing\Dispatcher.php, line 167
[main] - APP\webroot\index.php, line 97
Warning (2): Division by zero [APP\Controller\PlayerHitZonesController.php, line 39]Code Context $n = count($hitZones);
for ($i = 0; $i < $n; $i++) {
$percentage = $hitZones[$i]['PlayerHitZone']['kills'] / $totalKills;
$playerID = '1181'
$hitZones = array(
(int) 0 => array(
'PlayerHitZone' => array(
'id' => '7181',
'bodypart_id' => '4',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '26',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '4',
'name' => 'head',
'kills' => '1547',
'teamkills' => '27',
'suicides' => '1'
)
),
(int) 1 => array(
'PlayerHitZone' => array(
'id' => '7196',
'bodypart_id' => '2',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '24',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '2',
'name' => 'torso_lower',
'kills' => '6088',
'teamkills' => '25',
'suicides' => '0'
)
),
(int) 2 => array(
'PlayerHitZone' => array(
'id' => '7197',
'bodypart_id' => '2',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '2',
'name' => 'torso_lower',
'kills' => '6088',
'teamkills' => '25',
'suicides' => '0'
)
),
(int) 3 => array(
'PlayerHitZone' => array(
'id' => '8643',
'bodypart_id' => '16',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '0',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '16',
'name' => 'left_hand',
'kills' => '103',
'teamkills' => '1',
'suicides' => '0'
)
),
(int) 4 => array(
'PlayerHitZone' => array(
'id' => '8644',
'bodypart_id' => '16',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '16',
'name' => 'left_hand',
'kills' => '103',
'teamkills' => '1',
'suicides' => '0'
)
),
(int) 5 => array(
'PlayerHitZone' => array(
'id' => '8645',
'bodypart_id' => '15',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '3',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '15',
'name' => 'left_arm_upper',
'kills' => '380',
'teamkills' => '4',
'suicides' => '0'
)
),
(int) 6 => array(
'PlayerHitZone' => array(
'id' => '8646',
'bodypart_id' => '15',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '15',
'name' => 'left_arm_upper',
'kills' => '380',
'teamkills' => '4',
'suicides' => '0'
)
),
(int) 7 => array(
'PlayerHitZone' => array(
'id' => '8647',
'bodypart_id' => '13',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '13',
'name' => 'left_foot',
'kills' => '88',
'teamkills' => '2',
'suicides' => '0'
)
),
(int) 8 => array(
'PlayerHitZone' => array(
'id' => '8648',
'bodypart_id' => '13',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '13',
'name' => 'left_foot',
'kills' => '88',
'teamkills' => '2',
'suicides' => '0'
)
),
(int) 9 => array(
'PlayerHitZone' => array(
'id' => '8649',
'bodypart_id' => '6',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '2',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '6',
'name' => 'left_arm_lower',
'kills' => '453',
'teamkills' => '3',
'suicides' => '0'
)
),
(int) 10 => array(
'PlayerHitZone' => array(
'id' => '8650',
'bodypart_id' => '6',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '6',
'name' => 'left_arm_lower',
'kills' => '453',
'teamkills' => '3',
'suicides' => '0'
)
),
(int) 11 => array(
'PlayerHitZone' => array(
'id' => '8651',
'bodypart_id' => '7',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '7',
'name' => 'neck',
'kills' => '382',
'teamkills' => '2',
'suicides' => '0'
)
),
(int) 12 => array(
'PlayerHitZone' => array(
'id' => '7195',
'bodypart_id' => '14',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '14',
'name' => 'right_foot',
'kills' => '113',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 13 => array(
'PlayerHitZone' => array(
'id' => '7194',
'bodypart_id' => '14',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '4',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '14',
'name' => 'right_foot',
'kills' => '113',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 14 => array(
'PlayerHitZone' => array(
'id' => '7193',
'bodypart_id' => '3',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '3',
'name' => 'left_leg_upper',
'kills' => '1172',
'teamkills' => '8',
'suicides' => '0'
)
),
(int) 15 => array(
'PlayerHitZone' => array(
'id' => '7182',
'bodypart_id' => '4',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '4',
'name' => 'head',
'kills' => '1547',
'teamkills' => '27',
'suicides' => '1'
)
),
(int) 16 => array(
'PlayerHitZone' => array(
'id' => '7183',
'bodypart_id' => '9',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '5',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '9',
'name' => 'right_leg_upper',
'kills' => '1130',
'teamkills' => '6',
'suicides' => '0'
)
),
(int) 17 => array(
'PlayerHitZone' => array(
'id' => '7184',
'bodypart_id' => '10',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '15',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '10',
'name' => 'right_leg_lower',
'kills' => '468',
'teamkills' => '16',
'suicides' => '0'
)
),
(int) 18 => array(
'PlayerHitZone' => array(
'id' => '7185',
'bodypart_id' => '10',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '10',
'name' => 'right_leg_lower',
'kills' => '468',
'teamkills' => '16',
'suicides' => '0'
)
),
(int) 19 => array(
'PlayerHitZone' => array(
'id' => '7186',
'bodypart_id' => '8',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '28',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '8',
'name' => 'left_leg_lower',
'kills' => '493',
'teamkills' => '29',
'suicides' => '0'
)
),
(int) 20 => array(
'PlayerHitZone' => array(
'id' => '7187',
'bodypart_id' => '8',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '8',
'name' => 'left_leg_lower',
'kills' => '493',
'teamkills' => '29',
'suicides' => '0'
)
),
(int) 21 => array(
'PlayerHitZone' => array(
'id' => '7188',
'bodypart_id' => '5',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '4',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '5',
'name' => 'right_arm_upper',
'kills' => '517',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 22 => array(
'PlayerHitZone' => array(
'id' => '7189',
'bodypart_id' => '5',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '5',
'name' => 'right_arm_upper',
'kills' => '517',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 23 => array(
'PlayerHitZone' => array(
'id' => '7190',
'bodypart_id' => '1',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '22',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '1',
'name' => 'torso_upper',
'kills' => '2306',
'teamkills' => '23',
'suicides' => '0'
)
),
(int) 24 => array(
'PlayerHitZone' => array(
'id' => '7191',
'bodypart_id' => '1',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '1',
'name' => 'torso_upper',
'kills' => '2306',
'teamkills' => '23',
'suicides' => '0'
)
),
(int) 25 => array(
'PlayerHitZone' => array(
'id' => '7192',
'bodypart_id' => '3',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '7',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '3',
'name' => 'left_leg_upper',
'kills' => '1172',
'teamkills' => '8',
'suicides' => '0'
)
),
(int) 26 => array(
'PlayerHitZone' => array(
'id' => '8652',
'bodypart_id' => '7',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '7',
'name' => 'neck',
'kills' => '382',
'teamkills' => '2',
'suicides' => '0'
)
)
)
$hitZone = array(
'PlayerHitZone' => array(
'id' => '8652',
'bodypart_id' => '7',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '7',
'name' => 'neck',
'kills' => '382',
'teamkills' => '2',
'suicides' => '0'
)
)
$kills = array(
(int) 0 => '0',
(int) 1 => '0',
(int) 2 => '0',
(int) 3 => '0',
(int) 4 => '0',
(int) 5 => '0',
(int) 6 => '0',
(int) 7 => '0',
(int) 8 => '0',
(int) 9 => '0',
(int) 10 => '0',
(int) 11 => '0',
(int) 12 => '0',
(int) 13 => '0',
(int) 14 => '0',
(int) 15 => '0',
(int) 16 => '0',
(int) 17 => '0',
(int) 18 => '0',
(int) 19 => '0',
(int) 20 => '0',
(int) 21 => '0',
(int) 22 => '0',
(int) 23 => '0',
(int) 24 => '0',
(int) 25 => '0',
(int) 26 => '0'
)
$totalKills = (int) 0
$n = (int) 27
$i = (int) 19
$percentage = false
PlayerHitZonesController::view() - APP\Controller\PlayerHitZonesController.php, line 39
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE\Cake\Controller\Controller.php, line 499
Dispatcher::_invoke() - CORE\Cake\Routing\Dispatcher.php, line 193
Dispatcher::dispatch() - CORE\Cake\Routing\Dispatcher.php, line 167
[main] - APP\webroot\index.php, line 97
Warning (2): Division by zero [APP\Controller\PlayerHitZonesController.php, line 39]Code Context $n = count($hitZones);
for ($i = 0; $i < $n; $i++) {
$percentage = $hitZones[$i]['PlayerHitZone']['kills'] / $totalKills;
$playerID = '1181'
$hitZones = array(
(int) 0 => array(
'PlayerHitZone' => array(
'id' => '7181',
'bodypart_id' => '4',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '26',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '4',
'name' => 'head',
'kills' => '1547',
'teamkills' => '27',
'suicides' => '1'
)
),
(int) 1 => array(
'PlayerHitZone' => array(
'id' => '7196',
'bodypart_id' => '2',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '24',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '2',
'name' => 'torso_lower',
'kills' => '6088',
'teamkills' => '25',
'suicides' => '0'
)
),
(int) 2 => array(
'PlayerHitZone' => array(
'id' => '7197',
'bodypart_id' => '2',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '2',
'name' => 'torso_lower',
'kills' => '6088',
'teamkills' => '25',
'suicides' => '0'
)
),
(int) 3 => array(
'PlayerHitZone' => array(
'id' => '8643',
'bodypart_id' => '16',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '0',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '16',
'name' => 'left_hand',
'kills' => '103',
'teamkills' => '1',
'suicides' => '0'
)
),
(int) 4 => array(
'PlayerHitZone' => array(
'id' => '8644',
'bodypart_id' => '16',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '16',
'name' => 'left_hand',
'kills' => '103',
'teamkills' => '1',
'suicides' => '0'
)
),
(int) 5 => array(
'PlayerHitZone' => array(
'id' => '8645',
'bodypart_id' => '15',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '3',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '15',
'name' => 'left_arm_upper',
'kills' => '380',
'teamkills' => '4',
'suicides' => '0'
)
),
(int) 6 => array(
'PlayerHitZone' => array(
'id' => '8646',
'bodypart_id' => '15',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '15',
'name' => 'left_arm_upper',
'kills' => '380',
'teamkills' => '4',
'suicides' => '0'
)
),
(int) 7 => array(
'PlayerHitZone' => array(
'id' => '8647',
'bodypart_id' => '13',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '13',
'name' => 'left_foot',
'kills' => '88',
'teamkills' => '2',
'suicides' => '0'
)
),
(int) 8 => array(
'PlayerHitZone' => array(
'id' => '8648',
'bodypart_id' => '13',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '13',
'name' => 'left_foot',
'kills' => '88',
'teamkills' => '2',
'suicides' => '0'
)
),
(int) 9 => array(
'PlayerHitZone' => array(
'id' => '8649',
'bodypart_id' => '6',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '2',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '6',
'name' => 'left_arm_lower',
'kills' => '453',
'teamkills' => '3',
'suicides' => '0'
)
),
(int) 10 => array(
'PlayerHitZone' => array(
'id' => '8650',
'bodypart_id' => '6',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '6',
'name' => 'left_arm_lower',
'kills' => '453',
'teamkills' => '3',
'suicides' => '0'
)
),
(int) 11 => array(
'PlayerHitZone' => array(
'id' => '8651',
'bodypart_id' => '7',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '7',
'name' => 'neck',
'kills' => '382',
'teamkills' => '2',
'suicides' => '0'
)
),
(int) 12 => array(
'PlayerHitZone' => array(
'id' => '7195',
'bodypart_id' => '14',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '14',
'name' => 'right_foot',
'kills' => '113',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 13 => array(
'PlayerHitZone' => array(
'id' => '7194',
'bodypart_id' => '14',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '4',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '14',
'name' => 'right_foot',
'kills' => '113',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 14 => array(
'PlayerHitZone' => array(
'id' => '7193',
'bodypart_id' => '3',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '3',
'name' => 'left_leg_upper',
'kills' => '1172',
'teamkills' => '8',
'suicides' => '0'
)
),
(int) 15 => array(
'PlayerHitZone' => array(
'id' => '7182',
'bodypart_id' => '4',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '4',
'name' => 'head',
'kills' => '1547',
'teamkills' => '27',
'suicides' => '1'
)
),
(int) 16 => array(
'PlayerHitZone' => array(
'id' => '7183',
'bodypart_id' => '9',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '5',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '9',
'name' => 'right_leg_upper',
'kills' => '1130',
'teamkills' => '6',
'suicides' => '0'
)
),
(int) 17 => array(
'PlayerHitZone' => array(
'id' => '7184',
'bodypart_id' => '10',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '15',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '10',
'name' => 'right_leg_lower',
'kills' => '468',
'teamkills' => '16',
'suicides' => '0'
)
),
(int) 18 => array(
'PlayerHitZone' => array(
'id' => '7185',
'bodypart_id' => '10',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '10',
'name' => 'right_leg_lower',
'kills' => '468',
'teamkills' => '16',
'suicides' => '0'
)
),
(int) 19 => array(
'PlayerHitZone' => array(
'id' => '7186',
'bodypart_id' => '8',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '28',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '8',
'name' => 'left_leg_lower',
'kills' => '493',
'teamkills' => '29',
'suicides' => '0'
)
),
(int) 20 => array(
'PlayerHitZone' => array(
'id' => '7187',
'bodypart_id' => '8',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '8',
'name' => 'left_leg_lower',
'kills' => '493',
'teamkills' => '29',
'suicides' => '0'
)
),
(int) 21 => array(
'PlayerHitZone' => array(
'id' => '7188',
'bodypart_id' => '5',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '4',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '5',
'name' => 'right_arm_upper',
'kills' => '517',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 22 => array(
'PlayerHitZone' => array(
'id' => '7189',
'bodypart_id' => '5',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '5',
'name' => 'right_arm_upper',
'kills' => '517',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 23 => array(
'PlayerHitZone' => array(
'id' => '7190',
'bodypart_id' => '1',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '22',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '1',
'name' => 'torso_upper',
'kills' => '2306',
'teamkills' => '23',
'suicides' => '0'
)
),
(int) 24 => array(
'PlayerHitZone' => array(
'id' => '7191',
'bodypart_id' => '1',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '1',
'name' => 'torso_upper',
'kills' => '2306',
'teamkills' => '23',
'suicides' => '0'
)
),
(int) 25 => array(
'PlayerHitZone' => array(
'id' => '7192',
'bodypart_id' => '3',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '7',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '3',
'name' => 'left_leg_upper',
'kills' => '1172',
'teamkills' => '8',
'suicides' => '0'
)
),
(int) 26 => array(
'PlayerHitZone' => array(
'id' => '8652',
'bodypart_id' => '7',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '7',
'name' => 'neck',
'kills' => '382',
'teamkills' => '2',
'suicides' => '0'
)
)
)
$hitZone = array(
'PlayerHitZone' => array(
'id' => '8652',
'bodypart_id' => '7',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '7',
'name' => 'neck',
'kills' => '382',
'teamkills' => '2',
'suicides' => '0'
)
)
$kills = array(
(int) 0 => '0',
(int) 1 => '0',
(int) 2 => '0',
(int) 3 => '0',
(int) 4 => '0',
(int) 5 => '0',
(int) 6 => '0',
(int) 7 => '0',
(int) 8 => '0',
(int) 9 => '0',
(int) 10 => '0',
(int) 11 => '0',
(int) 12 => '0',
(int) 13 => '0',
(int) 14 => '0',
(int) 15 => '0',
(int) 16 => '0',
(int) 17 => '0',
(int) 18 => '0',
(int) 19 => '0',
(int) 20 => '0',
(int) 21 => '0',
(int) 22 => '0',
(int) 23 => '0',
(int) 24 => '0',
(int) 25 => '0',
(int) 26 => '0'
)
$totalKills = (int) 0
$n = (int) 27
$i = (int) 20
$percentage = false
PlayerHitZonesController::view() - APP\Controller\PlayerHitZonesController.php, line 39
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE\Cake\Controller\Controller.php, line 499
Dispatcher::_invoke() - CORE\Cake\Routing\Dispatcher.php, line 193
Dispatcher::dispatch() - CORE\Cake\Routing\Dispatcher.php, line 167
[main] - APP\webroot\index.php, line 97
Warning (2): Division by zero [APP\Controller\PlayerHitZonesController.php, line 39]Code Context $n = count($hitZones);
for ($i = 0; $i < $n; $i++) {
$percentage = $hitZones[$i]['PlayerHitZone']['kills'] / $totalKills;
$playerID = '1181'
$hitZones = array(
(int) 0 => array(
'PlayerHitZone' => array(
'id' => '7181',
'bodypart_id' => '4',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '26',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '4',
'name' => 'head',
'kills' => '1547',
'teamkills' => '27',
'suicides' => '1'
)
),
(int) 1 => array(
'PlayerHitZone' => array(
'id' => '7196',
'bodypart_id' => '2',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '24',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '2',
'name' => 'torso_lower',
'kills' => '6088',
'teamkills' => '25',
'suicides' => '0'
)
),
(int) 2 => array(
'PlayerHitZone' => array(
'id' => '7197',
'bodypart_id' => '2',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '2',
'name' => 'torso_lower',
'kills' => '6088',
'teamkills' => '25',
'suicides' => '0'
)
),
(int) 3 => array(
'PlayerHitZone' => array(
'id' => '8643',
'bodypart_id' => '16',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '0',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '16',
'name' => 'left_hand',
'kills' => '103',
'teamkills' => '1',
'suicides' => '0'
)
),
(int) 4 => array(
'PlayerHitZone' => array(
'id' => '8644',
'bodypart_id' => '16',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '16',
'name' => 'left_hand',
'kills' => '103',
'teamkills' => '1',
'suicides' => '0'
)
),
(int) 5 => array(
'PlayerHitZone' => array(
'id' => '8645',
'bodypart_id' => '15',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '3',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '15',
'name' => 'left_arm_upper',
'kills' => '380',
'teamkills' => '4',
'suicides' => '0'
)
),
(int) 6 => array(
'PlayerHitZone' => array(
'id' => '8646',
'bodypart_id' => '15',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '15',
'name' => 'left_arm_upper',
'kills' => '380',
'teamkills' => '4',
'suicides' => '0'
)
),
(int) 7 => array(
'PlayerHitZone' => array(
'id' => '8647',
'bodypart_id' => '13',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '13',
'name' => 'left_foot',
'kills' => '88',
'teamkills' => '2',
'suicides' => '0'
)
),
(int) 8 => array(
'PlayerHitZone' => array(
'id' => '8648',
'bodypart_id' => '13',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '13',
'name' => 'left_foot',
'kills' => '88',
'teamkills' => '2',
'suicides' => '0'
)
),
(int) 9 => array(
'PlayerHitZone' => array(
'id' => '8649',
'bodypart_id' => '6',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '2',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '6',
'name' => 'left_arm_lower',
'kills' => '453',
'teamkills' => '3',
'suicides' => '0'
)
),
(int) 10 => array(
'PlayerHitZone' => array(
'id' => '8650',
'bodypart_id' => '6',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '6',
'name' => 'left_arm_lower',
'kills' => '453',
'teamkills' => '3',
'suicides' => '0'
)
),
(int) 11 => array(
'PlayerHitZone' => array(
'id' => '8651',
'bodypart_id' => '7',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '7',
'name' => 'neck',
'kills' => '382',
'teamkills' => '2',
'suicides' => '0'
)
),
(int) 12 => array(
'PlayerHitZone' => array(
'id' => '7195',
'bodypart_id' => '14',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '14',
'name' => 'right_foot',
'kills' => '113',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 13 => array(
'PlayerHitZone' => array(
'id' => '7194',
'bodypart_id' => '14',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '4',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '14',
'name' => 'right_foot',
'kills' => '113',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 14 => array(
'PlayerHitZone' => array(
'id' => '7193',
'bodypart_id' => '3',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '3',
'name' => 'left_leg_upper',
'kills' => '1172',
'teamkills' => '8',
'suicides' => '0'
)
),
(int) 15 => array(
'PlayerHitZone' => array(
'id' => '7182',
'bodypart_id' => '4',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '4',
'name' => 'head',
'kills' => '1547',
'teamkills' => '27',
'suicides' => '1'
)
),
(int) 16 => array(
'PlayerHitZone' => array(
'id' => '7183',
'bodypart_id' => '9',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '5',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '9',
'name' => 'right_leg_upper',
'kills' => '1130',
'teamkills' => '6',
'suicides' => '0'
)
),
(int) 17 => array(
'PlayerHitZone' => array(
'id' => '7184',
'bodypart_id' => '10',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '15',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '10',
'name' => 'right_leg_lower',
'kills' => '468',
'teamkills' => '16',
'suicides' => '0'
)
),
(int) 18 => array(
'PlayerHitZone' => array(
'id' => '7185',
'bodypart_id' => '10',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '10',
'name' => 'right_leg_lower',
'kills' => '468',
'teamkills' => '16',
'suicides' => '0'
)
),
(int) 19 => array(
'PlayerHitZone' => array(
'id' => '7186',
'bodypart_id' => '8',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '28',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '8',
'name' => 'left_leg_lower',
'kills' => '493',
'teamkills' => '29',
'suicides' => '0'
)
),
(int) 20 => array(
'PlayerHitZone' => array(
'id' => '7187',
'bodypart_id' => '8',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '8',
'name' => 'left_leg_lower',
'kills' => '493',
'teamkills' => '29',
'suicides' => '0'
)
),
(int) 21 => array(
'PlayerHitZone' => array(
'id' => '7188',
'bodypart_id' => '5',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '4',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '5',
'name' => 'right_arm_upper',
'kills' => '517',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 22 => array(
'PlayerHitZone' => array(
'id' => '7189',
'bodypart_id' => '5',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '5',
'name' => 'right_arm_upper',
'kills' => '517',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 23 => array(
'PlayerHitZone' => array(
'id' => '7190',
'bodypart_id' => '1',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '22',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '1',
'name' => 'torso_upper',
'kills' => '2306',
'teamkills' => '23',
'suicides' => '0'
)
),
(int) 24 => array(
'PlayerHitZone' => array(
'id' => '7191',
'bodypart_id' => '1',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '1',
'name' => 'torso_upper',
'kills' => '2306',
'teamkills' => '23',
'suicides' => '0'
)
),
(int) 25 => array(
'PlayerHitZone' => array(
'id' => '7192',
'bodypart_id' => '3',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '7',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '3',
'name' => 'left_leg_upper',
'kills' => '1172',
'teamkills' => '8',
'suicides' => '0'
)
),
(int) 26 => array(
'PlayerHitZone' => array(
'id' => '8652',
'bodypart_id' => '7',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '7',
'name' => 'neck',
'kills' => '382',
'teamkills' => '2',
'suicides' => '0'
)
)
)
$hitZone = array(
'PlayerHitZone' => array(
'id' => '8652',
'bodypart_id' => '7',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '7',
'name' => 'neck',
'kills' => '382',
'teamkills' => '2',
'suicides' => '0'
)
)
$kills = array(
(int) 0 => '0',
(int) 1 => '0',
(int) 2 => '0',
(int) 3 => '0',
(int) 4 => '0',
(int) 5 => '0',
(int) 6 => '0',
(int) 7 => '0',
(int) 8 => '0',
(int) 9 => '0',
(int) 10 => '0',
(int) 11 => '0',
(int) 12 => '0',
(int) 13 => '0',
(int) 14 => '0',
(int) 15 => '0',
(int) 16 => '0',
(int) 17 => '0',
(int) 18 => '0',
(int) 19 => '0',
(int) 20 => '0',
(int) 21 => '0',
(int) 22 => '0',
(int) 23 => '0',
(int) 24 => '0',
(int) 25 => '0',
(int) 26 => '0'
)
$totalKills = (int) 0
$n = (int) 27
$i = (int) 21
$percentage = false
PlayerHitZonesController::view() - APP\Controller\PlayerHitZonesController.php, line 39
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE\Cake\Controller\Controller.php, line 499
Dispatcher::_invoke() - CORE\Cake\Routing\Dispatcher.php, line 193
Dispatcher::dispatch() - CORE\Cake\Routing\Dispatcher.php, line 167
[main] - APP\webroot\index.php, line 97
Warning (2): Division by zero [APP\Controller\PlayerHitZonesController.php, line 39]Code Context $n = count($hitZones);
for ($i = 0; $i < $n; $i++) {
$percentage = $hitZones[$i]['PlayerHitZone']['kills'] / $totalKills;
$playerID = '1181'
$hitZones = array(
(int) 0 => array(
'PlayerHitZone' => array(
'id' => '7181',
'bodypart_id' => '4',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '26',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '4',
'name' => 'head',
'kills' => '1547',
'teamkills' => '27',
'suicides' => '1'
)
),
(int) 1 => array(
'PlayerHitZone' => array(
'id' => '7196',
'bodypart_id' => '2',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '24',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '2',
'name' => 'torso_lower',
'kills' => '6088',
'teamkills' => '25',
'suicides' => '0'
)
),
(int) 2 => array(
'PlayerHitZone' => array(
'id' => '7197',
'bodypart_id' => '2',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '2',
'name' => 'torso_lower',
'kills' => '6088',
'teamkills' => '25',
'suicides' => '0'
)
),
(int) 3 => array(
'PlayerHitZone' => array(
'id' => '8643',
'bodypart_id' => '16',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '0',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '16',
'name' => 'left_hand',
'kills' => '103',
'teamkills' => '1',
'suicides' => '0'
)
),
(int) 4 => array(
'PlayerHitZone' => array(
'id' => '8644',
'bodypart_id' => '16',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '16',
'name' => 'left_hand',
'kills' => '103',
'teamkills' => '1',
'suicides' => '0'
)
),
(int) 5 => array(
'PlayerHitZone' => array(
'id' => '8645',
'bodypart_id' => '15',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '3',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '15',
'name' => 'left_arm_upper',
'kills' => '380',
'teamkills' => '4',
'suicides' => '0'
)
),
(int) 6 => array(
'PlayerHitZone' => array(
'id' => '8646',
'bodypart_id' => '15',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '15',
'name' => 'left_arm_upper',
'kills' => '380',
'teamkills' => '4',
'suicides' => '0'
)
),
(int) 7 => array(
'PlayerHitZone' => array(
'id' => '8647',
'bodypart_id' => '13',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '13',
'name' => 'left_foot',
'kills' => '88',
'teamkills' => '2',
'suicides' => '0'
)
),
(int) 8 => array(
'PlayerHitZone' => array(
'id' => '8648',
'bodypart_id' => '13',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '13',
'name' => 'left_foot',
'kills' => '88',
'teamkills' => '2',
'suicides' => '0'
)
),
(int) 9 => array(
'PlayerHitZone' => array(
'id' => '8649',
'bodypart_id' => '6',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '2',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '6',
'name' => 'left_arm_lower',
'kills' => '453',
'teamkills' => '3',
'suicides' => '0'
)
),
(int) 10 => array(
'PlayerHitZone' => array(
'id' => '8650',
'bodypart_id' => '6',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '6',
'name' => 'left_arm_lower',
'kills' => '453',
'teamkills' => '3',
'suicides' => '0'
)
),
(int) 11 => array(
'PlayerHitZone' => array(
'id' => '8651',
'bodypart_id' => '7',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '7',
'name' => 'neck',
'kills' => '382',
'teamkills' => '2',
'suicides' => '0'
)
),
(int) 12 => array(
'PlayerHitZone' => array(
'id' => '7195',
'bodypart_id' => '14',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '14',
'name' => 'right_foot',
'kills' => '113',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 13 => array(
'PlayerHitZone' => array(
'id' => '7194',
'bodypart_id' => '14',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '4',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '14',
'name' => 'right_foot',
'kills' => '113',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 14 => array(
'PlayerHitZone' => array(
'id' => '7193',
'bodypart_id' => '3',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '3',
'name' => 'left_leg_upper',
'kills' => '1172',
'teamkills' => '8',
'suicides' => '0'
)
),
(int) 15 => array(
'PlayerHitZone' => array(
'id' => '7182',
'bodypart_id' => '4',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '4',
'name' => 'head',
'kills' => '1547',
'teamkills' => '27',
'suicides' => '1'
)
),
(int) 16 => array(
'PlayerHitZone' => array(
'id' => '7183',
'bodypart_id' => '9',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '5',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '9',
'name' => 'right_leg_upper',
'kills' => '1130',
'teamkills' => '6',
'suicides' => '0'
)
),
(int) 17 => array(
'PlayerHitZone' => array(
'id' => '7184',
'bodypart_id' => '10',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '15',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '10',
'name' => 'right_leg_lower',
'kills' => '468',
'teamkills' => '16',
'suicides' => '0'
)
),
(int) 18 => array(
'PlayerHitZone' => array(
'id' => '7185',
'bodypart_id' => '10',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '10',
'name' => 'right_leg_lower',
'kills' => '468',
'teamkills' => '16',
'suicides' => '0'
)
),
(int) 19 => array(
'PlayerHitZone' => array(
'id' => '7186',
'bodypart_id' => '8',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '28',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '8',
'name' => 'left_leg_lower',
'kills' => '493',
'teamkills' => '29',
'suicides' => '0'
)
),
(int) 20 => array(
'PlayerHitZone' => array(
'id' => '7187',
'bodypart_id' => '8',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '8',
'name' => 'left_leg_lower',
'kills' => '493',
'teamkills' => '29',
'suicides' => '0'
)
),
(int) 21 => array(
'PlayerHitZone' => array(
'id' => '7188',
'bodypart_id' => '5',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '4',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '5',
'name' => 'right_arm_upper',
'kills' => '517',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 22 => array(
'PlayerHitZone' => array(
'id' => '7189',
'bodypart_id' => '5',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '5',
'name' => 'right_arm_upper',
'kills' => '517',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 23 => array(
'PlayerHitZone' => array(
'id' => '7190',
'bodypart_id' => '1',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '22',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '1',
'name' => 'torso_upper',
'kills' => '2306',
'teamkills' => '23',
'suicides' => '0'
)
),
(int) 24 => array(
'PlayerHitZone' => array(
'id' => '7191',
'bodypart_id' => '1',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '1',
'name' => 'torso_upper',
'kills' => '2306',
'teamkills' => '23',
'suicides' => '0'
)
),
(int) 25 => array(
'PlayerHitZone' => array(
'id' => '7192',
'bodypart_id' => '3',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '7',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '3',
'name' => 'left_leg_upper',
'kills' => '1172',
'teamkills' => '8',
'suicides' => '0'
)
),
(int) 26 => array(
'PlayerHitZone' => array(
'id' => '8652',
'bodypart_id' => '7',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '7',
'name' => 'neck',
'kills' => '382',
'teamkills' => '2',
'suicides' => '0'
)
)
)
$hitZone = array(
'PlayerHitZone' => array(
'id' => '8652',
'bodypart_id' => '7',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '7',
'name' => 'neck',
'kills' => '382',
'teamkills' => '2',
'suicides' => '0'
)
)
$kills = array(
(int) 0 => '0',
(int) 1 => '0',
(int) 2 => '0',
(int) 3 => '0',
(int) 4 => '0',
(int) 5 => '0',
(int) 6 => '0',
(int) 7 => '0',
(int) 8 => '0',
(int) 9 => '0',
(int) 10 => '0',
(int) 11 => '0',
(int) 12 => '0',
(int) 13 => '0',
(int) 14 => '0',
(int) 15 => '0',
(int) 16 => '0',
(int) 17 => '0',
(int) 18 => '0',
(int) 19 => '0',
(int) 20 => '0',
(int) 21 => '0',
(int) 22 => '0',
(int) 23 => '0',
(int) 24 => '0',
(int) 25 => '0',
(int) 26 => '0'
)
$totalKills = (int) 0
$n = (int) 27
$i = (int) 22
$percentage = false
PlayerHitZonesController::view() - APP\Controller\PlayerHitZonesController.php, line 39
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE\Cake\Controller\Controller.php, line 499
Dispatcher::_invoke() - CORE\Cake\Routing\Dispatcher.php, line 193
Dispatcher::dispatch() - CORE\Cake\Routing\Dispatcher.php, line 167
[main] - APP\webroot\index.php, line 97
Warning (2): Division by zero [APP\Controller\PlayerHitZonesController.php, line 39]Code Context $n = count($hitZones);
for ($i = 0; $i < $n; $i++) {
$percentage = $hitZones[$i]['PlayerHitZone']['kills'] / $totalKills;
$playerID = '1181'
$hitZones = array(
(int) 0 => array(
'PlayerHitZone' => array(
'id' => '7181',
'bodypart_id' => '4',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '26',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '4',
'name' => 'head',
'kills' => '1547',
'teamkills' => '27',
'suicides' => '1'
)
),
(int) 1 => array(
'PlayerHitZone' => array(
'id' => '7196',
'bodypart_id' => '2',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '24',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '2',
'name' => 'torso_lower',
'kills' => '6088',
'teamkills' => '25',
'suicides' => '0'
)
),
(int) 2 => array(
'PlayerHitZone' => array(
'id' => '7197',
'bodypart_id' => '2',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '2',
'name' => 'torso_lower',
'kills' => '6088',
'teamkills' => '25',
'suicides' => '0'
)
),
(int) 3 => array(
'PlayerHitZone' => array(
'id' => '8643',
'bodypart_id' => '16',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '0',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '16',
'name' => 'left_hand',
'kills' => '103',
'teamkills' => '1',
'suicides' => '0'
)
),
(int) 4 => array(
'PlayerHitZone' => array(
'id' => '8644',
'bodypart_id' => '16',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '16',
'name' => 'left_hand',
'kills' => '103',
'teamkills' => '1',
'suicides' => '0'
)
),
(int) 5 => array(
'PlayerHitZone' => array(
'id' => '8645',
'bodypart_id' => '15',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '3',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '15',
'name' => 'left_arm_upper',
'kills' => '380',
'teamkills' => '4',
'suicides' => '0'
)
),
(int) 6 => array(
'PlayerHitZone' => array(
'id' => '8646',
'bodypart_id' => '15',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '15',
'name' => 'left_arm_upper',
'kills' => '380',
'teamkills' => '4',
'suicides' => '0'
)
),
(int) 7 => array(
'PlayerHitZone' => array(
'id' => '8647',
'bodypart_id' => '13',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '13',
'name' => 'left_foot',
'kills' => '88',
'teamkills' => '2',
'suicides' => '0'
)
),
(int) 8 => array(
'PlayerHitZone' => array(
'id' => '8648',
'bodypart_id' => '13',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '13',
'name' => 'left_foot',
'kills' => '88',
'teamkills' => '2',
'suicides' => '0'
)
),
(int) 9 => array(
'PlayerHitZone' => array(
'id' => '8649',
'bodypart_id' => '6',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '2',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '6',
'name' => 'left_arm_lower',
'kills' => '453',
'teamkills' => '3',
'suicides' => '0'
)
),
(int) 10 => array(
'PlayerHitZone' => array(
'id' => '8650',
'bodypart_id' => '6',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '6',
'name' => 'left_arm_lower',
'kills' => '453',
'teamkills' => '3',
'suicides' => '0'
)
),
(int) 11 => array(
'PlayerHitZone' => array(
'id' => '8651',
'bodypart_id' => '7',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '7',
'name' => 'neck',
'kills' => '382',
'teamkills' => '2',
'suicides' => '0'
)
),
(int) 12 => array(
'PlayerHitZone' => array(
'id' => '7195',
'bodypart_id' => '14',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '14',
'name' => 'right_foot',
'kills' => '113',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 13 => array(
'PlayerHitZone' => array(
'id' => '7194',
'bodypart_id' => '14',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '4',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '14',
'name' => 'right_foot',
'kills' => '113',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 14 => array(
'PlayerHitZone' => array(
'id' => '7193',
'bodypart_id' => '3',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '3',
'name' => 'left_leg_upper',
'kills' => '1172',
'teamkills' => '8',
'suicides' => '0'
)
),
(int) 15 => array(
'PlayerHitZone' => array(
'id' => '7182',
'bodypart_id' => '4',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '4',
'name' => 'head',
'kills' => '1547',
'teamkills' => '27',
'suicides' => '1'
)
),
(int) 16 => array(
'PlayerHitZone' => array(
'id' => '7183',
'bodypart_id' => '9',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '5',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '9',
'name' => 'right_leg_upper',
'kills' => '1130',
'teamkills' => '6',
'suicides' => '0'
)
),
(int) 17 => array(
'PlayerHitZone' => array(
'id' => '7184',
'bodypart_id' => '10',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '15',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '10',
'name' => 'right_leg_lower',
'kills' => '468',
'teamkills' => '16',
'suicides' => '0'
)
),
(int) 18 => array(
'PlayerHitZone' => array(
'id' => '7185',
'bodypart_id' => '10',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '10',
'name' => 'right_leg_lower',
'kills' => '468',
'teamkills' => '16',
'suicides' => '0'
)
),
(int) 19 => array(
'PlayerHitZone' => array(
'id' => '7186',
'bodypart_id' => '8',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '28',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '8',
'name' => 'left_leg_lower',
'kills' => '493',
'teamkills' => '29',
'suicides' => '0'
)
),
(int) 20 => array(
'PlayerHitZone' => array(
'id' => '7187',
'bodypart_id' => '8',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '8',
'name' => 'left_leg_lower',
'kills' => '493',
'teamkills' => '29',
'suicides' => '0'
)
),
(int) 21 => array(
'PlayerHitZone' => array(
'id' => '7188',
'bodypart_id' => '5',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '4',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '5',
'name' => 'right_arm_upper',
'kills' => '517',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 22 => array(
'PlayerHitZone' => array(
'id' => '7189',
'bodypart_id' => '5',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '5',
'name' => 'right_arm_upper',
'kills' => '517',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 23 => array(
'PlayerHitZone' => array(
'id' => '7190',
'bodypart_id' => '1',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '22',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '1',
'name' => 'torso_upper',
'kills' => '2306',
'teamkills' => '23',
'suicides' => '0'
)
),
(int) 24 => array(
'PlayerHitZone' => array(
'id' => '7191',
'bodypart_id' => '1',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '1',
'name' => 'torso_upper',
'kills' => '2306',
'teamkills' => '23',
'suicides' => '0'
)
),
(int) 25 => array(
'PlayerHitZone' => array(
'id' => '7192',
'bodypart_id' => '3',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '7',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '3',
'name' => 'left_leg_upper',
'kills' => '1172',
'teamkills' => '8',
'suicides' => '0'
)
),
(int) 26 => array(
'PlayerHitZone' => array(
'id' => '8652',
'bodypart_id' => '7',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '7',
'name' => 'neck',
'kills' => '382',
'teamkills' => '2',
'suicides' => '0'
)
)
)
$hitZone = array(
'PlayerHitZone' => array(
'id' => '8652',
'bodypart_id' => '7',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '7',
'name' => 'neck',
'kills' => '382',
'teamkills' => '2',
'suicides' => '0'
)
)
$kills = array(
(int) 0 => '0',
(int) 1 => '0',
(int) 2 => '0',
(int) 3 => '0',
(int) 4 => '0',
(int) 5 => '0',
(int) 6 => '0',
(int) 7 => '0',
(int) 8 => '0',
(int) 9 => '0',
(int) 10 => '0',
(int) 11 => '0',
(int) 12 => '0',
(int) 13 => '0',
(int) 14 => '0',
(int) 15 => '0',
(int) 16 => '0',
(int) 17 => '0',
(int) 18 => '0',
(int) 19 => '0',
(int) 20 => '0',
(int) 21 => '0',
(int) 22 => '0',
(int) 23 => '0',
(int) 24 => '0',
(int) 25 => '0',
(int) 26 => '0'
)
$totalKills = (int) 0
$n = (int) 27
$i = (int) 23
$percentage = false
PlayerHitZonesController::view() - APP\Controller\PlayerHitZonesController.php, line 39
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE\Cake\Controller\Controller.php, line 499
Dispatcher::_invoke() - CORE\Cake\Routing\Dispatcher.php, line 193
Dispatcher::dispatch() - CORE\Cake\Routing\Dispatcher.php, line 167
[main] - APP\webroot\index.php, line 97
Warning (2): Division by zero [APP\Controller\PlayerHitZonesController.php, line 39]Code Context $n = count($hitZones);
for ($i = 0; $i < $n; $i++) {
$percentage = $hitZones[$i]['PlayerHitZone']['kills'] / $totalKills;
$playerID = '1181'
$hitZones = array(
(int) 0 => array(
'PlayerHitZone' => array(
'id' => '7181',
'bodypart_id' => '4',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '26',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '4',
'name' => 'head',
'kills' => '1547',
'teamkills' => '27',
'suicides' => '1'
)
),
(int) 1 => array(
'PlayerHitZone' => array(
'id' => '7196',
'bodypart_id' => '2',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '24',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '2',
'name' => 'torso_lower',
'kills' => '6088',
'teamkills' => '25',
'suicides' => '0'
)
),
(int) 2 => array(
'PlayerHitZone' => array(
'id' => '7197',
'bodypart_id' => '2',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '2',
'name' => 'torso_lower',
'kills' => '6088',
'teamkills' => '25',
'suicides' => '0'
)
),
(int) 3 => array(
'PlayerHitZone' => array(
'id' => '8643',
'bodypart_id' => '16',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '0',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '16',
'name' => 'left_hand',
'kills' => '103',
'teamkills' => '1',
'suicides' => '0'
)
),
(int) 4 => array(
'PlayerHitZone' => array(
'id' => '8644',
'bodypart_id' => '16',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '16',
'name' => 'left_hand',
'kills' => '103',
'teamkills' => '1',
'suicides' => '0'
)
),
(int) 5 => array(
'PlayerHitZone' => array(
'id' => '8645',
'bodypart_id' => '15',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '3',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '15',
'name' => 'left_arm_upper',
'kills' => '380',
'teamkills' => '4',
'suicides' => '0'
)
),
(int) 6 => array(
'PlayerHitZone' => array(
'id' => '8646',
'bodypart_id' => '15',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '15',
'name' => 'left_arm_upper',
'kills' => '380',
'teamkills' => '4',
'suicides' => '0'
)
),
(int) 7 => array(
'PlayerHitZone' => array(
'id' => '8647',
'bodypart_id' => '13',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '13',
'name' => 'left_foot',
'kills' => '88',
'teamkills' => '2',
'suicides' => '0'
)
),
(int) 8 => array(
'PlayerHitZone' => array(
'id' => '8648',
'bodypart_id' => '13',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '13',
'name' => 'left_foot',
'kills' => '88',
'teamkills' => '2',
'suicides' => '0'
)
),
(int) 9 => array(
'PlayerHitZone' => array(
'id' => '8649',
'bodypart_id' => '6',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '2',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '6',
'name' => 'left_arm_lower',
'kills' => '453',
'teamkills' => '3',
'suicides' => '0'
)
),
(int) 10 => array(
'PlayerHitZone' => array(
'id' => '8650',
'bodypart_id' => '6',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '6',
'name' => 'left_arm_lower',
'kills' => '453',
'teamkills' => '3',
'suicides' => '0'
)
),
(int) 11 => array(
'PlayerHitZone' => array(
'id' => '8651',
'bodypart_id' => '7',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '7',
'name' => 'neck',
'kills' => '382',
'teamkills' => '2',
'suicides' => '0'
)
),
(int) 12 => array(
'PlayerHitZone' => array(
'id' => '7195',
'bodypart_id' => '14',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '14',
'name' => 'right_foot',
'kills' => '113',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 13 => array(
'PlayerHitZone' => array(
'id' => '7194',
'bodypart_id' => '14',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '4',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '14',
'name' => 'right_foot',
'kills' => '113',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 14 => array(
'PlayerHitZone' => array(
'id' => '7193',
'bodypart_id' => '3',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '3',
'name' => 'left_leg_upper',
'kills' => '1172',
'teamkills' => '8',
'suicides' => '0'
)
),
(int) 15 => array(
'PlayerHitZone' => array(
'id' => '7182',
'bodypart_id' => '4',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '4',
'name' => 'head',
'kills' => '1547',
'teamkills' => '27',
'suicides' => '1'
)
),
(int) 16 => array(
'PlayerHitZone' => array(
'id' => '7183',
'bodypart_id' => '9',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '5',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '9',
'name' => 'right_leg_upper',
'kills' => '1130',
'teamkills' => '6',
'suicides' => '0'
)
),
(int) 17 => array(
'PlayerHitZone' => array(
'id' => '7184',
'bodypart_id' => '10',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '15',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '10',
'name' => 'right_leg_lower',
'kills' => '468',
'teamkills' => '16',
'suicides' => '0'
)
),
(int) 18 => array(
'PlayerHitZone' => array(
'id' => '7185',
'bodypart_id' => '10',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '10',
'name' => 'right_leg_lower',
'kills' => '468',
'teamkills' => '16',
'suicides' => '0'
)
),
(int) 19 => array(
'PlayerHitZone' => array(
'id' => '7186',
'bodypart_id' => '8',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '28',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '8',
'name' => 'left_leg_lower',
'kills' => '493',
'teamkills' => '29',
'suicides' => '0'
)
),
(int) 20 => array(
'PlayerHitZone' => array(
'id' => '7187',
'bodypart_id' => '8',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '8',
'name' => 'left_leg_lower',
'kills' => '493',
'teamkills' => '29',
'suicides' => '0'
)
),
(int) 21 => array(
'PlayerHitZone' => array(
'id' => '7188',
'bodypart_id' => '5',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '4',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '5',
'name' => 'right_arm_upper',
'kills' => '517',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 22 => array(
'PlayerHitZone' => array(
'id' => '7189',
'bodypart_id' => '5',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '5',
'name' => 'right_arm_upper',
'kills' => '517',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 23 => array(
'PlayerHitZone' => array(
'id' => '7190',
'bodypart_id' => '1',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '22',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '1',
'name' => 'torso_upper',
'kills' => '2306',
'teamkills' => '23',
'suicides' => '0'
)
),
(int) 24 => array(
'PlayerHitZone' => array(
'id' => '7191',
'bodypart_id' => '1',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '1',
'name' => 'torso_upper',
'kills' => '2306',
'teamkills' => '23',
'suicides' => '0'
)
),
(int) 25 => array(
'PlayerHitZone' => array(
'id' => '7192',
'bodypart_id' => '3',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '7',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '3',
'name' => 'left_leg_upper',
'kills' => '1172',
'teamkills' => '8',
'suicides' => '0'
)
),
(int) 26 => array(
'PlayerHitZone' => array(
'id' => '8652',
'bodypart_id' => '7',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '7',
'name' => 'neck',
'kills' => '382',
'teamkills' => '2',
'suicides' => '0'
)
)
)
$hitZone = array(
'PlayerHitZone' => array(
'id' => '8652',
'bodypart_id' => '7',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '7',
'name' => 'neck',
'kills' => '382',
'teamkills' => '2',
'suicides' => '0'
)
)
$kills = array(
(int) 0 => '0',
(int) 1 => '0',
(int) 2 => '0',
(int) 3 => '0',
(int) 4 => '0',
(int) 5 => '0',
(int) 6 => '0',
(int) 7 => '0',
(int) 8 => '0',
(int) 9 => '0',
(int) 10 => '0',
(int) 11 => '0',
(int) 12 => '0',
(int) 13 => '0',
(int) 14 => '0',
(int) 15 => '0',
(int) 16 => '0',
(int) 17 => '0',
(int) 18 => '0',
(int) 19 => '0',
(int) 20 => '0',
(int) 21 => '0',
(int) 22 => '0',
(int) 23 => '0',
(int) 24 => '0',
(int) 25 => '0',
(int) 26 => '0'
)
$totalKills = (int) 0
$n = (int) 27
$i = (int) 24
$percentage = false
PlayerHitZonesController::view() - APP\Controller\PlayerHitZonesController.php, line 39
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE\Cake\Controller\Controller.php, line 499
Dispatcher::_invoke() - CORE\Cake\Routing\Dispatcher.php, line 193
Dispatcher::dispatch() - CORE\Cake\Routing\Dispatcher.php, line 167
[main] - APP\webroot\index.php, line 97
Warning (2): Division by zero [APP\Controller\PlayerHitZonesController.php, line 39]Code Context $n = count($hitZones);
for ($i = 0; $i < $n; $i++) {
$percentage = $hitZones[$i]['PlayerHitZone']['kills'] / $totalKills;
$playerID = '1181'
$hitZones = array(
(int) 0 => array(
'PlayerHitZone' => array(
'id' => '7181',
'bodypart_id' => '4',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '26',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '4',
'name' => 'head',
'kills' => '1547',
'teamkills' => '27',
'suicides' => '1'
)
),
(int) 1 => array(
'PlayerHitZone' => array(
'id' => '7196',
'bodypart_id' => '2',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '24',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '2',
'name' => 'torso_lower',
'kills' => '6088',
'teamkills' => '25',
'suicides' => '0'
)
),
(int) 2 => array(
'PlayerHitZone' => array(
'id' => '7197',
'bodypart_id' => '2',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '2',
'name' => 'torso_lower',
'kills' => '6088',
'teamkills' => '25',
'suicides' => '0'
)
),
(int) 3 => array(
'PlayerHitZone' => array(
'id' => '8643',
'bodypart_id' => '16',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '0',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '16',
'name' => 'left_hand',
'kills' => '103',
'teamkills' => '1',
'suicides' => '0'
)
),
(int) 4 => array(
'PlayerHitZone' => array(
'id' => '8644',
'bodypart_id' => '16',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '16',
'name' => 'left_hand',
'kills' => '103',
'teamkills' => '1',
'suicides' => '0'
)
),
(int) 5 => array(
'PlayerHitZone' => array(
'id' => '8645',
'bodypart_id' => '15',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '3',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '15',
'name' => 'left_arm_upper',
'kills' => '380',
'teamkills' => '4',
'suicides' => '0'
)
),
(int) 6 => array(
'PlayerHitZone' => array(
'id' => '8646',
'bodypart_id' => '15',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '15',
'name' => 'left_arm_upper',
'kills' => '380',
'teamkills' => '4',
'suicides' => '0'
)
),
(int) 7 => array(
'PlayerHitZone' => array(
'id' => '8647',
'bodypart_id' => '13',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '13',
'name' => 'left_foot',
'kills' => '88',
'teamkills' => '2',
'suicides' => '0'
)
),
(int) 8 => array(
'PlayerHitZone' => array(
'id' => '8648',
'bodypart_id' => '13',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '13',
'name' => 'left_foot',
'kills' => '88',
'teamkills' => '2',
'suicides' => '0'
)
),
(int) 9 => array(
'PlayerHitZone' => array(
'id' => '8649',
'bodypart_id' => '6',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '2',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '6',
'name' => 'left_arm_lower',
'kills' => '453',
'teamkills' => '3',
'suicides' => '0'
)
),
(int) 10 => array(
'PlayerHitZone' => array(
'id' => '8650',
'bodypart_id' => '6',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '6',
'name' => 'left_arm_lower',
'kills' => '453',
'teamkills' => '3',
'suicides' => '0'
)
),
(int) 11 => array(
'PlayerHitZone' => array(
'id' => '8651',
'bodypart_id' => '7',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '7',
'name' => 'neck',
'kills' => '382',
'teamkills' => '2',
'suicides' => '0'
)
),
(int) 12 => array(
'PlayerHitZone' => array(
'id' => '7195',
'bodypart_id' => '14',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '14',
'name' => 'right_foot',
'kills' => '113',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 13 => array(
'PlayerHitZone' => array(
'id' => '7194',
'bodypart_id' => '14',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '4',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '14',
'name' => 'right_foot',
'kills' => '113',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 14 => array(
'PlayerHitZone' => array(
'id' => '7193',
'bodypart_id' => '3',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '3',
'name' => 'left_leg_upper',
'kills' => '1172',
'teamkills' => '8',
'suicides' => '0'
)
),
(int) 15 => array(
'PlayerHitZone' => array(
'id' => '7182',
'bodypart_id' => '4',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '4',
'name' => 'head',
'kills' => '1547',
'teamkills' => '27',
'suicides' => '1'
)
),
(int) 16 => array(
'PlayerHitZone' => array(
'id' => '7183',
'bodypart_id' => '9',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '5',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '9',
'name' => 'right_leg_upper',
'kills' => '1130',
'teamkills' => '6',
'suicides' => '0'
)
),
(int) 17 => array(
'PlayerHitZone' => array(
'id' => '7184',
'bodypart_id' => '10',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '15',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '10',
'name' => 'right_leg_lower',
'kills' => '468',
'teamkills' => '16',
'suicides' => '0'
)
),
(int) 18 => array(
'PlayerHitZone' => array(
'id' => '7185',
'bodypart_id' => '10',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '10',
'name' => 'right_leg_lower',
'kills' => '468',
'teamkills' => '16',
'suicides' => '0'
)
),
(int) 19 => array(
'PlayerHitZone' => array(
'id' => '7186',
'bodypart_id' => '8',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '28',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '8',
'name' => 'left_leg_lower',
'kills' => '493',
'teamkills' => '29',
'suicides' => '0'
)
),
(int) 20 => array(
'PlayerHitZone' => array(
'id' => '7187',
'bodypart_id' => '8',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '8',
'name' => 'left_leg_lower',
'kills' => '493',
'teamkills' => '29',
'suicides' => '0'
)
),
(int) 21 => array(
'PlayerHitZone' => array(
'id' => '7188',
'bodypart_id' => '5',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '4',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '5',
'name' => 'right_arm_upper',
'kills' => '517',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 22 => array(
'PlayerHitZone' => array(
'id' => '7189',
'bodypart_id' => '5',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '5',
'name' => 'right_arm_upper',
'kills' => '517',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 23 => array(
'PlayerHitZone' => array(
'id' => '7190',
'bodypart_id' => '1',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '22',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '1',
'name' => 'torso_upper',
'kills' => '2306',
'teamkills' => '23',
'suicides' => '0'
)
),
(int) 24 => array(
'PlayerHitZone' => array(
'id' => '7191',
'bodypart_id' => '1',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '1',
'name' => 'torso_upper',
'kills' => '2306',
'teamkills' => '23',
'suicides' => '0'
)
),
(int) 25 => array(
'PlayerHitZone' => array(
'id' => '7192',
'bodypart_id' => '3',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '7',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '3',
'name' => 'left_leg_upper',
'kills' => '1172',
'teamkills' => '8',
'suicides' => '0'
)
),
(int) 26 => array(
'PlayerHitZone' => array(
'id' => '8652',
'bodypart_id' => '7',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '7',
'name' => 'neck',
'kills' => '382',
'teamkills' => '2',
'suicides' => '0'
)
)
)
$hitZone = array(
'PlayerHitZone' => array(
'id' => '8652',
'bodypart_id' => '7',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '7',
'name' => 'neck',
'kills' => '382',
'teamkills' => '2',
'suicides' => '0'
)
)
$kills = array(
(int) 0 => '0',
(int) 1 => '0',
(int) 2 => '0',
(int) 3 => '0',
(int) 4 => '0',
(int) 5 => '0',
(int) 6 => '0',
(int) 7 => '0',
(int) 8 => '0',
(int) 9 => '0',
(int) 10 => '0',
(int) 11 => '0',
(int) 12 => '0',
(int) 13 => '0',
(int) 14 => '0',
(int) 15 => '0',
(int) 16 => '0',
(int) 17 => '0',
(int) 18 => '0',
(int) 19 => '0',
(int) 20 => '0',
(int) 21 => '0',
(int) 22 => '0',
(int) 23 => '0',
(int) 24 => '0',
(int) 25 => '0',
(int) 26 => '0'
)
$totalKills = (int) 0
$n = (int) 27
$i = (int) 25
$percentage = false
PlayerHitZonesController::view() - APP\Controller\PlayerHitZonesController.php, line 39
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE\Cake\Controller\Controller.php, line 499
Dispatcher::_invoke() - CORE\Cake\Routing\Dispatcher.php, line 193
Dispatcher::dispatch() - CORE\Cake\Routing\Dispatcher.php, line 167
[main] - APP\webroot\index.php, line 97
Warning (2): Division by zero [APP\Controller\PlayerHitZonesController.php, line 39]Code Context $n = count($hitZones);
for ($i = 0; $i < $n; $i++) {
$percentage = $hitZones[$i]['PlayerHitZone']['kills'] / $totalKills;
$playerID = '1181'
$hitZones = array(
(int) 0 => array(
'PlayerHitZone' => array(
'id' => '7181',
'bodypart_id' => '4',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '26',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '4',
'name' => 'head',
'kills' => '1547',
'teamkills' => '27',
'suicides' => '1'
)
),
(int) 1 => array(
'PlayerHitZone' => array(
'id' => '7196',
'bodypart_id' => '2',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '24',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '2',
'name' => 'torso_lower',
'kills' => '6088',
'teamkills' => '25',
'suicides' => '0'
)
),
(int) 2 => array(
'PlayerHitZone' => array(
'id' => '7197',
'bodypart_id' => '2',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '2',
'name' => 'torso_lower',
'kills' => '6088',
'teamkills' => '25',
'suicides' => '0'
)
),
(int) 3 => array(
'PlayerHitZone' => array(
'id' => '8643',
'bodypart_id' => '16',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '0',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '16',
'name' => 'left_hand',
'kills' => '103',
'teamkills' => '1',
'suicides' => '0'
)
),
(int) 4 => array(
'PlayerHitZone' => array(
'id' => '8644',
'bodypart_id' => '16',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '16',
'name' => 'left_hand',
'kills' => '103',
'teamkills' => '1',
'suicides' => '0'
)
),
(int) 5 => array(
'PlayerHitZone' => array(
'id' => '8645',
'bodypart_id' => '15',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '3',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '15',
'name' => 'left_arm_upper',
'kills' => '380',
'teamkills' => '4',
'suicides' => '0'
)
),
(int) 6 => array(
'PlayerHitZone' => array(
'id' => '8646',
'bodypart_id' => '15',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '15',
'name' => 'left_arm_upper',
'kills' => '380',
'teamkills' => '4',
'suicides' => '0'
)
),
(int) 7 => array(
'PlayerHitZone' => array(
'id' => '8647',
'bodypart_id' => '13',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '13',
'name' => 'left_foot',
'kills' => '88',
'teamkills' => '2',
'suicides' => '0'
)
),
(int) 8 => array(
'PlayerHitZone' => array(
'id' => '8648',
'bodypart_id' => '13',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '13',
'name' => 'left_foot',
'kills' => '88',
'teamkills' => '2',
'suicides' => '0'
)
),
(int) 9 => array(
'PlayerHitZone' => array(
'id' => '8649',
'bodypart_id' => '6',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '2',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '6',
'name' => 'left_arm_lower',
'kills' => '453',
'teamkills' => '3',
'suicides' => '0'
)
),
(int) 10 => array(
'PlayerHitZone' => array(
'id' => '8650',
'bodypart_id' => '6',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '6',
'name' => 'left_arm_lower',
'kills' => '453',
'teamkills' => '3',
'suicides' => '0'
)
),
(int) 11 => array(
'PlayerHitZone' => array(
'id' => '8651',
'bodypart_id' => '7',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '7',
'name' => 'neck',
'kills' => '382',
'teamkills' => '2',
'suicides' => '0'
)
),
(int) 12 => array(
'PlayerHitZone' => array(
'id' => '7195',
'bodypart_id' => '14',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '14',
'name' => 'right_foot',
'kills' => '113',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 13 => array(
'PlayerHitZone' => array(
'id' => '7194',
'bodypart_id' => '14',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '4',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '14',
'name' => 'right_foot',
'kills' => '113',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 14 => array(
'PlayerHitZone' => array(
'id' => '7193',
'bodypart_id' => '3',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '3',
'name' => 'left_leg_upper',
'kills' => '1172',
'teamkills' => '8',
'suicides' => '0'
)
),
(int) 15 => array(
'PlayerHitZone' => array(
'id' => '7182',
'bodypart_id' => '4',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '4',
'name' => 'head',
'kills' => '1547',
'teamkills' => '27',
'suicides' => '1'
)
),
(int) 16 => array(
'PlayerHitZone' => array(
'id' => '7183',
'bodypart_id' => '9',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '5',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '9',
'name' => 'right_leg_upper',
'kills' => '1130',
'teamkills' => '6',
'suicides' => '0'
)
),
(int) 17 => array(
'PlayerHitZone' => array(
'id' => '7184',
'bodypart_id' => '10',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '15',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '10',
'name' => 'right_leg_lower',
'kills' => '468',
'teamkills' => '16',
'suicides' => '0'
)
),
(int) 18 => array(
'PlayerHitZone' => array(
'id' => '7185',
'bodypart_id' => '10',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '10',
'name' => 'right_leg_lower',
'kills' => '468',
'teamkills' => '16',
'suicides' => '0'
)
),
(int) 19 => array(
'PlayerHitZone' => array(
'id' => '7186',
'bodypart_id' => '8',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '28',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '8',
'name' => 'left_leg_lower',
'kills' => '493',
'teamkills' => '29',
'suicides' => '0'
)
),
(int) 20 => array(
'PlayerHitZone' => array(
'id' => '7187',
'bodypart_id' => '8',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '8',
'name' => 'left_leg_lower',
'kills' => '493',
'teamkills' => '29',
'suicides' => '0'
)
),
(int) 21 => array(
'PlayerHitZone' => array(
'id' => '7188',
'bodypart_id' => '5',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '4',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '5',
'name' => 'right_arm_upper',
'kills' => '517',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 22 => array(
'PlayerHitZone' => array(
'id' => '7189',
'bodypart_id' => '5',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '5',
'name' => 'right_arm_upper',
'kills' => '517',
'teamkills' => '5',
'suicides' => '0'
)
),
(int) 23 => array(
'PlayerHitZone' => array(
'id' => '7190',
'bodypart_id' => '1',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '22',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '1',
'name' => 'torso_upper',
'kills' => '2306',
'teamkills' => '23',
'suicides' => '0'
)
),
(int) 24 => array(
'PlayerHitZone' => array(
'id' => '7191',
'bodypart_id' => '1',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '1',
'name' => 'torso_upper',
'kills' => '2306',
'teamkills' => '23',
'suicides' => '0'
)
),
(int) 25 => array(
'PlayerHitZone' => array(
'id' => '7192',
'bodypart_id' => '3',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '7',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '3',
'name' => 'left_leg_upper',
'kills' => '1172',
'teamkills' => '8',
'suicides' => '0'
)
),
(int) 26 => array(
'PlayerHitZone' => array(
'id' => '8652',
'bodypart_id' => '7',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '7',
'name' => 'neck',
'kills' => '382',
'teamkills' => '2',
'suicides' => '0'
)
)
)
$hitZone = array(
'PlayerHitZone' => array(
'id' => '8652',
'bodypart_id' => '7',
'player_id' => '1181',
'kills' => '0',
'deaths' => '0',
'teamkills' => '0',
'teamdeaths' => '1',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '7',
'name' => 'neck',
'kills' => '382',
'teamkills' => '2',
'suicides' => '0'
)
)
$kills = array(
(int) 0 => '0',
(int) 1 => '0',
(int) 2 => '0',
(int) 3 => '0',
(int) 4 => '0',
(int) 5 => '0',
(int) 6 => '0',
(int) 7 => '0',
(int) 8 => '0',
(int) 9 => '0',
(int) 10 => '0',
(int) 11 => '0',
(int) 12 => '0',
(int) 13 => '0',
(int) 14 => '0',
(int) 15 => '0',
(int) 16 => '0',
(int) 17 => '0',
(int) 18 => '0',
(int) 19 => '0',
(int) 20 => '0',
(int) 21 => '0',
(int) 22 => '0',
(int) 23 => '0',
(int) 24 => '0',
(int) 25 => '0',
(int) 26 => '0'
)
$totalKills = (int) 0
$n = (int) 27
$i = (int) 26
$percentage = false
PlayerHitZonesController::view() - APP\Controller\PlayerHitZonesController.php, line 39
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE\Cake\Controller\Controller.php, line 499
Dispatcher::_invoke() - CORE\Cake\Routing\Dispatcher.php, line 193
Dispatcher::dispatch() - CORE\Cake\Routing\Dispatcher.php, line 167
[main] - APP\webroot\index.php, line 97
Body Part |
Kills |
Deaths |
head |
0 |
0 |
torso_lower |
0 |
0 |
torso_lower |
0 |
0 |
left_hand |
0 |
0 |
left_hand |
0 |
0 |
left_arm_upper |
0 |
0 |
left_arm_upper |
0 |
0 |
left_foot |
0 |
0 |
left_foot |
0 |
0 |
left_arm_lower |
0 |
0 |
left_arm_lower |
0 |
0 |
neck |
0 |
0 |
right_foot |
0 |
0 |
right_foot |
0 |
0 |
left_leg_upper |
0 |
0 |
head |
0 |
0 |
right_leg_upper |
0 |
0 |
right_leg_lower |
0 |
0 |
right_leg_lower |
0 |
0 |
left_leg_lower |
0 |
0 |
left_leg_lower |
0 |
0 |
right_arm_upper |
0 |
0 |
right_arm_upper |
0 |
0 |
torso_upper |
0 |
0 |
torso_upper |
0 |
0 |
left_leg_upper |
0 |
0 |
neck |
0 |
0 |