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
-
- Junior League
- Posts: 48
- Joined: Wed Apr 01, 2015 2:35 pm
Editing league rules and structures in EHM 1
Thanks for looking. Everything else looks pretty solid at first glance?
- archibalduk
- TBL Admin Team
- Posts: 20372
- Joined: Tue Jul 06, 2004 8:44 pm
- Custom Rank: Seaside + Fruit Juice Mode
- Favourite Team: Guildford (EPL) / Invicta (NIHL)
- Location: United Kingdom
- Contact:
Editing league rules and structures in EHM 1
Yeah everything else looks OK. I won't have a chance to try a sim until this weekend but I've had a look at it in the Editor.
- Javs
- Minor League
- Posts: 238
- Joined: Mon Mar 07, 2005 11:48 pm
- Location: Ontario
EHM 1 Database & Saved Game Editor
When editing leagues rules and structures and adding teams to be only domestic players, it appears it only allows one team per league to be designated as such .
Example I add three different teams to be 'domestic players only' however in game when I look at the rules it only says one of those three teams must be domestic players only'...
Hopefully I explained it good enough lol Maybe it's only me? Can someone confirm they have the same issue?
Example I add three different teams to be 'domestic players only' however in game when I look at the rules it only says one of those three teams must be domestic players only'...
Hopefully I explained it good enough lol Maybe it's only me? Can someone confirm they have the same issue?
-
- Junior League
- Posts: 14
- Joined: Sat Oct 11, 2008 7:45 am
EHM 1 Database & Saved Game Editor
Hi guys, i have been going crazy and making a 52 team NHL league. It works and loads properly without a hitch, but the problem I'm having is after a few days into the game, an error message pops up when changing the day which says
LEAgUE: Setup_team() : league with 50 teams? Would anyone know why it's picking up this error? Does the game have a 50 team maximum?
LEAgUE: Setup_team() : league with 50 teams? Would anyone know why it's picking up this error? Does the game have a 50 team maximum?
- archibalduk
- TBL Admin Team
- Posts: 20372
- Joined: Tue Jul 06, 2004 8:44 pm
- Custom Rank: Seaside + Fruit Juice Mode
- Favourite Team: Guildford (EPL) / Invicta (NIHL)
- Location: United Kingdom
- Contact:
Editing league rules and structures in EHM 1
I can't remember the exact number, but there is currently a limit of around 40. It will be increased for EHM v1.5. though.
-
- Junior League
- Posts: 14
- Joined: Sat Oct 11, 2008 7:45 am
EHM 1 Database & Saved Game Editor
I was wondering what the process is of creating a 24 team playoff situation kinda like the nhl qualifiers? I have been having trouble setting this up. I have managed to have 48 teams (EHM maxes out at 50 teams) and have a 162 game schedule, but after game 127, the games played starts to count backwards and it seems to be caused by a glitch in my settings. Does anyone have a tutorial on this?
- archibalduk
- TBL Admin Team
- Posts: 20372
- Joined: Tue Jul 06, 2004 8:44 pm
- Custom Rank: Seaside + Fruit Juice Mode
- Favourite Team: Guildford (EPL) / Invicta (NIHL)
- Location: United Kingdom
- Contact:
Editing league rules and structures in EHM 1
There isn't really a tutorial specifically addressing what you want, but this should certainly help: https://www.ehmtheblueline.com/forums/v ... 10&t=18927cleowin wrote: Sun Aug 09, 2020 7:44 am I was wondering what the process is of creating a 24 team playoff situation kinda like the nhl qualifiers? I have been having trouble setting this up. I have managed to have 48 teams (EHM maxes out at 50 teams) and have a 162 game schedule, but after game 127, the games played starts to count backwards and it seems to be caused by a glitch in my settings. Does anyone have a tutorial on this?
-
- Junior League
- Posts: 14
- Joined: Sat Oct 11, 2008 7:45 am
Editing league rules and structures in EHM 1
Thanks! I appreciate the help.
i got playoffs to work, mostly.. the game has a 126 game limit so i reduced season schedule to 116 games. Playoffs load but the top two seeds play each other rather than re-seed with the teams that win the qualifiers.
Second, when I get to the final game of the season, the game crashes. I dont know why it would do that. Any idea?
i got playoffs to work, mostly.. the game has a 126 game limit so i reduced season schedule to 116 games. Playoffs load but the top two seeds play each other rather than re-seed with the teams that win the qualifiers.
Second, when I get to the final game of the season, the game crashes. I dont know why it would do that. Any idea?
- archibalduk
- TBL Admin Team
- Posts: 20372
- Joined: Tue Jul 06, 2004 8:44 pm
- Custom Rank: Seaside + Fruit Juice Mode
- Favourite Team: Guildford (EPL) / Invicta (NIHL)
- Location: United Kingdom
- Contact:
Editing league rules and structures in EHM 1
On the playoff stage on the Stages screen of the Editor, click on the Rules tab (from the menu down the left hand part of the screen) and you'll see some team picking rules. There are a few here which relate to seedings.cleowin wrote: Mon Aug 10, 2020 10:40 amPlayoffs load but the top two seeds play each other rather than re-seed with the teams that win the qualifiers.
You could also check out the Round Rules of the first round of the playoffs. You'll find this on the Schedule Dates screen of your playoffs stage. There is a Round Rules column in the Schedule Dates table. Click on the underlined number for the first round. There's a number of settings there which might help.
I can't remember for certain, but I'm pretty sure I set up either the Elite Ice Hockey League or the English Premier Ice Hockey League in the 2006/07 database to have a similar qualification stage as you describe. You might want to take a look at how I set that up in case you spot any differences. Here's the link: https://steamcommunity.com/sharedfiles/ ... 2011517747
Final game of the regular season/qualifiers or the final game of the playoff final? Assuming you mean the regular season/qualifiers: It could be for a number of reasons but the most likely one is that your regular season/qualifier stage(s) are not completing before the playoff stage draws teams. Make sure that (1) all regular season/qualifier games are actually scheduled and you're not left with a team not completing the full 116 game regular/qualifier season schedule and (2) all games are completed before the Draw Date of the first playoff round.cleowin wrote: Mon Aug 10, 2020 10:40 amSecond, when I get to the final game of the season, the game crashes. I dont know why it would do that. Any idea?
-
- Junior League
- Posts: 14
- Joined: Sat Oct 11, 2008 7:45 am
Editing league rules and structures in EHM 1
The final game of the post-season. I can even watch the simulation, but once the result loads, it crashes. The whole regular season works, and the playoffs work right until the final game. Then it plays, then crashes every time. I cant tell what i did wrong in my settings.
- archibalduk
- TBL Admin Team
- Posts: 20372
- Joined: Tue Jul 06, 2004 8:44 pm
- Custom Rank: Seaside + Fruit Juice Mode
- Favourite Team: Guildford (EPL) / Invicta (NIHL)
- Location: United Kingdom
- Contact:
Editing league rules and structures in EHM 1
Possible issues off the top of my head are:
Send over your DB to me at ehmtheblueline AT gmail.com and I'll take a look.
- the "Stage for History Record" is set to the wrong stage number;
- a further (non-existent) stage is trying to be triggered after the final playoffs stage;
- the wrong/no fate rules have been set for the final stage;
- the schedule date entry for the playoff-final has not been properly set up for the correct series of games, meaning that a winner can never be determined.
Send over your DB to me at ehmtheblueline AT gmail.com and I'll take a look.

