         return xxh64.xxh64(firstHash, input: requestData.getUInt8Array())
     }
     
-    // Data from https://github.com/PokemonGoF/PokemonGo-Bot/blob/master/pokemongo_bot/api_wrapper.py
-    
     private func getSensorInfo() -> Pogoprotos.Networking.Envelopes.Signature.SensorInfo {
         let sensorInfoBuilder = Pogoprotos.Networking.Envelopes.Signature.SensorInfo.Builder()
-        sensorInfoBuilder.timestampSnapshot = self.api.getTimestampSinceStart() + self.api.Settings.realisticStartTimeAdjustment
-        sensorInfoBuilder.linearAccelerationX = Double(Float.random(min: -0.139084026217, max: 0.138112977147))
-        sensorInfoBuilder.linearAccelerationY = Double(Float.random(min: -0.2, max: 0.19))
+        sensorInfoBuilder.timestampSnapshot = self.api.getTimestampSinceStart() + self.api.unknown6Settings.randomizedTimeSnapshot
+        sensorInfoBuilder.linearAccelerationX = Double(Float.random(min: -0.2, max: 0.14))
+        sensorInfoBuilder.linearAccelerationY = Double(Float.random(min: -0.2, max: 0.2))
         sensorInfoBuilder.linearAccelerationZ = Double(Float.random(min: -0.2, max: 0.4))
-        sensorInfoBuilder.magneticFieldX = Double(Float.random(min: -47.149471283, max: 61.8397789001))
-        sensorInfoBuilder.magneticFieldY = Double(Float.random(min: -47.149471283, max: 61.8397789001))
-        sensorInfoBuilder.magneticFieldZ = Double(Float.random(min: -47.149471283, max: 5))
-        sensorInfoBuilder.rotationVectorX = Double(Float.random(min: 0.0729667818829, max: 0.0729667818829))
-        sensorInfoBuilder.rotationVectorY = Double(Float.random(min: -2.788630499244109, max:  3.0586791383810468))
-        sensorInfoBuilder.rotationVectorZ = Double(Float.random(min: -0.34825887123552773, max: 0.19347580173737935))
-        sensorInfoBuilder.gyroscopeRawX = Double(Float.random(min: -0.9703824520111084, max: 0.8556089401245117))
-        sensorInfoBuilder.gyroscopeRawY = Double(Float.random(min: -1.7470258474349976, max:  1.4218578338623047))
-        sensorInfoBuilder.gyroscopeRawZ = Double(Float.random(min: -0.9681901931762695, max: 0.8396636843681335))
-        sensorInfoBuilder.gravityX = Double(Float.random(min: -0.31110161542892456, max: 0.1681540310382843))
-        sensorInfoBuilder.gravityY = Double(Float.random(min: -0.6574847102165222, max:  -0.07290205359458923))
-        sensorInfoBuilder.gravityZ = Double(Float.random(min: -0.9943905472755432, max: -0.7463029026985168))
-        
+        sensorInfoBuilder.magneticFieldX = Double(Float.random(min: -55, max: 62))
+        sensorInfoBuilder.magneticFieldY = Double(Float.random(min: -55, max: 62))
+        sensorInfoBuilder.magneticFieldZ = Double(Float.random(min: -55, max: 5))
+        sensorInfoBuilder.rotationVectorX = Double(Float.random(min: 0, max: 0.07))
+        sensorInfoBuilder.rotationVectorY = Double(Float.random(min: -2, max:  3))
+        sensorInfoBuilder.rotationVectorZ = Double(Float.random(min: -0.1, max: 0.2))
+        sensorInfoBuilder.gyroscopeRawX = Double(Float.random(min: -1, max: 1))
+        sensorInfoBuilder.gyroscopeRawY = Double(Float.random(min: -1, max:  1.4))
+        sensorInfoBuilder.gyroscopeRawZ = Double(Float.random(min: -1, max: 1))
+        sensorInfoBuilder.gravityX = Double(Float.random(min: -0.5, max: 0.15))
+        sensorInfoBuilder.gravityY = Double(Float.random(min: -0.6, max:  -0.07))
+        sensorInfoBuilder.gravityZ = Double(Float.random(min: -1, max: -0.75))
+        sensorInfoBuilder.accelerometerAxes = 3
         return try! sensorInfoBuilder.build()
     }
     

import Foundation


internal class LocationFix {
    internal var timestamp:UInt64 = 0
    private let api: PGoApiRequest
    
    internal init(api: PGoApiRequest) {

    }
    
    private func getLocationFixes() -> [Pogoprotos.Networking.Envelopes.Signature.LocationFix] {
        var fixes: [Pogoprotos.Networking.Envelopes.Signature.LocationFix] = []
        for i in 0..<self.api.locationFix.count {
            fixes.append(try! self.api.locationFix.builders[i].build())
        }
        return fixes
    }
    
    internal func build() -> Pogoprotos.Networking.Envelopes.RequestEnvelope.PlatformRequest {
