The Blue Line

Editing league rules and structures in EHM 1

Discuss all aspects of editing the data in EHM here. Have a question about the Pre Game Editor, editing the .cfg files, hex editing the .dat 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.

Please note that discussion about roster updates belongs in the Game Add-ons Forum.

Re: Editing league rules and structures in EHM 1

Postby BKarchitect » Mon Jan 09, 2017 8:59 pm

Alessandro wrote:Can you upload DB?


Here it is:
https://www.dropbox.com/s/mmuul89x1odp6pn/Vegas%20EHM%20DB%201.2.rar?dl=0

Like I said, everything appears to work except the Western Conference playoffs (and Cup final) won't start until the Eastern Conference playoffs are done for some reason and although I created a USHL Phase I (Entry) Draft - I can't get it to work. Draft options appears very limited at this point so I'm not sure if that is something that can work yet or not. The game randomly adds a few very young players to various USHL teams every year right now. But the flow of players into the league is not great, especially after the batch of real players in the DB passes through. Then again I don't play with a huge database or all the leagues turned on for quicker simming so that may affect things.

Image
BKarchitect
Minor League
 
Posts: 200
Joined: Sun Jan 08, 2012 1:21 am
Points: 2.02

Re: Editing league rules and structures in EHM 1

Postby Alessandro » Mon Jan 09, 2017 9:08 pm

Thank you, I'll try to play around with it a bit.
Unfortunately drafts are hardcoded and they can't be added or removed from leagues.
The "randomly added new guys" are the regens.
I think that the game first needs more American players, second probably we need to set the "training" attribute for the clubs.
User avatar
Alessandro
TBL Rosters Man
Olympic Gold
 
Posts: 2,786
Joined: Sat Aug 27, 2005 2:54 pm
Points: 78.75

Re: Editing league rules and structures in EHM 1

Postby marksbros6 » Mon Jan 09, 2017 11:34 pm

Named wrote:marksbros6, we have similar situation in Poland. After 20 matches in First Round 4 best teams qualify to semifinals in Polish Cup. Unfortunately Riz said this draw is not doable yet in database :/


Cheers Named. Looking at the structure I thought it might be a long-shot.
marksbros6
TBL Rosters Researcher
 
Posts: 426
Joined: Sun Nov 24, 2013 9:34 pm
Points: 4.27

Re: Editing league rules and structures in EHM 1

Postby sensaa » Tue Jan 10, 2017 12:24 am

Hi again!

Do you guys have any crash when looking at: Euro Champions Cup > information > league dates, (in game) ?

Since my Magnus league + Division 2 are working, i tried to add the NCAA, modeled as the french magnus league so simple structure for now, everything seems to be okay except for one thing. I have 14 teams in the ncaa league and the game is putting 11 of them in the euro champions cup group stage at the end of august (What the Dickens?)... and i don't even know why the game is putting 11 american junior team into an european cup, i checked everything in the editor and nothing explain why

Someone have an idea?
sensaa
Junior League
 
Posts: 27
Joined: Thu Mar 26, 2015 11:35 pm
Points: 0.27

Re: Editing league rules and structures in EHM 1

Postby janks » Tue Jan 10, 2017 11:38 am

What's the continental licence status for them in editor? Did you aply corrections regarding continental licence suggested by archi?
janks
Prospect
 
Posts: 56
Joined: Thu Dec 10, 2015 4:44 pm
Points: 0.56

Re: Editing league rules and structures in EHM 1

Postby sensaa » Tue Jan 10, 2017 2:30 pm

janks wrote:What's the continental licence status for them in editor? Did you aply corrections regarding continental licence suggested by archi?


They are set to -none-, tried to put -invalid- but look like i can't and i don't know why.

Look like creating a new team from scratch put that team directly into the european champions cup group stage. I tried to add 3 teams to the Big 10 Conference and only these 3 teams appears in the ECC group stage, not the 6 teams already present in the BIG10, the only difference as far as i can see between them is former team have -invalid- continental licence and newly created can't have -invalid-.

I don't think so, where is that suggestion?
sensaa
Junior League
 
