[plugin] sector yellow flag

Discussion in 'Technical Archives' started by MaXyM, May 27, 2012.

  1. MaXyM

    MaXyM Registered

    Joined:
    Oct 5, 2010
    Messages:
    1,774
    Likes Received:
    29
    Since first open beta, sector yellow flags are filled by strange values.
    Declared as
    Code:
    signed char mSectorFlag[3]
    outputed as
    Code:
    fprintf_s( fo, "SectorYellowFlags=(%d,%d,%d)\n", info.mSectorFlag[1], info.mSectorFlag[2], info.mSectorFlag[0]);
    in rF1 gives values 0 or 1 as expected
    In rF2 I get various values I cannot decode. In most cases it is (11,11,11), but there are also values 1,2,3 which often appear

    I suspect those variables has wrong references in memory... Please, maybe some rF2 developer would be able to answer.
     
  2. MaXyM

    MaXyM Registered

    Joined:
    Oct 5, 2010
    Messages:
    1,774
    Likes Received:
    29
    Another bug(s) - I don't want to create new thread even if probably:
    - Plugin reports -1 value for Raceinfo.mEndET on Race Sessions (with time limit). On other sessions time is set
    - Raceinfo.mEndET if set to value other than -1, contains values a bit different than time set for session. For example for 10min practice session it reports: 630.

    What is strange, when all pre-race-sessions are set to "skip session", 5 minutes warmup is fired before a race. If practice or qual is available, then warmup is skipped es expected comparing to settings.
     
  3. MaXyM

    MaXyM Registered

    Joined:
    Oct 5, 2010
    Messages:
    1,774
    Likes Received:
    29
    At the end... UpdateScoring method starts to be called with 20sec delay after each session start. Even when plugin is started under Dedicated Server.
    Until this time, it is not possible to get some data. Not only drivers data, but also common information about session, like session type, session settings etc.

    Please ISI, when this limitation will be removed?
     

Share This Page