Hi Iron Wolf,
what I mean is that I have Problems with the start of the files, with which data it begins, because without knowing how you contruct the mmap file it is hard to see what you placed at which point. Followed my example of a list with the infos I mean, that would be helpful without opening your project and check the rf2state file and then you not know what put in front of the first rf2 value.
rf2vehicletelemetry without wheels:
('mCurrentRead', c_bool),
('mVersion', c_char*8),
('mID', c_long),
('mDeltaTime', c_double),
('mElapsedTime', c_double),
('mLapNumber', c_long),
('mLapStartET', c_double),
('mVehicleName', c_char *64),
('mTrackName', c_char *64),
('mPos', c_double*3),
('mLocalVel', c_double*3),
('mLocalAccel', c_double*3),
('mOri', c_double*9),
('mLocalRot', c_double*3),
('mLocalRotAccel', c_double*3),
('mGear', c_long),
('mEngineRPM', c_double),
('mEngineWaterTemp', c_double),
('mEngineOilTemp', c_double),
('mClutchRPM', c_double),
('mUnfilteredThrottle', c_double),
('mUnfilteredBrake', c_double),
('mUnfilteredSteering', c_double),
('mUnfilteredClutch', c_double),
('mFilteredThrottle', c_double),
('mFilteredBrake', c_double),
('mFilteredSteering', c_double),
('mFilteredClutch', c_double),
('mSteeringShaftTorque', c_double),
('mFront3rdDeflection', c_double),
('mRear3rdDeflection', c_double),
('mFrontWingHeight', c_double),
('mFrontRideHeight', c_double),
('mRearRideHeight', c_double),
('mDrag', c_double),
('mFrontDownforce', c_double),
('mRearDownforce', c_double),
('mFuel', c_double),
('mEngineMaxRPM', c_double),
('mScheduledStops', c_ubyte),
('mOverheating', c_bool),
('mDetached', c_bool),
('mHeadlights', c_bool),
('mDentSeverity', c_ubyte * 8),
('mLastImpactET', c_double),
('mLastImpactMagnitude', c_double),
('mLastImpactPos', c_double*3),
('mEngineTorque', c_double),
('mCurrentSector', c_long),
('mSpeedLimiter', c_ubyte),
('mMaxGears', c_ubyte),
('mFrontTireCompoundIndex', c_ubyte),
('mRearTireCompoundIndex', c_ubyte),
('mFuelCapacity', c_double),
('mFrontFlapActivated', c_ubyte),
('mRearFlapActivated', c_ubyte),
('mRearFlapLegalStatus', c_ubyte),
('mIgnitionStarter', c_ubyte),
('mFrontTireCompoundName', c_char*18),
('mRearTireCompoundName', c_char*18),
('mSpeedLimiterAvailable', c_ubyte),
('mAntiStallActivated', c_ubyte),
('mUnused', c_ubyte*2),
('mVisualSteeringWheelRange', c_float),
('mRearBrakeBias', c_double),
('mTurboBoostPressure', c_double),
('mPhysicsToGraphicsOffset', c_float*3),
('mPhysicalSteeringWheelRange', c_float),
('mExpansionTelem', c_ubyte*152)
But I have problem now, everytime I start my tool first and start then rf2, the plugin write to the debug log this message "Failed to map file 1" and crash after loading the track, that was not with the previous version. I found out that I have to wait until rf2 is open that I can start my tool. Is there a way to have the behavior of the previous version, because I have not found a solution to prevent this with python?