Live for Speed - LFS Main Site
- LFS World
- LFS News
- LFS Manual
- LFS Merchandise
  http://www.liveforspeed.no/

Go Back   Live for Speed > Files > Unofficial Addons

Closed Thread
 
Thread Tools Search this Thread Display Modes
Old 11th August 2005, 03:47   #1  -   
smith
S2 licensed
 
smith's Avatar
 
Join Date: Oct 2003
Location: Russia
Posts: 136
smith's online stats
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
File Type: rar graph_1.19.rar (65.0 KB, 2127 views)
File Type: rar stats_1.49.rar (109.4 KB, 2258 views)

Last edited by smith; 17th December 2006 at 04:57.
Old 11th August 2005, 08:29   #2  -   
Phlos
S2 licensed
 
Phlos's Avatar
 
Join Date: May 2003
Posts: 132
Phlos's online stats
It's just awesome. Thank you for your work
__________________
"Mess with the best, die like the rest"
Old 11th August 2005, 11:01   #3  -   
Shorty
S2 licensed
 
Racername: m.kelterbaum
Join Date: Jul 2003
Posts: 2
Shorty's online stats
very useful this script. Great work!
Old 11th August 2005, 11:48   #4  -   
sebastiano
S2 licensed
 
sebastiano's Avatar
 
Racername: kira
Join Date: Apr 2005
Location: italy
Posts: 20
sebastiano's online stats
thx
__________________

Old 11th August 2005, 11:53   #5  -   
snewham
S2 licensed
 
snewham's Avatar
 
Racername: [4SR] Scotty
Join Date: Oct 2004
Location: Milton Keynes, England, UK
Posts: 607
snewham's online stats
Quote:
Originally Posted by sebastiano
thx
ditto
Old 11th August 2005, 13:58   #6  -   
WiRuZik
S2 licensed
 
WiRuZik's Avatar
 
Join Date: May 2004
Posts: 2
WiRuZik's online stats
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..
Old 11th August 2005, 14:00   #7  -   
Palee
S2 licensed
 
Palee's Avatar
 
Join Date: May 2003
Posts: 19
Palee's online stats
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.
Old 11th August 2005, 14:08   #8  -   
Jeddix
S2 licensed
 
Jeddix's Avatar
 
Join Date: Dec 2004
Posts: 19
Jeddix's online stats
Thanks
__________________
http://www.jeddix.de
Old 11th August 2005, 14:31   #9  -   
sebastiano
S2 licensed
 
sebastiano's Avatar
 
Racername: kira
Join Date: Apr 2005
Location: italy
Posts: 20
sebastiano's online stats
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 Thumbnails
Click image for larger version

Name:	1.JPG
Views:	1666
Size:	112.8 KB
ID:	64  
__________________

Old 11th August 2005, 14:39   #10  -   
ekze
S2 licensed
 
ekze's Avatar
 
Racername: RRT.ekze
Join Date: Dec 2004
Location: St. Petersburg
Posts: 347
ekze's online stats
Quote:
Originally Posted by 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
Old 11th August 2005, 15:00   #11  -   
sebastiano
S2 licensed
 
sebastiano's Avatar
 
Racername: kira
Join Date: Apr 2005
Location: italy
Posts: 20
sebastiano's online stats
thx
__________________

Old 11th August 2005, 18:22   #12  -   
smith
S2 licensed
 
smith's Avatar
 
Join Date: Oct 2003
Location: Russia
Posts: 136
smith's online stats
Quote:
Originally Posted by 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:
Originally Posted by 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:
Originally Posted by 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?
Old 11th August 2005, 23:34   #13  -   
RudiTurbo
S2 licensed
 
Join Date: Jun 2003
Location: Estonia
Posts: 246
RudiTurbo's online stats
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.

Last edited by RudiTurbo; 11th August 2005 at 23:37.
Old 12th August 2005, 00:00   #14  -   
ekze
S2 licensed
 
ekze's Avatar
 
Racername: RRT.ekze
Join Date: Dec 2004
Location: St. Petersburg
Posts: 347
ekze's online stats
Quote:
Originally Posted by 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.

This must be great.
Old 12th August 2005, 16:41   #15  -   
Palee
S2 licensed
 
Palee's Avatar
 
Join Date: May 2003
Posts: 19
Palee's online stats
Quote:
Originally Posted by smith
can you draw some example?
sure.

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
Old 12th August 2005, 18:29   #16  -   
Gimpster
S2 licensed
 
Racername: Gimpster
Join Date: Feb 2003
Location: Western Washington, USA
Posts: 470
Gimpster's online stats
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.
__________________
I may be slow but I am still ahead of you.
Old 13th August 2005, 03:43   #17  -   
smith
S2 licensed
 
smith's Avatar
 
