CUSTOM_LEAGUE::draw_competition() error

Discuss all aspects of editing the data in EHM here. Have a question about the Pre Game Editor, editing the .cfg files, hex editing the .dat files? Want to tweak the EHM exe file to change league rules/structure, start date etc? This is the place!
Forum rules
This is the forum to discuss all aspects of editing the EHM data and tweaking the game.

Please note that discussion about roster updates belongs in the Game Add-ons Forum.
Post Reply
User avatar
stone169
Checking Line
Posts: 542
Joined: Thu Aug 14, 2008 5:48 pm
Favourite Team: Ottawa Senators
Location: Southern Ontario

CUSTOM_LEAGUE::draw_competition() error

Post by stone169 » Sat Apr 28, 2018 5:05 pm

Does anyone know what this error message means?

"CUSTOM_LEAGUE::draw_competition() - unable to find all the initial teams (American Hockey League)"

I managed to make a 36 team roster with the default rosters and borrowing some stuff from BKArchitect. The NHL league is fine, but both the AHL and ECHL give me this error, and I've looked over everything and just can't figure it out. I know I created some teams and brought a couple others out of retirement, but I just can't figure this out.

Any help or suggestions would be most appreciated.

User avatar
xECK29x
Fringe Player
Posts: 338
Joined: Sun May 03, 2015 2:52 pm
Custom Rank: Premier Pivot Rosters Man
Favourite Team: New York Islanders

Re: EHM 1 Database & Saved Game Editor

Post by xECK29x » Sun Apr 29, 2018 4:46 pm

stone169 wrote:Does anyone know what this error message means?

"CUSTOM_LEAGUE::draw_competition() - unable to find all the initial teams (American Hockey League)"

I managed to make a 36 team roster with the default rosters and borrowing some stuff from BKArchitect. The NHL league is fine, but both the AHL and ECHL give me this error, and I've looked over everything and just can't figure it out. I know I created some teams and brought a couple others out of retirement, but I just can't figure this out.

Any help or suggestions would be most appreciated.
Are they all listed in the league structure and set properly on the club screen?

User avatar
stone169
Checking Line
Posts: 542
Joined: Thu Aug 14, 2008 5:48 pm
Favourite Team: Ottawa Senators
Location: Southern Ontario

Re: CUSTOM_LEAGUE::draw_competition() error

Post by stone169 » Mon Apr 30, 2018 8:10 pm

I figured it out finally. I fix the rules under Rules&Structures -- Stages -- Rules. After adjusting those, I now have no problems.

The only issue I currently have is when loading the rosters I get a schedule error, but if I select "Add Key Staff", "Add Players to Playable Teams", "Add Extra Junior Players", "Add Players to National Team Pools", and "Retain All Teams" it loads fine. I can live with that, since I select all those whenever I start a new game.

Now I just have to test it out.

Avery03C
Learning to skate
Posts: 4
Joined: Sat Mar 16, 2019 1:23 am
Favourite Team: Oilers

CUSTOM_LEAGUE::draw_competition() error

Post by Avery03C » Sat Mar 16, 2019 1:24 am

Was the solution ever found for this?

Avery03C
Learning to skate
Posts: 4
Joined: Sat Mar 16, 2019 1:23 am
Favourite Team: Oilers

Unable to Draw all Initial Teams (National Hockey League)

Post by Avery03C » Sat Mar 16, 2019 1:30 am

So I've made a 60 team NHL.
I put them all into one conference and added 30 KHL teams and switched their status to the NHL. I feel like I've set everything up right, however I get this error 3 times when launching a new game, and there's no NHL teams available for me to take control of.

User avatar
archibalduk
TBL Admin Team
Posts: 19217
Joined: Tue Jul 06, 2004 8:44 pm
Custom Rank: Seaside + Fruit Juice Mode
Favourite Team: Guildford (EPL) / Invicta (NIHL)
Location: United Kingdom
Contact:

CUSTOM_LEAGUE::draw_competition() error

Post by archibalduk » Sat Mar 16, 2019 6:40 am

Avery03C wrote:
Sat Mar 16, 2019 1:24 am
Was the solution ever found for this?
Which issue?

Avery03C
Learning to skate
Posts: 4
Joined: Sat Mar 16, 2019 1:23 am
Favourite Team: Oilers

CUSTOM_LEAGUE::draw_competition() error

Post by Avery03C » Sun Mar 17, 2019 5:52 pm

archibalduk wrote:
Sat Mar 16, 2019 6:40 am
Which issue?
The error OP mentioned

Post Reply

Return to “Data Editing Forum”