PDA

View Full Version : LFS stats!


Pages : [1] 2

smith
11th August 2005, 03:47
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;

Phlos
11th August 2005, 08:29
It's just awesome. Thank you for your work :thumb:

Shorty
11th August 2005, 11:01
very useful this script. Great work!

sebastiano
11th August 2005, 11:48
thx :thumb:

snewham
11th August 2005, 11:53
thx :thumb:
ditto :thumb:

WiRuZik
11th August 2005, 13:58
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.. :(

Palee
11th August 2005, 14:00
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.

Jeddix
11th August 2005, 14:08
Thanks :thumb:

sebastiano
11th August 2005, 14:31
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 :D

ekze
11th August 2005, 14:39
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 :D

create "/graph" directory :tilt:

sebastiano
11th August 2005, 15:00
:doh: thx :)

smith
11th August 2005, 18:22
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.

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).

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?

RudiTurbo
11th August 2005, 23:34
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.

ekze
12th August 2005, 00:00
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.

Palee
12th August 2005, 16:41
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

Gimpster
12th August 2005, 18:29
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.

smith
13th August 2005, 03:43
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.


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.


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 :)

RudiTurbo
13th August 2005, 09:59
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? :)

Hoellsen
13th August 2005, 11:14
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.

Da Hoe
13th August 2005, 12:23
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.

HS-78
13th August 2005, 14:36
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.

RudiTurbo
13th August 2005, 22:50
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.

Da Hoe
13th August 2005, 23:45
ok, but then you'd need another name for it :P

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

inCogNito
14th August 2005, 00:51
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

smith
14th August 2005, 03:27
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.


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.


could you give a additional diff row in the table of the best possible lap?

Sure, that'll be done.


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.

RudiTurbo
14th August 2005, 13:09
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.

inCogNito
14th August 2005, 14:53
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

smith
14th August 2005, 15:02
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.

D34N0
17th August 2005, 13:43
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

bobvanvliet
17th August 2005, 14:14
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? :really:

Anyhoo, great piece of work! :thumb:

smith
17th August 2005, 16:54
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.

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?

D34N0
17th August 2005, 17:36
Smith - Thanks for the quick reply. It was more of a hopeful suggestion and yes I do agree it should an administrative task and thats why I also raised this thread in the improvements section :)


http://www.lfsforum.net/showthread.php?t=434

bobvanvliet
17th August 2005, 19:01
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?

You know what, I've been going over the graph I thought was confusing, turns out my reasoning was somewhat flawed... :D

So... Just ignore my comment... :smileypul .

TechAde
18th August 2005, 09:56
Could somebody explain the 'Lap times stability' section please?

felplacerad
18th August 2005, 22:02
Very cool Smith, thanks a billlion!

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

smith
19th August 2005, 03:27
Could somebody explain the 'Lap times stability' section please?

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

Here's a suggestion, how about making the names of the participants links to their lfsworld stats?
Good suggestion, thanks.

TechAde
19th August 2005, 08:12
The lower the number - more stable one's lap times are.

Thanks smith. Please could you explain what the numbers actually mean, taking this as an example?


1. Rudi Reinkort (RudiTurbo) 0.19 +0.00 72
2. Pierre Closset (Sazea) 0.22 +0.03 71

Konsole
19th August 2005, 10:34
very cool tool !

cheers

Warren_GTZ
19th August 2005, 19:03
Hi Smith
I have serious problem.
LFS-STATS mistake the finish position.

We try long race, so we have a player who is one lap behind.
At first, 1st to 7th player get checker flag.
Then, 10th to 12th player get checker flag, but they are 1lap behind.
Then, 8th and 9th player get checker flag.

LFS-STATS output file(results.html) change to:


Truly 10th position player -> 8th
Truly 11th position player -> 9th
Truly 12th position player -> 10th
Truly 8th position player -> 11th
Truly 9th position player -> 12th

This is the replay file, please check the STATS program.
http://subarist.minidns.net/images/lfs_replay/2005-0819Race.mpr

smith
20th August 2005, 12:16
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.

Richard Torp
22nd August 2005, 09:03
Cant find the link right now to the LFS Stats. where?

Da Hoe
22nd August 2005, 09:09
first post in this thread, attached files

Richard Torp
22nd August 2005, 09:51
first post in this thread, attached files

My glasses was very dirty....:pillepall :smileypul

GerG
23rd August 2005, 13:02
Hi there! Thankx for this great stat program first of all! I have a problem with your new version. We had a 60 lap race on BL1 with the XRR (mpr link below) and nearly half of the field is shown as DNF at the end in STATS. but they finished the race though. Could u please have a check on it?

Thank you in advance: GerG (Hungarian LFS League)

The Replay file:
http://www.liveforspeed.hu/download/results/2005/s2/i/20050821a.mpr

The output:
http://www.liveforspeed.hu/statok/s2/23.08.05_144628_results.html

smith
23rd August 2005, 14:36
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.

GerG
23rd August 2005, 20:06
smith: of course i did, that is a complete replay, with 14 finishers.
Edit1: (But now i noticed that some of the Finishers are marked as "Unknown Finisher"s. )

Edit2: Ok i think i've figured it out. Some of the Finishers were spectating BEFORE they got their positions (eg. They Finished the race, got chequered flag, and then spectated, but they were one or more lap behind, so they did not receive their position immediately but a "?" instead), and they are marked as "Unkown Finishers at the end of the race (See pic). The problem is that Stats should see the final results apart from this, IMO.

http://www.liveforspeed.hu/statok/s2/bug/bug.jpg

Edit3: Oh, and in the Champs @ home we use an automated MPR uploader system which gets the information about finsihed racers from the MPR, and it showed correct information. So the Final standings should be in that MPR correctly. IMO again :)

ekze
23rd August 2005, 21:51
GerG: maybe they have changed name during race? :really:

GerG
23rd August 2005, 21:55
GerG: maybe they have changed name during race? :really:
No they did not, the problem is what I explained in edit 2, They were spectating, when they ought to get their positions, but there were no racers on track with that name, so they did not get the position according to the result chart. I guess it is some kind of packet related thing.
So to make it simlple, they are displayed as "Unknown Finisher"s on the pic because they were spectators, when the final standings list was generated. The only thing I do not understand is that the MPR contains proper information about standings (coz we use that in our champs). So i do not get how STATS gets the compromised ones.

smith
24th August 2005, 04:29
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.

xapexcivicx
24th August 2005, 04:48
Awesome program man. Great work :THUMBSUP:

GerG
24th August 2005, 08:07
The problem is that lfs sends is_res finish packet for the player only when his race position is finalised...

Thanx for the explanation Man, i will tell everyone not to spectate :) Thank you!

Rolle
5th September 2005, 06:26
very great tool, thank you very much

just a little question, the event field, do you have to edit that manually
or is there some command to write in it?

TIA

smith
5th September 2005, 09:24
You have to edit html manually, it's not automated at the moment. I'd put the server name there, if only I could retrieve it via insim.

Jeddix
5th September 2005, 20:44
With the new 1.277 the average laptime isn't working anymore.

smith
6th September 2005, 03:14
D'oh! Darned typo... Download it again.

Jeddix
6th September 2005, 08:31
Thanks.

GeForz
10th September 2005, 20:41
How about user-specified image size when creating the graphs? :)

smith
11th September 2005, 04:01
You want to have them bigger?

edit: now you can.

GeForz
11th September 2005, 07:36
Thank you :thumb:

WiRuZik
12th September 2005, 21:06
What about driver's change? What does it do?

smith
13th September 2005, 03:23
It should be ok, but I have to mention it wasn't tested or supported in code.

eindewege
16th September 2005, 08:44
I've got a problem with the program. It doesnt output any files, nothing.

Program version is 1.277 with LFS S2 P2.

Connecting goes well, I see the split and laps times from every player, replay ends, program exits, but nothring else.
I tried this with a few races, same result.

smith
16th September 2005, 17:05
Nothing is written only when there is no at least one _finished_ racer - check if this condition triggers...

Eldanor
17th September 2005, 09:28
I get this error while trying to replay a MPR. When I execute stats.exe, LFS says:

InSim: Admin password does not match
InSim: Packet Received before ISI packet

And then closes.

I can´t remember setting any password in LFS...

smith
17th September 2005, 15:59
Click multiplayer/start new game and delete admin password in according field.