Join Date: Oct 2003
Location: Russia
Posts: 136
smith's online stats
Quote:
Originally Posted by 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:
Originally Posted by 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:
Originally Posted by 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
Old 13th August 2005, 09:59   #18  -   
RudiTurbo
S2 licensed
 
Join Date: Jun 2003
Location: Estonia
Posts: 246
RudiTurbo's online stats
Quote:
Originally Posted by 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?
Old 13th August 2005, 11:14   #19  -   
Hoellsen
S2 licensed
 
Hoellsen's Avatar
 
Racername: P. Kempermann
Join Date: Jul 2003
Location: Germany
Posts: 596
Hoellsen's online stats
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.
Old 13th August 2005, 12:23   #20  -   
Da Hoe
S2 licensed
 
Da Hoe's Avatar
 
Racername: Torben S.
Join Date: May 2003
Location: Germany
Posts: 276
Da Hoe's online stats
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.
Old 13th August 2005, 14:36   #21  -   
HS-78
S2 licensed
 
Join Date: May 2003
Posts: 28
HS-78's online stats
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.
Old 13th August 2005, 22:50   #22  -   
RudiTurbo
S2 licensed
 
Join Date: Jun 2003
Location: Estonia
Posts: 246
RudiTurbo's online stats
Quote:
Originally Posted by 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.
Old 13th August 2005, 23:45   #23  -   
Da Hoe
S2 licensed
 
Da Hoe's Avatar
 
Racername: Torben S.
Join Date: May 2003
Location: Germany
Posts: 276
Da Hoe's online stats
ok, but then you'd need another name for it :P

and i still like the average thingies in the stats though.
__________________

Old 14th August 2005, 00:51   #24  -   
inCogNito
S2 licensed
 
inCogNito's Avatar
 
Racername: Marco Schmidt
Join Date: Jun 2004
Location: Hessen
Posts: 417
inCogNito's online stats
Quote:
Originally Posted by 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
__________________
member of n!faculty racing team

Poker?
Old 14th August 2005, 03:27   #25  -   
smith
S2 licensed
 
smith's Avatar
 
Join Date: Oct 2003
Location: Russia
Posts: 136
smith's online stats
Quote:
Originally Posted by 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:
Originally Posted by 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:
Originally Posted by HS-78
could you give a additional diff row in the table of the best possible lap?
Sure, that'll be done.

Quote:
Originally Posted by 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; 14th August 2005 at 03:32.
Old 14th August 2005, 13:09   #26  -   
RudiTurbo
S2 licensed
 
Join Date: Jun 2003
Location: Estonia
Posts: 246
RudiTurbo's online stats
Quote:
Originally Posted by inCogNito
btw that isn't right. unless smith changed it in the latest version
It can be diff, if someone starts from last and finishes 3rd, but that's what we have the position graph for.
Old 14th August 2005, 14:53   #27  -   
inCogNito
S2 licensed
 
inCogNito's Avatar
 
Racername: Marco Schmidt
Join Date: Jun 2004
Location: Hessen
Posts: 417
inCogNito's online stats
Quote:
Originally Posted by smith
Thats right, avg. lap order reflects exact finish positions for finished ones.
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)

maybe a misunderstanding back then
__________________
member of n!faculty racing team

Poker?
Old 14th August 2005, 15:02   #28  -   
smith
S2 licensed
 
smith's Avatar
 
Join Date: Oct 2003
Location: Russia
Posts: 136
smith's online stats
Quote:
Originally Posted by 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.
Old 17th August 2005, 13:43   #29  -   
D34N0
S2 licensed
 
D34N0's Avatar
 
Racername: T7R|D34N0
Join Date: May 2004
Location: Scotland
Posts: 95
D34N0's online stats
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.

The reason I am asking is during a league race someone sustained damage then immediately went to the garage came out and completed the race. And was fewer laps down than others who had made legitamate pit stops. This was found out after watching the replay and amending the stats page

I have also added a post in the improvement section asking for the Shift+S and Pits options be allowed to be switched off so there is no going to the garage during a race just pit stopping.

Regards
Dean
__________________

The Future is Bright, The Future is T7R
Old 17th August 2005, 14:14   #30  -   
bobvanvliet
S2 licensed
 
bobvanvliet's Avatar
 
Racername: q0_Bob
Join Date: Jul 2005
Location: Delft, Netherlands
Posts: 401
bobvanvliet's online stats
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.

You catch my drift?

Anyhoo, great piece of work!
__________________
q0_Bob

q0 = Rubber Ducky Racing | Visit our site!
Closed Thread

  Live for Speed > Files > Unofficial Addons

  • Submit Thread to Digg
  • Submit Thread to del.icio.us
  • Submit Thread to StumbleUpon
  • Submit Thread to Google

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:45.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Live for Speed © 2002-2009 - Scawen Roberts, Eric Bailey, Victor van Vlaardingen