Posts: 27
Joined: Thu Mar 26, 2015 11:35 pm
Points: 0.27

Re: Editing league rules and structures in EHM 1

Postby Alessandro » Tue Jan 10, 2017 11:30 pm

BKarchitect wrote:
Alessandro wrote:Can you upload DB?


Here it is:
https://www.dropbox.com/s/mmuul89x1odp6pn/Vegas%20EHM%20DB%201.2.rar?dl=0

Like I said, everything appears to work except the Western Conference playoffs (and Cup final) won't start until the Eastern Conference playoffs are done for some reason and although I created a USHL Phase I (Entry) Draft - I can't get it to work. Draft options appears very limited at this point so I'm not sure if that is something that can work yet or not. The game randomly adds a few very young players to various USHL teams every year right now. But the flow of players into the league is not great, especially after the batch of real players in the DB passes through. Then again I don't play with a huge database or all the leagues turned on for quicker simming so that may affect things.


I tried playing around with various settings without much luck. I guess the problem lies in the fact that the Eastern conference playoffs are correctly labeled, while the Western conference ones are "playoff semifinals".
Now, understanding how to fix it is another thing but I'll try pushing my luck.
User avatar
Alessandro
TBL Rosters Man
Olympic Gold
 
Posts: 2,786
Joined: Sat Aug 27, 2005 2:54 pm
Points: 78.75

Re: Editing league rules and structures in EHM 1

Postby andda715 » Tue Jan 10, 2017 11:33 pm

Back from Vacation I began looking at HockeyEttan again.
Here are some ideas about how and what Fate is, it is mostly guess and intuition with some investigation sprinkled on top... :grin:
Note that some or all of it might be entirely wrong due to misunderstandings on my part.

All of the below probably depends on league structure, I have used a league with two conferences.
If not indicated otherwise all fields except explicitly mentioned are false in Team Picking Rules and Fate Rules

Code: Select all
"Check for no fate" and ("From Prev Stages Top Bye" or "From Prev Stages Bottom Bye")
=>
Use "Fate" as second stage to pick from (i.e. here: two concurrent initial stages)

Note: It seems like "Check for no fate" works well when "Next upper/lower stage to trigger" is set to 0 (???)

Code: Select all
"From Prev Stages Use One Stage" and "From Prev Stages Seeded"
=>
Fate=1 => Pick teams from "Stage to draw teams from" and "default" fate (original teams/other ???)
Fate=2 => Pick ... and "End Places"=Promoted
Fate=3 => Pick ... and ... =Playoff (top)
Fate=4 => Pick ... and ... =Playoff (bottom)
Fate=5 => Pick ... and ... =Relegated


Code: Select all
"Additional stage to draw teams from"
=>
Seems to indicate the stage in the lower league to use when picking teams.
Use together with "From Lower League [Top Places|Promotion Places|Playoff Winners]" 

Please correct any thing you have found that are incorrect above or feel free to to add more info in the same/similar format. :notworthy:

I almost had HockeyEttan West Spring (8 teams), HockeyEttan South Spring (8) and AllEttan South (8) working.
But probably ran into same issue as another poster recently indicated: didn't manage to get both West and South Spring to run concurrently.
Instead they are (most likekly???) scheduled in sequence. I ran into issues with the Relegation league in HockeyAllsvenkan team picking phase crashing before this though.

Currently I'm simulating with AllEttan South (8) together with HockeyEttan SW Spring (16) but have not got the latter to "trigger" successfully yet.
andda715
Junior League
 
Posts: 41
Joined: Fri Apr 10, 2015 11:07 pm
Points: 0.43

Re: Editing league rules and structures in EHM 1

Postby Named » Wed Jan 11, 2017 12:50 am

I fixed this USHL problem with 2 stages didnt run together. I added value 4 on Stage 2 "Next upper stage to trigger" and it worked? We have working model of USHL. After we will get 1.4 update USHL will work better as junior teams will sign players. I have main question. Did You create USHL from beginning or copied any other league model? I uploaded database for working USHL. Also thanks for Alessandro minor fixes before.

