The online racing simulator
Searching in All forums
(136 results)
smith
S2 licensed
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.
smith
S2 licensed
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.

smith
S2 licensed
Quote from Warren_GTZ :Hi Smith
I have serious problem.
LFS-STATS mistake the finish position.

Fixed, thanks.

to all:

* FAQ

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.

smith
S2 licensed
Quote from TechAde :
Could somebody explain the 'Lap times stability' section please?

The lower the number - more stable one's lap times are.

Quote from felplacerad :Here's a suggestion, how about making the names of the participants links to their lfsworld stats?

Good suggestion, thanks.
smith
S2 licensed
Quote from D34N0 :Smith - Are you able to determine if a valid pit stop has taken place or the person has gone straight to the garage and out (I know doing this resets the laps to 0) as it would be nice if Stats was able to detect this then placing the person as a DNF at the bottom with 0 laps completed.

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.
Quote from bobvanvliet :
I have an improvement suggestion: i find the "lap by lap positions" graph to be somewhat unclear, because every line's plot positions are based on the progress of THAT racer. In stead, I think it would be better to plot the positions against the race progress of the leading car, so that events that are at the same lap-axis position, actually happened at the same time. Now when people are down on or more laps, their line is no longer synchronous with the race leaders' lines.

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?
smith
S2 licensed
Quote from inCogNito :Well, i showed you a result where the finishing order was different than the avg. lap order, and you said it's OK, because how the avg. lap is calculated. (not just race length / laps)

It was changed since that conversation, as I realised I did math in the wrong way.
smith
S2 licensed
Quote from RudiTurbo :
Can You bring Me a reason?

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.

Quote from Hoellsen :
Is it in any way possible to make the stats relay compatible?

Afaik there's still no relay for S2 yet. Thus, I can't test that.

Quote from HS-78 :
could you give a additional diff row in the table of the best possible lap?

Sure, that'll be done.

Quote from inCogNito :
btw that isn't right. unless smith changed it in the latest version

Thats right, avg. lap order reflects exact finish positions for finished ones.
Last edited by smith, .
smith
S2 licensed
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
smith
S2 licensed
Quote from RudiTurbo :smith, could the average lap thingy just disregard laps that go bout 25 secs over the average, that would count out the pit laps, would also count out the mistakes, but it would nicely show who had the fastest pace if he had done a clean race

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.

Quote from Palee :
here is what you already have in place:
http://teaminferno.hu/p/race1003Acsop.png
and here is the normalized (relative distances between the drivers)
http://teaminferno.hu/p/race1003Acsoprelativ.png
so the first part of the race is quite visible

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.

Quote from Gimpster :
One thing I have identified that I would like is a tool to track qualifying across several different servers over an extended period of time and to track the race progress and results as well. Idealy I would then like to display this data in real time to a website. I have no experance in programing or website building and juct wondering if this could be done?

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
smith
S2 licensed
Quote from WiRuZik :it doesn't make stats from short race (5 laps).. when the replay start, it shows Waiting for connection and at the end of the race the stats aren't made..

I need more info, what messages you see, and where are they appear.
Quote from Palee :
Average lap and consistency feature could possibly disregard laptimes of pits and first lap?

I'm skipping first lap already. Can't skip pit laps, as there are no pit-related insim packets (yet).
Quote from Palee :
Or a graph where the lowest value always the last positioned racer, and the highest value is the race leader?

I do not undersntand what you mean, can you draw some example?
LFS stats!
smith
S2 licensed
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.

Example of output: http://www.kursknet.ru/~smith/stats/results_qual.html and http://www.kursknet.ru/~smith/stats/results_race.html .

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;
Last edited by smith, .
FGED GREDG RDFGDR GSFDG