A minor bug ...
I've created a master definition for Libertadores cup, similar to UEFA CL (europe_champ_league or something like that). So I can use the same one in all the south-american leagues.
So for example I have, for choosing teams:
...
<choose_team>
<choose_team_sid>LEAGUE1</choose_team_sid>
<number_of_teams>3</number_of_teams>
<start_idx>1</start_idx>
<end_idx>3</end_idx>
</choose_team>
....
<choose_team>
<choose_team_sid>peru1</choose_team_sid>
<number_of_teams>1</number_of_teams>
<start_idx>1</start_idx>
<end_idx>6</end_idx>
<randomly>1</randomly>
<generate>1</generate>
</choose_team>
...
So the first part of this code selects the first three from the country league, whichever it is (could be Peru for example). But then, so other countries can use it too I have to add a line for the Peru definition, hence the second part of the code.
Here's the problem: The table for peru1 highlights the first 6, not the first three, as it should be. Problem goes away if I don't use start_idx, end_idx but then sometimes that results in the very unlikely event of low ranked teams going through. I can also do star_idx=1, end_idx=3 but then you have the same teams from each country over and over every season.
[FIXED] Table highlighting for international cups
-
- definitions team
- Posts: 39
- Joined: Thu Aug 23, 2007 8:50 pm
- Location: Munich, Germany
- Contact: