Some of Your leagues are not set how they look IRL. Also You have missing transfer rules.szczepek25 wrote:OK, please! My database with playable Belarusian, French, Scottish, Israeli, Kazakhstan, BeNe Liga, Polish and Qatar leagueshttp://www33.zippyshare.com/v/Nqr2OdZx/file.html
Editing league rules and structures in EHM 1
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
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
- Named
- TBL Rosters Researcher
- Posts: 698
- Joined: Tue Apr 07, 2015 8:34 pm
- Custom Rank: League structures guru
- Favourite Team: Chicago Blackhawks
- Location: PL
Re: Editing league rules and structures in EHM 1
-
- Junior League
- Posts: 33
- Joined: Thu Mar 26, 2015 9:35 pm
Re: Editing league rules and structures in EHM 1
http://www85.zippyshare.com/v/RK1r4CUz/file.html
- French Magnus ligue is working, team names have been changed and structure is a 'bit' different than in real life. ( 14 teams, 8 play-off teams and 3 teams directly relegated to D2)
- French D2 is working, not been changed too much and structure's a bit different too (14 Teams, no relegation to D3, 3 first team directly promoted to Ligue Magnus).
- SPHL is working but changed to UCHL (hockey league for the state of utah, mainly college, 9 teams with 8 play-off teams).
- BIG 10 conference changed to NCAA Hockey, working but limited to 9 teams for test purpose, nothing done yet on the league so it's just there for future research.
*changed 1 team name in the ahl and 1 in the echl too but nothing major.
Things to do: Add the French D3, add the French junior 'espoir' league, re doing the affilations etc.., NCAA
- French Magnus ligue is working, team names have been changed and structure is a 'bit' different than in real life. ( 14 teams, 8 play-off teams and 3 teams directly relegated to D2)
- French D2 is working, not been changed too much and structure's a bit different too (14 Teams, no relegation to D3, 3 first team directly promoted to Ligue Magnus).
- SPHL is working but changed to UCHL (hockey league for the state of utah, mainly college, 9 teams with 8 play-off teams).
- BIG 10 conference changed to NCAA Hockey, working but limited to 9 teams for test purpose, nothing done yet on the league so it's just there for future research.
*changed 1 team name in the ahl and 1 in the echl too but nothing major.
Things to do: Add the French D3, add the French junior 'espoir' league, re doing the affilations etc.., NCAA
- Alessandro
- Olympic Gold
- Posts: 2865
- Joined: Sat Aug 27, 2005 1:54 pm
- Custom Rank: TBL Rosters Man
- Favourite Team: Team Russia
- WHL Team: Calgary Flames
Re: Editing league rules and structures in EHM 1
You had a crash on french div 1 league. I have fixed it and added a couple of improvements (mostly more realistic foreign rules for blr/kaz leagues, added a deadline for kaz league, added "send draw news", and other cosmetic stuff).szczepek25 wrote:OK, please! My database with playable Belarusian, French, Scottish, Israeli, Kazakhstan, BeNe Liga, Polish and Qatar leagueshttp://www33.zippyshare.com/v/Nqr2OdZx/file.html
Anyone wants it?
-
- Junior League
- Posts: 48
- Joined: Thu May 07, 2015 3:22 pm
- Favourite Team: Poland
- Location: Kraków
Re: Editing league rules and structures in EHM 1
I just added a new league to play and was not looking for the current rulesNamed wrote:Some of Your leagues are not set how they look IRL. Also You have missing transfer rules.szczepek25 wrote:OK, please! My database with playable Belarusian, French, Scottish, Israeli, Kazakhstan, BeNe Liga, Polish and Qatar leagueshttp://www33.zippyshare.com/v/Nqr2OdZx/file.html

Thank you for the correction! I added yet other North American leagues but they were not at all corrected by meAlessandro wrote:You had a crash on french div 1 league. I have fixed it and added a couple of improvements (mostly more realistic foreign rules for blr/kaz leagues, added a deadline for kaz league, added "send draw news", and other cosmetic stuff).szczepek25 wrote:OK, please! My database with playable Belarusian, French, Scottish, Israeli, Kazakhstan, BeNe Liga, Polish and Qatar leagueshttp://www33.zippyshare.com/v/Nqr2OdZx/file.html
Anyone wants it?


