I just want to clarify something from the IS_RES packet (result confirmation). From the InSim.txt doc:
The ResultNum is either the qualifying position for the lap or the race finish position. The documentation covers values from 0-255 (e.g. 0 = 1st position, 4 = 5th position, 255 = not given a finish position). However, in a qualifying session it's possible to get a value of -1 for the ResultNum. From testing I think this -1 value is received when the player completes a lap that is slower than their fastest lap in the session. So, for example, a driver does a 1:32.16 lap and that lap has a ResultNum of 0 (i.e. that lap was good enough for provisional pole). Then the same driver does another lap of 1:32.99 (which is slower than their 1:32.16 lap) and the ResultNum is -1. Am I correct in my thinking?
The ResultNum is either the qualifying position for the lap or the race finish position. The documentation covers values from 0-255 (e.g. 0 = 1st position, 4 = 5th position, 255 = not given a finish position). However, in a qualifying session it's possible to get a value of -1 for the ResultNum. From testing I think this -1 value is received when the player completes a lap that is slower than their fastest lap in the session. So, for example, a driver does a 1:32.16 lap and that lap has a ResultNum of 0 (i.e. that lap was good enough for provisional pole). Then the same driver does another lap of 1:32.99 (which is slower than their 1:32.16 lap) and the ResultNum is -1. Am I correct in my thinking?