The online racing simulator
Searching in All forums
(316 results)
CLRS530
S2 licensed
@Dygear
Your text is really complicate
I don´t know what filur means with speed, but I think it´s the line speed. A max speed should also be for the whole race not for every lap.
split and finish line speed is a good indicator for your driving skills.wich has been said by some racers after I added it.

Default should be a MSHT format but I understand the "need" of only one number because it´s much easier to work with it if you don´t only want to write the time out.

EDIT: @filur Yes thats right. Because of this we everytime write the 0. But if it comes its far in the future. Also we could write it in thousands, but in the race time it would be very high and much higher then unsigned integer
Last edited by CLRS530, .
CLRS530
S2 licensed
Hey Scawen just a short question wich I´m not totally sure of.
I think if you take over a car and have anothother player flag the new playerflags will be used by that driver (sure) but no IS_PFL will be sent.
I´m not 100% sure of it because I didn´t test it a second time.
CLRS530
S2 licensed
Quote from Brilwing :
What useless data? We do not put a penalty tag into the lap tag when no penalty event happen. Only when a penalty, takeover, flag occurs, than a tag is added to the proper lap when the event occurs.

I mean an example of Dygear, he put the penalty tag in every lap "<lap ... penalty="0">"
Putting a tag <pit> behind <lap> if its in the right lap is this really a valid xml structure?
One thing I see as valid would be

<entry type="lap" time=""...>
<entry type="pit" time="" work=""...>

But maybe I only have another thinking of it.

Quote from Brilwing :
Maybe not every body is happy with your format

Don´t lay words in my fingers I never wrote.
I wrote to use the idea of those lists instead of put every event into the lap list wich comes strange to me.
Also you can easy write "attacking words" but I discuss what I like and I argument what I don´t like on other formats.
You could come with arguments but thats no way.

Quote from filur :
Latest revision of my stuff

Yes that at least is also for me the best from all ideas.
I think we need a flag in the lsf tag wich shows if speed is in it and if there are pit information.
The best idea is to split the new packet information in two bits. One bit for the new information and one additional for pit and take over... because on an old replay you get flag and so on, but no pit events.
Also the time should be changeble to hundreds of seconds. That was a request on my file and I implemented it.

Thats a nice basic think,but there are no new packet information in and we have continue working on bring it together to a result.
For me it would be nice to have the speed for spilts too, but if I´m the only one who do this it´s not good for you I know.
But on the other hand I couldn´t be compatible with my main output.
CLRS530
S2 licensed
If the host drives uniqueid is zero. So the host is ever zero.
If you drive singleplayer your player is 0.


<PLAYER>
<LFSID>0</LFSID>
<NAME>CLRS530</NAME>
...

CLRS530
S2 licensed
I´m not for most of the last examples because they all have so many useless data. For example the penalty type in every lap entry. How do you get a penalty that such thing is needed.
Also you have pit, flag, take over... Where do you want to go with this.
Every example has only parts of all availible information in it and I think most times you don´t think enough forward.
Maybe in a common format there is no space for speed because its also not the easiest thing to implement. But you can´t take out pit, tyres, flag and so on...
So why do we don´t use my way to use a list of all those infos? In my opinion thats the best way. Easy to implement and the easiest way to parse. I don´t understand why you try hard to get something else.
CLRS530
S2 licensed
Yes you have also process the some packets you don´t use.
But it´s not such a big pain in my eyes
CLRS530
S2 licensed
I think it´s fine like it is at the moment.
CLRS530
S2 licensed
If you are behind a router you have to forward the port used for the server (default 63392)
CLRS530
S2 licensed
Hmm, I have some reasons against this format.