-
- Junior League
- Posts: 48
- Joined: Wed Apr 01, 2015 2:35 pm
Editing league rules and structures in EHM 1
Have you managed to sim it? Tried it with a fresh database and so on and it still crashes on May 1st when I play it but when I do the vacation until the 2 May it works perfectly. Just not sure on it.archibalduk wrote: Tue Jul 28, 2020 9:33 pm Yeah everything else looks OK. I won't have a chance to try a sim until this weekend but I've had a look at it in the Editor.
- archibalduk
- TBL Admin Team
- Posts: 20372
- Joined: Tue Jul 06, 2004 8:44 pm
- Custom Rank: Seaside + Fruit Juice Mode
- Favourite Team: Guildford (EPL) / Invicta (NIHL)
- Location: United Kingdom
- Contact:
Editing league rules and structures in EHM 1
Sorry I just cannot pinpoint what the issue is. It all looks okay on the face of it.Kart99 wrote: Thu Aug 13, 2020 8:39 pmHave you managed to sim it? Tried it with a fresh database and so on and it still crashes on May 1st when I play it but when I do the vacation until the 2 May it works perfectly. Just not sure on it.archibalduk wrote: Tue Jul 28, 2020 9:33 pm Yeah everything else looks OK. I won't have a chance to try a sim until this weekend but I've had a look at it in the Editor.

