Opened 13 years ago

Closed 13 years ago

#128 closed enhancement (fixed)

League results - Import (merge) fsdb files ...

Reported by: Stein Tore Erdal Owned by: Stein Tore Erdal
Priority: major Milestone: 1.2.7
Component: FsComp Version: 1.2.6
Keywords: Cc:


A league may involve several events, each having one or more tasks.

In the league it is the individual tasks that counts, often such that one strike every third task (like the World Cup does).

Typically one need to normalize the points so that the winner of each task that counts in the league has 1000 points.

FS 1.2.7 is able to handle this.

The easiest way to do this is to make sure one has a single fsdb for the league that all the events use. Just add new pilots and tasks...

To create results for a single event just select the tasks for that event. There is a new version of the comp and task result templates where one can specify title, so here one can have the name of the event.

To create results for the league, select all the tasks (or the ones that is valid for the league) then use the "League result with task scores normalized to 1000 for winner..." under the Result menu. Select the "league_result.lgr.xsl" report template, then specify the no of tasks that should count (if you have 10 task and strike every third, then 7 is the number).

If each event has their own fsdb (this was the case in the Norwegian PG League 08) one need to create a single league fsdb with all pilots and tasks from the events.

Typically the pilot ids will be different in each event fsdb. Also the task ids will clash.

There is a new (experimental) menuitem: Tools > Usefull stuff > TESTING: Import fsdb...

Start with a new empty fsdb for the league. Then use this menuitem to import pilots and tasks from the fsdbs of all the events in the league.

NOTE 1: It makes it a lot easier if one has the CIVL ID of all pilots in all the events.

NOTE 2: If any tasks that is imported has NYP pilots then one need to point the task to the correct tracklog folder before checking any tracklogs...

Change History (1)

comment:1 Changed 13 years ago by Stein Tore Erdal

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.