Jump to content

Adding a cup competition without reverting to basic rules.


EnigMattic1
 Share

Recommended Posts

I have created a cup competition that consists of 8 teams. It shows under 'competitions' in the nation rules with every other active competition, but when I start a new game, it doesn't show. 

If I go to 'Test Competition', under the 'Year' tab, all is has is '0' and not an actual year which, I'm assuming, is why the competition isn't showing. 

Can anyone help me work out what I've done wrong? 

Link to post
Share on other sites

I can't load the file in my game(don't have 22 yet), but I've added plenty of new competitions to files straight from the advanced editor literally over 100 times, and this error must be in the competition itself.

A good thing to do when making competitions is to regularly use the test function to see how the competition is working. A good thing to do when a competition stops working for some reason, is to make a backup save, delete all but the first stage of the broken competition and see if it generates, if it does, reload your data, do the same again, but leave stage 1 in etc. until you find the culprit stage.

Link to post
Share on other sites

18 minutes ago, Dave Fairbairn said:

I can't load the file in my game(don't have 22 yet), but I've added plenty of new competitions to files straight from the advanced editor literally over 100 times, and this error must be in the competition itself.

A good thing to do when making competitions is to regularly use the test function to see how the competition is working. A good thing to do when a competition stops working for some reason, is to make a backup save, delete all but the first stage of the broken competition and see if it generates, if it does, reload your data, do the same again, but leave stage 1 in etc. until you find the culprit stage.

When I test the competition, I get '0' under year. I have no idea what that means though. Every other competition I test has a proper year in it. 

Link to post
Share on other sites

Does it still happen if you delete all stages but the first? If so, you needs to find out what's hampering it. It could be as much as a date somewhere set up wrong, or an invalid setting somewhere. Just do a proofread of the entire competition from top to bottom to be sure.

There's times where I've just scrapped entire competitions, because sometimes, a competition just stops working through something you can't find and it's best to rebuild it from scratch.

Remember to build one stage at a time, making a backup save and testing after every stage, making sure to include ranking levels and such as you go.

Link to post
Share on other sites

Looking at your file it's probably because it has no teams.

Seems you're trying to qualify the top two from the individual university championships to it? Except the U Sports Championship is told to set up on the 1st January, while the individual championships take place in November? (there are no dates set for the playoff rounds, that may be an issue too). You'll either need to set the U Sports Championship's start year to 2022 (or 2023 if you're starting the individual ones in 2022) so that it doesn't try to set up before the others have finished and qualified teams, or change it to Get Last Winner/Get Last Runner-Up instead of Get Qualified Teams for Comp. But then you'd still need to add a history entry with previous winners/runners-up so that there are teams to draw still.

Link to post
Share on other sites

3 hours ago, rusty217 said:

Looking at your file it's probably because it has no teams.

Seems you're trying to qualify the top two from the individual university championships to it? Except the U Sports Championship is told to set up on the 1st January, while the individual championships take place in November? (there are no dates set for the playoff rounds, that may be an issue too). You'll either need to set the U Sports Championship's start year to 2022 (or 2023 if you're starting the individual ones in 2022) so that it doesn't try to set up before the others have finished and qualified teams, or change it to Get Last Winner/Get Last Runner-Up instead of Get Qualified Teams for Comp. But then you'd still need to add a history entry with previous winners/runners-up so that there are teams to draw still.

In real life, the individual championships take place between September and October, then the championship runs in November. Is there any way to implement that? 

Oh, I've had a look and changed a couple of settings. I have now been able to get the competition to pull 4 of the 8 qualified teams. But, the thing that now puzzles me is that it is only pulling teams from 2 of the individual championships, despite the fate actions being the same in all 4 championships. 

Edited by EnigMattic1
Link to post
Share on other sites

1 hour ago, EnigMattic1 said:

In real life, the individual championships take place between September and October, then the championship runs in November. Is there any way to implement that? 

Yeah, that's possible. Firstly I'd recommend adding dates and match rules (eg. penalties etc.) to the individual championship playoffs. Looks like none of the playoffs have them assigned. Also change the qualification fate action, make sure you tick the "For This Year" box.

Then go to the U Sports Championship, remove the 1st Jan setup date and instead in Stage 0 go to "Requirements" and add 4 new entries, set the competitions of those entries to the 4 individual championships and the stage to the playoff stage (it should be 1 for all of them). That will tell the cup competition not to setup until the playoffs in each individual championship has ended, by which time it should have qualified teams to draw from. If any drag on and end after the cup was supposed to start, that will likely be an issue too, so try and leave enough of a gap between the final dates for the individual championships and the first date of the cup.

Link to post
Share on other sites

@rusty217 @Dave Fairbairn

OK, I have the competition playing out in test competitions (somewhat correctly), however, when I try to verify, I get an error saying that it can't find teams and it is expecting 8.

