[plugin] sector yellow flag

MaXyM

Registered
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.
 
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.
 
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?
 
Back
Top