1. it looks like it want to look "professionell" in my eyes the "lfs:" is totally needless.
2. Why is there a live section. I see your idea but if you send this live you won´t send all the other data or am I wrong?
[Second Look]Ah I see it has another tag, not "lsf" is that a sort of case of? Will read something about it. But Iam confused because you have both in one file[/Second Look]
3. I don´t understand the finish section. I know that you get the data in the IS_FIN package, but I don´t see a reason why copying InSim in such an equal style, that we create a "readable package image"
4. You did it the other way then me and put flag to the lap times that also don´t get my vote because I think it will be harder to read the content if I think for example for creating a website out of it.
Ok you can do it with the flags maybe, but if I see this I think you want to do it with pit and penalties too.
Also I don´t think too many are interested in the detailed flags.
5. Thats my last point. You wrote sp1="" ... Thats ok but I would prefer a list of splits because you ever have to write 3 tags also if you only have 1. Thats not such a bad situation. But it isn´t save for future changes in LFS where you maybe get more then 3 split times. And I´m a ever for lists more then for this way like you saw before :P


Sorry that I´m so critical with this. I could have a go with it, but we are here to discuss over a format so everyone should say what he prefer
CLRS530
S2 licensed
Hi, in wich intervall are the MCI packets going to be send?

EDIT: fine intervall is 500ms
Last edited by CLRS530, .
CLRS530
S2 licensed
Mhm you brought a new point in with your first idea. For some things it would be better to do it this way. BUT you have much overhead with ever the player name. Also it is harder to read (if you should read the xml file).
I prefer the second one (wich is similar to mine).
Also I think the first format would be harder to write.

You did everything as attributes. Also the users data (and why user and not player?).
There are many more tags to save, so that its too much to do it with attributes (my opinion)
CLRS530
S2 licensed
I put a lap number into penaltie, pit and take over and no I don´t think it would be good to put it into lap because we have to put an empty element in every lap where you don´t need it.
Thats much better structured and you get a better and faster overview.
And why do you want the flags into the lap?
Thats only a counter of flags the player got.
Maybe you can make also a list of it. But I decided that it would be too much and isn´t needed.

The splits ad laps and penaties tags. I don´t know if you do this if you could have more entries. This should someone say how know more over XML. filur?

EDIT: I don´t formated the speed because you maybe will lost the exact number and its better to work with. It was in fact bad to do it with the time. But you can export it in hundreds of seconds with an option in my program (readflag 1 ist set in this case)
CLRS530
S2 licensed
I searched a bit, yes it seems you are right.
But thats not the problem to change in my example


EDIT: What do you think over my next "try"?

stats_070403_1905_SO1_race10.xml
Last edited by CLRS530, .
CLRS530
S2 licensed
Quote from filur :
Your format has a few problems (imho), it doesn't stick to field names from the InSim documentation and it under-uses attributes, ie.
<penalty>
<penlapnumber>5</penlapnumber>
<penvalue>123</penvalue>
</penalty>

.. vs

<penalty lap="5" value="123" />


And you mean thats better?
I don´t think so

Also it was in fact my plan not to stick to InSim. I don´t wanted same attribute names. Maybe now I´m also better with the idea to use everytime lap, instead of penlapnumber, tolapnumber...
I did that because if you don´t really parse it and search in the text with normal methods.
Last edited by CLRS530, .
CLRS530
S2 licensed
Hi, as you know I made such a format so the best for me would be to use that. I´m sure everybody wants something else, but you could use it as a base for your own ideas.
Many things like the lap and split structure you cannot do better (in my mind) in a xml file. Because you ever have to think how you can process it the best way and can get specific information you want on the fastes way

Here is the link to the documentation of my format
http://liveforstats.sourceforg ... cumentation.htm#xmlformat
CLRS530
S2 licensed
Don´t know yet, it depends on how the format looks like. If I can use it. I´m ever for a standart
CLRS530
S2 licensed
You can download 1.60.

It includes the updates from LFS, so new pit information, penaltie, yellow and blue flag and so on.

See for details the news post the updated documentation and the changelog
Last edited by CLRS530, .
CLRS530
S2 licensed
Hi, back again.

I updated the source download and also the cvs repository to version 1.60. It now includes all updates of the new InSim packets

