The online racing simulator
Searching in All forums
(317 results)
CLRS530
S2 licensed
Hi OldBloke,

Yes you are right, this is a problem.
You added /dedicated=nogfx to a link-file to LFS? Cause if you start lfs from the program LFS will be run only with /insim=XXXXX
I will add an value to the ini file to run LFS with additional parameters.

But now you can run LFS without the program and set the insim port manually, use the same you typed in the program 35743 is the default one.
Then you can run Live for Stats and it will also work.


Known issues
- You cannot start LFS with additional parameters out of Live for Stats
- If there is White space in the path to LFS it won´t work
CLRS530
S2 licensed
Hi,

First good news Knarf finally made Split by Split availible instead of Lap by Lap

http://www.vrl-simracing.be/lf ... 2_race32.xml&cssstyle=

If you look at this page again the graph is now per Split

@OldBloke

Yes you can use a filename you want, you can specify it in settings.
For that you have unique filenames you can use this Tags

[DATE] -> the date on your system in this format: yyMMdd for example 060928
[TIME] -> the system time in this format: hhmmss hh=0-24 for example 201501
[TRACK] -> short form of the track name (like in Output File) driven in the last Race for example KY1, BL1
[MODE] -> Shows if the last challenge was a "race" or "qualify"
[MODE+] -> Same as [MODE] but it adds the laps of a race or the time of a qualify behind it
for example qualify60 or race10 [PLAYER] -> Number of Players in this Output File

(from the documentation :P)

Thats the default one "filename-code" stats_[DATE]_[TIME]_[TRACK]_[MODE+].xml" and the filename will look like this for example stats_060928_201501_KY1_qualify60.xml

For your second question:
No, you have to write the local host before the xml files


I hope that helps
CLRS530
S2 licensed
Quote from Scawen :
Maybe I should just make all messages vanish, in the ESCAPE menu?

That would be a good idea in my opinion :P
CLRS530
S2 licensed
Hi, yes you can use it in Replays (max should be 4x), Single Player and Multiplayer.
Also you can use it in practice, there you can fly to pit and your driven laps won´t be resetted (like in qualify too).
I have to say, I never tried it with Hotlaps but I think it works as Practice does it. Will try it now :P

EDIT:
Hotlapping is also no problem. and you get practice in the name, if you used [MODE] or [MODE+] as a tag
Last edited by CLRS530, .
CLRS530
S2 licensed
Today we made our Final stable release with version 1.0 of my program and also a bugfree version of LFS Report.

There is a Howto on the page http://www.liveforstats.de.vu/howto.htm

and here an example of how it looks now
http://www.vrl-simracing.be/lf ... _race32.xml&cssstyle=

There are not many new feautres in this version but many bugs fixed, we tested much the last days/ weeks so we know there aren´t big bugs in now

There is one new feautre that you can save the stats to any time with /mso !save read more in the news on the page.

Knarf released the code of his script LFS Report so you can host it on your own server.
Last edited by CLRS530, .
CLRS530
S2 licensed
Quote from J.B. :I just gave U23 a quick try and there was still some crackleing when viewing from TV cam with lot's of cars in view right after the start.

I can confirm that, but it´s not what I mean.
The crsckling I mean is much louder and in every cam I guess, but I try to get it now
CLRS530
S2 licensed
Quote from bluejudas :I have problem with sound... I get echo and a crackeling sound when the car is on the trrack... I have tried to change the sound lag setting. The sound is best at 0.15, but its stil not good

I have xpsp2 and I use sandberg usb headphones..

From time to time I get crackling while driving too, It comes several times per lap.
But I had it only 4 times if I started LFS. But if it comes, I noticed it the full race.
I couldn´t reproduced it yet.
CLRS530
S2 licensed
Quote from GP4Flo :
Despite this bug Direct Sound works really fine on Win XP. I guess the only disadvantage is, that the sound stops when the LFS window is loosing focus.

Oh I love that. It irritaded me all the time to have the sound if LFS has no focus.
For what do I/you want the sound if you don´t see anything? Or do you mean if you have another window half over it?
I can live better with it, so it´s a nice feautre for me


I drove a race in singleplayer and alone and had 2-3 really annoying lags per lap.
Maybe it comes from another task was opened but only some websites.
So I only want to hear if someone else noticed it...
CLRS530
S2 licensed
Every Stats tool have such outputs LfsLappter, lfsstats and my live for stats :P.
You could get this information with a request of the New Player packet every time.
So you can proove if the settings are right.
CLRS530
S2 licensed
Oh yes sure you are right startlist/plynumber is from one up until num players
I didn´t think in this direction :P
CLRS530
S2 licensed
So I figgured it out now.
I have no chance to get the car name before the first lap (if I have no IS_NLP package at beginning) cause in the mci packet for example there is no start position / plynumber but I need the playernumber to request the IS_NPL package.
If I request it on disconnecting driver it sees the information was deleted by LFS.

So it would be good to have a package like MCI but wich every player get if he joined the server or with requests.
In this package could be included a n 8 array and contains these informations
-uniqueId
-plyNumber
-PName
-UName
-carName
-playerFlags

Now I have to get these informations from laps or splits/mci and have to check every time I get them if I still need it (much overhead)

Such a packeage would be very nice and no problem to implement (no problem for other tools)

It would be nice if it also contains the lap information cause maybe you wasn´t at race start and now you have to wait for the STA package or request it.
It would be a nice welcome gift for a new player :P

race information
-track
-weather
-wind
-LENGTH ;=)
-SPLITCOUNT (only the split-time-points)
CLRS530
S2 licensed
I have the first "real problem" with InSim.
(see Edit first )

- If a player (in replay) disconnects in the first lap there is no chance to get the carname he has driven.
Could there be added a id for´the cars in PLP and PLL?
Or a second thing would be to have some requests for name, carname...