http://www37.zippyshare.com/v/M9QrgxDZ/file.html

Image
Image
User avatar
Named
League structures guru
TBL Rosters Researcher
 
Posts: 639
Joined: Tue Apr 07, 2015 9:34 pm
Points: 6.39

Re: Editing league rules and structures in EHM 1

Postby andda715 » Wed Jan 11, 2017 2:00 am

Hi again,

Here is a version with working HE South, HE West, AE SW, HE South Spring, HE West Spring. :thup:

http://www14.zippyshare.com/v/foSPRY1m/file.html

Promotion to/relegation from HA still fails when picking teams for some reason. :-?
andda715
Junior League
 
Posts: 41
Joined: Fri Apr 10, 2015 11:07 pm
Points: 0.43

Re: Editing league rules and structures in EHM 1

Postby BKarchitect » Wed Jan 11, 2017 2:32 am

Named wrote:I fixed this USHL problem with 2 stages didnt run together. I added value 4 on Stage 2 "Next upper stage to trigger" and it worked? We have working model of USHL. After we will get 1.4 update USHL will work better as junior teams will sign players. I have main question. Did You create USHL from beginning or copied any other league model? I uploaded database for working USHL. Also thanks for Alessandro minor fixes before.

http://www37.zippyshare.com/v/M9QrgxDZ/file.html


I started from a copy so that may be the issue. Thanks for the upload, I'll check it out to see what I did wrong. It might be just what you said, I'll try value 4 on stage 2 next upper stage to trigger. Thanks Named!

Thanks also Alessandro! Love that everybody is working together to figure things out!
BKarchitect
Minor League
 
Posts: 200
Joined: Sun Jan 08, 2012 1:21 am
Points: 2.02

Re: Editing league rules and structures in EHM 1

Postby BKarchitect » Wed Jan 11, 2017 2:53 am

That is good info on "fate" andda! I still don't know what fate = 103 is though, that seems to appear in Championship and Cup finals - I assume it is something to do with telling the game to pick the winners of the round before based on where it is used.
BKarchitect
Minor League
 
Posts: 200
Joined: Sun Jan 08, 2012 1:21 am
Points: 2.02

Re: Editing league rules and structures in EHM 1

Postby EArk » Wed Jan 11, 2017 1:16 pm

andda715 wrote:Hi again,

Here is a version with working HE South, HE West, AE SW, HE South Spring, HE West Spring. :thup:

http://www14.zippyshare.com/v/foSPRY1m/file.html

Promotion to/relegation from HA still fails when picking teams for some reason. :-?

I will send you a private messenger so that I can write in Swedish, which I assume that you speak
EArk
Junior League
 
Posts: 40
Joined: Mon Nov 10, 2014 1:29 pm
Points: 0.40

Re: Editing league rules and structures in EHM 1

Postby Named » Wed Jan 11, 2017 2:03 pm

andda715 wrote:Hi again,

Here is a version with working HE South, HE West, AE SW, HE South Spring, HE West Spring. :thup:

http://www14.zippyshare.com/v/foSPRY1m/file.html

Promotion to/relegation from HA still fails when picking teams for some reason. :-?


I think problem is that You created in HE NE and HE SW as different leagues. Did You get any teams picked for Stage 3 in both leagues? Not sure that will be possible to draw between two different leagues :-k I dont know how works promotion in british NIHL league but maybe it might be helpfull?
User avatar
Named
League structures guru
TBL Rosters Researcher
 
Posts: 639
Joined: Tue Apr 07, 2015 9:34 pm
Points: 6.39

Re: Editing league rules and structures in EHM 1

Postby andda715 » Wed Jan 11, 2017 4:29 pm

Yes, I think so too. Especially as promotion works when I set it to only chose teams from (e.g.) HE SW.
Sadly the amount of teams make 1.3 crash if run as a single league.
If lucky, Riz might have had time/possibility to fix it for next release. :-)

EDIT: Will have a look at NIHL when I have another opportunity to look at this (next week most likely)
Last edited by andda715 on Wed Jan 11, 2017 5:04 pm, edited 1 time in total.
andda715
Junior League
 
