Page 32 of 33
Editing league rules and structures in EHM 1
Posted: Tue Jul 28, 2020 8:55 pm
by Kart99
Thanks for looking. Everything else looks pretty solid at first glance?
Editing league rules and structures in EHM 1
Posted: Tue Jul 28, 2020 9:33 pm
by archibalduk
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.
EHM 1 Database & Saved Game Editor
Posted: Wed Jul 29, 2020 4:00 am
by Javs
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?
EHM 1 Database & Saved Game Editor
Posted: Tue Aug 04, 2020 2:50 pm
by cleowin
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?
Editing league rules and structures in EHM 1
Posted: Tue Aug 04, 2020 8:53 pm
by archibalduk
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.
EHM 1 Database & Saved Game Editor
Posted: Sun Aug 09, 2020 7:44 am
by cleowin
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?
Editing league rules and structures in EHM 1
Posted: Sun Aug 09, 2020 10:23 pm
by archibalduk
cleowin 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?
There isn't really a tutorial specifically addressing what you want, but this should certainly help:
https://www.ehmtheblueline.com/forums/v ... 10&t=18927
Editing league rules and structures in EHM 1
Posted: Mon Aug 10, 2020 10:40 am
by cleowin
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?
Editing league rules and structures in EHM 1
Posted: Mon Aug 10, 2020 2:57 pm
by archibalduk
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.
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.
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
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?
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.
Editing league rules and structures in EHM 1
Posted: Wed Aug 12, 2020 6:21 am
by cleowin
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.
Editing league rules and structures in EHM 1
Posted: Wed Aug 12, 2020 8:16 am
by archibalduk
Possible issues off the top of my head are:
- 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.
It could well be something else, but the above are things which I have seen before.
Send over your DB to me at ehmtheblueline AT gmail.com and I'll take a look.

Editing league rules and structures in EHM 1
Posted: Thu Aug 13, 2020 8:39 pm
by Kart99
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.
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.
Editing league rules and structures in EHM 1
Posted: Fri Aug 14, 2020 1:03 pm
by archibalduk
Kart99 wrote: Thu Aug 13, 2020 8:39 pm
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.
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.
Sorry I just cannot pinpoint what the issue is. It all looks okay on the face of it.
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.
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.
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.
Editing league rules and structures in EHM 1
Posted: Fri Aug 14, 2020 3:05 pm
by Kart99
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?
Editing league rules and structures in EHM 1
Posted: Fri Aug 14, 2020 3:18 pm
by Kart99
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?
Editing league rules and structures in EHM 1
Posted: Fri Aug 14, 2020 4:27 pm
by archibalduk
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.
Editing league rules and structures in EHM 1
Posted: Fri Aug 14, 2020 4:45 pm
by Kart99
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.
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).
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
Editing league rules and structures in EHM 1
Posted: Fri Aug 14, 2020 8:34 pm
by archibalduk
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?
Editing league rules and structures in EHM 1
Posted: Fri Aug 14, 2020 8:39 pm
by archibalduk
archibalduk wrote: Fri Aug 14, 2020 1:03 pmcleowin 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.
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.
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.
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.
Editing league rules and structures in EHM 1
Posted: Fri Aug 14, 2020 9:09 pm
by Kart99
archibalduk 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?
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 with
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).
Editing league rules and structures in EHM 1
Posted: Sat Aug 15, 2020 2:25 pm
by archibalduk
Kart99 wrote: Fri Aug 14, 2020 9:09 pm
archibalduk 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?
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 with
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).
Ah ok, I understand.

Would you mind uploading your current DB please? I will then take a look at a saved game in the Editor and will raise with Riz. I have a feeling this issue might have been reported or resolved for v1.5 but I might be mistaken.
EHM 1 Database & Saved Game Editor
Posted: Sun Aug 16, 2020 4:14 am
by CapsFan83
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
Editing league rules and structures in EHM 1
Posted: Sun Aug 16, 2020 10:17 am
by Kart99
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.
Editing league rules and structures in EHM 1
Posted: Sun Aug 16, 2020 4:09 pm
by Kart99
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.
So further to this point. I've actually managed to move over into July with some of the human GM's but not others.
Editing league rules and structures in EHM 1
Posted: Mon Aug 17, 2020 9:21 am
by cleowin
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.