http://www.sourceforge.net/projects/liveforstats
CLRS530
S2 licensed
Thanks, I´m a bit dissapointed that it seems no one uses it
I know your point and in the future there will be a console version maybe also for linux.

But my first point was in fact not written without thinking I can only write for me here, but I "calculate" the speed on lap or split lines and also the positions are not sooo easy but surely implemeted from everyone.
For the new pit, penalty... I also ever use the position.

I don´t want to say with this my tool is the best. I only want to say that not every tool uses the same values.
CLRS530
S2 licensed
Every stats tool uses or calculates other values and was developed for various reasons so:

1. you couldn´t really do a common format
2. if you have a common format why should there exists more then one program?
CLRS530
S2 licensed
Yeah

a new export with 3 take overs and I played a bit with penalties from drive through to stop and go, then abort the stop for stop and go and cleaned it.
Everything well, nice job Scawen

stats_070326_2130_BL1_race10.xml


I forgot one thing, whats with a package on the reset event? or a counter into the result.
Nice for statistic and also nice for limiting in a league.
Also I wondered why the host name isn´t inside the replay, could that be done?
CLRS530
S2 licensed
Thanks for that, I thought about and if you write this I will change to the same then in pit because it could happen there yet.

The only affect would be, that you have the left front for both front and the left right for both right.
CLRS530
S2 licensed
Haha thanks Scawen, works good, but yes I will try a longer one for myselv.
For you important everything is right

Tyres in NPL (only 2 because you can´t select each tyre)