Posts: 41
Joined: Fri Apr 10, 2015 11:07 pm
Points: 0.43

Re: Editing league rules and structures in EHM 1

Postby andda715 » Wed Jan 11, 2017 4:31 pm

EArk wrote:I will send you a private messenger so that I can write in Swedish, which I assume that you speak


Sadly my post count is still too low that I can't reply to pms, but if you send a pm with some other contact info (mail?) I'll send you all info I have.
Perhaps anyone knows of a "better" place to store stuff than zippyshare? :help:
andda715
Junior League
 
Posts: 41
Joined: Fri Apr 10, 2015 11:07 pm
Points: 0.43

Re: Editing league rules and structures in EHM 1

Postby andda715 » Wed Jan 11, 2017 4:39 pm

Named wrote:I think problem is that You created in HE NE and HE SW as different leagues. Did You get any teams picked for Stage 3 in both leagues?


Yes, team picking works perfectly in the following scenarios:

(Stage 1) HEW, top 4 --> AES (Stage 3)
(Stage 2) HES, top 4 --> AES (Stage 3)
(Stage 1) HEW, bottom 8 --> HEW Spring (Stage 4)
(Stage 2) HES, bottom 8 --> HES Spring (Stage 5)

For HEN I have only done AEN and not the spring versions (but they are symmetrically identical so should be trivial).
What doesn't work is:

(Stage 3 HE SW) AES, top 2 --> HA Relegation (Stage 2, with 2+2+2 teams)
(Stage 3 HE NE) AEN, top 2 --> HA Relegation
(Stage 1) HA, bottom 2 --> HA Relegation

What does almost work, where almost is that wrong teams are picked (bottom instead of top 4) :-D :dunno:

(Stage 3) AES, top 4 --> HA Relegation (Stage 2, with 2+4 teams)

With that setup HA Relegation is picked and runs correctly.
Haven't been able to test promotion/relegation aspects yet though (in both sims all teams managed to stay up... I probably have a save somewhere that I can reuse but haven't looked into it yet).

As above the main reason for separate HE SW and HE NE is an unfortunate bug.
But even if the bug is fixed it is pretty nice to only play e.g. SW as otherwise there are quite a lot of additional matches being scheduled that you might not be (that) interested in.

EDIT: I haven't yet looked into the various play-off features that goes between AES (non-winners) + HES Spring + HEW Spring --> HA Relegation yet.

EDIT2: Another weird issue I have found, most likely in my settings/configurations, is that for some reason HA Player of the Week is given to HE players during season. After season HA Awards are given to HE and HE to HA... :doh:
andda715
Junior League
 
Posts: 41
Joined: Fri Apr 10, 2015 11:07 pm
Points: 0.43

Re: Editing league rules and structures in EHM 1

Postby janks » Wed Jan 11, 2017 5:04 pm

sensaa wrote:
janks wrote:What's the continental licence status for them in editor? Did you aply corrections regarding continental licence suggested by archi?


They are set to -none-, tried to put -invalid- but look like i can't and i don't know why.

Look like creating a new team from scratch put that team directly into the european champions cup group stage. I tried to add 3 teams to the Big 10 Conference and only these 3 teams appears in the ECC group stage, not the 6 teams already present in the BIG10, the only difference as far as i can see between them is former team have -invalid- continental licence and newly created can't have -invalid-.

I don't think so, where is that suggestion?


It's in EHM 1 Database & Saved Game Editor thread
janks
Prospect
 
Posts: 56
Joined: Thu Dec 10, 2015 4:44 pm
Points: 0.56

Re: Editing league rules and structures in EHM 1

Postby andda715 » Wed Jan 11, 2017 5:10 pm

EArk wrote:
andda715 wrote:Hi again,

Here is a version with working HE South, HE West, AE SW, HE South Spring, HE West Spring. :thup:

http://www14.zippyshare.com/v/foSPRY1m/file.html

Promotion to/relegation from HA still fails when picking teams for some reason. :-?

I will send you a private messenger so that I can write in Swedish, which I assume that you speak