Kashopi
23rd September 2005, 07:02
Hello smith.

I tried to obtain the stats with your program's latest version , but I had a strange result:

- The fastest lap is wrong.
- The "laps led" and related stuff are wrong.
- The graphs of positions/laps are wrong.

You can have a look at http://www.mapachitos.com/ftp/misc/race_sas-21-09-2005.mpr

Thanks for a great tool!!!!

smith
23rd September 2005, 13:52
First, thanks for your friendly feedback.
Now, let's get to the answers.
1. This program won't work for demo mpr replays like your one
2. When (or if) you'll have the opportunity to use it for S2 replays, make yourself acquainted with the FAQ:

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.
A: Some players disconnected or entered spectate mode before their final position
in ingame race results table was decided, thus, no race result packet was
sent for them by LFS, and they will be marked as DNF.

GianniC
25th September 2005, 11:04
Very good ! Nice work :up:

Kashopi
27th September 2005, 11:43
Thank you smith!!

Neuron
28th September 2005, 17:33
Thanks for the great prog, Smith!

I have one question though... is there a bug in the lap time stability calculations or have I misunderstood something? We drove two races on the same track with the following lap times

Edit:
No need for times anymore as the program was fixed

smith
29th September 2005, 04:02
Nothing fancy is done with the number. Check your calculations again and make sure you are excluding first lap beforehand.

Neuron
29th September 2005, 09:58
I checked and recheked my calculations but still I get the same numbers. Even without calculating anything you can clearly see that in race one there is much more deviation on the times than in race two, and still it says that deviation for race one is lower...

Edit: See attached txt-file for some calculations.
Edit: Removed attachment

smith
29th September 2005, 16:25
Sorry, I don't have time to find where your error is. It's faster for me to make example from the scratch. Here is the deviation calculation for CeRT| Jet.
stats result: http://lfsclub.mediagate.ru/temp/lfsforum/29.09.05_200032_results.html
mpr replay: http://lfsclub.mediagate.ru/temp/lfsforum/liga_3_1_1_52_sprint.mpr

my calculations attached in excel format file, and they repeat stats data.

Neuron
29th September 2005, 18:15
Ok, I checked your xls file, but when calculating deviation, why are you using formula =SQRT(B18/(4-1)) when the number of laps was 5 and the first one was already excluded? But thats not the problem, those numbers are still quite wrong.

------

Edit:
Here's an easier example. From the stats you posted we see that

16.[NRG]Mark Novys (Mark Novys) 2.45 +2.22 5

now, if we input his laptimes to xls file you provided

935500
828700
793900
887500
975800

we get

Deviation= 79557,29068 0 7,96

----
ps. Do you have some variables overflowing in your code, as it seems that the numbers are off if the (Avg-LapTime)^2 is large?

smith
30th September 2005, 03:59
Ok, I checked your xls file, but when calculating deviation, why are you using formula =SQRT(B18/(4-1)) when the number of laps was 5 and the first one was already excluded?


Because this is what the formula requires, we must divide by n-1.

Do you have some variables overflowing in your code, as it seems that the numbers are off if the (Avg-LapTime)^2 is large?
Hmm.. you're right. Value was overflowing at one of the calculation steps. Thanks for pointing that out, it should work now.

Neuron
30th September 2005, 09:27
You're welcome. I'm glad to be able to help you :drink:

OPK
30th September 2005, 10:03
just want to say: very cool stuff, I always wanted to have something like that \o/

:hug:

Krutch
30th September 2005, 17:46
Smith, a bug report, look at this output:

NL.LFS BL1 Server 2 (http://www.esports-league.de/attachfiles/nllfs/02-server2.html).

As you can see André Nauta finished 2nd, but at the lap by lap chart, he is given 3rd.

Also, why am I not getting an anverage lap (also on other outputs)?

smith
1st October 2005, 03:32
Smith, a bug report, look at this output:
NL.LFS BL1 Server 2 (http://www.esports-league.de/attachfiles/nllfs/02-server2.html).
As you can see André Nauta finished 2nd, but at the lap by lap chart, he is given 3rd.
Also, why am I not getting an anverage lap (also on other outputs)?

Regarding avg lap, there was some early 1.277 version with such bug.
About missed position, I just don't know. I need more input info (*.tsv files at least). Who actually finished 2nd? Looks like we have photo finish there :)

Krutch
2nd October 2005, 12:27
The results are correct, it was André Nauta who finished 2nd.

I attached all the output files except the html.
I also have to say that I didn't follow what was in the readme and did run the replay at I think 8x speed.

smith
2nd October 2005, 17:12
Very strange situation, because in lap times data file Nauta's race time is smaller than Kok's, what is correct.
Only racers positions are wrong, and I can think of only one situation when it can happen - Nauta's lap time packet arrived later than his rival's one.
Anyhow I plan to get rid of positions data file and I'm going to rewrite positions graph so it shows position changes at every split instead of every lap.

jscorrea
6th October 2005, 14:54
hi smith,

works with DEMO version?

Regards,
JS

smith
6th October 2005, 15:26
It will be ok with demo replays/demo servers as long as there are no joins of players during race progress. In case of one or more joins stats are going to be screwed.

finnerss
13th October 2005, 17:05
Hi, there's one small problem that I haven't been able to find addressed in here... I run a Remote Dedicated Server, which means that it runs with the Dedicated Server Patch, and I actually run the game in my local computer. I have tried setting /insim 65000 in the black small "dos-like" screen that the dedicated server runs, and then trying to start Stats in the remote server as well, but I get some strange "packet error". I have tried the stats with the replay, and it works great.

Could someone please just write down the steps for making the remote server create the .html and the graphics? Just consider me very dumb, but I would need this explained almost click by click I usually get confused very easily.

Thanks in advance :D

Sergio

smith
14th October 2005, 04:00
I get some strange "packet error".

I'd like to see what "packet error" message is looking like exactly. Meanwhile, try this startup parameters:
stats.exe 127.0.0.1 64999 65000 "" dedi
replace 127.0.0.1 with your ip address, of course.

I tested this right now, and it works. One interesting thing is that even if you have a password set in your server, you don't have to specify it in stats command parameters, but this is unrelated to your problem :)

P.S. You are using last stats version, right?

eindewege
14th October 2005, 15:12
Very strange situation, because in lap times data file Nauta's race time is smaller than Kok's, what is correct.
Only racers positions are wrong, and I can think of only one situation when it can happen - Nauta's lap time packet arrived later than his rival's one.
Anyhow I plan to get rid of positions data file and I'm going to rewrite positions graph so it shows position changes at every split instead of every lap.

I think that is very possible, 'cos the finish was VERY close.

Maybe its an idea to wait like 1sec before adding a racer to the final result list, too make sure every packet has arrived.

smith
14th October 2005, 16:00
Wrong graphs in Krutch's replay should look properly now with new graph version.

t1ger
19th October 2005, 09:57
smith, is there any chance of you sharing the source code with me, please. I am trying to make an insim app (to do something very similar to yours) but I have only got the original LFS Control project and was wondering if yours was easier to start with. Also what do you write it in? Do you use VB or C++ and if so which flavour?

I will understand if you do not want to give it away that easily, so if you could just give me the minimal I need to initialise insim and start sending and receiving packets - I would be very grateful.

Tim

smith
19th October 2005, 15:12
t1ger,
my program has nothing fancy within its insim interaction section. In fact, it's based on Scawen's insim demo, mentioned by you above, and practically nothing was changed in insim interaction part. Frankly speaking, LFSControl is a quite good basis to start from.

I wrote stats using C, but today I have a feeling I should've started with C# :)

Also, there are a couple of insim libraries by messiah and sdether which make insim programming way more convinient, maybe you should check them in LFS Programmers subsection of this forum.

If you still have any difficulties in any of the above possibilities, make a thread in LFS Programmers, you won't be left without the answer.

t1ger
19th October 2005, 19:00
OK, thanks for answering me - will do.


Tim

smith
20th October 2005, 03:17
Oh, I just remembered I have something you might need - http://lfsclub.mediagate.ru/temp/quali.rar
Basically that's a skeleton of insim program (with tiny bit of its own logic, which can be easily removed). All you need is to add your own packet handling blocks to UdpInSim.cpp / ReadUDPSocket() function. You just need to make sure not to remove sending of verification packets.

flyby3d
20th October 2005, 15:38
Any chance to make Stats! compatible also with qualify and practice replays?
It should basically log all laps completed by anyone that connects and than output the stats regarding "best lap", "best splits", "best possible lap" and "average lap"... in a format similar to the one already used for races :)

Another interesting feature would be the possibility to add some custom fields to the output of the report without having to add them manually.
It might be very useful for uses in leagues to make automated reports and add info like points gained and other league-specific infos :smileypul

Thanks for your work! Really good job!

smith
21st October 2005, 15:06
Any chance to make Stats! compatible also with qualify and practice replays?
It should basically log all laps completed by anyone that connects and than output the stats regarding "best lap", "best splits", "best possible lap" and "average lap"... in a format similar to the one already used for races :)

