Live for Speed - LFS Main Site
- LFS World
- LFS News
- LFS Manual
- LFS Merchandise
  http://www.lfsforum.net/forumdisplay.php?f=246

Go Back   Live for Speed > Files > Unofficial Addons

Reply
 
Thread Tools Search this Thread Display Modes
Old 22nd September 2007, 11:29   #1  -   
DarkTimes
S2 licensed
 
Racername: Faraday
Join Date: May 2004
Location: Glasgow, Scotland
Posts: 1,723
DarkTimes's online stats
LFSPoints V2.4.0.8

LFSPoints is a program designed to aid league managers in calculating the championship point results for races. It works by parsing the headers from multiplayer replay (.mpr) files, and comparing the race results against a user-defined points table. The results of the championship can then be viewed within the program, or exported in various different file formats, such as HTML, XML or CSV.

Requirements

LFSPoints requires .NET Framework 3.5 in order to run, as well as either Windows XP SP2 or Windows Vista. It supports multiplayer replays made from LFS patch X onwards, as well as replays created in demo mode. It does not support singleplayer replays.

You can download .NET Framework 3.5 from the following link:

http://www.microsoft.com/downloads/d...displaylang=en

Installation

LFSPoints doesn't have an installer, simply unzip the package onto your hard-disk and run the file LFSPoints.exe.

Usage

User feedback has shown LFSPoints to be a fairly intuitive program to use, so you shouldn't have many issues. There is a short FAQ in the readme.txt file. Many advanced options are available through the right-click context menu, so try right-clicking on stuff.

Download

Please download the most up-to-date version of the program below.
Attached Thumbnails
Click image for larger version

Name:	screenshot_1.gif
Views:	1185
Size:	25.9 KB
ID:	77531   Click image for larger version

Name:	screenshot_2.gif
Views:	613
Size:	25.7 KB
ID:	77532  
Attached Files
File Type: zip LFSPoints_2.4.0.8.zip (86.1 KB, 435 views)

Last edited by DarkTimes; 6th February 2009 at 15:53.
Reply With Quote
Old 25th September 2007, 04:31   #2  -   
danowat
S2 licensed
 
danowat's Avatar
 
Racername: danowat
Join Date: Jul 2003
Location: Norfolk,England
Posts: 9,124
danowat's online stats
Doesn't seem to open chp files from the previous version..........
Reply With Quote
Old 25th September 2007, 13:27   #3  -   
DarkTimes
S2 licensed
 
Racername: Faraday
Join Date: May 2004
Location: Glasgow, Scotland
Posts: 1,723
DarkTimes's online stats
What happens when you try to open them, do you get an error message? There shouldn't have been any changes to those files, unless I've forgotten something I changed.
Reply With Quote
Old 25th September 2007, 17:43   #4  -   
danowat
S2 licensed
 
danowat's Avatar
 
Racername: danowat
Join Date: Jul 2003
Location: Norfolk,England
Posts: 9,124
danowat's online stats
Nothing, no error message, the replays don't show, the championship points don't show, the only thing it "remembers" is the points allocation I selected for the championship
Reply With Quote
Old 25th September 2007, 20:33   #5  -   
DarkTimes
S2 licensed
 
Racername: Faraday
Join Date: May 2004
Location: Glasgow, Scotland
Posts: 1,723
DarkTimes's online stats
Hmm OK, that's weird. There was as far as I remember no changes made to the championship save files, certainly nothing more than refactoring some quickly quickly written code. Well, I apologise for this, as obvious I screwed up somewhere.

Unfortunately my PC was shorted out by a powersurge a few nights ago, so I no longer have access to the source code for the program, and to be honest I'm not sure if I will be able to recover it.

If I manage to sort something out I will look into it, but really it's seeming like I may have to rewrite the whole program from scratch, which I may not have time to do any time soon.

Oh well... More importantly it means I can't play LFS any more.
Reply With Quote
Old 25th September 2007, 20:44   #6  -   
danowat
S2 licensed
 
danowat's Avatar
 
Racername: danowat
Join Date: Jul 2003
Location: Norfolk,England
Posts: 9,124
danowat's online stats
Ok, for the current season of RSSC, I'll just stick to the previous version
Reply With Quote
Old 29th September 2007, 13:20   #7  -   
DarkTimes
S2 licensed
 