- Alessandro
- Olympic Gold
- Posts: 2865
- Joined: Sat Aug 27, 2005 1:54 pm
- Custom Rank: TBL Rosters Man
- Favourite Team: Team Russia
- WHL Team: Calgary Flames
Re: Editing league rules and structures in EHM 1
Also, the DEL2 lists two winners... is that correct?
-
- Second Line
- Posts: 656
- Joined: Sat Jan 07, 2012 11:21 pm
Re: Editing league rules and structures in EHM 1
Does anybody have a working 29-team KHL database they can share? Even better if there is a working VHL and MHL...I know I've seen screen grabs of updates from those leagues. I've tried to do some of it but keep getting a crash. Thanks!
- Named
- TBL Rosters Researcher
- Posts: 698
- Joined: Tue Apr 07, 2015 8:34 pm
- Custom Rank: League structures guru
- Favourite Team: Chicago Blackhawks
- Location: PL
Re: Editing league rules and structures in EHM 1
We have VHL and MHL but VHL must wait for 1.4 update to fix schedule bugs. Also KHL will have additional team after this update.
-
- Junior League
- Posts: 33
- Joined: Thu Mar 26, 2015 9:35 pm
Re: Editing league rules and structures in EHM 1
Is there a rule in the game like in Football Manager where a B team can't be promoted if the A team is in the league?
Like Paris A team is in the Magnus and B team in 3rd Division. B team getting promoted to the 2nd division and by any chance win it, is there a way to avoid that team to be promoted and take the next one instead who is not a farm team?
Like Paris A team is in the Magnus and B team in 3rd Division. B team getting promoted to the 2nd division and by any chance win it, is there a way to avoid that team to be promoted and take the next one instead who is not a farm team?
-
- Junior League
- Posts: 44
- Joined: Fri Apr 10, 2015 10:07 pm
- Favourite Team: Tingsryd AIF
Re: Editing league rules and structures in EHM 1
Yes, looked at NIHL but it seems it is not using the pattern I need.marksbros6 wrote:Only NIHL (North) has promotion/relegation between NIHL (N)1 and NIHL N(2) if I recallandda715 wrote:Yes, I think so too. Especially as promotion works when I set it to only chose teams from (e.g.) HE SW.
Sadly the amount of teams make 1.3 crash if run as a single league.
If lucky, Riz might have had time/possibility to fix it for next release.
EDIT: Will have a look at NIHL when I have another opportunity to look at this (next week most likely)

HA should, in the scenario I have modeled, draw teams from both AES and AEN which are stages in different leagues/competitions.
NIHL N1 just draws from a single other competition NIHL N2?
Maybe I missed some league/settings somewhere though.
-
- Junior League
- Posts: 44
- Joined: Fri Apr 10, 2015 10:07 pm
- Favourite Team: Tingsryd AIF
Re: Editing league rules and structures in EHM 1

Probably need to do some rethinking or at least change strategy as it seems the game is hardcoded (?) to assume that leagues with conferences/divisions don't have relegation/promotion.
Why I believe this is the case? As the only setting I can find how to assign teams to the various conferences/divisions is via the basic rule sets, i.e. not dynamic but static at database creation time.
Thus it seems that HockeyEttan as it stands is quite difficult to model accurately?
At least I so far haven't found any combination that allows both conferences/divisions and relegation/promotion at the same time.

- Named
- TBL Rosters Researcher
- Posts: 698
- Joined: Tue Apr 07, 2015 8:34 pm
- Custom Rank: League structures guru
- Favourite Team: Chicago Blackhawks
- Location: PL
Re: Editing league rules and structures in EHM 1
I think it allows but probably You must change Your model to one entry in Rules & Structures. Have You tried setting this league as Conference and Divisional model? I mean 1 league (Swedish First Division), 2 conferences (HENO and HESV), 4 divisions (HEN, HES, HEV, HEO) 2 for each conference. Doesn't it work? I have almost done an model of Czech Second Division where are 3 divisions, one conference and I can mix teams between divisions and next stages. I based on Riz info. So it might also help You if You wish. I remember You mentioned somewhere about some kind of error. Maybe we need Riz to have a look if we still have chance before 1.4 update!andda715 wrote:![]()
Probably need to do some rethinking or at least change strategy as it seems the game is hardcoded (?) to assume that leagues with conferences/divisions don't have relegation/promotion.
Why I believe this is the case? As the only setting I can find how to assign teams to the various conferences/divisions is via the basic rule sets, i.e. not dynamic but static at database creation time.
Thus it seems that HockeyEttan as it stands is quite difficult to model accurately?
At least I so far haven't found any combination that allows both conferences/divisions and relegation/promotion at the same time.
- ZaZooM
- Prospect
- Posts: 79
- Joined: Fri Sep 03, 2010 5:26 pm
- Favourite Team: Lokomotiv Yaroslavl / NY Rangers
- Location: Moscow, Russia
Re: Editing league rules and structures in EHM 1
KHL (real shedule), VHL (non real shedule)BKarchitect wrote:Does anybody have a working 29-team KHL database they can share? Even better if there is a working VHL and MHL...I know I've seen screen grabs of updates from those leagues. I've tried to do some of it but keep getting a crash. Thanks!
https://yadi.sk/d/o27pAYLt34SCTx
-
- Second Line
- Posts: 656
- Joined: Sat Jan 07, 2012 11:21 pm
Re: Editing league rules and structures in EHM 1
Thanks man. I actually got my KHL to work I had accidentally put 15 teams in the west instead of East in the league structure menu (even though divisions were correct). I do want to try a VHL game later though so much appreciated. Looking forward to MHL - it'll finally start to flesh out the Russian/KHL structure which it is most deserving of that kind of detail.ZaZooM wrote:KHL (real shedule), VHL (non real shedule)BKarchitect wrote:Does anybody have a working 29-team KHL database they can share? Even better if there is a working VHL and MHL...I know I've seen screen grabs of updates from those leagues. I've tried to do some of it but keep getting a crash. Thanks!
https://yadi.sk/d/o27pAYLt34SCTx
- Alessandro
- Olympic Gold
- Posts: 2865
- Joined: Sat Aug 27, 2005 1:54 pm
- Custom Rank: TBL Rosters Man
- Favourite Team: Team Russia
- WHL Team: Calgary Flames
Re: Editing league rules and structures in EHM 1
To share, the file "database.db" is enough.ZaZooM wrote:KHL (real shedule), VHL (non real shedule)BKarchitect wrote:Does anybody have a working 29-team KHL database they can share? Even better if there is a working VHL and MHL...I know I've seen screen grabs of updates from those leagues. I've tried to do some of it but keep getting a crash. Thanks!
https://yadi.sk/d/o27pAYLt34SCTx
No need for all the rest.
-
- Junior League
- Posts: 44
- Joined: Fri Apr 10, 2015 10:07 pm
- Favourite Team: Tingsryd AIF
Re: Editing league rules and structures in EHM 1
Yes, that was my first approach.Named wrote: I think it allows but probably You must change Your model to one entry in Rules & Structures. Have You tried setting this league as Conference and Divisional model? I mean 1 league (Swedish First Division), 2 conferences (HENO and HESV), 4 divisions (HEN, HES, HEV, HEO) 2 for each conference.
This fails as 1.3 doesn't support more than ~40ish teams per league (?).
Yes, that could be helpful. Maybe some settings differ.
I have almost done an model of Czech Second Division where are 3 divisions, one conference and I can mix teams between divisions and next stages. I based on Riz info. So it might also help You if You wish.

