SharedMemory - find if lap is valid or not

Discussion in 'Third Party Content' started by Amir Meshulam, Jan 23, 2021.

  1. Amir Meshulam

    Amir Meshulam Registered

    Joined:
    Jan 18, 2021
    Messages:
    7
    Likes Received:
    10
    Hi,

    I'm using the shared-memory plugin from here:
    https://github.com/TheIronWolfModding/rF2SharedMemoryMapPlugin

    It works great and I find most of the data I need.

    I'm missing that one thing - how to know if the current (or previous) lap is valid for timing or not?

    I all other sims shared-memory there is a flag "isinvalidate" or just flag of the car is on-track or off-track for each telemetry item. here, on Factor 2, I just can't find it..

    Thank you!
     
  2. Seven Smiles

    Seven Smiles Registered

    Joined:
    Oct 5, 2010
    Messages:
    1,099
    Likes Received:
    1,152
    It seems to be
    Code:
    mCountLapFlag; // 0 = do not count lap or time, 1 = count lap but not time, 2 = count lap and time
    in rF2VehicleScoring
     
    Amir Meshulam likes this.
  3. Amir Meshulam

    Amir Meshulam Registered

    Joined:
    Jan 18, 2021
    Messages:
    7
    Likes Received:
    10
    Works like a charm. Thank you!
     
    Seven Smiles likes this.

Share This Page