23-02-2015, 01:30 AM
So, finally something to "show" ;D
This version allows to create a championship, manage the results (by importing rf2 .xml-File) and automatically creates and maintains the championship-table.
Creating the Championship:
One can add all the drivers at the time one creates the championship or don't add any driver at all. By the time one imports a result, drivers which aren't already in the database (db) will be added automatically. Drivers who are in the db but don't take part in the respective championship will be added to the championship. A messagebox will tell which drivers have been added after one imported the .xml-File.
This is probably the better way than adding all drivers by hand, as typos and/or not correct names (e.g. Gorka Santisteban instead of Gorka Santisteban[SR4L]) would lead to "duplicate" entries. This akso means that if a new driver joins the server he will be added automatically. The automatically added drivers must then be assigend to their teams manually but this feature isn't implemented yet.
At the moment one has to add all teams and tracks by the time he creates the championship but in the end one will be able to add/modify/remove teams and tracks at a later stage too, its just not implemented yet.
Known Issues and Todos:
- possibility to add/modify/remove drivers, teams and tracks at later stage
- team championship table
- the driver champioship table looks sometimes a bit strange, a change to the teams-tab and back to the drivers-tab fixes this for the moment
- its not extensively tested, input of bad data could (but must not) lead to strange results
- possible layout issues (some texts are cropped for example)
- cross-check if <Pitstops></Pitstops> value is right, by comparing to <Lap></Lap> (see below)
- more feedback for users
- a user-manual (maybe ...)
- some others I can't think of right now: me = tired ^_^
If someone wants to try it out, the program is attached as a zip-File. To run it, unpack it und just start the rf2_Championshiptool.exe. One might have to install .Net Framework 4.5 to be able to run it. One can get it here: http://www.microsoft.com/en-us/download/...x?id=30653
There is already one championship in the db. Its the one I created using the result-files of the two Brianza races. Apart from a one point difference, which most probably is down to me using a different points-system and Nikos having less points because he doesn't make 80% of laps in first race (16, he would have needed 17) in my program, it shows the same championship standing as the one posted by Tim (the one he made by hand).
The program should be pretty straight-forward to use, if you have questions just ask
One issue I encountered with the .xml-File was that it showed
<Pitstops>0</Pitstops>
for one player (can't remember which one) while he had pitted, which could be seen by the
<Lap num="9" ... pit="1">120.5623</Lap> line. I then just changed the value in the .xml-File from 0 to 1 and re-imported the file.
Other than that I didn't encounter a issue with the xml-File, apart from the ones discussed in earlier posts (= <Pos></Pos> values wrong).
![[Image: the_art_of_happy_programming.png]](http://abstrusegoose.com/strips/the_art_of_happy_programming.png)
makes me chuckle every single time ;D ;D
This version allows to create a championship, manage the results (by importing rf2 .xml-File) and automatically creates and maintains the championship-table.
Creating the Championship:
One can add all the drivers at the time one creates the championship or don't add any driver at all. By the time one imports a result, drivers which aren't already in the database (db) will be added automatically. Drivers who are in the db but don't take part in the respective championship will be added to the championship. A messagebox will tell which drivers have been added after one imported the .xml-File.
This is probably the better way than adding all drivers by hand, as typos and/or not correct names (e.g. Gorka Santisteban instead of Gorka Santisteban[SR4L]) would lead to "duplicate" entries. This akso means that if a new driver joins the server he will be added automatically. The automatically added drivers must then be assigend to their teams manually but this feature isn't implemented yet.
At the moment one has to add all teams and tracks by the time he creates the championship but in the end one will be able to add/modify/remove teams and tracks at a later stage too, its just not implemented yet.
Known Issues and Todos:
- possibility to add/modify/remove drivers, teams and tracks at later stage
- team championship table
- the driver champioship table looks sometimes a bit strange, a change to the teams-tab and back to the drivers-tab fixes this for the moment
- its not extensively tested, input of bad data could (but must not) lead to strange results
- possible layout issues (some texts are cropped for example)
- cross-check if <Pitstops></Pitstops> value is right, by comparing to <Lap></Lap> (see below)
- more feedback for users
- a user-manual (maybe ...)
- some others I can't think of right now: me = tired ^_^
If someone wants to try it out, the program is attached as a zip-File. To run it, unpack it und just start the rf2_Championshiptool.exe. One might have to install .Net Framework 4.5 to be able to run it. One can get it here: http://www.microsoft.com/en-us/download/...x?id=30653
There is already one championship in the db. Its the one I created using the result-files of the two Brianza races. Apart from a one point difference, which most probably is down to me using a different points-system and Nikos having less points because he doesn't make 80% of laps in first race (16, he would have needed 17) in my program, it shows the same championship standing as the one posted by Tim (the one he made by hand).
The program should be pretty straight-forward to use, if you have questions just ask

One issue I encountered with the .xml-File was that it showed
<Pitstops>0</Pitstops>
for one player (can't remember which one) while he had pitted, which could be seen by the
<Lap num="9" ... pit="1">120.5623</Lap> line. I then just changed the value in the .xml-File from 0 to 1 and re-imported the file.
Other than that I didn't encounter a issue with the xml-File, apart from the ones discussed in earlier posts (= <Pos></Pos> values wrong).
![[Image: the_art_of_happy_programming.png]](http://abstrusegoose.com/strips/the_art_of_happy_programming.png)
makes me chuckle every single time ;D ;D


![[Image: p8xN8ZK.png]](https://i.imgur.com/p8xN8ZK.png)
[/url]