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
Alessandro
Olympic Gold
Posts: 2865
Joined: Sat Aug 27, 2005 1:54 pm
Custom Rank: TBL Rosters Man
Favourite Team: Team Russia
WHL Team: Calgary Flames

Re: Editing league rules and structures in EHM 1

Post by Alessandro »

nino33 wrote:I've always found pretty much everything worth doing in life is hard/complicated and takes lots of effort :-)
Hehe yeah! :thup:
Curt-97
Junior League
Posts: 20
Joined: Sun Jun 07, 2015 3:31 pm
Favourite Team: Dallas Stars / Coventry Blaze

Re: Editing league rules and structures in EHM 1

Post by Curt-97 »

I've had a play around with the Scottish National league and that's seems to have worked okay for me. Apart from every now and then it crashes when I click on my schedule :(!

The league I've been trying to get right is the Australian league. I keep coming unstuck on the scheduling. I'm trying to make the league run through April to August. I must be doing something wrong because if I load a game up there isn't any schedules available, it's blank on the home screen and if I click the calender is crashes.
Fredlig
TBL Rosters Researcher
Posts: 153
Joined: Mon Nov 28, 2011 9:48 am

Re: Editing league rules and structures in EHM 1

Post by Fredlig »

Anyone know how if:

-You could possibly add 1 or 2 teams to the NHL? The way i see it it is the scheduling part that is the though part here.

-Edit Draft. For example lowering the draft age to 16, or getting rid of the draft and making players sign wherever they want

-Create new leagues. FX European Hockey league with the same structure as the NHL?
User avatar
Alessandro
Olympic Gold
Posts: 2865
Joined: Sat Aug 27, 2005 1:54 pm
Custom Rank: TBL Rosters Man
Favourite Team: Team Russia
WHL Team: Calgary Flames

Re: Editing league rules and structures in EHM 1

Post by Alessandro »

1) you need to work out the schedule. Tough stuff.

2) You can modify the ages, I guess, hardly you'll be able to eliminate the draft.

3) You can, just read the tutorial.
Really, try something and report. We need more people testing so that we can discover something.
User avatar
A9L3E
All-Star
Posts: 1230
Joined: Tue Sep 09, 2008 6:22 am
Custom Rank: Shiny gilded nameplate
Favourite Team: Helsingin Jokerit
Location: Vantaa, Finland

Re: EHM 1 Database & Saved Game Editor

Post by A9L3E »

Alessandro wrote:After playing around a bit, I'd say that the most complicated thing is the schedule. Very time consuming and potentially there are many clashes. We can't just borrow from other leagues every time :D
That is true. Thence, if someone makes a custom schedule for X number of teams, they should share the schedule template somewhere.
User avatar
Alessandro
Olympic Gold
Posts: 2865
Joined: Sat Aug 27, 2005 1:54 pm
Custom Rank: TBL Rosters Man
Favourite Team: Team Russia
WHL Team: Calgary Flames

Re: EHM 1 Database & Saved Game Editor

Post by Alessandro »

A9L3E wrote:
Alessandro wrote:After playing around a bit, I'd say that the most complicated thing is the schedule. Very time consuming and potentially there are many clashes. We can't just borrow from other leagues every time :D
That is true. Thence, if someone makes a custom schedule for X number of teams, they should share the schedule template somewhere.
I think that archi (or whomever) should work on a schedule creator where you set some parameters and it creates the schedules alone. Unfortunately I don't know how to do it.
User avatar
archibalduk
TBL Admin Team
Posts: 20373
Joined: Tue Jul 06, 2004 8:44 pm
Custom Rank: Seaside + Fruit Juice Mode
Favourite Team: Guildford (EPL) / Invicta (NIHL)
Location: United Kingdom
Contact:

Re: Editing league rules and structures in EHM 1

Post by archibalduk »

