The online racing simulator
LFS stats!
(465 posts, closed, started )
#1 - smith
LFS stats!
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;
Attached files
graph_1.19.rar - 65 KB - 2940 views
stats_1.49.rar - 109.4 KB - 3111 views
#2 - Phlos
It's just awesome. Thank you for your work
very useful this script. Great work!
thx
Quote from sebastiano :thx

ditto
I have a problem with lfs stats.. i have many replays but it doesn't work on each of them.. for example our last league race.. long race is ok (results are a little wild) but 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..
#7 - Palee
we also like and use your product.

if i may to suggest one thing:

Average lap and consistency feature could possibly disregard laptimes of pits and first lap?

Or a graph where the lowest value always the last positioned racer, and the highest value is the race leader?
You know, a 0% to 100% graph which would better demonstrate the relative distance of racers, from start to finish.
Thanks
I have a small problem with the graph, when I execute it I give the following error: Error Cannot create graph/11,08,05_142309_lbl.png.I have installed the microsft runtime, I have executed the graph in the directory "stats" but I have always the problem. How I can resolve it?

thx
Attached images
1.JPG
#10 - ekze
Quote from sebastiano :I have a small problem with the graph, when I execute it I give the following error: Error Cannot create graph/11,08,05_142309_lbl.png.I have installed the microsft runtime, I have executed the graph in the directory "stats" but I have always the problem. How I can resolve it?

thx

create "/graph" directory
:doh: thx
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?
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
Because average laps and average speeds are in most cases always the same as the results anyway, we dont need to see the results 2 or 3 times, the results table is enough, that average thingy which would count out the laps that go 25 secs over average would help us to do some more speculations
or the time could be 10 or 15 secs even, cause the stops for formulas are shorter.
#14 - ekze
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
Because average laps and average speeds are in most cases always the same as the results anyway, we dont need to see the results 2 or 3 times, the results table is enough, that average thingy which would count out the laps that go 25 secs over average would help us to do some more speculations
or the time could be 10 or 15 secs even, cause the stops for formulas are shorter.

:iagree:
This must be great.
Smith,

Very cool app. I am in the process of trying to put togeather a new race series for the LFS comunity. 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? If it can some pointers or a susggestion of who might have the time, energy and willingness to do it would be great.
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
Quote from smith :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.


Can You bring Me a reason?
Is it in any way possible to make the stats relay compatible? That way you could run different insim applications like LFS Spectator AND the stats at one time.
because it's about the average lap, rudi. and what is an average lap when you dont count the laps in which you made faults?. imho every lap should be counted.
Nice tool that one - could you give a additional diff row in the table of the best possible lap? I mean difference to your own real best lap in that race.
Quote from Da Hoe :because it's about the average lap, rudi. and what is an average lap when you dont count the laps in which you made faults?. imho every lap should be counted.

imho average speed and laptime stats have always been pointless, cause they give exact same positions as the finishing order. The best stats are the ones which give You comparison from different sides of view and speculation.
ok, but then you'd need another name for it :P

and i still like the average thingies in the stats though.
Quote from RudiTurbo :imho average speed and laptime stats have always been pointless, cause they give exact same positions as the finishing order.

btw that isn't right. unless smith changed it in the latest version
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.
This thread is closed

LFS stats!
(465 posts, closed, started )
FGED GREDG RDFGDR GSFDG