Page 15 of 33
Re: Editing league rules and structures in EHM 1
Posted: Fri Jan 13, 2017 7:44 am
by Named
Some of Your leagues are not set how they look IRL. Also You have missing transfer rules.
Re: Editing league rules and structures in EHM 1
Posted: Fri Jan 13, 2017 10:23 am
by sensaa
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
Re: Editing league rules and structures in EHM 1
Posted: Fri Jan 13, 2017 11:33 am
by Alessandro
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).
Anyone wants it?
Re: Editing league rules and structures in EHM 1
Posted: Fri Jan 13, 2017 1:12 pm
by szczepek25
Named wrote:
Some of Your leagues are not set how they look IRL. Also You have missing transfer rules.
I just added a new league to play and was not looking for the current rules
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).
Anyone wants it?
Thank you for the correction! I added yet other North American leagues but they were not at all corrected by me

This leagues may be available for fans EHM unless of course most things done correctly

Re: Editing league rules and structures in EHM 1
Posted: Fri Jan 13, 2017 1:18 pm
by Alessandro
Also, the DEL2 lists two winners... is that correct?
Re: Editing league rules and structures in EHM 1
Posted: Sat Jan 14, 2017 7:28 pm
by BKarchitect
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!
Re: Editing league rules and structures in EHM 1
Posted: Sat Jan 14, 2017 9:06 pm
by Named
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.
Re: Editing league rules and structures in EHM 1
Posted: Sun Jan 15, 2017 1:30 pm
by sensaa
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?
Re: Editing league rules and structures in EHM 1
Posted: Sun Jan 15, 2017 7:13 pm
by andda715
marksbros6 wrote:andda715 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)
Only NIHL (North) has promotion/relegation between NIHL (N)1 and NIHL N(2) if I recall
Yes, looked at NIHL but it seems it is not using the pattern I need.

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.
Re: Editing league rules and structures in EHM 1
Posted: Sun Jan 15, 2017 8:59 pm
by andda715
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.

Re: Editing league rules and structures in EHM 1
Posted: Mon Jan 16, 2017 5:56 am
by Named
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.

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!
Re: Editing league rules and structures in EHM 1
Posted: Mon Jan 16, 2017 11:05 am
by ZaZooM
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!
KHL (real shedule), VHL (non real shedule)
https://yadi.sk/d/o27pAYLt34SCTx
Re: Editing league rules and structures in EHM 1
Posted: Mon Jan 16, 2017 2:20 pm
by BKarchitect
ZaZooM wrote: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!
KHL (real shedule), VHL (non real shedule)
https://yadi.sk/d/o27pAYLt34SCTx
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.
Re: Editing league rules and structures in EHM 1
Posted: Mon Jan 16, 2017 3:21 pm
by Alessandro
ZaZooM wrote: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!
KHL (real shedule), VHL (non real shedule)
https://yadi.sk/d/o27pAYLt34SCTx
To share, the file "database.db" is enough.
No need for all the rest.
Re: Editing league rules and structures in EHM 1
Posted: Mon Jan 16, 2017 6:48 pm
by andda715
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.
Yes, that was my first approach.
This fails as 1.3 doesn't support more than ~40ish teams per league (?).
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.
Yes, that could be helpful. Maybe some settings differ.

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.
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!
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.

Re: Editing league rules and structures in EHM 1
Posted: Mon Jan 16, 2017 7:23 pm
by Alessandro
andda715 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 (?).
yes only one + host
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.
Re: Editing league rules and structures in EHM 1
Posted: Tue Jan 17, 2017 5:30 am
by Named
andda715 wrote: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.
Yes, that was my first approach.
This fails as 1.3 doesn't support more than ~40ish teams per league (?).
What kind of error it is?
Re: Editing league rules and structures in EHM 1
Posted: Tue Jan 17, 2017 8:23 am
by andda715
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.
Re: Editing league rules and structures in EHM 1
Posted: Tue Jan 17, 2017 10:04 pm
by Alessandro
ZaZooM wrote: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!
KHL (real shedule), VHL (non real shedule)
https://yadi.sk/d/o27pAYLt34SCTx
Generally a good job, although trade deadline for VHL is (I think) 31 january, not 25 dec like KHL
Re: Editing league rules and structures in EHM 1
Posted: Wed Jan 18, 2017 12:23 pm
by riz_si
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 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.
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.
Re: Editing league rules and structures in EHM 1
Posted: Wed Jan 18, 2017 1:38 pm
by Alessandro
riz_si wrote: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 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.
This is not something that can make it into the 1.4 update as changes for that are locked now
#getitout

Re: Editing league rules and structures in EHM 1
Posted: Wed Jan 18, 2017 3:37 pm
by andda715
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

Re: Editing league rules and structures in EHM 1
Posted: Wed Jan 18, 2017 10:03 pm
by SetzingersCat
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).
Anyone wants it?
I'd be very interested in this. Are you able to post a link please?
Re: Editing league rules and structures in EHM 1
Posted: Wed Jan 18, 2017 10:08 pm
by Alessandro
SetzingersCat wrote: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).
Anyone wants it?
I'd be very interested in this. Are you able to post a link please?
http://www44.zippyshare.com/v/helVjy1T/file.html
Re: Editing league rules and structures in EHM 1
Posted: Wed Jan 18, 2017 10:14 pm
by SetzingersCat
Awesome, thank you