Request 1 (4 + 4 = 8)
InSimPack Id = "NME"
InSimPack Value = 2 //UniqueId

Request 2 (4 + 4 = 8)
InSimPack Id = "CAR"
InSimPack Value = 2 //UniqueId

Answer 1(1 + 32 + 1)
InSimRequestAnswerPack UniqueID = 2
InSimRequestAnswerPack Content = "CLRS530"
InSimRequestAnswerPack value = 0 //for name

Answer 2(1 + 32 + 1)
InSimRequestAnswerPack UniqueID = 2
InSimRequestAnswerPack Content = "FZ 50"
InSimRequestAnswerPack value = 1 //for car

A second request is:
I don´t know why there isn´t a information with the length of a track. Or can I read it in a stable way from the node count (one node everytime x metres)?


EDIT: I never said anything Saw that I could do it with request of the IS_NLP packet, but have to look if this work if I do it on PLL or PLP packet...
Last edited by CLRS530, .
CLRS530
S2 licensed
There was a new version coming out today for Live for Speed with many bugfixes, it works much more stable and should give a correct outputfile again now

For LFS-Report there are also many improvments availible.

Check it out here
www.liveforstats.de.vu
http://www.vrl-simracing.be/lfsreport/
CLRS530
S2 licensed
Ok, problem fixed, I didn´t realize finishLineNode and it makes no sense for me
CLRS530
S2 licensed
Hmm, I have some problems with understanding the nodes.
I thought they go from 0/1 (start) to nodeCount(-1) finish isn´t it?

I ever update the nodes and sort it on start and split. (If one have a lap more then an other) or (if the laps are the same and the node is higher).

But if I do that on IS_LAP I ever get something around node 20?

Do I have a problem in code or do I understand something wrong?

Thanks
CLRS530
S2 licensed
I think he wants to develope something for himselve nocht searching for an application
CLRS530
S2 licensed
Quote from Dygear :For qualification it's easy.
Evey time a player passes the start finish line the RES packet is send, in that packet the value of ResultNum should give you there posision. As for the race, good luck, I'm still trying to figure out that one for my self .

I did the result thing for myselv and for the undocomented Node thing I searched the forum...

[QUALY]
You cannot use the number in results, because what is if you drive one lap and you are first and the second has a better lap and is first too.
But its easy to use the best times and take the positions from there.

[RACE]
To get the result is easy Resultnumber in result.
For laps, splits or something else I did firstly something very stable for only the lap positions (use a array for every lap and count the drivers past this. Every new gets the next number.
But to use it for splits too, it will be to complicadet (too much data to store, variable split count...).

So I did the same angry_angel posted. But it´s a bit buggy for me at the moment I have to test this and the useage of Nodes couldn´t be so exact in my opinion because the Nodes are long and more then one player could be in one.

I don´t understand why LFS cannot send the position in a mci package cause it have to be there in the game.
CLRS530
S2 licensed
The second part is my fault, sry
Insim NLI Request Bug!
CLRS530
S2 licensed
Firstly I´m not 100% sure, but I found two bugs

1. In Insim its documentat in milliseconds (1/1000) Value = 500 = 1/2 sec)
but its microseconds (1/10000)

2. If I use a value maybe 5000 (real 1/2 sec) The speed is most times 0 (one lap in KY1 (~33secs) gave me 65x Speed 0

EDIT:
I forgot the problem is surely with the MCI package

Can someone confirm this or Scawen? Would be nice to here...
Last edited by CLRS530, .
CLRS530
S2 licensed
Last edited by CLRS530, .
CLRS530
S2 licensed
Isnt it
0
1
2?
CLRS530
S2 licensed
I tested it and I got 1,2,3 but I joined with me (Host) and got 1.
in Race I have 0.
Maybe you could do it in a other way (but you do something wrong, I cannot find it...), adding a new ID if you get the first information you need and dont find this id.
CLRS530
S2 licensed
Hi, back with the third Update of the page, added a lot stuff and have began a documentation of the output file format I use

www.liveforstats.de.vu
CLRS530
S2 licensed
I made a small website for the tool Link

EDIT: Update
Last edited by CLRS530, .
CLRS530
S2 licensed
Before I will implement the XML Part I made a structure how I would do it


<?xml version="1.0" encoding="ISO-8859-1"?>
<STATS version="1.0">
<TRACK >
<NAME>Oval</NAME>
<LAPANZ>20</LAPANZ>
<WEATHER>0</WEATHER>
<WIND>0</WIND>
<QUALMINS>0</QUALMINS>
</TRACK>
<PlayerS>
<PLAYER>
<NAME>CLRS530</NAME>
<ID>1</ID>
<RESULT>0:39:29:19:9</RESULT>
<BESTLAP>1:58:0:0</BESTLAP>
<BESTSPEED>333333</BESTSPEED>
<PITANZ>2</PITANZ>
<CONFLAG>01XXXXX</CONFLAG>
<LAPS>
<LAP>
<NUMBER>1</NUMBER>
<TIME>1:58:0:0</TIME>
<SPEED>333333</SPEED>
<SPLITS>
<SPLIT>
<NUMBER>1</NUMBER>
<TIME>0:29:0:0</TIME>
<SPEED>333333</SPEED>
</SPLIT>
<SPLIT>
<NUMBER>2</NUMBER>
<TIME>0:48:0:0</TIME>
<SPEED>333333</SPEED>
</SPLIT>
</SPLITS>
</LAP>
</LAPS>
</PLAYER>
</PlayerS>
</STATS>

probably a position field will comes to laps but thats not the point here

please give me a note if this can be good handled for parsing.
FGED GREDG RDFGDR GSFDG