Editing league rules and structures in EHM 1

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

Post by archibalduk »

CapsFan83 wrote: Sun Aug 16, 2020 4:14 amEverything 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?
This is usually because of some setting not being set correctly. I say "some" setting because it can be pretty much any setting which can result in this type of crash. I wouldn't be surprised if the standings issue is related to the CTD. Can you post a screenshot of how the standings screen looks weird?
CapsFan83 wrote: Sun Aug 16, 2020 4:14 am1) 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.
It could be a limit of the schedule generator but I'd be interested to know what settings you used for the generator. Unfortunately coding schedule generators is notoriously difficult (e.g. the NFL uses supercomputers to generate a range of schedules which are then reviewed and adjusted manually).
CapsFan83 wrote: Sun Aug 16, 2020 4:14 am2) 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.
That's odd but I wonder if it relates to your scheduling issue.
User avatar
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

Post by archibalduk »

Kart99 wrote: Sun Aug 16, 2020 10:17 am 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.
Excellent - thank you. I've been completely side-tracked by sorting out a possible DDOS attack, so give me a nudge if I haven't come back to you by Saturday night.
User avatar
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

Post by archibalduk »

cleowin wrote: Mon Aug 17, 2020 9:21 am 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.
Have you tried completely removing the final stage to see if the league works without it? It might help narrow the issue down.
CapsFan83
Learning to skate
Posts: 2
Joined: Sun Aug 16, 2020 3:12 am
Favourite Team: Washington Capitals

Editing league rules and structures in EHM 1

Post by CapsFan83 »

Thanks for the reply. Here are what the schedules and standings screen look like:

https://ibb.co/68bTwqj

https://ibb.co/FVFZ68m

For the schedule editor, these are the basic settings I used to generate the matrix:

https://ibb.co/qpxTYN0

And this is what the matrix looked like. It's incomplete in this picture but if you look at the Atlantic division it shows how each division was set up:

-32 teams in 4 divisions of 8
-82 total games per team
-Everyone plays everyone in the league for a home and home (31 teams x2 = 62 games)
-Everyone plays their division opponents for an extra home and home (7 teams x2 = 14 games)
-Everyone plays their division "pod" opponents (pods being like, Atlantic 1-4; Atlantic 5-8; Metro 1-4; Metro 5-8; etc) for a third home and home (3 teams x2 = 6 games)

https://ibb.co/7CrGGWX

Thanks again for any thoughts and for your work on the editor
Kart99
Junior League
Posts: 48
Joined: Wed Apr 01, 2015 2:35 pm

Editing league rules and structures in EHM 1

Post by Kart99 »

archibalduk wrote: Tue Aug 18, 2020 9:50 pm 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.
Excellent - thank you. I've been completely side-tracked by sorting out a possible DDOS attack, so give me a nudge if I haven't come back to you by Saturday night.
Just a gentle nudge to see where youre up to?
User avatar
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

Post by archibalduk »

Sorry I've spent the last two weeks fixing the site. ](*,) I'll see if I can look tomorrow, otherwise it'll be next weekend I'm afraid.
Kart99
Junior League
Posts: 48
Joined: Wed Apr 01, 2015 2:35 pm

Editing league rules and structures in EHM 1

Post by Kart99 »

I just appreciate you looking at it, so take you're time.
User avatar
Javs
Minor League
Posts: 238
Joined: Mon Mar 07, 2005 11:48 pm
Location: Ontario

Editing league rules and structures in EHM 1

Post by Javs »

Is there anyway in the editor (or for the 1.5 update) that would allow you to send a player from a CHL team to a CJHL team that a player has rights to? Would be nice it it was similar to sending players to junior from the NHL
User avatar
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

Post by archibalduk »

As far as I'm aware, player rights are hard-coded so that you cannot implement player rights for leagues other than the defaults.
User avatar
Javs
Minor League
Posts: 238
Joined: Mon Mar 07, 2005 11:48 pm
Location: Ontario

Editing league rules and structures in EHM 1

Post by Javs »

Well you can add the CJHL leagues to have 'player rights' in the editor, and in the game it shows up, for example, as BCHL Team A has Player A's rights, even when they are contracted to a WHL team, however the option to 'send player to BCHL Team A' option isn't available like when a player is on an NHL roster but his rights are owned by a CHL team.
Mgomrjsurf
Prospect
Posts: 81
Joined: Sat May 13, 2017 10:32 pm
Custom Rank: MGSports Account #3
Favourite Team: Blues/Blackhawks

Editing league rules and structures in EHM 1

Post by Mgomrjsurf »

What if your are getting a Error that says Custom League North and South Divisional Setup when starting a new Game?

If have moved Teams around like say in Southwest Division aka Pacific mean Team ID one needs to be Anaheim then Arizona then LA then San Jose then Vegas?
Also need to redo Schedule because different numbers of Teams in Divisions and added one extra to each League making it MLB style but almost geographic with Chicago/Minnesota in Northwest Division because a third Conference meaning Central in NHL would make Playoffs not work property.
User avatar
Bolsson
Junior League
Posts: 6
Joined: Tue Oct 13, 2015 12:09 am
Favourite Team: Chicago Blackhawks

Editing league rules and structures in EHM 1

Post by Bolsson »

How can i lenghten the time a NHL Club has the right to a player? If even possible.

In the Editor there is a option for "waiver first contract age 18 exemp year" etc. I tried changing those but didn't change anything.
Exarz
Junior League
Posts: 27
Joined: Fri Mar 30, 2012 4:23 pm
Favourite Team: VIK Västerås HK & Jokerit
Location: Sweden

Editing league rules and structures in EHM 1