Alessandro wrote:Tried to add VHL, getting a CPP error :(
It's fantastic to have this editor, but we need it to be simpler and more self-explaining. Now it's too much "try-and-pray".
This will come with time as we get to understand how the settings work. The settings are inevitably complex in order to allow for the realistic structures and scheduling in game. That's why I suggested we start testing a very basic regular season structure and move from there. As soon as you start adding a second stage (e.g. playoffs) then it gets more complex as you have to start linking them together, etc.

On the plus side, I now have the missing definitions! :joy: This, I hope, will reduce the amount of trial and error. There are some very interesting settings hidden there. It'll take me a little while to set them all up in the Editor, but I'll release a new version as soon as they are all added.
Alessandro wrote:Got another error on May 15th, but it's nothing that influences the game. Guess it has to do with the fact that the DEL cup is in the game somewhat, I'll check it later. The game survives to the first season and generates schedule for the second season, so I think long-term games are sustainables.
Now I tried copying the playoff stuff from the DEL, I don't have playoffs lines in the standings, but the league hasn't started yet and I have a "include playoff seeding" setting in the scren.
No crashes so far, simming
You need to add some End Places to the regular season stage. Go to Stages -> Structure and you'll see the End Places in the bottom right corner. This determines how many teams progress and where the dotted lines appear in the standings.

You also need to link the regular season stage with the playoffs stage. This relates to the Linked Stages settings (bottom left corner of Stages -> Structure). Take a look at the DEL or Danish League to get an idea of how this is set.
Alessandro wrote:February 28th
COMP_BASIC_RULES::get_stage_structure() - invalid stage index!
Click ok and crash.
Sounds like a Linked Stages error. So you're linking to a stage that does not exist.
marksbros6 wrote:Just a quick query; if you generate a new league but leave the 'fixture schedule' blank does the game generate this?
No, the game needs to know how to generate a schedule. You can either use the Schedule Templates screen to add a real life schedule or you setup the schedule generator using the Stages -> Schedule Dates screen. This allows you to set the approx date of each round along with the day (I'm guessing it'll select the chosen day nearest the date selected) along with the time of day, arena rules and TV scheduling conflict settings. IIRC you have to change a Custom Flag setting in order to use a Schedule Template instead of the Schedule Dates table.
Fredlig wrote:Anyone know how if:

-You could possibly add 1 or 2 teams to the NHL? The way i see it it is the scheduling part that is the though part here.

-Edit Draft. For example lowering the draft age to 16, or getting rid of the draft and making players sign wherever they want

-Create new leagues. FX European Hockey league with the same structure as the NHL?
1) Yes, provided you update the relevant structures. You'd also have to update the schedule.

2) This might be possible. In the Editor, click on Competitions -> Transfer Rules, select the chosen league and click on Extra Rules. There are loads of rules there.

3) Yes, see the first post in this thread.
User avatar
archibalduk
TBL Admin Team
Posts: 20373
Joined: Tue Jul 06, 2004 8:44 pm
Custom Rank: Seaside + Fruit Juice Mode
Favourite Team: Guildford (EPL) / Invicta (NIHL)
Location: United Kingdom
Contact:

Re: EHM 1 Database & Saved Game Editor

Post by archibalduk »

Alessandro wrote:
A9L3E wrote:
Alessandro wrote:After playing around a bit, I'd say that the most complicated thing is the schedule. Very time consuming and potentially there are many clashes. We can't just borrow from other leagues every time :D
That is true. Thence, if someone makes a custom schedule for X number of teams, they should share the schedule template somewhere.
I think that archi (or whomever) should work on a schedule creator where you set some parameters and it creates the schedules alone. Unfortunately I don't know how to do it.
I don't think it is as hard as you say. All you have to do is create a list of dates in Excel and import it back into the Editor. So if each team plays 40 games, make a list of 40 dates in Excel.

But I do agree; we need to make things as user-friendly as possible. What I'd like to do eventually once we fully understand things is to have a wizard which helps you create new leagues and schedules. A bit like Mr Clippy in Microsoft Word! :D I also want to make it possible to export and import Transfer Rules, Structures, Ruling Bodies and Schedule Templates so that we can share things between databases - kind of like a game mod.

Image
User avatar
archibalduk
TBL Admin Team
Posts: 20373
Joined: Tue Jul 06, 2004 8:44 pm
Custom Rank: Seaside + Fruit Juice Mode
Favourite Team: Guildford (EPL) / Invicta (NIHL)
Location: United Kingdom
Contact:

Re: Editing league rules and structures in EHM 1

Post by archibalduk »

I have updated the first post to reflect the correct Magnus League settings as follows (these will make more sense once the Editor screen correctly interprets these values a user-friendly way in the next version):

Stages: Rules

Team Picking Rules: 16
Fate Rules: 0

I'm still getting the crash when trying to view my team's schedule though (even though I can see the first few games listed on my Home screen).
User avatar
Alessandro
Olympic Gold
Posts: 2865
Joined: Sat Aug 27, 2005 1:54 pm
Custom Rank: TBL Rosters Man
Favourite Team: Team Russia
WHL Team: Calgary Flames

Re: EHM 1 Database & Saved Game Editor

Post by Alessandro »

archibalduk wrote:
I don't think it is as hard as you say. All you have to do is create a list of dates in Excel and import it back into the Editor. So if each team plays 40 games, make a list of 40 dates in Excel.
I haven't said it's hard. I said it's time-consuming. You also have to take into consideration breaks for national teams, etc.
Thank you for your replies, tomorrow will be another day of testing :D
User avatar
archibalduk
TBL Admin Team
Posts: 20373
Joined: Tue Jul 06, 2004 8:44 pm
Custom Rank: Seaside + Fruit Juice Mode
Favourite Team: Guildford (EPL) / Invicta (NIHL)
Location: United Kingdom
Contact:

Re: EHM 1 Database & Saved Game Editor

Post by archibalduk »

Alessandro wrote:
archibalduk wrote:
I don't think it is as hard as you say. All you have to do is create a list of dates in Excel and import it back into the Editor. So if each team plays 40 games, make a list of 40 dates in Excel.
I haven't said it's hard. I said it's time-consuming. You also have to take into consideration breaks for national teams, etc.
Thank you for your replies, tomorrow will be another day of testing :D
I'm not 100% sure, but I think the TV Dates settings allow for alternative dates to be set in that instance. I know it is used for rearranging games for TV and for schedule conflicts - but I don't know if a national team game is classed as a conflict.
User avatar
Alessandro
Olympic Gold
Posts: 2865
Joined: Sat Aug 27, 2005 1:54 pm
Custom Rank: TBL Rosters Man
Favourite Team: Team Russia
WHL Team: Calgary Flames

Re: Editing league rules and structures in EHM 1

Post by Alessandro »

Btw I'd just add that points in IIHF are 3 for win, not 2
User avatar
riz_si
SI Games
Posts: 412
Joined: Mon Mar 14, 2005 10:58 am
Location: Helsinki, Finland (the Eastside, duh)

Re: EHM 1 Database & Saved Game Editor

Post by riz_si »

Alessandro wrote: I haven't said it's hard. I said it's time-consuming. You also have to take into consideration breaks for national teams, etc.
Thank you for your replies, tomorrow will be another day of testing :D
The game scheduling should automatically sort out clashes with national team game dates, but realistically it obviously makes sense to setup the schedules to minimize clashes with known international tournament dates to begin with.
User avatar
Alessandro
Olympic Gold
Posts: 2865
Joined: Sat Aug 27, 2005 1:54 pm
Custom Rank: TBL Rosters Man
Favourite Team: Team Russia
WHL Team: Calgary Flames

Re: Editing league rules and structures in EHM 1

Post by Alessandro »

Ladies and gentlemen, your french magnus league playoffs

Image
User avatar
Named
TBL Rosters Researcher
Posts: 698
Joined: Tue Apr 07, 2015 8:34 pm
Custom Rank: League structures guru
Favourite Team: Chicago Blackhawks
Location: PL

Re: Editing league rules and structures in EHM 1

Post by Named »

Bettman did it :P :-D I wait for VHL test :notworthy: :) how looks situation with errors and moves between clubs? Maybe these errors should be check by Riz? with save it would be faster to recognize schedule button problem :).
User avatar
Alessandro
Olympic Gold
Posts: 2865
Joined: Sat Aug 27, 2005 1:54 pm
Custom Rank: TBL Rosters Man
Favourite Team: Team Russia
WHL Team: Calgary Flames

Re: Editing league rules and structures in EHM 1

Post by Alessandro »

Image
User avatar
Alessandro
Olympic Gold
Posts: 2865
Joined: Sat Aug 27, 2005 1:54 pm
Custom Rank: TBL Rosters Man
Favourite Team: Team Russia
WHL Team: Calgary Flames

Re: Editing league rules and structures in EHM 1

Post by Alessandro »

Still simming with VHL...
User avatar
archibalduk
TBL Admin Team
Posts: 20373
Joined: Tue Jul 06, 2004 8:44 pm
Custom Rank: Seaside + Fruit Juice Mode
Favourite Team: Guildford (EPL) / Invicta (NIHL)
Location: United Kingdom
Contact:

Re: Editing league rules and structures in EHM 1

Post by archibalduk »

Nice! Have you been able to fix the crash with the Team Schedule screen? If so, how?
User avatar
A9L3E
All-Star
Posts: 1230
Joined: Tue Sep 09, 2008 6:22 am
Custom Rank: Shiny gilded nameplate
Favourite Team: Helsingin Jokerit
Location: Vantaa, Finland

Re: Editing league rules and structures in EHM 1

Post by A9L3E »

Great job! =D>
User avatar
Alessandro
Olympic Gold
Posts: 2865
Joined: Sat Aug 27, 2005 1:54 pm
Custom Rank: TBL Rosters Man
Favourite Team: Team Russia
WHL Team: Calgary Flames

Re: Editing league rules and structures in EHM 1

Post by Alessandro »

