Nick Thissen wrote:
If you are talking about the event triggers, then I'm afraid the flag triggers come directly from the SDK and if there is a sudden caution flag in there then there is little we can do to "fix" that. Could it be a bug in the SDK? I can check.
Nick Thissen wrote:
We push new Flag events whenever iRacing changes their list of active flags.
If GreenHeld goes up while the Caution or Yellow flag is still active, then yes we may trigger another Caution or FlagYellow event indeed.
I need to see if this is desired behavior or not... probably not, but I'm not sure how to handle it better.
It sounds like maybe we should just completely ingore the GreenHeld flag? I will check with David myself. If this flag is only there to 'activate' the flagman animation earlier then we don't want to react to it.
This may help me debug: when this second caution event happens, do we also count an additional caution? So the amount of cautions we count in the sessionstate binding is off by a factor 2?
Nick Thissen wrote:
I've released a beta version where I ignore the GreenHeld flag entirely. If you can try that and let me know if that fixes the issue then at least I know this is a viable solution. Unless it turns out someone needs the GreenHeld flag but I doubt it.