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
User avatar
Javs
Minor League
Posts: 238
Joined: Mon Mar 07, 2005 11:48 pm
Location: Ontario

EHM 1 Database & Saved Game Editor

Post by Javs »

Setting 'Fixture rule max underaged players' does not limit teams from signing unlimited underage players, it simply limits the amount dressed... shouldn't it do both? Maybe if there was an option added under Transfer Rules > Basic Data under player limits for underage player max?
User avatar
Javs
Minor League
Posts: 238
Joined: Mon Mar 07, 2005 11:48 pm
Location: Ontario

EHM 1 Database & Saved Game Editor

Post by Javs »

I have taken the 12.1 TBL database, edited the CJHL leagues to have accurate rules (only editing the transfer rules), but now the game crashes after loading and I click 'continue'... So I started over and put the same transfer rules as my first database into this new one but now USA players aren't foreigners in database 2, however they are in database 1 and the settings are exactly the same?
User avatar
Javs
Minor League
Posts: 238
Joined: Mon Mar 07, 2005 11:48 pm
Location: Ontario

EHM 1 Database & Saved Game Editor

Post by Javs »

Anyway to add a 'protection/reserve list' cutdown date? similar to the roste offseason limit?
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 »

Anyway to limit how long an unsigned player (RFA) stays on a teams reserve list?
trailerman1978
Junior League
Posts: 23
Joined: Wed Jan 01, 2020 1:25 pm
Favourite Team: Oilers

EHM 1 Database & Saved Game Editor

Post by trailerman1978 »

archibalduk

Ok first question, why are my player stats not being separated by reg season, playoffs, Inter, Continental so forth. They are all being lumped together as regular season stats? Solved :thumbsup:

Second question is why can I not see individual rounds when on the league page in the playoffs? They are all lumped together for some reason! Solved :thumbsup:

Third Question since I made the changes to the first two problems and corrected them my game will not sim past June 30th Evening! Possibilities? :thumbsup:
-think I may have found the problem - My leagues has have upper 2 relegation spots and lower 2 promotion spots after a playoff yet the lower only shows 1 promotion so on the yearly change date there is a miscalculation of teams in leagues! ?
-Ok fixed the problem for 1 up promotion 1 down relegation... by fixing (Team picking rules for 1 team from upper competition) will this work for two teams?

Any thoughts? Other then that my leagues are running fine under all my tests...

Many thanks,

Cowboy
MatyLA
Junior League
Posts: 7
Joined: Sat Apr 11, 2015 7:01 pm
Favourite Team: Pardubice

EHM 1 Database & Saved Game Editor

Post by MatyLA »