Probably it's possible, but I don't consider it as some useful feauture. Main program's aim is to analyse multiplayer (more than one player) races to compare racers perfomance, and there is not much of interest in hotlap or single player actions for me in terms of extracted statistical data...

Another interesting feature would be the possibility to add some custom fields to the output of the report without having to add them manually.
It might be very useful for uses in leagues to make automated reports and add info like points gained and other league-specific infos :smileypul

Uhm, yeah, some kind of templating definitely would be cool in theory, although I doubt anyone except a couple of people (including you) really needs it :)

flyby3d
21st October 2005, 16:09
Probably it's possible, but I don't consider it as some useful feauture. Main program's aim is to analyse multiplayer (more than one player) races to compare racers perfomance, and there is not much of interest in hotlap or single player actions for me in terms of extracted statistical data...

:)

I was actually thinking about multiplayer replay of qualifing events, such as in a league, to output a report in a similar fashion of what you get for the race itself :D

Pinto_PT
27th October 2005, 09:38
Smith, a bug report, look at this output:

(removed)

The last driver did not finish at 19th position, in game it shows 13th place as it's on lfs world

(removed)

That 30s penalty there is making the diference for lfs stats i think.

smith
27th October 2005, 16:50
Smith, a bug report, look at this output:

AS Club Stats (http://pwp.netcabo.pt/rfcap/asclub/24.10.05_003505_results.html)

The last driver did not finish at 19th position, in game it shows 13th place as it's on lfs world

LFS World Result (http://www.lfsworld.net/?win=races&whichTab=detail&racer=RJC_pt&raceId=989340)

That 30s penalty there is making the diference for lfs stats i think.

Yep, he was penalised for something, thus he is moved down the grid. Looks like penalty info for the player was received in race finish packet, but of course it can be some bug too.

Can you watch the replay and tell me if he's got any penalty throughout the race progress and whether he completed this penalty?

Pinto_PT
28th October 2005, 11:46
Yep, he was penalised for something, thus he is moved down the grid. Looks like penalty info for the player was received in race finish packet, but of course it can be some bug too.

Can you watch the replay and tell me if he's got any penalty throughout the race progress and whether he completed this penalty?

I saw the replay, and indeed he got a 30s penalty when entering pits on lap 33 (35 laps race), he went out of pits and on his 34th lap even before he completed his 30s stop and go penalty the first racers finished.

He entered pits to complete his stop and go, but after stopping the car on pits, i think he didn't stopped for 30secs because i saw on screen 30secs time penalty when he got out.

Then he crossed the finish line also when we was on pits, then all other racers started to complete their race.

If you want i can send you the replay, just PM me for that.

Hope you understood all I said :)

smith
28th October 2005, 14:40
Ahh, I think I understand where my problem is - I equated all racers which got any type of penalty to disqualified ones. It's not good for sure, and will be corrected.

Pinto_PT
28th October 2005, 16:08
Ahh, I think I understand where my problem is - I equated all racers which got any type of penalty to disqualified ones. It's not good for sure, and will be corrected.

Nice :thumb:

And a very big thank you for developing Lfs Stats!

:)

smith
28th October 2005, 17:50
Pinto_PT, can you try to remake stats with this (censored) and inform me if anything changed?

Pinto_PT
28th October 2005, 18:06
Will do it right now.

Pinto_PT
28th October 2005, 18:34
The output was exactly the same, as you can see in the generated race stats.

(removed)

