From 1b9655f693363cc29f2adfac64b9de39ca8f17e4 Mon Sep 17 00:00:00 2001 From: Micho Date: Sun, 19 May 2013 09:05:03 +0200 Subject: [PATCH] fixing time offset --- clients/anim/data.js | 626 ++++++++++++++++++------------------- node.js/4 scan4position.js | 2 +- 2 files changed, 314 insertions(+), 314 deletions(-) diff --git a/clients/anim/data.js b/clients/anim/data.js index b3dfe77..b75bad7 100644 --- a/clients/anim/data.js +++ b/clients/anim/data.js @@ -1,360 +1,360 @@ var data = { "times": [ - 766, - 788, - 796, - 805, - 813, - 821, - 830, - 838, - 847, - 855, - 864, - 872, - 880, - 889, - 897, - 906, - 914, - 922, - 931, - 939, - 948, - 956, - 964, - 973, - 981, - 989, - 998, - 1006, - 1015, - 1023, - 1032, - 1040, - 1048, - 1057, - 1065, - 1073, - 1082, - 1090, - 1098, - 1107, - 1115, - 1124, - 1132, - 1140, + 826, + 848, + 856, + 865, + 873, + 881, + 890, + 898, + 907, + 915, + 924, + 932, + 940, + 949, + 957, + 966, + 974, + 982, + 991, + 999, + 1008, + 1016, + 1024, + 1033, + 1041, + 1049, + 1058, + 1066, + 1075, + 1083, + 1092, + 1100, + 1108, + 1117, + 1125, + 1133, + 1142, 1150, 1158, - 1166, + 1167, 1175, 1184, 1192, - 1201, - 1209, + 1200, + 1210, 1218, 1226, 1235, - 1243, + 1244, 1252, - 1260, - 1268, - 1277, - 1285, - 1294, - 1302, - 1311, + 1261, + 1269, + 1278, + 1286, + 1295, + 1303, + 1312, 1320, 1328, - 1336, + 1337, 1345, - 1353, + 1354, 1362, - 1370, - 1378, - 1387, - 1395, - 1404, - 1412, - 1420, - 1429, - 1437, - 1446, - 1454, - 1462, - 1471, - 1479, - 1487, - 1496, - 1504, - 1513, - 1521, - 1530, - 1538, - 1546, - 1555, - 1563, - 1571, - 1580, - 1588, - 1596, - 1605, - 1613, - 1622, - 1630, - 1638, - 1646, - 1655, - 1663, - 1671, - 1680, - 1688, - 1697, - 1705, - 1714, - 1722, - 1730, - 1739, - 1747, - 1755, - 1764, - 1772, + 1371, + 1380, + 1388, + 1396, + 1405, + 1413, + 1422, + 1430, + 1438, + 1447, + 1455, + 1464, + 1472, + 1480, + 1489, + 1497, + 1506, + 1514, + 1522, + 1531, + 1539, + 1547, + 1556, + 1564, + 1573, + 1581, + 1590, + 1598, + 1606, + 1615, + 1623, + 1631, + 1640, + 1648, + 1656, + 1665, + 1673, + 1682, + 1690, + 1698, + 1706, + 1715, + 1723, + 1731, + 1740, + 1748, + 1757, + 1765, + 1774, + 1782, 1790, - 1800, - 1810, - 1819, - 1828, - 1837, - 1846, - 1856, - 1865, - 1874, - 1887, - 1901, - 1911, - 1920, - 1930, - 1939, - 1948, - 1958, - 1969, + 1799, + 1807, + 1815, + 1824, + 1832, + 1850, + 1860, + 1870, + 1879, + 1888, + 1897, + 1906, + 1916, + 1925, + 1934, + 1947, + 1961, + 1971, 1980, - 1989, + 1990, 1999, - 2009, + 2008, 2018, - 2028, + 2029, 2040, - 2050, - 2060, - 2076, + 2049, + 2059, + 2069, + 2078, 2088, - 2098, + 2100, 2110, - 2125, - 2135, - 2145, - 2154, - 2164, - 2175, + 2120, + 2136, + 2148, + 2158, + 2170, 2185, 2195, 2205, - 2216, - 2239, - 2248, - 2259, - 2269, - 2279, - 2292, - 2302, - 2315, - 2326, - 2337, - 2346, - 2356, - 2366, - 2377, - 2388, - 2413, - 2424, - 2434, - 2444, - 2453, - 2463, + 2214, + 2224, + 2235, + 2245, + 2255, + 2265, + 2276, + 2299, + 2308, + 2319, + 2329, + 2339, + 2352, + 2362, + 2375, + 2386, + 2397, + 2406, + 2416, + 2426, + 2437, + 2448, 2473, - 2483, - 2495, - 2506, - 2517, - 2527, - 2539, - 2549, - 2559, - 2569, - 2578, - 2588, - 2597, - 2608, - 2617, - 2627, - 2636, - 2646, - 2656, - 2666, - 2675, - 2686, - 2695, - 2704, - 2713, - 3355, - 3379, - 3400, + 2484, + 2494, + 2504, + 2513, + 2523, + 2533, + 2543, + 2555, + 2566, + 2577, + 2587, + 2599, + 2609, + 2619, + 2629, + 2638, + 2648, + 2657, + 2668, + 2677, + 2687, + 2696, + 2706, + 2716, + 2726, + 2735, + 2746, + 2755, + 2764, + 2773, 3415, - 3431, + 3439, 3460, 3475, - 3490, - 3505, - 3522, - 3537, - 3552, - 3567, + 3491, + 3520, + 3535, + 3550, + 3565, 3582, - 3598, - 3613, - 3628, - 3644, - 3659, - 3674, - 3689, - 3705, - 3720, - 3735, - 3750, - 3764, - 3779, + 3597, + 3612, + 3627, + 3642, + 3658, + 3673, + 3688, + 3704, + 3719, + 3734, + 3749, + 3765, + 3780, 3795, - 3812, - 3827, - 3841, - 3856, + 3810, + 3824, + 3839, + 3855, + 3872, + 3887, 3901, 3916, - 3931, - 3946, - 3960, - 3975, - 3989, - 4004, - 4018, - 4033, - 4048, - 4062, - 4076, - 4090, - 4104, - 4118, - 4132, - 4146, - 4161, - 4175, - 4189, - 4204, - 4218, - 4232, - 4246, - 4259, - 4273, - 4287, - 4301, - 4315, - 4329, - 4343, - 4357, - 4371, - 4385, - 4399, - 4413, - 4427, - 4441, - 4454, - 4469, - 4483, - 4497, - 4511, - 4525, - 4539, - 4553, - 4567, - 4581, - 4595, - 4609, - 4623, - 4637, - 4652, - 4666, - 4680, - 4694, - 4708, - 4722, - 4736, - 4750, - 4764, - 4778, - 4792, - 4806, - 4820, - 4834, - 4848, - 4862, - 4877, - 4891, - 4906, - 4920, + 3961, + 3976, + 3991, + 4006, + 4020, + 4035, + 4049, + 4064, + 4078, + 4093, + 4108, + 4122, + 4136, + 4150, + 4164, + 4178, + 4192, + 4206, + 4221, + 4235, + 4249, + 4264, + 4278, + 4292, + 4306, + 4319, + 4333, + 4347, + 4361, + 4375, + 4389, + 4403, + 4417, + 4431, + 4445, + 4459, + 4473, + 4487, + 4501, + 4514, + 4529, + 4543, + 4557, + 4571, + 4585, + 4599, + 4613, + 4627, + 4641, + 4655, + 4669, + 4683, + 4697, + 4712, + 4726, + 4740, + 4754, + 4768, + 4782, + 4796, + 4810, + 4824, + 4838, + 4852, + 4866, + 4880, + 4894, + 4908, + 4922, 4937, 4951, 4966, - 5025, - 5040, - 5055, - 5135, - 5141, - 5150, - 5156, - 5165, - 5173, - 5180, - 5188, + 4980, + 4997, + 5011, + 5026, + 5085, + 5100, + 5115, 5195, - 5203, - 5218, + 5201, + 5210, + 5216, + 5225, 5233, + 5240, 5248, - 5262, - 5277, - 5292, - 5307, + 5255, + 5263, + 5278, + 5293, + 5308, 5322, 5337, - 5351, 5352, 5367, - 5385, - 5403, - 5423, - 5441, - 5457, - 5475, - 5493, - 5494, - 5508, - 5537, - 5539, + 5382, + 5397, + 5411, + 5412, + 5427, + 5445, + 5463, + 5483, + 5501, + 5517, + 5535, + 5553, + 5554, 5568, - 5570, - 5600, - 5602 + 5597, + 5599, + 5628, + 5630, + 5660, + 5662 ], "points": [ { diff --git a/node.js/4 scan4position.js b/node.js/4 scan4position.js index 1a10eb4..84e6769 100644 --- a/node.js/4 scan4position.js +++ b/node.js/4 scan4position.js @@ -31,7 +31,7 @@ var times = new Lookup(); log.forEach(function (entry) { if (accesspoints[entry.access_point] === undefined) return; - entry.time = ((new Date(entry.date)).getTime()-1367712000000)/60000+60; + entry.time = ((new Date(entry.date)).getTime()-1367712000000)/60000+120; times.add(entry.time); macs.add(entry.mac_hash);