The problem is that lfs sends is_res finish packet for the player only when his race position is finalised, i.e. when '?' sign in front of him replaces with a number. That packet isn't sending for 'unknown finishers', the ones who disconnected or spectated during finish table build-up.
In my results table generation I'm basing on insim, not the mpr file itself, so absense of proper input data leads to incorrect results.
GerG, read FAQ. I'm sure replay was saved (and ended) until everyone have finished their last lap (and race..) Check that, please.
Q: Some of the players are marked as DNF in results table, although they completed the whole race. What's wrong? A: Replay has ended until every single player finished their final laps, so no correct results information is available.
Q: Could somebody explain the 'Lap times stability' section please? A: The lower the stability number - more stable one's lap times are. Only racers which did more than 2 laps are present in stability table. First lap time is excluded from calculation.
I use the following deviation formula to calculate stability. Example of calculation for one player:
stability = sqrt(sumN((AverageLapTime - LapTimeN)^2) / (N - 1)) where: N - number of laps; AverageLapTime - Player's average lap time; LapTimeN - Player's time of Nth lap;
Q: I made a stats for our 2h endurance race and it didn't show penalty - drive through.. it's an bug or it can't show it? A: It shows only not completed penalties in results. That's a limitation of LFS, which sends only not completed penalty info on race finish.
Q: Why it shows 0 pit stops for an DNF racer, while I know he did at least one? A: Since there are no pit-related insim packets (yet?), there is no possibility to determine number of pit stops other than on race finish. If player hasn't finished, pit stop data is not available.
Q: Some of the players are marked as DNF in results table, although they completed the whole race. What's wrong? A: Replay has ended until every single player finished their final laps, so no correct results information is available.
I'm afraid that I can't do what you ask, since my intention is to have exact duplicate of lfs ingame results table. You should agree with me that preventing and penalising shift+s during league races looks more like administrative task.
It's not very clear for me how losing lap or more to leader should influence player's position, as we have strict position/lap lines for each player in that graph. Can you draw what you suggest using some real results data?
Tracks have different pit-lane length, different pitlane entry/exit length and speed. Finally, pit-stop time length can vary very significally too...
And, what's more important, I can't distinguish whether one heavily spun or pitted in...
The best solution is to wait for pit-stops packets.
Afaik there's still no relay for S2 yet. Thus, I can't test that.
Sure, that'll be done.
Thats right, avg. lap order reflects exact finish positions for finished ones.
I really thought it's going be easier than it happened in reality. WOW-factors are always coming unexpected.
Thus, I have only one demand, make that darn fz50 front suspension more strong and impact resistant
I am going to add pit-stop laps skipping when insim'll be able to send pit packets.
Skipping laps slower than average by fixed amount of time is not very good idea imho.
Looks like race1003Acsoprelativ.png main idea is exactly the same as my lap by lap graph, with the only difference that it's bound to time, and my graph is bound to positions.
Everything is possible. Take any insim lib (for example, sdether or Messiah one) and you're almost there, you just need to spend some time. Also, remember the main principle: if you want anything to be done, do it by yourself
Hello. Some of you already used my insim stats 1.0 tool to create a bit of statistical information about races in S1 and S2 alpha demo times.
With full S2 alpha release I did some modifications/bugfixes to it, so updated version is rolled out for your judgement.
Detailed usage instructions are in readme, so please check it first.
graph v1.19
- Fixed zero-lapped player case;
- Graphs are not created if they already exist on disk and have non-zero length;
- (Hopefully) fixed sometimes wrongly placed laptime chart title;
stats v1.49
- User name replaced player name in tsv macro;