Hi, can anybody help me with editing 1998 database? Is it possible to make czech league playable? And is it possible to change structure of world championship (2 groups by 8 teams in each, instead of 4 groups with 4 groups in each?
If it is possible to do this changes, can you tell me how? I never edited data in EHM yet :notworthy:
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 »

It is possible but it does involve a lot of experimentation at first. You should try and find a league which has similar characteristics as the one you want to create and then compare and copy over the relevant settings on the Rules & Structures tab in the Editor.

You might want to take a look at this: https://www.ehmtheblueline.com/forums/v ... 10&t=18927
Kart99
Junior League
Posts: 48
Joined: Wed Apr 01, 2015 2:35 pm

Editing league rules and structures in EHM 1

Post by Kart99 »

May I ask. I am making progress with my earlier issues but still cant get the lower leagues active active as it still crashes when I select them on the league selection menu but I was wandering something. Is it possible that if the number of dates that a league is being played over dosen't match the number of dates that I have in schedule would that cause the crash? For example, lets say I have a league with ten teams in it and those teams will play each other four times at home and four times away, that would be 72 games for each team in a season wouldn't it? So, that would mean that I would have to put 72 dates when I create that schedule for the league but if I didn't put that number in, it would cause and error and crash the game, is that a possibility for my troubles. So therefore, if I had a league of 34 teams and they played each other 4 times (2 home and 2 away), that would mean I need to schedule 132 dates but if I only put, lets say 116, it would crash the game as it's missing 16 game dates. I hope that makes some form of sense.
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 »

Yes that's broadly correct. You need at least as many schedule dates as there are games played.
Kart99
Junior League
Posts: 48
Joined: Wed Apr 01, 2015 2:35 pm

Editing league rules and structures in EHM 1

Post by Kart99 »

Hi guys,

I really know I'm being a pain, so I am sorry about this, but I cannot get the two other British leagues (below the Elite League) to work for whatever reason and I'm flat out, out of ideas. Havent a scooby. Any help? I've tries changing all sorts of things and it just keeps crashing at the initializing league loadup screen. I've tried all sorts of things from changing dates to editing league structures. I will freely admit that I'm desperate for this work


https://mega.nz/#!jSJllIIa!93mracm3kq_v ... V9zx-vgif4
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 solution is to make single changes, test and then make the next single change. If you try to make a lot of changes at the same time then you'll end up with a mess which is difficult to unpick. I suggest starting over with the original rosters and taking this approach.
Kart99
Junior League
Posts: 48
Joined: Wed Apr 01, 2015 2:35 pm

Editing league rules and structures in EHM 1

Post by Kart99 »

Yeah, I think that's what I'm going to do actually. Just start it over. I just finger where I've made the error, so I'm going to crack on with it again and see where it leads.
ChubbyD
Learning to skate
Posts: 2
Joined: Sun Nov 09, 2008 2:07 am

Editing league rules and structures in EHM 1

Post by ChubbyD »

I have a quick question. First off thanks for all this info, it has helped a ton. I have created my 32 team NHL without conferences or divisions, with a 62 game season where everybody plays everybody else once at home and once on the road.

So here's my question: I play no-OT. You either win, lose, or tie. 2 pts, 0 pts, or 1 pt. But in the league standings, there is no column for ties. It shows wins, losses, and points, but does not show ties. In the schedule view, the record is displayed correctly, and in the last ten column it displays correctly as well. But not in the main league standings table.

Any thoughts? Is this something hard-coded into the game that we cant do anything about?
BulldogsFan
Drafted
Posts: 196
Joined: Fri Aug 11, 2006 7:59 pm

Division Question fro Retro Roster

Post by BulldogsFan »

My question is for the 2006-2007 roster... I want to have the old school 3 divisions per conference like they had back in the day however i also want to add 31 teams so like a extra team. My question is if i use the current schedule aka 2019 format for when Vegas came in can i still use the old forward or would it have to be the 2 divisions per conference like they do now?
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 »

Really you'd need to create your own schedule as the 2019/20 schedule would likely result in uneven numbers of GP in each division. Maybe you could even out the 2019/20 schedule but you'd need to update the team codes in the schedule to reflect the additional divisions. By this I mean the codes in the schedule which refer to divison and club - e.g. 000 = the first team of the first division, 100 = the first team of the second division, 101 = the second team of the second division, etc.

BTW please can we keep data editing queries in the Data Editing Forum? It helps us keep the forum organised and reduces the number of thread/posts that I have to manually move.
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 -> Rules and Structures -> Stages -> Structure screen, on the bottom left in the Stage Structure box - what does "Stage max league games" and "Number of dates" refer to?
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 »

More questions regarding the same page described in my previous post.....bottom right hand corner, in the Settings box, there are 5 options (boxes that can be checked or unchecked)
  • Overall standings page
  • Process fate action
  • Has alternate dates
  • Send group draw news
  • Carry results from prev sl
Anyone know what these mean/what they do?
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 »

Stage max league games:
The maximum number of games a team can play in the relevant stage. I don't know when it is actually necessary to set this as I tend to leave it as zero and the game is fine.


Number of dates:
* This is should generally match the number of dates/entries you have for that stage's Schedule Dates. For example, if you have four teams in the relevant stage and they play each other twice then you'd generally have eight schedule dates (4 teams x 2 games = 8) but you could set this to six because in actual fact each team will play each other six times. However, IIRC the default DB uses the higher figure which I guess is to allow a few alternative dates.

* An exception to the above rule is where you are using a Schedule Template for the initial stages of the competition. Lets say you have two initial stages (i.e. they play simultaneously). An example would be the NHL where the Eastern Conference stage and the Western Conference stage are the two initial stages. In the first of the initial stages, you'd add two Schedule Dates - one set to the first date from the Schedule Template and the second set to the final date from the Schedule Template (so roughly early October and early April for the two NHL dates). You would then set the Number of Dates to two because we have two Schedule Dates. However, this only applies to the first initial stage. All other initial stages should have no Schedule Dates and the Number of Dates set to zero. Take a look at the two initial stages and you will see what I mean. Here, the Eastern Conference is the first initial stage and has the two Schedule Dates set but the Western Conference, being the second initial stage, has zero Schedule Dates or Number of Dates (as would any additional initial stages too).


Overall Standings Stage:
This is generally used where you have several divisions/conferences/groups playing as separate stages at the same time and you are not using Schedule Templates (either because you don't want to or because these do not comprise the initial stage - Schedule Templates can only be used for the initial stage). Setting Schedule Dates for each of those division/conference/group stages will only schedule games between teams in the same div/conf/grp (i.e. intra-group). If you want some inter-group games (i.e. games between teams in different divs/confs/grps) then you can add an Overall Standings Stage and any Schedule Dates added will be used to schedule inter-group games. As at v1.4.1 this only works where you have two divs/confs/grps but I think it will work with additional divs/confs/grps from v1.5 (possibly up to three but I'm not sure).

From memory, I *think* you can add essentially a blank Overall Standings Stage (i.e. with zero games/Schedule Dates) for the purposes of having an overall standings from which the teams progress into the next stage. It's been a while since I've played around with this, so I can't remember for sure.


Process Fate Action
This means that the stage's Fate will be processed upon the end of the stage being reached. Usually you want to enable this setting. However, if you have simultaneous stages then I think you can enable this setting for just the last of those simultaneous stages - but I don't think you necessarily have to follow this approach.


Send Group Draw News:
Enabling this setting will result in an in-game news item upon the group's teams being drawn. For example, you might want a news item to appear when a playoff group stage has been drawn.


Carry Results from Previous Stage
The results from the previous stage will be included in standings for the selected stage. So rather than everyone starting with zero GP, zero Pts, etc at the start of the stage, the teams' GP, Pts, etc from the previous stage will be included in the standings of the present stage.
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 »

Thank you! :notworthy:
Kart99
Junior League
Posts: 48
Joined: Wed Apr 01, 2015 2:35 pm

Editing league rules and structures in EHM 1

Post by Kart99 »

This is a quick question. I've done a database with 22 teams in the elite league and it works as far as I can see. Everything matches up where it should, it loads up totally fine, can add gm's perfectly well and can play a whole season and it works. The issue stems from when the game moves from April to May. 1st May comes up and then you click to continue and it crashes the game. Personally, I like playing as the 22 teams in the league and it ONLY happens when I play as every GM in the league. What I mean is, if I started a new game and just set them to vacation, it plays through like nothing has happened and is totally normal, but if I play as the 22 teams it then crashes. I don't get it. I've done leagues where there is 18 teams and I've done leagues where there are 30 and I play as every GM and there is no issues. It's a downright mystery to me.
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 »

Not sure it's a quick question! :-D

Usually instability like this is as a consequence of part of the league not quite working. Does the league work correctly at each stage? E.g. all teams play the correct number of games, champions are declared, etc? Can you view the League Dates and Overview screens in game? There's a third screen in that same in-game drop down menu but I cannot recall its name (I'm doing this from memory) - but it's worth checking that too.
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 might be giving a couple of other people my head scratching :-D

So all teams do play the same number of games - 63. If my maths is correct (and for the love of god dont go by that, I'm useless at it), then 22 teams playing 3 rounds of games would be 63, requiring 63 dates which I have at the stages part of rules and structures (number of dates), the schedule dates under rules and structures has 63 dates and that matches max league games in the comp rules section

The league is a straight title fight, no playoffs or anything and to me that matches stage for history record etc etc. And when I have finished a season it does show winners, second and third place teams.

I can view the League Dates, overview and standings perfectly fine.

It really is a bit of a mystery to me.
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 »

I can have a quick look this weekend if you send the DB to me, if you like.
Kart99
Junior League
Posts: 48
Joined: Wed Apr 01, 2015 2:35 pm

Editing league rules and structures in EHM 1

Post by Kart99 »

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: Tue Jul 28, 2020 9:43 am That would be great!

Here it is.

https://mega.nz/folder/XTIiHCgC#MRGLldA3wbdOFummEVDeiA
At first glance, the only unusual thing is that the Overall Standings option is checked on the Stages screen. That isn't really necessary here as it is designed to act as an overall standings screen where you have multiple divisions/conferences. Seeing as you don't, I'd suggest disabling that setting.
Post Reply