Post by Exarz »

I did a forum search but I haven't found any information regarding it unfortunately.

I wish to edit the Champions Hockey League to symbolise a "real" European Championship including KHL-teams. I have tried to edit the team licenses and simulate until the next season to see how it turns out, but it seems to reverse back to the "original teams" despite testing to give some other teams A-licenses.

Is there any compatible way to edit the CHL where this does not occur? Would it even be possible to only offer B- and C-licenses to all the teams?
User avatar
timnyi
Junior League
Posts: 7
Joined: Tue Aug 26, 2014 11:54 am

Editing league rules and structures in EHM 1

Post by timnyi »

For some reason when I change the number of skaters for the NHL in a saved game, it does not apply. I think I enabled it over the offseason and it showed that I could dress 22 skaters but it did not stick.
User avatar
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

Post by archibalduk »

timnyi wrote: Wed Jan 20, 2021 8:47 pm For some reason when I change the number of skaters for the NHL in a saved game, it does not apply. I think I enabled it over the offseason and it showed that I could dress 22 skaters but it did not stick.
Editing saved games isn't like editing a database and so you'll find most changes will either not work or will corrupt your saved game.
User avatar
timnyi
Junior League
Posts: 7
Joined: Tue Aug 26, 2014 11:54 am

Editing league rules and structures in EHM 1

Post by timnyi »

archibalduk wrote: Thu Jan 21, 2021 8:05 am
timnyi wrote: Wed Jan 20, 2021 8:47 pm For some reason when I change the number of skaters for the NHL in a saved game, it does not apply. I think I enabled it over the offseason and it showed that I could dress 22 skaters but it did not stick.
Editing saved games isn't like editing a database and so you'll find most changes will either not work or will corrupt your saved game.
Ah, gotcha. Makes sense. Thank you
trailerman1978
Junior League
Posts: 23
Joined: Wed Jan 01, 2020 1:25 pm
Favourite Team: Oilers

Editing league rules and structures in EHM 1

Post by trailerman1978 »

Need help finding a date base to work on and steps to implement my new database to see it as an active playable... Lost all my previous work a few months back when my computer burned and killed my hard drive. New computer for Christmas and trying to re-work all the steps I've lost... A step by step again would help thanks guys!
User avatar
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

Post by archibalduk »

The best places to start would be to look at the below two links. I'd suggest trying an example to get a feel for how to do things before jumping in and doing your own league.

https://ehmtheblueline.com/forums/viewt ... 10&t=18124
https://ehmtheblueline.com/forums/viewt ... 10&t=18927
trailerman1978
Junior League
Posts: 23
Joined: Wed Jan 01, 2020 1:25 pm
Favourite Team: Oilers

Editing league rules and structures in EHM 1

Post by trailerman1978 »

archibalduk

Hey Mate! I've re-read the two topics you posted as a refresher. Now I'm ready I think! Need two things!

1. A source to download the latest up-date database that I can work on...

2. Steps to implement it computer wise so it'll show up when I load the game!

Thanks mate!
User avatar
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

Post by archibalduk »

trailerman1978 wrote: Mon Feb 15, 2021 6:44 am archibalduk

Hey Mate! I've re-read the two topics you posted as a refresher. Now I'm ready I think! Need two things!

1. A source to download the latest up-date database that I can work on...

2. Steps to implement it computer wise so it'll show up when I load the game!

Thanks mate!
The following links explain:

1: viewtopic.php?f=13&t=17841&p=224816#p225184
2: viewtopic.php?p=243682#p243682
3: viewtopic.php?p=180852#p180852
User avatar
nino33
Mr. Goalie
Posts: 6088
Joined: Sat Aug 07, 2010 3:37 am
Custom Rank: Retro Rosters Specialist
Favourite Team: 1970s hockey

Editing league rules and structures in EHM 1

Post by nino33 »

On the Competition -> Club Competitions page in the Editor there's a Classification section, and within that section there's Classification, Divsion Level, and Parent Competition. What does Divsion Level refer to/how is it used?
User avatar
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

Post by archibalduk »

nino33 wrote: Fri Jul 02, 2021 2:45 pm On the Competition -> Club Competitions page in the Editor there's a Classification section, and within that section there's Classification, Divsion Level, and Parent Competition. What does Divsion Level refer to/how is it used?
Division Level refers to the level of that league within that nation. I believe that the Division Level is relative to the league's classification. So the highest league of the classification in that nation should be set to 1, the second highest league should be 2, etc.

For example, the NHL is the highest Domestic League in the US, so that would be set to Division Level 1. The AHL is the next Domestic League down from the NHL and so the AHL would be 2 and the ECHL 3. The USHL is the highest Domestic Junior league in the US, so that would be set to Division Level 1, the second highest Domestic Junior league would be 2, etc.
User avatar
nino33
Mr. Goalie
Posts: 6088
Joined: Sat Aug 07, 2010 3:37 am
Custom Rank: Retro Rosters Specialist
Favourite Team: 1970s hockey

Editing league rules and structures in EHM 1

Post by nino33 »

archibalduk wrote: Fri Jul 02, 2021 8:51 pm Division Level refers to the level of that league within that nation. I believe that the Division Level is relative to the league's classification. So the highest league of the classification in that nation should be set to 1, the second highest league should be 2, etc.

For example, the NHL is the highest Domestic League in the US, so that would be set to Division Level 1. The AHL is the next Domestic League down from the NHL and so the AHL would be 2 and the ECHL 3. The USHL is the highest Domestic Junior league in the US, so that would be set to Division Level 1, the second highest Domestic Junior league would be 2, etc.
Thanks :thup:
Post Reply