I have uploaded the same file here as well EArk, let me know if this site works. :-)
https://www.sendspace.com/file/l29buu
andda715
Junior League
 
Posts: 41
Joined: Fri Apr 10, 2015 11:07 pm
Points: 0.43

Re: Editing league rules and structures in EHM 1

Postby sensaa » Wed Jan 11, 2017 6:56 pm

janks wrote:
sensaa wrote:
janks wrote:What's the continental licence status for them in editor? Did you aply corrections regarding continental licence suggested by archi?


They are set to -none-, tried to put -invalid- but look like i can't and i don't know why.

Look like creating a new team from scratch put that team directly into the european champions cup group stage. I tried to add 3 teams to the Big 10 Conference and only these 3 teams appears in the ECC group stage, not the 6 teams already present in the BIG10, the only difference as far as i can see between them is former team have -invalid- continental licence and newly created can't have -invalid-.

I don't think so, where is that suggestion?


It's in EHM 1 Database & Saved Game Editor thread


:thup: I should have checked this thread too, my bad. Thanks :)
sensaa
Junior League
 
Posts: 27
Joined: Thu Mar 26, 2015 11:35 pm
Points: 0.27

32 Team NHL/ NHL Expansion

Postby ironbucket » Wed Jan 11, 2017 9:46 pm

Has anyone figured out a structure where we would be able to have a 32 team NHL? I want to start another play through but it feels like I lose some depth knowing that the league will be expanding to 31 teams in 2017 and will inevitably be expanding to a 32nd in the near future. Is there any way to either hold an expansion draft so that it is built into the season (similar to the way that the NBA 2k series does it) or any way to just start with the NHL at 32 teams for example maybe Vegas and Seattle added to the west to create balance.

Thanks all
ironbucket
Junior League
 
Posts: 16
Joined: Sun May 24, 2015 11:52 pm
Points: 0.16

Re: Editing league rules and structures in EHM 1

Postby EArk » Wed Jan 11, 2017 11:45 pm

andda715 wrote:
EArk wrote:
andda715 wrote:Hi again,

Here is a version with working HE South, HE West, AE SW, HE South Spring, HE West Spring. :thup:

http://www14.zippyshare.com/v/foSPRY1m/file.html

Promotion to/relegation from HA still fails when picking teams for some reason. :-?

I will send you a private messenger so that I can write in Swedish, which I assume that you speak


I have uploaded the same file here as well EArk, let me know if this site works. :-)
https://www.sendspace.com/file/l29buu

Worked very good, thank you
EArk
Junior League
 
Posts: 40
Joined: Mon Nov 10, 2014 1:29 pm
Points: 0.40

Re: Editing league rules and structures in EHM 1

Postby archibalduk » Wed Jan 11, 2017 11:56 pm

BKarchitect wrote:
Named wrote:I fixed this USHL problem with 2 stages didnt run together. I added value 4 on Stage 2 "Next upper stage to trigger" and it worked? We have working model of USHL. After we will get 1.4 update USHL will work better as junior teams will sign players. I have main question. Did You create USHL from beginning or copied any other league model? I uploaded database for working USHL. Also thanks for Alessandro minor fixes before.

http://www37.zippyshare.com/v/M9QrgxDZ/file.html


I started from a copy so that may be the issue. Thanks for the upload, I'll check it out to see what I did wrong. It might be just what you said, I'll try value 4 on stage 2 next upper stage to trigger. Thanks Named!

Thanks also Alessandro! Love that everybody is working together to figure things out!


Outstanding work! I am going to take a look at how you dealt with the conferences as that was the bit I was struggling with.

In case it is of any use, here is a schedule template I made when I was trying to create the USHL: https://1drv.ms/u/s!AsXFKQMOdPqgiCGs5lbc1YD_XEXp

The "Teams" tab shows how the numbers relate to the teams. You may have set yours up differently and so you may need to do some text searching and replacing to change things around. I have included two additional columns with "East x" and "West x" so you could search and replace using those.
User avatar
archibalduk
Seaside + Fruit Juice Mode
TBL Admin Team
 
