Sharkiller
New Member
my heatmap with 1 month of logs 

Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
hook dayzdb map and add a heatmap layer with custom data.
https://github.com/pa7/heatmap.jsWell, when you put it like that... Hah. Mind sharing code? Throw up a github or something?
bin\data.phpSo is there way to ignore that "movement line" from debug to spawn location?
foreach($rows as $row)
{
$posArray = json_decode($row['worldspace']);
$row['x'] = $posArray[1][0];
$row['y'] = -($posArray[1][1]-15365);
if ($row['x'] > 100 and $row['y'] > 100)
{
$row['age'] = strtotime($row['last_updated']) - time();
$row['name'] = htmlspecialchars($row['name']);
echo "\t" . '<player>' . "\n";
foreach($row as $k => $v)
{
echo "\t\t" . '<' . $k . '><![CDATA[' . $v . ']]></' . $k . '>' . "\n";
}
echo "\t" . '</player>' . "\n";
}
}
bin\data.php
replace from line 45 to "// Fetch vehicles"
Tested on Chernarus.PHP:foreach($rows as $row) { $posArray = json_decode($row['worldspace']); $row['x'] = $posArray[1][0]; $row['y'] = -($posArray[1][1]-15365); if ($row['x'] > 100 and $row['y'] > 100) { $row['age'] = strtotime($row['last_updated']) - time(); $row['name'] = htmlspecialchars($row['name']); echo "\t" . '<player>' . "\n"; foreach($row as $k => $v) { echo "\t\t" . '<' . $k . '><![CDATA[' . $v . ']]></' . $k . '>' . "\n"; } echo "\t" . '</player>' . "\n"; } }
if ((($row['x'] == 0) && ($row['y'] == 0)) || (($row['x'] < -18000) && ($row['y'] > 25000)))
Anyone know what my issue might be when DayZMapper doesn't show all the players immediately? It takes awhile for all the players to slowly update (I guess?) over time....
I've got 30 people on a server right now and I only see 3 of them and then more and more slowly trickle in.