Racername: Faraday
Join Date: May 2004
Location: Glasgow, Scotland
Posts: 1,723
DarkTimes's online stats
OK - Cool. Sorry about that.

I've managed to find a slightly older version of the code on a backup disk, so not all is lost. It will take a while to get it back into the same state as the last release though. I think the next version I will release the code so I don't have this problem again.
Reply With Quote
Old 3rd October 2007, 13:44   #8  -   
migf1
S2 licensed
 
migf1's Avatar
 
Join Date: Apr 2006
Posts: 306
migf1's online stats
DarkTimes, this was a brilliant idea and i found ingenious the user interface you implemented inside the program! It worked like a charm for me, many many thanks!

A great improvement would be to add teams support. For example, in the Player Name you could consider everything enclosed in brackets ('[' and ']') to be the team name (or no team, if no brackets are found) and add another tab with the "Team Standings". This might dictate to rename the current "Championship" tab to "Driver Standings", for clarity reasons!

How does this sound?

PS. And a question, how come Pole Position is getting the value "Uknown" in the exported results? (i've only tested the html exporting). Could it be that I loaded demo mpr files into the prog?
Reply With Quote
Old 3rd October 2007, 19:29   #9  -   
DarkTimes
S2 licensed
 
Racername: Faraday
Join Date: May 2004
Location: Glasgow, Scotland
Posts: 1,723
DarkTimes's online stats
Thanks for the kind words.

The pole position information was only added in a recent patch, I think patch X and onwards. So old replays from before this time will show unknown because it does not include the grid position in the replay info. Also with patch-X replays if a driver joined after the race had begun, it will show as unknown because they were never given a grid slot.

In terms of team information, this has been suggested before, and I may look to including something similar in a future version.
Reply With Quote
Old 3rd October 2007, 20:23   #10  -   
JRIXM8
S2 licensed
 
Join Date: Apr 2006
Posts: 10
JRIXM8's online stats
Thanks for this very useful program!

I want to suggest something. Is it possible to change the names of the racers? And if it isn't can you add it in one of the future releases?
Because if one racer use 2 different usernames, he was taken, by the program as 2 racers...
Reply With Quote
Old 3rd October 2007, 20:53   #11  -   
DarkTimes
S2 licensed
 
Racername: Faraday
Join Date: May 2004
Location: Glasgow, Scotland
Posts: 1,723
DarkTimes's online stats
OK - That's a good idea. I'm going to remove the way the program detects player names and LFS usernames, as I've never been totally happy with it. Now it will only user the driver nicknames (keeping it compatible with old replays and demo users), but you can now rename the drivers by right-clicking on a name in the championships view. If you rename a driver to have the same name as a driver who is already listed, then their results will be combined. The changes are saved in the championship save file with no changes to the existing file structure, so that works out great. I'll release a new version tomorrow or on Friday.

And all I needed to do was add two new methods!

Last edited by DarkTimes; 3rd October 2007 at 20:57.
Reply With Quote
Old 4th October 2007, 08:14   #12  -   
migf1
S2 licensed
 
migf1's Avatar
 
Join Date: Apr 2006
Posts: 306
migf1's online stats
You are a... coding machine!

PS. Regarding the "Uknnown" Pole You were absolutely right about the replays not being from version X. Thanks!

Last edited by migf1; 4th October 2007 at 08:22.
Reply With Quote
Old 4th October 2007, 21:10   #13  -   
DarkTimes
S2 licensed
 
Racername: Faraday
Join Date: May 2004
Location: Glasgow, Scotland
Posts: 1,723
DarkTimes's online stats
V2.2.1 uploaded.

In addition to the being able to rename drivers in your championship, there is also a new option added to the championship table right-click menu, which allows you to view how each drivers points were calculated in detail.

I hope it works.
Reply With Quote
Old 5th October 2007, 12:51   #14  -   
DarkTimes
S2 licensed
 
Racername: Faraday
Join Date: May 2004
Location: Glasgow, Scotland
Posts: 1,723
DarkTimes's online stats
Uploaded V2.2.2.
Reply With Quote
Old 6th October 2007, 13:04   #15  -   
migf1
S2 licensed
 
migf1's Avatar
 
Join Date: Apr 2006
Posts: 306
migf1's online stats
Thank you!
Reply With Quote
Old 6th October 2007, 18:08   #16  -   
DarkTimes
S2 licensed
 
Racername: Faraday
Join Date: May 2004
Location: Glasgow, Scotland
Posts: 1,723
DarkTimes's online stats
Uploaded V2.2.3.

The new version breaks the old championship save files, so I've left V2.2.2 up for the time being, as it's still compatible and has only been out for a day or so.
Reply With Quote
Old 7th October 2007, 11:19   #17  -   
Freddy_P
S2 licensed
 
Freddy_P's Avatar
 
Racername: 3R Freddy
Join Date: Oct 2003
Location: Near Hamburg / Ger
Posts: 44
Freddy_P's online stats
I miss the drivernames in the table "Championship".

e.g.

dSk|Freddy - Freddy_P - 32 Points

__________________
www.3r-team.de
Reply With Quote
Old 10th October 2007, 20:12   #18  -   
DarkTimes
S2 licensed
 
Racername: Faraday
Join Date: May 2004
Location: Glasgow, Scotland
Posts: 1,723
DarkTimes's online stats
The only problem with usernames is that they were only added with patch X replays, so it would break backwards compatibility to depend on them in any way. In a future version I may change it, but seeing as most leagues last for many months some people are still using old replays from previous LFS versions, so I've learned to my cost that it sucks to mess with stuff like that.

Anyway... I've no idea how the save system ended up so broken. A bug slipped in after V2.2 alpha which has truly messed the saves up when moving between versions of the program. I've figured out what went wrong and this new version should fix it. V2.2.4 should properly load all save files from V2.2 Alpha onwards. It's a it of a hack, as it tries to load the file and if it encounters a problem it attempts to go back through the various file version changes until it loads without any exceptions being thrown. I've tried it with V2.2 Alpha, V2.2.1 and V2.2.2 save files and it seems to work OK.

There are also quite a few other changes in this release, and more new features coming, such as team support in V2.3, which is going to be really cool the way its implemented. I am happy now with the way the development is going, the program is getting tweaked like mad, and I think it's starting to become quite polished. Broken save files aside, that is.

My TODO list is getting longer and longer, which strangely is a good sign that development is progressing well.

V2.2.4 will be out soon, but I need to hold onto it for a little while to make sure a few things are working as intended.
Reply With Quote
Old 10th October 2007, 20:17   #19  -   
danowat
S2 licensed
 
danowat's Avatar
 
Racername: danowat
Join Date: Jul 2003
Location: Norfolk,England
Posts: 9,124
danowat's online stats
Nice one fella
Reply With Quote
Old 12th October 2007, 10:27   #20  -   
DarkTimes
S2 licensed
 
Racername: Faraday
Join Date: May 2004
Location: Glasgow, Scotland
Posts: 1,723
DarkTimes's online stats
I've uploaded V2.2.4, please let me know if any save files aren't working as intended. Thanks.
Reply With Quote
Old 12th October 2007, 16:32   #21  -   
danowat
S2 licensed
 
danowat's Avatar
 
Racername: danowat
Join Date: Jul 2003
Location: Norfolk,England
Posts: 9,124
danowat's online stats
Hmmm........there seems to be an issue if a driver changes his/her display name throughout the season, it takes each "display name" as a seperate person, which isn't great IMO, you shouldn't be using "display names" you should be using license names as per the old version.
Reply With Quote
Old 12th October 2007, 16:42   #22  -   
DarkTimes
S2 licensed
 
Racername: Faraday
Join Date: May 2004
Location: Glasgow, Scotland
Posts: 1,723
DarkTimes's online stats
This is answered in the FAQ in the Readme.txt file. If a driver has changed their nickname during a season, then you can rename the driver by right-clicking on their name in the Championship view. If you rename a driver in your championship to have the same name as an existing driver, then you will be asked if you would like to combine their results.
Reply With Quote
Old 12th October 2007, 18:28   #23  -   
danowat
S2 licensed
 
danowat's Avatar
 
Racername: danowat
Join Date: Jul 2003
Location: Norfolk,England
Posts: 9,124
danowat's online stats
Ahhh, my bad, teach me to not RTFM
Reply With Quote
Old 13th October 2007, 17:17   #24  -   
DarkTimes
S2 licensed
 
Racername: Faraday
Join Date: May 2004
Location: Glasgow, Scotland
Posts: 1,723
DarkTimes's online stats
Hehe, there was a big bug in the rename drivers function anyway. I've fixed it. It's the only change for V2.2.4.1. Wow, these version numbers are getting crazy!

I'm looking forward to going to V2.3, stop all this nonsense....
Reply With Quote
Old 14th October 2007, 23:15   #25  -   
Locovich
S2 licensed
 
Locovich's Avatar
 
Join Date: Jan 2006
Posts: 138
Locovich's online stats
Hi!! I found this application very useful, and in the argentinian league we are trying to use it also in qualy sessions, but.... have a look at this little bug.... i ve marked with a red circle the wrong laptimes...

Hope you can fix this soon...

Great job programming this app! Thanks you!!


EDIT: i´m checking the exported xml file, and found that is exported right. So, it´s just shows wrong on the laptimes list, nothing else...
Again, excellent work!
Attached Thumbnails
Click image for larger version

Name:	Dibujo.jpg
Views:	241
Size:	23.2 KB
ID:	41118   Click image for larger version

Name:	Dibujo2.jpg
Views:	203
Size:	155.4 KB
ID:	41119  
__________________
LFSLA ===> SimRacing-LA
http://www.simracing-la.net/



Last edited by Locovich; 14th October 2007 at 23:48.
Reply With Quote
Old 15th October 2007, 19:28   #26  -   
DarkTimes
S2 licensed
 
Racername: Faraday
Join Date: May 2004
Location: Glasgow, Scotland
Posts: 1,723
DarkTimes's online stats
Fixed.

Please download V2.2.4.2 and confirm the bug has been rectified. Thanks!
Reply With Quote
Old 16th October 2007, 15:11   #27  -   
Andrei221
S2 licensed
 
Andrei221's Avatar
 
Racername: Andrei221
Join Date: Oct 2006
Posts: 454
Andrei221's online stats
a question from me


if in my league there are some disconnects .. the program calculates the points with the disconnects? or calculates from when the driver reconnected again
__________________
Quote:
Niko Puntola: in finland - 15 year olds tune mopeds and drift in the snow - fall over and die
Reply With Quote
Old 16th October 2007, 15:48   #28  -   
DarkTimes
S2 licensed
 
Racername: Faraday
Join Date: May 2004
Location: Glasgow, Scotland
Posts: 1,723
DarkTimes's online stats
The points are calculated from the race finishing order, which is identical to the order displayed in game at the end of the race, so the same rules apply.
Reply With Quote
Old 23rd October 2007, 12:49   #29  -   
DarkTimes
S2 licensed
 
Racername: Faraday
Join Date: May 2004
Location: Glasgow, Scotland
Posts: 1,723
DarkTimes's online stats
Uploaded V2.3 Beta, which contains several new features, such as;

- Full support for teams, with a teams championship and team management options.

- A completely new HTML format, which looks waaay better than the old one!

- Completely customisable HTML export, through the use of XSL stylesheets.

- A great many optimisations, tweaks and changes!

Thanks!
Reply With Quote
Old 23rd October 2007, 12:50   #30  -   
danowat
S2 licensed
 
danowat's Avatar
 
Racername: danowat
Join Date: Jul 2003
Location: Norfolk,England
Posts: 9,124
danowat's online stats
Awesome

edit : couple of things.

1) it would be nice to change the points allocated to the team championship

2) you might want to look at the HTML export, I think its a little borked, if you have more than 1 replay in the championship, then the results in the exported HTML file run concurrently.

e.g Race 1, positions 1-32, Race 2, positions 33-64 etc etc

Last edited by danowat; 23rd October 2007 at 13:20.
Reply With Quote
Reply

  Live for Speed > Files > Unofficial Addons

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

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

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

Forum Jump


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


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