When I say "somewhat correctly", I mean that, instead of 4 matches in the quarter finals, I get 3 (with one league having no participation in that round for some reason). Semi final, the 3 winners and one of the missing teams. The final missing team doesn't appear until the final, but I can't work out why as all teams are supposed to join in the quarters with fate actions from the leagues being identical. 

I'm also tagging @FCUtdWillas he has been trying to help me with this too. 

Link to post
Share on other sites

6 minutes ago, rusty217 said:

Do you know which league doesn't participate in the quarter finals? It may be that their schedule is too tight to finish in time for the start of the cup competition so no teams have qualified by the time it's supposed to start.

It's usually the Ontario league. Would that affect only 3 quarter final matches being played? 

Link to post
Share on other sites

10 minutes ago, EnigMattic1 said:

It's usually the Ontario league. Would that affect only 3 quarter final matches being played? 

Yeah, if those 2 teams haven't played the final (and therefore qualified) yet, that would mean only 2 QFs being played.

You could either try and change the dates so the cup starts later, or the Ontario final is played earlier. You could also set the fate action to qualify the winners of the Ontario semi final rather than the winner/loser of the final too. That way they'd be qualified 1 round earlier. Their final still may clash with the first round of the cup though.

Link to post
Share on other sites

6 hours ago, rusty217 said:

Yeah, if those 2 teams haven't played the final (and therefore qualified) yet, that would mean only 2 QFs being played.

You could either try and change the dates so the cup starts later, or the Ontario final is played earlier. You could also set the fate action to qualify the winners of the Ontario semi final rather than the winner/loser of the final too. That way they'd be qualified 1 round earlier. Their final still may clash with the first round of the cup though.

There is almost a 2 week window between the last league game and the start of the championship.

Link to post
Share on other sites

On 25/03/2022 at 08:13, rusty217 said:

Then go to the U Sports Championship, remove the 1st Jan setup date and instead in Stage 0 go to "Requirements" and add 4 new entries, set the competitions of those entries to the 4 individual championships and the stage to the playoff stage (it should be 1 for all of them). That will tell the cup competition not to setup until the playoffs in each individual championship has ended, by which time it should have qualified teams to draw from.

@Dave Fairbairn, that is how it is set up. It draws the correct teams (the 2 finalists from the league playoff) from each league, but Ontario wont, for some reason, play in the quarter finals. And , after looking at the schedule for each league in 'Test Competition', ALL the leagues play the final on October 26th and the Quarter Final for the Championship doesn't actually start until the 13th (the draw/setup is the 8th apparently).

It also doesn't explain how I can test the competitions and get results, but I can't verify the file because it can't find the teams. It's weird.

Link to post
Share on other sites

Check the get teams routines in the test by going to the competition in the DB, going to the test, a year, go to the stage in question, and check the entries in the "Team rules panel". This will give dates, rules used and teams found for every time that stage attempts to get a team.

 

Find the entry where the missing teams are and try to work from there why it is happening. Check to see whether it is attempting to pick teams too early or whatever it may be.

Link to post
Share on other sites

12 minutes ago, Dave Fairbairn said:

Check the get teams routines in the test by going to the competition in the DB, going to the test, a year, go to the stage in question, and check the entries in the "Team rules panel". This will give dates, rules used and teams found for every time that stage attempts to get a team.

 

Find the entry where the missing teams are and try to work from there why it is happening. Check to see whether it is attempting to pick teams too early or whatever it may be.

There is only 1 stage.

image.png.166e9cdb557dac67939e8a04d1016f89.png

And it finds 8 teams (2 from each league)

image.png.5f155ce17adc301535f2ad5a98b3d6df.png

You can't see University of Guelph Gryphons, but they are #7 and are from the OUA.

Link to post
Share on other sites

hmm, for the quarter final have you got the "Number Of Teams Added To This Round" set to 8 and "Number Of Matches" set to 4?

That could be the issue. The editor is a bit picky and sometimes doesn't work unless things are set up perfectly. The file uploaded above seems to have nothing set in Teams Added and only 1 under Number Of Matches which would definitely cause an error.

Link to post
Share on other sites

8 hours ago, rusty217 said:

hmm, for the quarter final have you got the "Number Of Teams Added To This Round" set to 8 and "Number Of Matches" set to 4?

That could be the issue. The editor is a bit picky and sometimes doesn't work unless things are set up perfectly. The file uploaded above seems to have nothing set in Teams Added and only 1 under Number Of Matches which would definitely cause an error.

If I add 'teams added to this round':

image.png.c77c50a6a41f0ade99556b4adab63a0e.png I then get the error of "requires 8 teams, found -1" when trying to verify. As always, when testing the competition, teams from Ontario skip the quarter finals and one doesn't even enter until the final. The fate actions are the same for all 4 leagues and they all finish on the same day, so I can't see why they skip the quarter finals.

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...