Something you could try (and which I haven't had a chance to try yet) is to go to the Flags screen and disable the "Declares Regular Season Champions" flag. Either that, or enable the "Regular Season Champions" flag via the Stages -> Rules screen -> Fate Rules section.
As with Kart's DB, I just cannot figure out what the issue is. The only unusual thing is that you have added a "Champions" fate to both the East and West Conference playoff stages. I think these should be removed from those stages and instead add the Champions fate rule to the final stage. However, this tweak doesn't resolve the crash.cleowin wrote: Wed Aug 12, 2020 6:21 am The final game of the post-season. I can even watch the simulation, but once the result loads, it crashes. The whole regular season works, and the playoffs work right until the final game. Then it plays, then crashes every time. I cant tell what i did wrong in my settings.
-
- Junior League
- Posts: 48
- Joined: Wed Apr 01, 2015 2:35 pm
Editing league rules and structures in EHM 1
I'll root aroun and I'll try that suggestion archi. I have a couple more ideas on top of that just to try and see but it's a bugger this isn't it?
-
- Junior League
- Posts: 48
- Joined: Wed Apr 01, 2015 2:35 pm
Editing league rules and structures in EHM 1
Well here's the interesting thing, I've done my 18 team league and run it successfully, I left 1 team as me being GM but resigned from the other 17 and sure enough it moves on from the May 2nd with no issues whatsoever. I wonder if it's to do with the teams then?
- archibalduk
- TBL Admin Team
- Posts: 20372
- Joined: Tue Jul 06, 2004 8:44 pm
- Custom Rank: Seaside + Fruit Juice Mode
- Favourite Team: Guildford (EPL) / Invicta (NIHL)
- Location: United Kingdom
- Contact:
Editing league rules and structures in EHM 1
Yes some crashes/errors can relate to teams where they have no nation set, a zero reputation or (IIRC) if they do not have a status set (e.g. Professional, Amateur, etc). I cannot see any teams in your EIHL with any of those issues however. Nor can I see any roster errors relating to those teams.Kart99 wrote: Fri Aug 14, 2020 3:18 pm Well here's the interesting thing, I've done my 18 team league and run it successfully, I left 1 team as me being GM but resigned from the other 17 and sure enough it moves on from the May 2nd with no issues whatsoever. I wonder if it's to do with the teams then?
-
- Junior League
- Posts: 48
- Joined: Wed Apr 01, 2015 2:35 pm
Editing league rules and structures in EHM 1
Think having really done some serious testing on it the last few hours might have come across what the issue is (not one I've seen and I'm currently testing it thoroughly).archibalduk wrote: Fri Aug 14, 2020 4:27 pm Kart99 wrote: ↑Fri Aug 14, 2020 3:18 pm
Well here's the interesting thing, I've done my 18 team league and run it successfully, I left 1 team as me being GM but resigned from the other 17 and sure enough it moves on from the May 2nd with no issues whatsoever. I wonder if it's to do with the teams then?
Yes some crashes/errors can relate to teams where they have no nation set, a zero reputation or (IIRC) if they do not have a status set (e.g. Professional, Amateur, etc). I cannot see any teams in your EIHL with any of those issues however. Nor can I see any roster errors relating to those teams.
So I retired about half the GM's from the teams and it was still crashing but what I've discovered is this error message appears when I retire from Cardiff:
TRANSFER_MANAGER::process_human_manager_transfer() : invalid player
Now what's interesting about this, is that before the date crossed between 30 Apr and the 1st May, I retired as Cardiff (and got that error message) but added Aberdeen Lynx back into the 8 or so GM's I had left (Glasgow, Sheffield, Coventry, Fife, Nottinghgam etc) and it worked seamlessly. So what I'm not pondering is, can have been that error all along and what does the error mean and can it be sorted fairly easily? I think this has been the issue all along. I'm also wondering if it can be sorted using the in game editor? The other thing I'm pondering is will it cause the game to crash when it gets updated come the end of June in-game?
EDIT: It's definitely Cardiff. I've left the other 17 GM's as usual and its moved over the dates correctly, so the error defo has something to do with Cardiff.
EDIT (Part 2): Added Cardiff back into the list of GM's and the game works fine but not tried it up to the game updating date of 30th June
- archibalduk
- TBL Admin Team
- Posts: 20372
- Joined: Tue Jul 06, 2004 8:44 pm
- Custom Rank: Seaside + Fruit Juice Mode
- Favourite Team: Guildford (EPL) / Invicta (NIHL)
- Location: United Kingdom
- Contact:
Editing league rules and structures in EHM 1
Sorry I'm struggling to follow. Are you saying that adding a human GM to Cardiff and then resigning is causing the issue - but if you don't add a human GM to Cardiff then it is fine?
- archibalduk
- TBL Admin Team
- Posts: 20372
- Joined: Tue Jul 06, 2004 8:44 pm
- Custom Rank: Seaside + Fruit Juice Mode
- Favourite Team: Guildford (EPL) / Invicta (NIHL)
- Location: United Kingdom
- Contact:
Editing league rules and structures in EHM 1
Just one further thought on this - you could try temporarily removing the final playoff stage and seeing if the game can progress to season 3 (i.e. so that two seasons can be fully simmed without issue). If it works fine then we know for sure that the final stage is the source of the issue. Sometimes an issue with an earlier stage might not cause a crash until well after that stage, so removing the final stage will rule this out.archibalduk wrote: Fri Aug 14, 2020 1:03 pmAs with Kart's DB, I just cannot figure out what the issue is. The only unusual thing is that you have added a "Champions" fate to both the East and West Conference playoff stages. I think these should be removed from those stages and instead add the Champions fate rule to the final stage. However, this tweak doesn't resolve the crash.cleowin wrote: Wed Aug 12, 2020 6:21 am The final game of the post-season. I can even watch the simulation, but once the result loads, it crashes. The whole regular season works, and the playoffs work right until the final game. Then it plays, then crashes every time. I cant tell what i did wrong in my settings.
If it passes this test then I'd suggest re-adding the final stage but ensuring it is setting-for-setting identical to the original NHL final stage (except for the schedule and draw date, should you need to adjust these).
I've taken this approach with similar issues in the past and it has helped either correct the issue or identify the cause.
-
- Junior League
- Posts: 48
- Joined: Wed Apr 01, 2015 2:35 pm
Editing league rules and structures in EHM 1
Essentially, what I've discovered is that if I retire on or before the 1st May as a playable GM in Cardiff, the game doesn't crash, but if I remain as GM of Cardiff, that crashes the game. When I originally started the game, I controlled all teams but that crashed it come 1st May. Take out Cardiff and it (seems) to work. The error message has me pondering though, as it's the only team I've discovered it happened witharchibalduk wrote: Fri Aug 14, 2020 8:34 pm Sorry I'm struggling to follow. Are you saying that adding a human GM to Cardiff and then resigning is causing the issue - but if you don't add a human GM to Cardiff then it is fine?
Further to this, I've discovered that if I add a human gm to Cardiff after the 1st May it also crashes the game so it would seem Cardiff is the issue but how or why, I haven't the foggiest as it all seems solid in the database. I leave Cardiff as the only non-player controlled team and no issues (that I know of mainly because I havent got to the game update at the end of June).
- archibalduk
- TBL Admin Team
- Posts: 20372
- Joined: Tue Jul 06, 2004 8:44 pm
- Custom Rank: Seaside + Fruit Juice Mode
- Favourite Team: Guildford (EPL) / Invicta (NIHL)
- Location: United Kingdom
- Contact:
Editing league rules and structures in EHM 1
Ah ok, I understand.Kart99 wrote: Fri Aug 14, 2020 9:09 pmEssentially, what I've discovered is that if I retire on or before the 1st May as a playable GM in Cardiff, the game doesn't crash, but if I remain as GM of Cardiff, that crashes the game. When I originally started the game, I controlled all teams but that crashed it come 1st May. Take out Cardiff and it (seems) to work. The error message has me pondering though, as it's the only team I've discovered it happened witharchibalduk wrote: Fri Aug 14, 2020 8:34 pm Sorry I'm struggling to follow. Are you saying that adding a human GM to Cardiff and then resigning is causing the issue - but if you don't add a human GM to Cardiff then it is fine?
Further to this, I've discovered that if I add a human gm to Cardiff after the 1st May it also crashes the game so it would seem Cardiff is the issue but how or why, I haven't the foggiest as it all seems solid in the database. I leave Cardiff as the only non-player controlled team and no issues (that I know of mainly because I havent got to the game update at the end of June).

-
- Learning to skate
- Posts: 2
- Joined: Sun Aug 16, 2020 3:12 am
- Favourite Team: Washington Capitals
EHM 1 Database & Saved Game Editor
Hi everyone -
Really enjoying the editor, just having an issue maybe someone has an answer to? I'm pretty new to using it so hopefully this isn't a stupid question..
I made a custom database adding a 32nd NHL team and some AHL and ECHL affiliates for them. Populated the roster from The Hockey News expansion draft predictions. Used the schedule generator to get a full 82 game NHL schedule. The game runs fine, gets through a full regular and post-season without crashing. Everything seems in working-enough order other than some random things (the standings tab is weird but ultimately all visible; game CTDs on viewing "history" tab *after* the first year's finals end...) Two big problems though, maybe related to each other?
1) The schedule is concentrated on Fridays-Sundays. There are nearly zero (though not literally zero) games on Monday-Thursdays. Instead everyone plays back-to-back-to-backs Friday-Sunday pretty much all year. Total number of games is correct, season start and end dates appx match 2019 opening and closing day, so it's not like the season is longer or shorter. I just don't get a normal spread within a given week. AHL and ECHL custom schedules have the same problem.
2) Everyone uses their backup goalie as their starter. Everyone's G2 is playing double or more games than everyone's G1. It seemed to resolve in the playoffs, where the G1s played most of the games.
Happy to send the database file if that's helpful, I'm just not seeing where to insert files into a post here. Any thoughts on these or the History tab CTD?
Thank you & keep up the good work
Really enjoying the editor, just having an issue maybe someone has an answer to? I'm pretty new to using it so hopefully this isn't a stupid question..
I made a custom database adding a 32nd NHL team and some AHL and ECHL affiliates for them. Populated the roster from The Hockey News expansion draft predictions. Used the schedule generator to get a full 82 game NHL schedule. The game runs fine, gets through a full regular and post-season without crashing. Everything seems in working-enough order other than some random things (the standings tab is weird but ultimately all visible; game CTDs on viewing "history" tab *after* the first year's finals end...) Two big problems though, maybe related to each other?
1) The schedule is concentrated on Fridays-Sundays. There are nearly zero (though not literally zero) games on Monday-Thursdays. Instead everyone plays back-to-back-to-backs Friday-Sunday pretty much all year. Total number of games is correct, season start and end dates appx match 2019 opening and closing day, so it's not like the season is longer or shorter. I just don't get a normal spread within a given week. AHL and ECHL custom schedules have the same problem.
2) Everyone uses their backup goalie as their starter. Everyone's G2 is playing double or more games than everyone's G1. It seemed to resolve in the playoffs, where the G1s played most of the games.
Happy to send the database file if that's helpful, I'm just not seeing where to insert files into a post here. Any thoughts on these or the History tab CTD?
Thank you & keep up the good work
-
- Junior League
- Posts: 48
- Joined: Wed Apr 01, 2015 2:35 pm
Editing league rules and structures in EHM 1
No problem,
Here is the current database:
https://mega.nz/folder/6aBQVS6S#pTWohpLekMJ0xqCDTEIvEQ
EDIT: Sadly still crashes when the game is updating at the end of June, so not sure whats going on. Simmed it with no human gms and works perfect so it would seem it's an issue with being a human GM.
Here is the current database:
https://mega.nz/folder/6aBQVS6S#pTWohpLekMJ0xqCDTEIvEQ
EDIT: Sadly still crashes when the game is updating at the end of June, so not sure whats going on. Simmed it with no human gms and works perfect so it would seem it's an issue with being a human GM.
-
- Junior League
- Posts: 48
- Joined: Wed Apr 01, 2015 2:35 pm
Editing league rules and structures in EHM 1
So further to this point. I've actually managed to move over into July with some of the human GM's but not others.Kart99 wrote: Sun Aug 16, 2020 10:17 am EDIT: Sadly still crashes when the game is updating at the end of June, so not sure whats going on. Simmed it with no human gms and works perfect so it would seem it's an issue with being a human GM.
-
- Junior League
- Posts: 14
- Joined: Sat Oct 11, 2008 7:45 am
Editing league rules and structures in EHM 1
I have tried tweaking various settings and its still not working. I'm not sure whats going on... It appears that it auto seeds up to two first round appointments post qualifiers if there is an uneven # of teams qualifying from each division. I dont know if this is causing the issue or not.