Changes

Jump to navigation Jump to search
327 bytes added ,  21:49, 16 October 2019
→‎Using the data: Info about the lap counter updated
Line 60: Line 60:  
     struct SGameState {
 
     struct SGameState {
 
         EGameState  State;
 
         EGameState  State;
         char        GameplayVariant[64];    // environment name 'stadium' 'canyon', ....
+
         char        GameplayVariant[64];    // player model 'StadiumCar', 'CanyonCar', ....
 
         char        MapId[64];
 
         char        MapId[64];
 
         char        MapName[256];
 
         char        MapName[256];
Line 71: Line 71:  
         Nat32      NbCheckpoints;
 
         Nat32      NbCheckpoints;
 
         Nat32      CheckpointTimes[125];
 
         Nat32      CheckpointTimes[125];
         char        __future__[32];
+
        Nat32      NbCheckpointsPerLap;    // new since Maniaplanet update 2019-10-10; not supported by Trackmania Turbo.
 +
        Nat32      NbLaps;                // new since Maniaplanet update 2019-10-10; not supported by Trackmania Turbo.
 +
         char        __future__[24];
 
     };
 
     };
 
     struct SObjectState {
 
     struct SObjectState {
Line 295: Line 297:  
* A race ends when the race state changes from ''Running'' to ''Finished'' or ''BeforeState''. In order to distinguish between finish and restart, it's necessary to check whether the checkpoint count has increased.
 
* A race ends when the race state changes from ''Running'' to ''Finished'' or ''BeforeState''. In order to distinguish between finish and restart, it's necessary to check whether the checkpoint count has increased.
 
* It is not guaranteed that the checkpoint time has been updated at the same time as the checkpoint number is raised.
 
* It is not guaranteed that the checkpoint time has been updated at the same time as the checkpoint number is raised.
* There is no a lap counter. In a multi-lap race, you can not detect if a lap has been completed.
+
* The current lap of a multi-lap race can be determined by dividing NbCheckpoints by NbCheckpointsPerLap.
 
* The provided telemetry data records are not cleared after a race ends.
 
* The provided telemetry data records are not cleared after a race ends.
   Line 303: Line 305:  
* [http://tech.d-box.com/corporate-page/downloads/#pane-0-2 D-BOX Technologies Inc. motion-cueing systems]
 
* [http://tech.d-box.com/corporate-page/downloads/#pane-0-2 D-BOX Technologies Inc. motion-cueing systems]
 
* [https://www.simhubdash.com/ SimHub, Sim Racing Dashboard and Hardware]
 
* [https://www.simhubdash.com/ SimHub, Sim Racing Dashboard and Hardware]
 +
* [https://www.stryder-it.de/simdashboard/ SIM Dashboard Android App]
 
* [[Telemetry_Monitor|TrackMania Telemetry Monitor]]
 
* [[Telemetry_Monitor|TrackMania Telemetry Monitor]]
 
* [https://www.symprojects.com/ SymProjects SimDash, Sim Monitor]
 
* [https://www.symprojects.com/ SymProjects SimDash, Sim Monitor]

Navigation menu