Posts: 18,265
Joined: Tue Jul 06, 2004 9:44 pm
Points: 193.82
Trophies:  1   2   1

Re: Editing league rules and structures in EHM 1

Postby BKarchitect » Thu Jan 12, 2017 2:18 am

archibalduk wrote:
BKarchitect wrote:
Named wrote:I fixed this USHL problem with 2 stages didnt run together. I added value 4 on Stage 2 "Next upper stage to trigger" and it worked? We have working model of USHL. After we will get 1.4 update USHL will work better as junior teams will sign players. I have main question. Did You create USHL from beginning or copied any other league model? I uploaded database for working USHL. Also thanks for Alessandro minor fixes before.

http://www37.zippyshare.com/v/M9QrgxDZ/file.html


I started from a copy so that may be the issue. Thanks for the upload, I'll check it out to see what I did wrong. It might be just what you said, I'll try value 4 on stage 2 next upper stage to trigger. Thanks Named!

Thanks also Alessandro! Love that everybody is working together to figure things out!


Outstanding work! I am going to take a look at how you dealt with the conferences as that was the bit I was struggling with.

In case it is of any use, here is a schedule template I made when I was trying to create the USHL: https://1drv.ms/u/s!AsXFKQMOdPqgiCGs5lbc1YD_XEXp

The "Teams" tab shows how the numbers relate to the teams. You may have set yours up differently and so you may need to do some text searching and replacing to change things around. I have included two additional columns with "East x" and "West x" so you could search and replace using those.


I did what you suggested earlier for my USHL schedule template and just took their real USHL schedule, imported into Excel, rearranged the date format and did find/replace for numbers instead of teams and imported into the editor...it was good practice and surprisingly straightforward. Any league that actually has a schedule - I can see now how the template actually makes it a far less scary proposition than it seems to generate a working schedule in EHM.

I think I read a person or two starting to dabble in NCAA stuff like above...that will be really interesting and a true challenge. I assume you would probably create an entire league called "NCAA" or "NCAA D1" and then the conferences would be the divisions. You'd have to then create some sort of master schedule based on all the various conference schedules...and not every conference plays the same amount of games. And then for the tournament "playoff"...I'm not sure you could actually do at large bids? Right now the 16 teams are composed of the 6 D1 Conference champs (which is simple enough I guess - division winners) but then 10 at-large teams. I'm hoping by using different fate rules you could at least simulate a playoff field of 16 chosen from 6 conference "divisions"?
BKarchitect
Minor League
 
Posts: 200
Joined: Sun Jan 08, 2012 1:21 am
Points: 2.02

Re: 32 Team NHL/ NHL Expansion

Postby BKarchitect » Thu Jan 12, 2017 2:25 am

ironbucket wrote:Has anyone figured out a structure where we would be able to have a 32 team NHL? I want to start another play through but it feels like I lose some depth knowing that the league will be expanding to 31 teams in 2017 and will inevitably be expanding to a 32nd in the near future. Is there any way to either hold an expansion draft so that it is built into the season (similar to the way that the NBA 2k series does it) or any way to just start with the NHL at 32 teams for example maybe Vegas and Seattle added to the west to create balance.

Thanks all


It would be pretty simple once you have a schedule template (and alternate template) generated. I did a 31-team NHL with Vegas. No reason you can't do 32. The schedule would probably be easier to figure out than the 31 team-league to be honest because with 31 you have tons of little scheduling quirks.

See my Vegas thread in the EHM stories section for a start - you can download the db and see how I did 31 in the editor. Again, the only hard (time-consuming) part is creating the schedule.

No expansion draft function but you can simulate it manually if you want.

If they ever announce who #32 is, I'll get right on it but for now I'd rather see other real leagues upgraded to playable. But if you do decide to tackle a 32-team NHL, keep us posted. :nod:
BKarchitect
Minor League
 
Posts: 200
Joined: Sun Jan 08, 2012 1:21 am
Points: 2.02

PreviousNext

Return to Data Editing Forum

Who is online

Users browsing this forum: No registered users and 3 guests