:(

Is it a insim problem ,that cannot handle this?

smith
28th October 2005, 19:54
No, it's my prob, and it will be solved.

try how this one works: http://lfsclub.mediagate.ru/temp/statstest.exe

P.S. sorry, don't have any appropriate replays to test it by myself, and cant be arsed to download your replay with my slow internets :)

germanpio
28th October 2005, 21:48
hi smith!

big compliment for your program and your work you put in it, but i have a problem with some graphs which are e.g. like this since your last update:

http://www.gwebspace.de/germanpio/EPS/graph/26.10.05_144156_lbl.png

some of the lines are going backwards or are twice displayed (between lap 9 and 10, position 5 and 6) is it possible to solve this problem?


regards, germanpio

Pinto_PT
28th October 2005, 22:57
No, it's my prob, and it will be solved.

try how this one works: http://lfsclub.mediagate.ru/temp/statstest.exe

P.S. sorry, don't have any appropriate replays to test it by myself, and cant be arsed to download your replay with my slow internets :)

(removed)


I noticed that this statstest.exe had the same timestamp than the previous one you attached on your earlier post, isn't it the same one?

They both have been modified friday, 28 October 2005, 19:04:47

The result is obvous the same, the problem is not solved, the player is last on race stats output.

:(

If you want, lets keep on trying if it's not insim fault.
The replay compressed with winrar it's 7,26MB in size, if you want i can put it on my webspace.

smith
29th October 2005, 05:12
The result is obvous the same, the problem is not solved, the player is last on race stats output.

I think I got it finally, test it please: http://lfsclub.mediagate.ru/temp/statstest2.exe
At least it gives correct position to time-penalised player with my test replay.


some of the lines are going backwards or are twice displayed (between lap 9 and 10, position 5 and 6) is it possible to solve this problem?

Send me (piercemind#gmail.com) tsv files generated from this replay, I'll check what's wrong.

Pinto_PT
29th October 2005, 06:42
I think I got it finally, test it please: http://lfsclub.mediagate.ru/temp/statstest2.exe
At least it gives correct position to time-penalised player with my test replay.


Problem solved :thumb::thumb:

(removed)

Great job for solving it so fast, now we all can do the dance!!

:nana::banana::nana:

germanpio
29th October 2005, 10:22
Send me (piercemind#gmail.com) tsv files generated from this replay, I'll check what's wrong.



I'll give you them here. Hope that tge graph wil later look like normal :).

smith
29th October 2005, 14:09
germanpio, it's fixed, check first post for update.

It's interesting that this problem didn't arise very noticeable on tracks with less than four splits :)

germanpio
29th October 2005, 16:50
thanks for solving the problem so fast like Pinto_PT's problem :thumb:

CrazyICE
4th November 2005, 08:07
Hi,
your tool works well, till yesterday.

i did stats for my ufr race but the result wasn't correct.
me (Octrin.cr4zy!C3) was 3rd and so on...
from position 2 down to the last one all have been signed as DNF, but thats wrong! and also everyone did at least one pitstop! and everyone to position 10 was i the same lap (therefore did 23 laps!)

here is the correct result (Gruppe 1):
http://uf1champ.crazyice.net/results.php?id=5

is used stats v1.279 lfs 0.5P8.
i also used 2 different replay files (mine and one a of another driver).
the result is the same :(

the replay can be downloaded here:
http://uf1champ.crazyice.net/replays/2005-11-02/uf1_2005-002_2005-11-02_1.mpr
the stats are attached (with all files incl. csv and tsv)

EDIT:
graphics seem to be ok, cause there i'm 3rd

smith
4th November 2005, 12:54
Hi,
your tool works well, till yesterday.

i did stats for my ufr race but the result wasn't correct.
me (Octrin.cr4zy!C3) was 3rd and so on...
from position 2 down to the last one all have been signed as DNF, but thats wrong! and also everyone did at least one pitstop! and everyone to position 10 was i the same lap (therefore did 23 laps!)


Are you sure this replay has recorded finish of every one player? Judging by your description, we have a situation where replay recording was stopped prematurely, and that's a FAQ situation :)

CrazyICE
4th November 2005, 13:12
i'm sure...
but there is one special thing...
a user was disconnected in the end and connected and rejoined the race in the last lap!
after everyone has finished, he gets disqualified or so...
maybe this is the reason, but as you see on the graphics, they are right...

do u have an idea?

kalle
4th November 2005, 13:43
It seems that I have the same thing as CrazyIce. This is the actual result http://members.surfeu.fi/pikkih/league/results/s2_r1_m.jpg and here are the stats from the same race http://members.surfeu.fi/pikkih/league/results/s2_r1_m.html

The replay was saved after the screenshot was taken, so it wasn't saved too early (about min after last one was finished actually).

Tried using 1.278 and 1.279 versions, both gets the same result.

smith
4th November 2005, 13:49
Rejoining player could be the reason, but I thought I fixed that already... Anyway, I'll check the replay later.

CrazyICE
4th November 2005, 14:18
thx mate! :)

tristancliffe
4th November 2005, 14:40
I was wondering if this is possible (as I use your Stats program in every league/internal race I do).

Sometimes a driver will crash/pit/stop on his last lap. But if he has lapped people he technically completes more laps (or finishes the penultimate lap) before the lapped people finish. IRL he would be classified as in front of the people HE had lapped (not neccessarily all who have been lapped by the leader).

For example - in the last Vixen Challenge race, spdoJosh retired on his final lap whilst in 3rd I think (half a lap to go). Yet he had lapped everyone to to 8th place. But LFSStats! (and LFS itself actually) showed him as DNFing in 17th, rather than +1 lap in 7th.

Can you make LFS stats take COMPLETED laps into account, even if it means the stats! results don't tally exactly with whats on the screen in LFS (which is wrong when compared to real life).

smith
4th November 2005, 17:22
The problem was silly. Stupid bug in finishers detection loop was making incorrect decision that everyone is finished, while that wasn't true.

CrazyICE, kalle, and everyone getting tons of unexplained DNF's: use this as temporary solution: http://lfsclub.mediagate.ru/temp/stats.exe

tristancliffe, good suggestion, but I don't feel like implementing it, my point is that I want to have exactl replica of lfs ingame finish table without any improvements.

tristancliffe
4th November 2005, 18:08
Ohok, fair enough.

I'll go and pester Scawen then :D But we can't have it until a big patch cos it'll screw replays...

Scawen
4th November 2005, 19:03
It's a good point and already on my list, in fact.

The main reason why it can't be implemented yet isn't really because of replays, because with a logic change like this, LFS could in theory be made to work "the old way" for an old replay. The problem is online compatibility. It's too small a change to be worth splitting the community. An online incompatible patch means that all hosts and all players must upgrade and causes quite a lot of confusion.

What that means is that multiplayer incompatibility gets squeezed into the same patches as physics incompatibility, because physics incompatibility also implies multiplayer incompatibility.

Fonnybone
4th November 2005, 19:14
Gotta love that Scawen ;) Always thinking of the community and all...
what the community doesn't think about. hehe.

smith
5th November 2005, 12:54
Both programs are modified, first post updated.

NB: Note that relay support is more a testing one in current conditions, rather that guaranted working solution.

Edit: Relay mode connection should be fine after latest update.

D34N0
11th November 2005, 08:16
Hi Smith,

I have a problem running version 1.3 and 1.299 on my Microsnot Windows 98 machine, it is fully patched and /insim 65000 has been run in LFS p9.

When starting stats.exe "InsimInit 64999" appears in the lfs window then the following is displayed in the command window.

LFS stats! v1.3 (c) 2004-2005 Alexander 'smith' Rudakov (piercemind@gmail.com (piercemind@gmail.com))
Connecting [127.0.0.1 65000 64999 ]
Error connecting to LFS: Sockets error 126

Dean

CrazyICE
11th November 2005, 08:46
there is still one little bug...
the output in the DOS windows of splitt 2 is wrong...
it's always the same time as split 1...

smith
11th November 2005, 14:42
D34N0, quick googling reveals many people with win9x encountering this error. I'll try to find more information and fix it, but you really should upgrade to something newer :)
edit: looks like this problem is specific to win98se only... win98 and winme should work.

CrazyICE, this happens on single player & hotlap replays only, and they are not supported. What replay did you use?

D34N0
11th November 2005, 16:20
D34N0, quick googling reveals many people with win9x encountering this error. I'll try to find more information and fix it, but you really should upgrade to something newer :)
edit: looks like this problem is specific to win98se only... win98 and winme should work.


Thanks, I know I should upgrade but this is just an old box at work I use for running stats, I'll look into possibility of putting Win2000 on it :)

Dean

CrazyICE
12th November 2005, 08:42
CrazyICE, this happens on single player & hotlap replays only, and they are not supported. What replay did you use?
mpr :nod:
sorry, but i only create stats out of mprs...
and i think scawen did a SPX fix for sprs with patch P2....

smith
12th November 2005, 10:25
CrazyICE, show me a multiplayer replay with this problem, as I haven't witnessed it lately...

Regarding single player (race) replays, all SPX packets I receive for every player are equal to the very first SP1 value, iirc.
I never dig the problem though, as there is no much sense in analysing of spr's.

smith
12th November 2005, 20:12
Updates again, relay server related mainly.

Scawen
16th November 2005, 23:19
Regarding single player (race) replays, all SPX packets I receive for every player are equal to the very first SP1 value, iirc.I can't seem to reproduce this, i'm getting a different time (apparently correctly) in every SPX packet, doesn't matter if it's single player or two AI drivers. If anyone can provide a SPR which sends duplicate SPX packets or has any reliable way to reproduce the bug then please let me know.

smith
17th November 2005, 03:45
Scawen, CrazyICE - recently I discovered it was my screening error, I beg your pardon. :)

It only happened on more than two split tracks, where by some weird chance I briefly tested spr's.

One thing I'm curious though - am I wrong or lfsworld player name is not stored in single player race replays?

CrazyICE
17th November 2005, 07:26
no problem smith :)
you'r welcome ;)

Scawen
17th November 2005, 09:21
...am I wrong or lfsworld player name is not stored in single player race replays?They are only stored in the file if it's a hotlap SPR.

Krutch
21st November 2005, 11:24
Smith, from your first post:

graph v1.12
- Lap by lap graph improved;

the file is however v1.11

smith
21st November 2005, 19:23
Sorry, I wasn't too attentive. Fixed.

GerG
22nd November 2005, 12:51
Erm excuse me, must have missed some point, but why isn't stats working for Demo replays anymore? Any phylosophical ideas behind it, or some programming issues?

smith
22nd November 2005, 16:21
Well, the reason is that I track players pit-out and rejoin events (and something else probably) using lfsworld username, and since demo reps have its value blanked, things are going uberhaywire in some cases.

Besides that, who needs a demo in these days anyway?

GerG
22nd November 2005, 21:56
Like me :D organizing the Demo Championships for my country :D
Anyways think we will sort out the problem somehow.

smith
23rd November 2005, 03:10
I can make a build without demo check especially for you, if you want :)
It should work in case of simple and straightforward race.

mkinnov8
23rd November 2005, 04:43
Hi, quick question...

In the updated first post, it says:

- Logging of ingame messages;

Does this create an output anywhere, if so where, I cant see it except within the DOS like window when the replay is running, but does it not save this data anywhere?

Cheers

GerG
23rd November 2005, 08:09
Does this create an output anywhere, if so where, I cant see it except within the DOS like window when the replay is running, but does it not save this data anywhere?

Cheers

You should set the approproate setting in the stats.xml file (AFAIK logging is disabled (set false) as default.)

search for this row: <LogIngameMessages>false</LogIngameMessages>

germanpio
23rd November 2005, 12:21
Hi smith!

I have attached a result in which are driving aids I think?!

can you explain what the letters mean?

regards germanpio

GerG
23rd November 2005, 14:24
Edit1: so the complete list is :D

k = keyboard
m = mouse
w = wheel
ag = auto gears
ac = auto clutch
gb = gear change blip
gc = gear change cut
bh = brake help
th = throttle help

Thanks for your audience :D

smith
23rd November 2005, 14:25
GerG, you are absolutely right :)

germanpio
24th November 2005, 10:10
do you still have the version for S1?

I sent you a pm but I think you will notice it here anyway and it could be interesting :)


edit: thx for sending it:thumb:

tristancliffe
29th November 2005, 22:00
I must confess I haven't tried, but afaik this doesn't work with qually right?

How hard would it be to detect if it was a qually session, and then only log the data needed (say number of laps, best time, best possible time and stuff like that)?