Note though that I have no issue or problems with stages *within* a league.
What doesn't work (for me) is:
a) Having two, or more, *leagues* as children to a single parent *league*.
I.e. not stages, divisions or conferences within a league or something like that).
b) Promotion or relegation of teams from or to a league that has conferences and/or divisions set in the basic rules.
For a) the closest I have seen is to use the "Champions" and "linked stages" similar to in Memorial Cup. But this only allows a single team from each league (?).
For b) I have no clue how to solve it as the games complains on first of july when it tries to draw the new teams for each league that it can't fill the divisions correctly when a team has been promoted or relegated that was set as part of that league in the basic rules.

Yes, that would be really nice if the too many teams thing was fixed but I'm not sure it will solve the root issue with promotion/relegation.I remember You mentioned somewhere about some kind of error. Maybe we need Riz to have a look if we still have chance before 1.4 update!

- Alessandro
- Olympic Gold
- Posts: 2865
- Joined: Sat Aug 27, 2005 1:54 pm
- Custom Rank: TBL Rosters Man
- Favourite Team: Team Russia
- WHL Team: Calgary Flames
Re: Editing league rules and structures in EHM 1
yes only one + hostandda715 wrote: For a) the closest I have seen is to use the "Champions" and "linked stages" similar to in Memorial Cup. But this only allows a single team from each league (?).
I have asked Riz to change this (need it to code the junior clubs world cup), but he said that it's too complicated to have it in short term stuff so he may consider to add this support for the longer term projects.
- Named
- TBL Rosters Researcher
- Posts: 698
- Joined: Tue Apr 07, 2015 8:34 pm
- Custom Rank: League structures guru
- Favourite Team: Chicago Blackhawks
- Location: PL
Re: Editing league rules and structures in EHM 1
What kind of error it is?andda715 wrote:Yes, that was my first approach.Named wrote: I think it allows but probably You must change Your model to one entry in Rules & Structures. Have You tried setting this league as Conference and Divisional model? I mean 1 league (Swedish First Division), 2 conferences (HENO and HESV), 4 divisions (HEN, HES, HEV, HEO) 2 for each conference.
This fails as 1.3 doesn't support more than ~40ish teams per league (?).
-
- Junior League
- Posts: 44
- Joined: Fri Apr 10, 2015 10:07 pm
- Favourite Team: Tingsryd AIF
Re: Editing league rules and structures in EHM 1
See http://www.ehmtheblueline.com/forums/vi ... 75#p220802
There is also a later post with a save game that shows the issue. Uploaded to si.
There is also a later post with a save game that shows the issue. Uploaded to si.
- Alessandro
- Olympic Gold
- Posts: 2865
- Joined: Sat Aug 27, 2005 1:54 pm
- Custom Rank: TBL Rosters Man
- Favourite Team: Team Russia
- WHL Team: Calgary Flames
Re: Editing league rules and structures in EHM 1
Generally a good job, although trade deadline for VHL is (I think) 31 january, not 25 dec like KHLZaZooM wrote:KHL (real shedule), VHL (non real shedule)BKarchitect wrote:Does anybody have a working 29-team KHL database they can share? Even better if there is a working VHL and MHL...I know I've seen screen grabs of updates from those leagues. I've tried to do some of it but keep getting a crash. Thanks!
https://yadi.sk/d/o27pAYLt34SCTx
- riz_si
- SI Games
- Posts: 412
- Joined: Mon Mar 14, 2005 10:58 am
- Location: Helsinki, Finland (the Eastside, duh)
Re: Editing league rules and structures in EHM 1
This is why the HockeyEttan was not included in the official rulesets as it is a bit tricky to get the divisional alignments re-done between seasons after teams get promoted/relegated in such setups. There is a custom flag in the rules somewhere to sort the teams in east/west alignment but that won't apply to a 4 division setup nicely as it was added for some older Swedish structure with east/west alignment. So technically it is doable but will most likely require some coding changes to either add needed custom flags or make the game smart enough to re-sort the promoted/relegated teams so all divisions have the correct number of teams.andda715 wrote: b) Promotion or relegation of teams from or to a league that has conferences and/or divisions set in the basic rules.
For b) I have no clue how to solve it as the games complains on first of july when it tries to draw the new teams for each league that it can't fill the divisions correctly when a team has been promoted or relegated that was set as part of that league in the basic rules.![]()
This is not something that can make it into the 1.4 update as changes for that are locked now, but the main area I'm working on for 1.5 will be the built-in editor and in support of that I will look at better support for custom leagues and scenarios like this.
- Alessandro
- Olympic Gold
- Posts: 2865
- Joined: Sat Aug 27, 2005 1:54 pm
- Custom Rank: TBL Rosters Man
- Favourite Team: Team Russia
- WHL Team: Calgary Flames
Re: Editing league rules and structures in EHM 1
#getitoutriz_si wrote:This is why the HockeyEttan was not included in the official rulesets as it is a bit tricky to get the divisional alignments re-done between seasons after teams get promoted/relegated in such setups. There is a custom flag in the rules somewhere to sort the teams in east/west alignment but that won't apply to a 4 division setup nicely as it was added for some older Swedish structure with east/west alignment. So technically it is doable but will most likely require some coding changes to either add needed custom flags or make the game smart enough to re-sort the promoted/relegated teams so all divisions have the correct number of teams.andda715 wrote: b) Promotion or relegation of teams from or to a league that has conferences and/or divisions set in the basic rules.
For b) I have no clue how to solve it as the games complains on first of july when it tries to draw the new teams for each league that it can't fill the divisions correctly when a team has been promoted or relegated that was set as part of that league in the basic rules.![]()
This is not something that can make it into the 1.4 update as changes for that are locked now