[COLOR=#0000ff]<[/COLOR][COLOR=#990000]TYRES[/COLOR][COLOR=#0000ff]>[/COLOR]
[B][FONT=Courier New][COLOR=#ff0000] [/COLOR][/FONT][/B] [COLOR=#0000ff]<[/COLOR][COLOR=#990000]FRONT[/COLOR][COLOR=#0000ff]>[/COLOR][B]5[/B][COLOR=#0000ff]</[/COLOR][COLOR=#990000]FRONT[/COLOR][COLOR=#0000ff]>[/COLOR]
[B][FONT=Courier New][COLOR=#ff0000] [/COLOR][/FONT][/B] [COLOR=#0000ff]<[/COLOR][COLOR=#990000]REAR[/COLOR][COLOR=#0000ff]>[/COLOR][B]5[/B][COLOR=#0000ff]</[/COLOR][COLOR=#990000]REAR[/COLOR][COLOR=#0000ff]>[/COLOR]
[COLOR=#0000ff]</[/COLOR][COLOR=#990000]TYRES[/COLOR][COLOR=#0000ff]>[/COLOR]

Flags (I realized that you fast get those yellow flags if you brake heavy...)

[COLOR=#0000ff]<[/COLOR][COLOR=#990000]YELLOWFLAGS[/COLOR][COLOR=#0000ff]>[/COLOR][B]1[/B][COLOR=#0000ff]</[/COLOR][COLOR=#990000]YELLOWFLAGS[/COLOR][COLOR=#0000ff]>[/COLOR]
[B][FONT=Courier New][COLOR=#ff0000][/COLOR][/FONT][/B][COLOR=#0000ff]<[/COLOR][COLOR=#990000]BLUEFLAGS[/COLOR][COLOR=#0000ff]>[/COLOR][B]0[/B][COLOR=#0000ff]</[/COLOR][COLOR=#990000]BLUEFLAGS[/COLOR][COLOR=#0000ff]>[/COLOR]


Playerflag (works well in your example there is only the first one. So here mine

[COLOR=#0000ff]<[/COLOR][COLOR=#990000]PLAYERFLAGS[/COLOR][COLOR=#0000ff]>[/COLOR]
[COLOR=#0000ff] <[/COLOR][COLOR=#990000]PLAYERFLAG[/COLOR][COLOR=#0000ff]>[/COLOR]
[B][FONT=Courier New][COLOR=#ff0000][/COLOR][/FONT][/B][COLOR=#0000ff] <[/COLOR][COLOR=#990000]PFLAPNUMBER[/COLOR][COLOR=#0000ff]>[/COLOR][B]1[/B][COLOR=#0000ff]</[/COLOR][COLOR=#990000]PFLAPNUMBER[/COLOR][COLOR=#0000ff]>[/COLOR]
[B][FONT=Courier New][COLOR=#ff0000] [/COLOR][/FONT][/B][COLOR=#0000ff] <[/COLOR][COLOR=#990000]CONTROLERFLAGS[/COLOR][COLOR=#0000ff]>[/COLOR][B]4687[/B][COLOR=#0000ff]</[/COLOR][COLOR=#990000]CONTROLERFLAGS[/COLOR][COLOR=#0000ff]>[/COLOR]
[B][FONT=Courier New][COLOR=#ff0000][/COLOR][/FONT][/B][COLOR=#0000ff] </[/COLOR][COLOR=#990000]PLAYERFLAG[/COLOR][COLOR=#0000ff]>[/COLOR]
[COLOR=#0000ff] <[/COLOR][COLOR=#990000]PLAYERFLAG[/COLOR][COLOR=#0000ff]>[/COLOR]
[B][FONT=Courier New][COLOR=#ff0000][/COLOR][/FONT][/B][COLOR=#0000ff] <[/COLOR][COLOR=#990000]PFLAPNUMBER[/COLOR][COLOR=#0000ff]>[/COLOR][B]2[/B][COLOR=#0000ff]</[/COLOR][COLOR=#990000]PFLAPNUMBER[/COLOR][COLOR=#0000ff]>[/COLOR]
[B][FONT=Courier New][COLOR=#ff0000] [/COLOR][/FONT][/B][COLOR=#0000ff] <[/COLOR][COLOR=#990000]CONTROLERFLAGS[/COLOR][COLOR=#0000ff]>[/COLOR][B]4623[/B][COLOR=#0000ff]</[/COLOR][COLOR=#990000]CONTROLERFLAGS[/COLOR][COLOR=#0000ff]>[/COLOR]
[COLOR=#0000ff] </[/COLOR][COLOR=#990000]PLAYERFLAG[/COLOR][COLOR=#0000ff]>[/COLOR]
[COLOR=#0000ff][B][FONT=Courier New][COLOR=#ff0000][/COLOR][/FONT][/B] <[/COLOR][COLOR=#990000]PLAYERFLAG[/COLOR][COLOR=#0000ff]>[/COLOR]
[B][FONT=Courier New][COLOR=#ff0000] [/COLOR][/FONT][/B][COLOR=#0000ff] <[/COLOR][COLOR=#990000]PFLAPNUMBER[/COLOR][COLOR=#0000ff]>[/COLOR][B]2[/B][COLOR=#0000ff]</[/COLOR][COLOR=#990000]PFLAPNUMBER[/COLOR][COLOR=#0000ff]>[/COLOR]
[B][FONT=Courier New][COLOR=#ff0000][/COLOR][/FONT][/B][COLOR=#0000ff] <[/COLOR][COLOR=#990000]CONTROLERFLAGS[/COLOR][COLOR=#0000ff]>[/COLOR][B]4679[/B][COLOR=#0000ff]</[/COLOR][COLOR=#990000]CONTROLERFLAGS[/COLOR][COLOR=#0000ff]>[/COLOR]
[COLOR=#0000ff] </[/COLOR][COLOR=#990000]PLAYERFLAG[/COLOR][COLOR=#0000ff]>[/COLOR]
[COLOR=#0000ff] <[/COLOR][COLOR=#990000]PLAYERFLAG[/COLOR][COLOR=#0000ff]>[/COLOR]
[B][FONT=Courier New][COLOR=#ff0000] [/COLOR][/FONT][/B][COLOR=#0000ff] <[/COLOR][COLOR=#990000]PFLAPNUMBER[/COLOR][COLOR=#0000ff]>[/COLOR][B]2[/B][COLOR=#0000ff]</[/COLOR][COLOR=#990000]PFLAPNUMBER[/COLOR][COLOR=#0000ff]>[/COLOR]
[B][FONT=Courier New][COLOR=#ff0000] [/COLOR][/FONT][/B][COLOR=#0000ff] <[/COLOR][COLOR=#990000]CONTROLERFLAGS[/COLOR][COLOR=#0000ff]>[/COLOR][B]4687[/B][COLOR=#0000ff]</[/COLOR][COLOR=#990000]CONTROLERFLAGS[/COLOR][COLOR=#0000ff]>[/COLOR]
[B][FONT=Courier New][COLOR=#ff0000][/COLOR][/FONT][/B][COLOR=#0000ff] </[/COLOR][COLOR=#990000]PLAYERFLAG[/COLOR][COLOR=#0000ff]>[/COLOR]
[COLOR=#0000ff]</[/COLOR][COLOR=#990000]PLAYERFLAGS[/COLOR][COLOR=#0000ff]>[/COLOR]

Takeover

[COLOR=#0000ff]<[/COLOR][COLOR=#990000]TAKEOVERS[/COLOR][COLOR=#0000ff]>[/COLOR]
[COLOR=#0000ff][B][FONT=Courier New][COLOR=#ff0000][/COLOR][/FONT][/B] <[/COLOR][COLOR=#990000]TAKEOVER[/COLOR][COLOR=#0000ff]>[/COLOR]
[B][FONT=Courier New][COLOR=#ff0000][/COLOR][/FONT][/B][COLOR=#0000ff] <[/COLOR][COLOR=#990000]TAKEOVERLAPNUMBER[/COLOR][COLOR=#0000ff]>[/COLOR][B]1[/B][COLOR=#0000ff]</[/COLOR][COLOR=#990000]TAKEOVERLAPNUMBER[/COLOR][COLOR=#0000ff]>[/COLOR]
[B][FONT=Courier New][COLOR=#ff0000][/COLOR][/FONT][/B][COLOR=#0000ff] <[/COLOR][COLOR=#990000]NAME[/COLOR][COLOR=#0000ff]>[/COLOR][B]Scawen2[/B][COLOR=#0000ff]</[/COLOR][COLOR=#990000]NAME[/COLOR][COLOR=#0000ff]>[/COLOR]
[B][FONT=Courier New][COLOR=#ff0000][/COLOR][/FONT][/B][COLOR=#0000ff] <[/COLOR][COLOR=#990000]UNAME[/COLOR][COLOR=#0000ff]>[/COLOR][B]scawen[/B][COLOR=#0000ff]</[/COLOR][COLOR=#990000]UNAME[/COLOR][COLOR=#0000ff]>[/COLOR]
[B][FONT=Courier New][COLOR=#ff0000][/COLOR][/FONT][/B][COLOR=#0000ff] <[/COLOR][COLOR=#990000]DISCONNECTED[/COLOR][COLOR=#0000ff]>[/COLOR][B]0[/B][COLOR=#0000ff]</[/COLOR][COLOR=#990000]DISCONNECTED[/COLOR][COLOR=#0000ff]>[/COLOR] //is 1 if its a selv detection with a disconnect
[B][FONT=Courier New][COLOR=#ff0000][/COLOR][/FONT][/B][COLOR=#0000ff] </[/COLOR][COLOR=#990000]TAKEOVER[/COLOR][COLOR=#0000ff]>[/COLOR]
[COLOR=#0000ff][B][FONT=Courier New][COLOR=#ff0000][/COLOR][/FONT][/B]</[/COLOR][COLOR=#990000]TAKEOVERS[/COLOR][COLOR=#0000ff]>[/COLOR]

Number the last Penalties again from my test

[COLOR=#0000ff]<[/COLOR][COLOR=#990000]PENALTIES[/COLOR][COLOR=#0000ff]>[/COLOR]
[COLOR=#0000ff][B][FONT=Courier New][COLOR=#ff0000][/COLOR][/FONT][/B] <[/COLOR][COLOR=#990000]PENALTY[/COLOR][COLOR=#0000ff]>[/COLOR]
[B][FONT=Courier New][COLOR=#ff0000][/COLOR][/FONT][/B][COLOR=#0000ff] <[/COLOR][COLOR=#990000]PENALTYLAPNUMBER[/COLOR][COLOR=#0000ff]>[/COLOR][B]2[/B][COLOR=#0000ff]</[/COLOR][COLOR=#990000]PENALTYLAPNUMBER[/COLOR][COLOR=#0000ff]>[/COLOR]
[B][FONT=Courier New][COLOR=#ff0000][/COLOR][/FONT][/B][COLOR=#0000ff] <[/COLOR][COLOR=#990000]VALUE[/COLOR][COLOR=#0000ff]>[/COLOR][B]5[/B][COLOR=#0000ff]</[/COLOR][COLOR=#990000]VALUE[/COLOR][COLOR=#0000ff]>[/COLOR]
[B][FONT=Courier New][COLOR=#ff0000][/COLOR][/FONT][/B] [COLOR=#0000ff] </[/COLOR][COLOR=#990000]PENALTY[/COLOR][COLOR=#0000ff]>[/COLOR]
[COLOR=#0000ff][B][FONT=Courier New][COLOR=#ff0000][/COLOR][/FONT][/B] <[/COLOR][COLOR=#990000]PENALTY[/COLOR][COLOR=#0000ff]>[/COLOR]
[B][FONT=Courier New][COLOR=#ff0000] [/COLOR][/FONT][/B][COLOR=#0000ff] <[/COLOR][COLOR=#990000]PENALTYLAPNUMBER[/COLOR][COLOR=#0000ff]>[/COLOR][B]2[/B][COLOR=#0000ff]</[/COLOR][COLOR=#990000]PENALTYLAPNUMBER[/COLOR][COLOR=#0000ff]>[/COLOR]
[B][FONT=Courier New][COLOR=#ff0000] [/COLOR][/FONT][/B][COLOR=#0000ff] <[/COLOR][COLOR=#990000]VALUE[/COLOR][COLOR=#0000ff]>[/COLOR][B]6[/B][COLOR=#0000ff]</[/COLOR][COLOR=#990000]VALUE[/COLOR][COLOR=#0000ff]>[/COLOR]
[B][FONT=Courier New][COLOR=#ff0000] [/COLOR][/FONT][/B] [COLOR=#0000ff] </[/COLOR][COLOR=#990000]PENALTY[/COLOR][COLOR=#0000ff]>[/COLOR]
[COLOR=#0000ff]</[/COLOR][COLOR=#990000]PENALTIES[/COLOR][COLOR=#0000ff]>[/COLOR]

Oh number more then last :P Pit

<PITS>
<PIT>
<PITLAPNUMBER>1</PITLAPNUMBER>
<PITTIME>00:04:32:00</PITTIME>
<WORK>131074</WORK>
<TYRES>
<FRONTLEFT>255</FRONTLEFT>
<FRONTRIGHT>255</FRONTRIGHT>
<REARLEFT>255</REARLEFT>
<REARRIGHT>255</REARRIGHT>
</TYRES>
</PIT>
</PITS>

Last edited by CLRS530, .
CLRS530
S2 licensed
I understood what you wrote. Yes it was a version U replay on a V5 client.
I only wrote the sentence because I thought that you didn´t change the replay format and in the replays made from V5 the packets are also not in (but later then in the incompatible version).
On the other hand I don´t know from where to get a replay with car take overs :P
Last edited by CLRS530, .
CLRS530
S2 licensed
hui Looks fantastic :wow:
FGED GREDG RDFGDR GSFDG