That was an entire race weekend could be seen in easy to view webpages.

On another note, I always use notepads "replace all" feature to change " | " to "<br>" (no quotes) so it looks neater.

smith
30th November 2005, 03:12
I must confess I haven't tried, but afaik this doesn't work with qually right?

How hard would it be to detect if it was a qually session, and then only log the data needed (say number of laps, best time, best possible time and stuff like that)?

That was an entire race weekend could be seen in easy to view webpages.


I'm not sure it really neccessary, but I'll try to think about it.

On another note, I always use notepads "replace all" feature to change " | " to "<br>" (no quotes) so it looks neater.

Change template file and save yourself from manual work.

tristancliffe
30th November 2005, 10:07
It was just a thought...

And about the template file - I'm really quite ashamed I didn't find/spot that.

germanpio
3rd December 2005, 18:47
why can't LfS stats 1.32 create results out of spr files?

smith
4th December 2005, 08:11
I cut off demo replays, the reasons are somewhere above, and spr replays are detected as demo replays by the checker, so they are not supported too.

smith
15th December 2005, 03:52
Freddy_P, I guess you solved the problem?

Freddy_P
25th December 2005, 11:45
Oh yes. Sorry. :thumb:

I had a password in my own server.

Merry Christmas, Chuck

paXton
31st December 2005, 01:20
hello smith!

thanks for the great program.

2 weeks ago i tried to get stats v1.32 working on our linux server to do live-stats.
and i wondered, it worked.
but after updating to v1.33 it won't work.
i allways get this output:
LFS stats! v1.33 (c) 2004-2005 Alexander 'smith' Rudakov (piercemind@gmail.com)
Connecting [127.0.0.1 29999 30000 ***pass***]
Error connecting to LFS: Sockets error 5 when i use the v1.32-exe, it works fine.

have you any idea what this could be?

ciao... paXton

smith
31st December 2005, 03:33
2 weeks ago i tried to get stats v1.32 working on our linux server to do live-stats.
and i wondered, it worked.
but after updating to v1.33 it won't work.


The root of the problem might be my update of compiler to msvc 2005, as nothing in the sockets code's been changed...
Well, since now I'm avoiding halting on any sockets error less than WSABASEERR, so can you try if this one really works?

paXton
31st December 2005, 10:19
this one works. 8)

paXton

germanpio
2nd January 2006, 13:57
Spr and demo replays checking can be turned off (SprDemoCheck key),
erroneous results can occur if disabled;

can you explain what this exactly means and changes?

smith
3rd January 2006, 05:44
It changes nothing for you if you are not getting these weird sockets errors.

DuVeL
4th January 2006, 19:44
Not sure it's a question I should ask here since LFS Stats works fine in the normal way.

ATM we're holding a league which can be followed through LFS Spectator. Afterwards the MPR gets scanned by this piece-of-art tool :thumb: and the results are displayed online. So far so good.

Somehow the MPR part afterwards seemed a bit useless since LFS Stats can do it directly. I could distinguish 2 direct methods. The server method and the relay method.

Because I'm using LFS Spectator I can't use the server option on top of that since the port is already occupied, so I tried the relay option which was announced to be experimental. As you can see in my attachment the same race, one the MPR way and one the Relay way produced different results. 4788 So I guess a few packets were lost in space.

Now is there a sort of way to get these 2 (or more) insim programs work together ? Something that not only accepts packets but reads and forwards them ?

Regards,
DuVeL

tristancliffe
4th January 2006, 20:35
Change of topic (i.e. this isn't a bug report). I was thinking of a wonderful tool for recording the results of leagues, based on my participation in the Vixen Challenge.

My thoughts are like this: Would it not be a good thing to have a utility that can keep track of races over a season? All the race results can be recorded, various statistics can be calculated from it (like Autosport), and (with a bit of giggerypokery) apply a points system somehow too.

Some basic stuff would need to be made (like a gui), so that a race result can be 'imported' into a season. Support could be made for sprint and feautre races (as many leagues have this format) amongst others, and a variety of points 'styles' could be implemented (Vixen had championships for Sprint, Feature, Overall and Team).

Obviously it's a lot harder than it looks, but I was wondering as I am want to do, if anyone (smith or otherwise) would like to attempt something like this?

If not, no worries.

smith
5th January 2006, 05:08
DuVeL, you figured everything right, relay server is what you have to use with multiple insim programs.
The thing is, stats currently doesn't always work as supposed to in relay mode, and I haven't traced why yet (frankly speaking, there are more exciting things around than that :) )
So, I'm afraid, mpr is the only way atm. To speed up things and eliminate mpr stage, you might want to ask one of the participator to run stats during race connected to his local game.

tristancliffe, the features you are talking of, they all are about a decent championship site! And in my opinion it's much easier to implement than extending current program's source to behave in the same way :)
scripting language+sql database+apache wins! :)

DuVeL
5th January 2006, 17:13
So, I'm afraid, mpr is the only way atm. To speed up things and eliminate mpr stage, you might want to ask one of the participator to run stats during race connected to his local game.

OK, will do so.

Thx for the reply :thumbsup:

GerG
22nd January 2006, 20:47
I Think i've encountered a new bug. If a racer is crossing the finish line in the pits while he has a DT penalty, and the finishing positions of the other racers are not received yet by stats (ex. because some of they are lapped), the DT player is placed right after the number of finished racers, who have their correct positions.

smith
23rd January 2006, 03:25
This is because of I (and I thought, lfs too), count a finished player with uncompleted penalty as disqualified.
What penalty flag he's got in lfs finish table of that replay?

GerG
23rd January 2006, 10:36
DT he has, but he is still placed as 2nd in the result (although in LFS he is placed at the bottom of the result table with DQ).

