The online racing simulator
LFS stats!
(465 posts, closed, started )
Which car/track combo causes the error? does race lap count influence it?
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.
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?
It was a really stupid typo, a couple of commas missing literally. Fixed.
Quote from smith :It was a really stupid typo, a couple of commas missing literally. Fixed.

Yeah... it's working now. Awesome script man!
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.
You probably need something like this (rename to *.tpl and replace default file)
Attached files
english.tpl.txt - 6.7 KB - 230 views
i still have the problem what warper had. I updated it but same Problem

Combo: Aston GT - BF1 (thx Krutch )
That's Aston GT, not North germanpio
aaaaaaaargh.
fixed
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..
Quote from smith :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.
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...
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..
Quote from smith :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
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
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;
}

Hello,


If you want a TSV displayer on your site.

an exemple at Here Click on Lap By Lap

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

Enjoy

Gai-Luron
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..?
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 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
Nice script thanks !!

Totals didn't work on mine , hope it'll do now with new version..
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
It works very well on my site, thanks Gai-Luron.
Good job
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 )

http://donzeze.homeip.net

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

Nice work all
Quote from Oliv76000 :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...
This thread is closed

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