Too many canadian teams?

Discuss all aspects of editing the data and databases in EHM here. Have a question about the EHM Editor, EHM Assistant, editing the .cfg files, hex editing the .dat or .db 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.

Have a bug or feature request for the EHM Editor? Post them in the EHM Editor thread. Please start a new thread or post in another thread if you have a question about how to use the EHM Editor.

Given the large number of questions on similar topics, we ask that you start a new thread for a new question unless you can locate a similar question in an existing thread. This will hopefully ensure that similar questions do not get buried in large threads.

Useful links: EHM 1 Assistant (Download) | EHM 1 Editor (Download) | EHM 1 Editor Tutorials | Editing Rules & Structures Guide | Converting EHM 2004 / 2005 DBs to EHM 1 | Converting an EHM 2007 DB to EHM 1 | Extra_config.cfg | Import_config.cfg | Player Roles
Post Reply
User avatar
Animal31
Fourth Line
Posts: 441
Joined: Tue Sep 27, 2011 2:54 am
Favourite Team: Abbotsford Heat

Too many canadian teams?

Post by Animal31 »

So funny crash, every time I try to add another canadian team to the nhl [replacing, etc. my protocol works fine with american teams], it crashes on initialization. It works perfectly fine if I replace it with an american team, or a canadian team with a canadian team. Like any more than 14 canadian teams, and it throws and exception

has anyone ever heard of this?

Id like to just confirm that it IS throwing an exception because there are >14 canadian teams in the NHL. I change "canada" to "united states" and it works perfectly, all 30 teams replaced, just this issue

Debug 0: Changed nothing, Run NHL: Crash
Debug 1: Changed nothing, Run CHL + NHL: Worked
Debug 2: moved Victoria Salmon Kings of ECHL to United States, Regina Flourish of NHL to Canada. Set NHL, AHL, ECHL, and CanHL to enhanced, worked
Debug 3: Ran same, with just NHL, crashed
Debug 4: Ran game with NHL and CHL...worked
Debug 5: Changed back, run with NHL and UHL; Crashed

old thought>So it turns out, to have more than 14 canadian teams, you need canada enhanced

Debug 6: change random ass teams in none empty database to canadian...works

So now it turns out if has something to do with my blank database. Im guessing its cause the teams dont have players. But im not sure why the country would make any difference

thoughts? work arounds? fixes? ?pleH?
User avatar
Primis
Freeware Moderator
Posts: 1698
Joined: Tue Aug 03, 2010 7:46 pm
Location: Michigan, USA

Re: Too many canadian teams?

Post by Primis »

Did you try setting the NHL itself (in Competitions, I think) to be based in Canada instead of the U.S.? I'm betting the game doesn't like a league to be "based" in one country, yet have a majority of teams in another. It probably sees that as a conflict.
User avatar
Animal31
Fourth Line
Posts: 441
Joined: Tue Sep 27, 2011 2:54 am
Favourite Team: Abbotsford Heat

Re: Too many canadian teams?

Post by Animal31 »

No but I did try that a while ago, with no results

i also havnt been able to test my database with players in it yet, not sure if its going to work
User avatar
archibalduk
TBL Admin Team
Posts: 20373
Joined: Tue Jul 06, 2004 8:44 pm
Custom Rank: Seaside + Fruit Juice Mode
Favourite Team: Guildford (EPL) / Invicta (NIHL)
Location: United Kingdom
Contact:

Re: Too many canadian teams?

Post by archibalduk »

It sounds like your issue might be fairly similar to this: http://www.ehmtheblueline.com/forums/vi ... 22#p155822
User avatar
Animal31
Fourth Line
Posts: 441
Joined: Tue Sep 27, 2011 2:54 am
Favourite Team: Abbotsford Heat

Re: Too many canadian teams?

Post by Animal31 »

Yeah, I did that and it worked

I havnt had problems moving teams like Ottawa, anheim, or phoenix, which people said they had issues with. Should I be worried? :B
User avatar
archibalduk
TBL Admin Team
Posts: 20373
Joined: Tue Jul 06, 2004 8:44 pm
Custom Rank: Seaside + Fruit Juice Mode
Favourite Team: Guildford (EPL) / Invicta (NIHL)
Location: United Kingdom
Contact:

Re: Too many canadian teams?

Post by archibalduk »

It's really hard to say. EHM is such a pain when it comes to editing teams and leagues. All I can suggest is regular testing (i.e. run a 1 year sim with all leagues on Enhanced). If you can make it a full year (i.e. until say the NHL opening day in season 2), you should be okay (but no guarantees - if you can test sim for 2 years then that's better).
Post Reply