[/URL][URL="http://www.liveforspeed.hu/statok/s2/22.01.06_b2.htm"]here is a link (http://www.liveforspeed.hu/statok/s2/22.01.06_b2.htm)

smith
25th January 2006, 15:36
I'd like to see the replay if it's possible.

EDIT:
thanks for replay, I'll try to fix the problem on weekend.

GerG
25th January 2006, 17:11
Sure!

You can have it here (http://www.liveforspeed.hu/download/results/2005/s2/ii/20060122b.mpr)

Thanx

Razzone
27th January 2006, 13:33
Mighty smith,
first of all thank you for this great tool :thumb:.
I want to ask you if it is possible to add an extra report at bottom showing if someone during an mpr pitted (shift+s). It seems to me that this information is contained in a race tracking packet with ID IS_PLP. It'll be usefull for league replay supervisors as usually noone is allowed to pit with shift+s but anyone have to drive to pits.

Thank you

smith
28th January 2006, 04:05
Razzone, if you set LogIngameMessages keyword to true in configuration file, file with all replay messages will be created along with main results.
All you need is just some grepping on this file to get desired information.

smith
29th January 2006, 16:34
GerG, it should be fixed now (binary operators in one function were messed up), give me a sign if it is still screwed.

Bad thing is that finish position changes due to disqualification don't affect other tables and graphs, I know it's not accurate, but we'll have to live with it :)

Dygear
13th March 2006, 08:39
Have you, or do you plan to, give out the source for this tool?
I would love to see how you did all of this. And I would like to learn how to decode all of the packets that LFS sends me.
BTW, awsome work on this, I use the CSV files that this program spews on in LFS : F1 stats. Thank you very much.

smith
13th March 2006, 16:58
Have you, or do you plan to, give out the source for this tool?
I would love to see how you did all of this. And I would like to learn how to decode all of the packets that LFS sends me.
BTW, awsome work on this, I use the CSV files that this program spews on in LFS : F1 stats. Thank you very much.

Thanks for your good words!
I'm not going to publish complete stats source since it's way too ugly. But, considering you weren't first person asking for some insim programming code, I decided to post something like typical insim barebone app (based on old Scawen's example, but adopted to S2 with relay server support). To add your flavour, all you have to do is just add your logic to main program loop.
This one is a C/C++ source with MSVS.Net 2005 project file, and I hope it doesnt need any more explaining itself.

anibarro
21st March 2006, 13:16
Hi, your app is really great, but I can't get it to work with almost all replays from our legue. I don't know why, but just after the "Race started" message, it just say "Race Ended". Some replays with less racers works perfect, so I think that there is some kind of bug. It happens with both 1.33 and 1.34 versions.
Below is a link to one of the replays that doesn't work:
http://www.savefile.com/files/8231200

smith
22nd March 2006, 15:40
anibarro, I just checked that replay, and it works ok on my system. I think the problem is in your not very fast pc. lfs heavily calculates something on mpr replay start, and if that time is big enough (cant say exact numbers), like in your case with 20 players, insim connection is lost.
Solution? Ask someone with high spec cpu to make stats.

anibarro
22nd March 2006, 17:39
Thanks for you answer :thumb: You are probably right, as my PC are quite slow :S

sweeney
23rd March 2006, 11:50
I'm having some problems getting LFS stats running.. when I start the stats.exe program, it correctly comes up and starts going through the initialisation and then says "Waiting for the race to start.."

I hit restart on my lfs pc which duly comes up on LFS stats console that I am restarting the race.

However, by the time it has gone through the "Connecting [<ip address>] ... STA..VER.." the race is already started on my LFS pc, and the server is then back to square one "Waiting for the race to start.."

Anyone have any idea's as to what i'm doing wrong ? :pillepall

smith
23rd March 2006, 14:44
sweeney, I'm not completely understood your problem, but maybe setting DedicatedMode to true in stats.xml can help to avoid restarting stats.exe after race restart...

anibarro
23rd March 2006, 19:27
A fast post to say that finally I've been able to process the replay I posted, just changing <DisplayIngameMessages>true</DisplayIngameMessages> to false :)

germanpio
23rd March 2006, 21:04
sweeney, try to start the replay after the message "Waiting for the race to start"

sweeney
23rd March 2006, 22:35
sweeney, I'm not completely understood your problem, but maybe setting DedicatedMode to true in stats.xml can help to avoid restarting stats.exe after race restart...

Thanks for the swift replies. I set the Dedicated Server to true in the XML and i'm running the LFS dedicated server on a separate machine. I connect up using my PC as a client machine and start stats.exe.. the following is copied/pasted from the stats.exe DOS window:

LFS stats! v1.34 (c) 2004-2005 Alexander 'smith' Rudakov
Connecting [127.0.0.1 65000 64999 mypassword]..MCI.MCI.STA....VER
LFS S2 VER 0.5Q
Dedicated server mode on, press Ctrl+C to stop.
Waiting for the race to start...
> sweeneyL voted to RESTART
Race started
Race ended
No finished racers found, skipping.
Waiting for the race to start...
> sweeneyL voted to RESTART
Race started
Race ended
No finished racers found, skipping.
Waiting for the race to start...

I hope that helps you understand what i'm doing wrong! :)

sweeney
23rd March 2006, 22:57
Ok, I have a workaround for the problem.. first the cause:

The problem only happens if you start the stats.exe AFTER you are already on the grid. Even if you Vote to restart or Restart via the Dedicated Server, it will go straight from "Race Started" to "Race Ended" and sit there with "Waiting for the race to start..." message in stats.exe window (see my previous message for the output)

This is with DedicatedServer set to true in the xml configuration.

Workaround:
Simply END the race and hit the Go button. You do not need to restart stats.exe, but this time it will see that a race has started. You can also Restart the race and stats.exe will see that the race has been restarted and it will work perfectly.

Conclusion:
Start Stats.exe first. Then leave the garage to join the grid.

If you do not run in Dedicated Server mode, then you must start stats.exe first before leaving the garage.

~~~
I hope thats a bit clearer as to why I was getting the problem. There maybe something you can do to fix it, but seeing as it only appears to be me having a problem, I wouldn't worry too much!

Smith, Thanks for producing LFS Stats - its absolutely spot on! :thumbsup:

ffs_mub
13th April 2006, 20:51
Thats definitely a bit weird. No seriously. I'm sure mine runs fine. I launch stats.exe after lfs.exe and it picks up when i do a Shift+R or a /RESTART no problems. I'll double check but I'm sure it was OK. I had a couple of AI's on track when i did the testing so I'd have some vaguely interesting data.
Here my stats.xml:
<StatsConfig>
<ConnectionMethod>server</ConnectionMethod> <!-- server | relay -->
<ServerAdminPassword>1234</ServerAdminPassword>
<ListenPort>64999</ListenPort>
<ServerConfig> <!-- direct server connection -->
<ServerIPAddress>127.0.0.1</ServerIPAddress> <!-- LFS Server address -->
<ServerPort>44444</ServerPort> <!-- LFS Server port -->
</ServerConfig>
<RelayConfig> <!-- server via relay connection -->
<RelayServerHostName>isrelay.liveforspeed.net</RelayServerHostName>
<RelayServerPort>47474</RelayServerPort>
<ServerName>My Server Name</ServerName> <!-- LFS Server name to connect to (FM) OvaL V8 XSIV-->
<SpectatorPassword></SpectatorPassword>
<ReceiveMCIpackets>false</ReceiveMCIpackets> <!-- (true|false) disabling saves traffic -->
</RelayConfig>
<DisplayIngameMessages>false</DisplayIngameMessages>
<LogIngameMessages>false</LogIngameMessages>
<SprDemoCheck>true</SprDemoCheck>
<AtLeastOneFinishedCheck>true</AtLeastOneFinishedCheck>
<DedicatedMode>true</DedicatedMode> <!-- infinite loop running mode -->
<ResultsTemplate>templates/english.tpl</ResultsTemplate>
<GenerateRaceResultsCSV>true</GenerateRaceResultsCSV>
<GenerateRaceDataTSV>true</GenerateRaceDataTSV>
<OutputDirectory>c:/Server/htdocs/lfs-stats/</OutputDirectory> <!-- note the trailing slash -->
</StatsConfig>
I run stats.exe on the same machine as the lfs server. Did you say you run stats.exe on a seperate machine? Note I don't actualy use 65000 as my <ServerPort> if u want the port i actually use, YIM me.

mub - Hi gray :thumb:

paXton
17th April 2006, 22:07
Hi smith!

As reported before, stats runs fine under linux with wine.
Today I switched from server mode to relaymode, which seems to work fine under windows, too.
But on my linux box I get this error.LFS stats! v1.34 (c) 2004-2005 Alexander 'smith' Rudakov (piercemind@gmail.com)
WARNING: relay server mode is still experimental and not supposed to be correct!
Connecting [isrelay.liveforspeed.net 47474 30000 pw ]
wine: Unhandled exception (thread 001e), starting debugger...
WineDbg starting on pid 0x1d
Unhandled exception: page fault on read access to 0x00000000 in 32-bit code (0x40120c3a).
In 32 bit mode.
I tried the same exe and stats.xml. On windows it runs, on linux it doesn't work.
I would be happy, if you could take a look at it.

Thx, paXton

smith
18th April 2006, 03:12
paXton, have you tried defining relay server as ip address, not host name?
change RelayServerHostName from isrelay.liveforspeed.net to 213.40.196.93.
I've got a faint suspicion there's something wrong with hostname resolving...

paXton
18th April 2006, 05:22
great, that works. thank you.

paXton

Krutch
27th April 2006, 22:28
Smith,

I tried to use LFS Stats for the first time since the patch. Even though I get the export, the results were all messed up and I had to manually correct the order and finishing time of most of the drivers.

The edited version is online:
http://reports.simracing.nl/LiveForSpeed/NL.LFS.2/07-server1.html

You can still see what positions it first gave at the Highest Climber-table. The graphs were correct however. First time I run the replay at 4x speed, second time 2x speed, both gave the same result.

smith
28th April 2006, 02:39
really weird. I did a quick check on some new patch replay, and it seemed to work ok.
I need replay of your race to dig into the problem.

germanpio
28th April 2006, 18:12
The Replay is here

http://replays.simracing.nl/LiveForSpeed/NL.LFS.2.7%20Kyoto%20National%20Server%201.mpr

I have a question:

http://www.gwebspace.de/germanpio/eps/season8/eps8r11b.html

The racetime of the leader at Race Results can't be right. It should have been something like 1:01:34.87

smith
29th April 2006, 03:29
Krutch, germanpio - try the updated version.

Jeddix
29th April 2006, 11:47
Is there any chance of getting the new results2.css? It's missing in the archive ;)

smith
29th April 2006, 12:09
Damnit :)
re-uploaded with the same file name.

Jeddix
29th April 2006, 15:20
Thanks :)

germanpio
29th April 2006, 19:59
:thumb:

Krutch
30th April 2006, 21:10
Thanks Smith. I used them for the OWRL stats from yesterday and it worked without problems :thumb:

Oliv76000
2nd May 2006, 13:52
Thanks Smith for this update.:thumb:
the name of the server doesn't write automaticaly, why?

Thanks for your answer.

smith
2nd May 2006, 14:11
Oliv76000, There are no means of getting a server name from replay file via insim, so you have to fill it by yourself.
If server or event names are somewhat constant, you can predefine them by editing a stock template file.

GrandlHuber
3rd May 2006, 17:35
Nice Work!

We use ur tool for our teamchallenge to print the statistics on our website!

I have 3 little question for next versions:

1.Isn´t it possible to calculate the Pit-In- and Pit-Out-lap and print them in a seperate table since patch U?

2.Is it possible to give out how much time is used for:
a Tyrechange
b Repairs
c Fuel Up
d Change Settings
while pitting?

3. Then calculate the last and first Pit-Sectortimes without the Servicetime to appraise in the statistic of a practice-race if it´s better to do 1 or 2 stops


www.everlast-racing.de (http://www.everlast-racing.de)

smith
4th May 2006, 03:39
GrandlHuber, in short: no it is not possible.

GrandlHuber
4th May 2006, 09:42
shorter: THX

Warper
14th May 2006, 17:32
Hi,

it seems to be a nice app. But i have a problem:

Running stats.exe, lfs.exe(dedi) and lfs.exe(game on localhost. Tried a testrun with dei set to 1 lap at aston north. stats.exe connects successfull and even show my split times, but as soon as the race finishs and it trys to put out the race data html file it gets an error:

Any ideas?

Warper
16th May 2006, 08:27
No help? :D

smith
16th May 2006, 14:37
Which car/track combo causes the error? does race lap count influence it?

Warper
16th May 2006, 19:11
AS North, LX4 - until now i tried only one lap ;) I'll try some more laps now!

EDIT: Tried two laps, no change - i still get an error.

BBO@BSR
16th May 2006, 21:16
Same problem here:

When using it with replays offline:

AS North with RAC 5 laps and 17 laps

When the races are finished stats.exe quits with a problem and writes a 0 byte results.html file

Looks like an AS North prob or?

smith
17th May 2006, 03:47
It was a really stupid typo, a couple of commas missing literally. Fixed.

Warper
17th May 2006, 16:42
It was a really stupid typo, a couple of commas missing literally. Fixed.

Yeah... it's working now. Awesome script man! :D

Oliv76000
18th May 2006, 14:29
How can I align the 3 best split's tables in the same line? I'm a noob in HTML.
Sorry for my poor english.

smith
18th May 2006, 15:11
You probably need something like this (rename to *.tpl and replace default file)

germanpio
21st May 2006, 17:16
i still have the problem what warper had. I updated it but same Problem

Combo: Aston GT - BF1 (thx Krutch ;))

Krutch
21st May 2006, 18:04
That's Aston GT, not North germanpio ;)

smith
22nd May 2006, 03:38
aaaaaaaargh.
fixed

donzeze
23rd May 2006, 09:32
Really good work..

Your last version is 1.37 if i'm not wrong but when you launch it it still says 1.35.. Not very important but would be easier to know which one is running..

Would it be possible to have the track name in the csv file too?

thx again

P.S : Sorry for my bad english..:(

Oliv76000
23rd May 2006, 09:38
You probably need something like this (rename to *.tpl and replace default file)
Thanks for your fast answer. I'll test it, the next week.

smith
23rd May 2006, 14:37
donzeze, I plan to rewrite output generating code to make it more flexible, and your request will be possible then.

Regarding version number, d'oh! Its been to much hassle lately...

donzeze
23rd May 2006, 15:12
Thanks for your answer and good luck for developpent.. If you decide to distribute it as an open source program i'm also interested...

An other idea would be to be able to configure to use graph or not automaticly ( in the stats.xlm file maybe , one value true or false and one for the graph.exe path)

while i'm at it, it would also be cool to have the split time adding up..I mean if : SP1 = 30.15 and SP2 = 30.78 then write 1.00.93 in the split times section of html file or as an option if that's possible of course..

Really exellent work anyway.. carry on..

noemfie
25th May 2006, 09:37
donzeze, I plan to rewrite output generating code to make it more flexible, and your request will be possible then.

Regarding version number, d'oh! Its been to much hassle lately...
Good news !! , Thanks smith that will be awesome :)

Gai-Luron
27th May 2006, 15:05
Hello,

it's the first time i post in this topic and i have two questions
1 - Can lfsstat save in a file a lap by lap time? Then i can use it to display the time of all laps of racer in my web site.
2 - what is the format of the tsv file?

Thank's for this great job!

EDIT : IT'S OK, I FIND WHAT I SEARCH

Gai-Luron

smith
27th May 2006, 15:32
tsv is what you need.
first line is a number of splits, other lines are each split times of every racer.

function of time conversion:

MSHT *int_MSHT(int &t)
{
MSHT *time = new MSHT;
time->Thousandths=0;
time->Hundredths=(t/100 - (t/100/100)*100);
time->Minutes=(t/10000)/60;
time->Seconds=(t/10000) % 60;

return time;
}

Gai-Luron
29th May 2006, 17:32
Hello,


If you want a TSV displayer on your site.