-
- Junior League
- Posts: 44
- Joined: Fri Apr 10, 2015 10:07 pm
- Favourite Team: Tingsryd AIF
Re: Editing league rules and structures in EHM 1
Thanks for the clarification Riz.
This East West thing, will that work for a two conference or division league?
If so I might try to get that to work and leave two of the divisions for later.
Eagerly looking forward to 1.4


This East West thing, will that work for a two conference or division league?
If so I might try to get that to work and leave two of the divisions for later.
Eagerly looking forward to 1.4


- SetzingersCat
- Junior League
- Posts: 31
- Joined: Thu Jan 12, 2017 11:48 pm
- Favourite Team: Nottm Panthers/Dresdner Eislöwen
- Location: Stafford, UK
Re: Editing league rules and structures in EHM 1
I'd be very interested in this. Are you able to post a link please?Alessandro wrote:You had a crash on french div 1 league. I have fixed it and added a couple of improvements (mostly more realistic foreign rules for blr/kaz leagues, added a deadline for kaz league, added "send draw news", and other cosmetic stuff).szczepek25 wrote:OK, please! My database with playable Belarusian, French, Scottish, Israeli, Kazakhstan, BeNe Liga, Polish and Qatar leagueshttp://www33.zippyshare.com/v/Nqr2OdZx/file.html
Anyone wants it?
- Alessandro
- Olympic Gold
- Posts: 2865
- Joined: Sat Aug 27, 2005 1:54 pm
- Custom Rank: TBL Rosters Man
- Favourite Team: Team Russia
- WHL Team: Calgary Flames
Re: Editing league rules and structures in EHM 1
http://www44.zippyshare.com/v/helVjy1T/file.htmlSetzingersCat wrote:I'd be very interested in this. Are you able to post a link please?Alessandro wrote:You had a crash on french div 1 league. I have fixed it and added a couple of improvements (mostly more realistic foreign rules for blr/kaz leagues, added a deadline for kaz league, added "send draw news", and other cosmetic stuff).szczepek25 wrote:OK, please! My database with playable Belarusian, French, Scottish, Israeli, Kazakhstan, BeNe Liga, Polish and Qatar leagueshttp://www33.zippyshare.com/v/Nqr2OdZx/file.html
Anyone wants it?
- SetzingersCat
- Junior League
- Posts: 31
- Joined: Thu Jan 12, 2017 11:48 pm
- Favourite Team: Nottm Panthers/Dresdner Eislöwen
- Location: Stafford, UK
Re: Editing league rules and structures in EHM 1
Awesome, thank you 