archibalduk wrote:Nice! Have you been able to fix the crash with the Team Schedule screen? If so, how?
Nope, still crashing in that case. I also can't get rid of the "cup" error on january 9th...
I'm not yet done with season simming in the VHL.
Guys - let me know if you're interested in any (simple) league to add like Polish or Latvian leagues. Also the Alps Hockey League seems interesting, but it is too complicated for now.
EDIT: I'm gonna try and add the MHL if the VHL experiment is successfull
User avatar
Edgars
Top Prospect
Posts: 134
Joined: Fri Mar 08, 2013 6:37 am
Location: Rīga, Latvija

Re: Editing league rules and structures in EHM 1

Post by Edgars »

Alessandro wrote:
archibalduk wrote:Nice! Have you been able to fix the crash with the Team Schedule screen? If so, how?
Nope, still crashing in that case. I also can't get rid of the "cup" error on january 9th...
I'm not yet done with season simming in the VHL.
Guys - let me know if you're interested in any (simple) league to add like Polish or Latvian leagues. Also the Alps Hockey League seems interesting, but it is too complicated for now.
EDIT: I'm gonna try and add the MHL if the VHL experiment is successfull
Latvian League is not so easy, because of first round of play offs - I have almost done it, except I can't get first round of play offs work as they should be... Semi finals and finals work fine, but first round looks like is impossible to get right, because none of the default playable leagues have such a first round play off system as Latvian League have, but I haven't give up yet, because maybe some kind of multi stage playoff system could make it right...

And I haven't implemented bronze series yet for Latvian League too.
szczepek25
Junior League
Posts: 48
Joined: Thu May 07, 2015 3:22 pm
Favourite Team: Poland
Location: Kraków

Re: Editing league rules and structures in EHM 1

Post by szczepek25 »

Alessandro :notworthy: :notworthy: :notworthy: I'm sorry that I didn't believed it is successful introduce new league to game. For years, I dream of Polish Hockey League in game, I tried myself and I couldn't add it to the game :( Alessandro, please :D :-D :-D In my opinion, the Polish League will also be hard to add to the game, but Alessandro can handle :) Great Job!
User avatar
Alessandro
Olympic Gold
Posts: 2865
Joined: Sat Aug 27, 2005 1:54 pm
Custom Rank: TBL Rosters Man
Favourite Team: Team Russia
WHL Team: Calgary Flames

Re: Editing league rules and structures in EHM 1

Post by Alessandro »

szczepek25 wrote:Alessandro :notworthy: :notworthy: :notworthy: I'm sorry that I didn't believed it is successful introduce new league to game. For years, I dream of Polish Hockey League in game, I tried myself and I couldn't add it to the game :( Alessandro, please :D :-D :-D In my opinion, the Polish League will also be hard to add to the game, but Alessandro can handle :) Great Job!
Named will help me.
User avatar
Alessandro
Olympic Gold
Posts: 2865
Joined: Sat Aug 27, 2005 1:54 pm
Custom Rank: TBL Rosters Man
Favourite Team: Team Russia
WHL Team: Calgary Flames

Re: Editing league rules and structures in EHM 1

Post by Alessandro »

Edgars wrote:
Alessandro wrote:
archibalduk wrote:Nice! Have you been able to fix the crash with the Team Schedule screen? If so, how?
Nope, still crashing in that case. I also can't get rid of the "cup" error on january 9th...
I'm not yet done with season simming in the VHL.
Guys - let me know if you're interested in any (simple) league to add like Polish or Latvian leagues. Also the Alps Hockey League seems interesting, but it is too complicated for now.
EDIT: I'm gonna try and add the MHL if the VHL experiment is successfull
Latvian League is not so easy, because of first round of play offs - I have almost done it, except I can't get first round of play offs work as they should be... Semi finals and finals work fine, but first round looks like is impossible to get right, because none of the default playable leagues have such a first round play off system as Latvian League have, but I haven't give up yet, because maybe some kind of multi stage playoff system could make it right...

And I haven't implemented bronze series yet for Latvian League too.
The DEL has pre-playoffs. I think Czech Rep. too. Try checking them.
Write me the rules anyway :)
User avatar
Edgars
Top Prospect
Posts: 134
Joined: Fri Mar 08, 2013 6:37 am
Location: Rīga, Latvija

Re: Editing league rules and structures in EHM 1

Post by Edgars »

Alessandro wrote:The DEL has pre-playoffs. I think Czech Rep. too. Try checking them.
Write me the rules anyway :)
OK - I will check it out!

Latvian league rules:
1st and 2nd team after regular season automatically qualifies for semi finals.
In quarter finals 3rd team plays with 6th and 4th with 5th till 3 wins.
Semi finals till 3 wins.
Gold series till 4 wins.
Bronze series till 3 wins.
Post Reply