an exemple at Here (http://frhteam.jexiste.fr/racestat/2006-05-26_22.56.32_results.html) Click on Lap By Lap

You can find last script on http://frhteam.jexiste.fr/ push Mods FRH link

Enjoy

Gai-Luron

donzeze
30th May 2006, 12:00
Nice script but I had to change

$if = basename($HTTP_REFERER,".html") . "_race_extended.tsv";

by

$if = basename($_SERVER['HTTP_REFERER'],".html") . "_race_extended.tsv";

..thx

What are do the percentage correspond to in top page plz..?

Gai-Luron
30th May 2006, 13:52
Hello,


The percentage of the best time of the race ( in blue ).

Bye


Gai-Luron

Yes, it's true that $HTTP_REFERER is depreciated and don't work if global is not set to on. thank's for this suggestion, i have updated the script

PS an exemple at Here (http://frhteam.jexiste.fr/racestat/2006-05-26_22.56.32_results.html) Click on Lap By Lap

You can find last script at http://frhteam.jexiste.fr push Mods FRH link

EDIT EDIT EDIT
Now the racer are in the order of finish race and i update the total time on the bottom of screen

donzeze
31st May 2006, 05:26
Nice script thanks !!

Totals didn't work on mine , hope it'll do now with new version..

Gai-Luron
31st May 2006, 08:52
Hello,


Yes you can get new version on our web site list above.
Don't forget to put tsv and csv also in your directory of statistics in your web site.


Gai-Luron

Oliv76000
4th June 2006, 10:37
It works very well on my site, thanks Gai-Luron.
Good job

donzeze
5th June 2006, 06:19
Works Fine on mine too, I actually put the link in the stats template file so it's automaticaly in every race html file ;)

I made a small web site that show statistics on my Lan VPN server ( I play with friends from work :D )

http://donzeze.homeip.net

It counts both local server stats plus LFSWORLD pb for a few friends and I..

Nice work all

donzeze
8th June 2006, 08:15
It works very well on my site, thanks Gai-Luron.
Good job

Thanks for your commments on my site but i went on yours to have a look and it didn't work...

noemfie
12th June 2006, 09:57
Very nice script , I was just wondering , is there any way to have that lap by lap page in the same style as the main stats page ? . Sorry I know its a purely cosmetic thing . I'm no html/php expert so just wondering :shrug:

donzeze
12th June 2006, 18:30
Sure it is...But as the lap by lap script isn't mine, nor is the others.. i just modified them a bit..
I w'll probably do that soon..I like too when it's all the same :)

Gai-Luron
14th June 2006, 08:43
Hello,


I do the modification for you noemfie. An exemple here: http://frhteam.jexiste.fr/racestat/2006-06-12_18.48.12_results.html

you can find the modified file on our website http://frhteam.jexiste.fr select Mods FRH in the main menu.


Enjoy


Gai-Luron

donzeze
14th June 2006, 09:18
Nice work again !! ( c'est du bon boulot garçon ;) )

bluejudas
14th June 2006, 09:30
Is it possible for LFS Stats to combine the csv and tsv file into one file. The reason I am asking is a League Mangement System called SLS (see http://liga.simracing.pl/ and http://prs.simracing.pl/forum/forumdisplay.php?f=61). Today it has no support for LFS, but I am in dialog with the developer if SLS and he says that the csv and tsv files in combination can be used to make an import of race results to SLS (see http://prs.simracing.pl/forum/showthread.php?t=2419). But since LFS stat is producing two files it will be rather inconvinient for the user when they want to import race results data. It would be nice to have these files combined by LFS stat rather than by the user. Could you modify LFS stat to make a combined file that SLS can use for it import function??

The developer of SLS has other request also... see http://prs.simracing.pl/forum/showthread.php?t=2419)

noemfie
14th June 2006, 11:04
Hello,


I do the modification for you noemfie. An exemple here: http://frhteam.jexiste.fr/racestat/2006-06-12_18.48.12_results.html

you can find the modified file on our website http://frhteam.jexiste.fr select Mods FRH in the main menu.


Enjoy


Gai-Luron

Thank you so much !! :thumb:

smith
14th June 2006, 16:34
Is it possible for LFS Stats to combine the csv and tsv file into one file.

I checked that forum thread and I didnt find a good reason or any proposal of combining all generated files into a single one.

Remember that you can edit the template file to get whatever output you need. Templating is very basic, but it does its job for exporting of tabular information.

Regarding pit info request, its not possible to retrieve at the moment.

One last thing, I do not recommend using relay server mode, its still broken.

bluejudas
14th June 2006, 20:54
I checked that forum thread and I didnt find a good reason or any proposal of combining all generated files into a single one.

Remember that you can edit the template file to get whatever output you need. Templating is very basic, but it does its job for exporting of tabular information.

Regarding pit info request, its not possible to retrieve at the moment.

One last thing, I do not recommend using relay server mode, its still broken.
What is the name of the "loopvariable" that gives me split times for every single lap for each driver(eg BestPossibleLap, FirstLap , and so on). That is what the SLS developers need. In other words how do I get what is in the tsv file gennerated with a tpl file? If so I can make a tpl file that will produce a xml file that SLS can use for its import function. If that is not possible with a tpl file then the only solution is to combine the csv and tsv file.

smith
15th June 2006, 02:46
What is the name of the "loopvariable" that gives me split times for every single lap for each driver(eg BestPossibleLap, FirstLap , and so on).
it's not possible to output tsv via template at the moment, but I might make it possible in future sometime. Until then, it's not a big deal for you to pick desired info from two files, come on, it's nothing more than just another ten lines of source code.

bluejudas
15th June 2006, 07:08
it's not possible to output tsv via template at the moment, but I might make it possible in future sometime. Until then, it's not a big deal for you to pick desired info from two files, come on, it's nothing more than just another ten lines of source code.
I know its no problem, but I am not the developer og SLS and cant descide if it will be changed. One good reason for wanting one file is that the upload page is generic and the parser class is picked based on the information in the file(or something). But I will tell the developers that they either have to have two file dialogs for lfs import or if the developer want change the generic code the end user has to combine the files into one. After all, users that use LFS Stat are expert users, and combining the files will be no problem for them....

~b

bluejudas
16th June 2006, 15:50
Do somone know all car names reported by LFS Stat. The developers of SLS(http://prs.simracing.pl/forum/forumdisplay.php?f=61) needs to know to make the import function.

smith
17th June 2006, 14:42
bluejudas,
I made some changes to templating system, which I believe allow to satisfy your needs. However this new version is more like testing and experimental one, it may be broken in some unexpected cases.

Regarding car names info, stats doesn't change anything in car names received from lfs, there is no such table inside.
I guess you can find names by yourself by running a couple races with AI on different cars.

bluejudas
17th June 2006, 18:41
bluejudas,
I made some changes to templating system, which I believe allow to satisfy your needs. However this new version is more like testing and experimental one, it may be broken in some unexpected cases.

Regarding car names info, stats doesn't change anything in car names received from lfs, there is no such table inside.
I guess you can find names by yourself by running a couple races with AI on different cars.
Tanx :)

I tried to run some reaces offline(single player) with ai-cars, but LFS Stats fails to make any reportfiles ?? I just ran a race with one lap.

bluejudas
17th June 2006, 19:40
I have now posted this to the SLS forum... :D Next release of SLS will have LFS support. There has been little testing so there can be bugs.

http://prs.simracing.pl/forum/showthread.php?p=52724#post52724

Tanx again :D

smith
18th June 2006, 03:49
Sigh. whats the SprDemoCheck value in stats.xml?

vladimir
18th June 2006, 21:03
hi,

let me first say thank you very much for putting lots of time into developing lfsstats, its a great tool indeed.:thumb:

one minor thing though...
i just downloaded it and wanted to use it for the first time, but it did not work..
every time i started it, it just showed "connecting..." and then stopped.
it took me a bit of thinking to figure it out, but in the xml file the IP adress had to be set to localhost "127.0.0.1".
i think that this value should be set by default, because most users, especially the inexpirienced will want to make stats files from MPR replays without changing any values in the xml file
it might say "set up the xml file accordingly" in the readme, but some probably don't know how to do it.
and those who want the tool to connect to a different server will have to change it anyway.
so 127.0.0.1 would be the best default value...

cheers,
patrick

Hippy Druid
19th June 2006, 05:38
Hello,

Forgive me for my lack of knowledge on this subject, but I was wondering if anyone can offer me some assistance?

I have downloaded the file stats_1.38 and followed the instructions to get the program running.
I run LFS, type in /insim 65000 then proceed to start stats.exe.
Everything looks great at this point, it connects to LFS and states it's wait for the race to begin etc.
I start my MPR and in the little DOS window it quite happily tells me all the statistical info such as Names, Lap times etc etc.
At the end of the replay the DOS window closes, but not output data is recorded??
I had a good look through the stats.xml script and I hope I have everything correct but I still have problems.

UPDATE!!

Bahahahaha I made one little directory call 'results' in the same directory as I am running stats.exe, lo and behold, the script has somewhere to copy the results to. Bahahahahahaha!

bluejudas
19th June 2006, 08:18
Bahahahaha I made one little directory call 'results' in the same directory as I am running stats.exe, lo and behold, the script has somewhere to copy the results to. Bahahahahahaha!
The results folder should be included in The LFS Stat zip file, then people will not make this error :)

mrodgers
19th June 2006, 11:30
@ Hippy Druid, thank you thank you thank you, LOL. I was having the same problem that everything was working fine, except, no results. I just downloaded this the other day from using version 1.273 or something, which always would give me one error somewhere. I'll try this when I get home.

LOL, such a simple solution.

SchneeFee
19th June 2006, 12:07
Hello Freaks!
Yesterday i tired lfsstats for the first time - needed a little tweaking first until lfsstats.exe was able to connect, but then it worked fine. i have a 49 lap race .mpr file. Everything worked well, lfsstats was counting the laps, and when the race was over the windows closed itself, an no data was generated. I tried this 4 times wnd went to bed then.:shrug:

anyone can help?

edit: forget ist - i should have read the entire thread before posting.:x :tilt:

smith
19th June 2006, 14:39
yeah, sorry, my bad. had no time to check and re-check things before posting. archive updated.

Hippy Druid
20th June 2006, 08:33
@ Hippy Druid, thank you thank you thank you, LOL. I was having the same problem that everything was working fine, except, no results. I just downloaded this the other day from using version 1.273 or something, which always would give me one error somewhere. I'll try this when I get home.

LOL, such a simple solution.

Hahaha, cool I wasn't the only one. :doh: I thought about just deleting my post, but hey, someone else may have the same problem.

Glad I could help!! :)

...and Smith, that's an AWESOME little program. Cheers!! :thumb:

donzeze
21st June 2006, 07:22
I got a little pb with the graphs program, it write a message "path ./ not found" ..
It i delete everygraphs in the graph directory it works fine but i run it a second time it just does this message without creating the new graphs if there has been new races... Got an idear?

Thx a lot for your work smith !!

smith
21st June 2006, 16:15
I'm not sure what's wrong. It could be a custom tsv files naming you maybe did.
I modified the program to give more detailed error information, also graph sources are included in distro file, so you can dig the reason by yourself.

siemens
22nd June 2006, 08:40
The program will auto close after one race. Can it never shutdown itself? I wanna it is running all the time.

Sorry for my poor english

Thanks for your answer :)

Alex


======================

I got the answer finally, thanks :)