Edited new League / Crash at cup winning game

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
Sakamoose
Junior League
Posts: 9
Joined: Sat Jan 02, 2021 11:55 pm
Favourite Team: Lemmings

Edited new League / Crash at cup winning game

Post by Sakamoose »

Hello Blueliners,
( Feel free to move this if needed )

New forum member / Long time lurker.

I've been trying to create a league for some time now ( more than some actually ).
Everything seems fine until the cup winning game. Game crashes everytime at this point.

I used the default.db as base and edited it. ( I replaced the National League with my own )
League has 48 teams divided into 2 conferences, 8 divisions of 6 teams.
Only been setting up the teams, general season and playoff structure. I haven't created any players yet or the detailed divisional playoff format.

Has anyone encountered this problem before?
Any pointers as to what at I should look for?

Thank you in advance. My head hurts ;)
User avatar
ideawithoutamind
TBL Rosters Researcher
Posts: 123
Joined: Sat Apr 11, 2015 5:54 am
Custom Rank: Global United Hockey
Favourite Team: Boston Bruins

Edited new League / Crash at cup winning game

Post by ideawithoutamind »

I was having a similar issue, everything working, but crashed at cup clinching game... Couldn't find anything wrong specifically. My advice is to delete the league and rebuild from scratch, if you have all the dates exported.

Decided to go a different direction, and now troubleshooting that.

Good luck, but let me know if you figure out the 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:

Edited new League / Crash at cup winning game

Post by archibalduk »

Sakamoose wrote: Sun Jan 03, 2021 8:24 pm Hello Blueliners,
( Feel free to move this if needed )

New forum member / Long time lurker.

I've been trying to create a league for some time now ( more than some actually ).
Everything seems fine until the cup winning game. Game crashes everytime at this point.

I used the default.db as base and edited it. ( I replaced the National League with my own )
League has 48 teams divided into 2 conferences, 8 divisions of 6 teams.
Only been setting up the teams, general season and playoff structure. I haven't created any players yet or the detailed divisional playoff format.

Has anyone encountered this problem before?
Any pointers as to what at I should look for?

Thank you in advance. My head hurts ;)
Sounds like either a Fate Rules issue or potentially an issue from completing one stage to another. I can take a look if you upload it, but it probably won't be until the weekend.
User avatar
Sakamoose
Junior League
Posts: 9
Joined: Sat Jan 02, 2021 11:55 pm
Favourite Team: Lemmings

Edited new League / Crash at cup winning game

Post by Sakamoose »

Thanks for the support guys.

Here's the culprit:
https://wetransfer.com/downloads/8e7ee0 ... 603/2e0cf9
If you want to have a quick look.

I'm still trying different settings on it matching other DBs that work. But nothing yet.
It won't play that elimination cup clinching game.

I've also begun another one from scratch.
For some reason the spreadsheet export/import gives me errors no matter what I try.
Is there an easy way to import teams I made in the other DB? Or even players eventually?
I assumed I could use a spreadsheet to import all the stuff without filling out all the boxes one by one in the editor and use excel.

Is there a limit to the number of teams in a league? ( I've got 48 and 32 making the playoffs )
The playoff tree is one level bigger than what fits in the interface screen.
So the first round does not appear on the playoff tree.
I'm wondering any of this is a problem.
User avatar
ideawithoutamind
TBL Rosters Researcher
Posts: 123
Joined: Sat Apr 11, 2015 5:54 am
Custom Rank: Global United Hockey
Favourite Team: Boston Bruins

Edited new League / Crash at cup winning game

Post by ideawithoutamind »

Sakamoose wrote: Wed Jan 06, 2021 1:10 am Thanks for the support guys.

Here's the culprit:
https://wetransfer.com/downloads/8e7ee0 ... 603/2e0cf9
If you want to have a quick look.

I'm still trying different settings on it matching other DBs that work. But nothing yet.
It won't play that elimination cup clinching game.

I've also begun another one from scratch.
For some reason the spreadsheet export/import gives me errors no matter what I try.
Is there an easy way to import teams I made in the other DB? Or even players eventually?
I assumed I could use a spreadsheet to import all the stuff without filling out all the boxes one by one in the editor and use excel.

Is there a limit to the number of teams in a league? ( I've got 48 and 32 making the playoffs )
The playoff tree is one level bigger than what fits in the interface screen.
So the first round does not appear on the playoff tree.
I'm wondering any of this is a problem.
I'm running into a similar issue, wondering if the 32 team part is triggering something.

The game is crashing on cup final for 42 team league (32 in playoffs)
User avatar
ideawithoutamind
TBL Rosters Researcher
Posts: 123
Joined: Sat Apr 11, 2015 5:54 am
Custom Rank: Global United Hockey
Favourite Team: Boston Bruins

Edited new League / Crash at cup winning game

Post by ideawithoutamind »

:bs:
Sakamoose wrote: Wed Jan 06, 2021 1:10 am Thanks for the support guys.

Here's the culprit:
https://wetransfer.com/downloads/8e7ee0 ... 603/2e0cf9
If you want to have a quick look.

I'm still trying different settings on it matching other DBs that work. But nothing yet.
It won't play that elimination cup clinching game.

I've also begun another one from scratch.
For some reason the spreadsheet export/import gives me errors no matter what I try.
Is there an easy way to import teams I made in the other DB? Or even players eventually?
I assumed I could use a spreadsheet to import all the stuff without filling out all the boxes one by one in the editor and use excel.

Is there a limit to the number of teams in a league? ( I've got 48 and 32 making the playoffs )
The playoff tree is one level bigger than what fits in the interface screen.
So the first round does not appear on the playoff tree.
I'm wondering any of this is a problem.
Also to answer your question , you should be able to export from one database and add them to another.

If you are receiving errors, check the reason. Some of the issues could be cities not existing. Which you may want to import the city or manually add it to the database.

Similarly, arenas and practice spaces.

I did find a little issue which is a quick fix for teams, the alt captains have extra data added to the name field, you may just need to manually remove some, but read the error from the spreadsheet and should help you out.
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:

Edited new League / Crash at cup winning game

Post by archibalduk »

Sakamoose wrote: Wed Jan 06, 2021 1:10 am Thanks for the support guys.

Here's the culprit:
https://wetransfer.com/downloads/8e7ee0 ... 603/2e0cf9
If you want to have a quick look.

I'm still trying different settings on it matching other DBs that work. But nothing yet.
It won't play that elimination cup clinching game.

I've also begun another one from scratch.
For some reason the spreadsheet export/import gives me errors no matter what I try.
Is there an easy way to import teams I made in the other DB? Or even players eventually?
I assumed I could use a spreadsheet to import all the stuff without filling out all the boxes one by one in the editor and use excel.

Is there a limit to the number of teams in a league? ( I've got 48 and 32 making the playoffs )
The playoff tree is one level bigger than what fits in the interface screen.
So the first round does not appear on the playoff tree.
I'm wondering any of this is a problem.
I'm afraid I can't see any obvious explanation for this issue. The settings look okay in the Editor. Maybe the 32-team playoffs is the issue - perhaps try reducing this to a 16-team playoff in case this works.
User avatar
ideawithoutamind
TBL Rosters Researcher
Posts: 123
Joined: Sat Apr 11, 2015 5:54 am
Custom Rank: Global United Hockey
Favourite Team: Boston Bruins

Edited new League / Crash at cup winning game

Post by ideawithoutamind »

archibalduk wrote: Sat Jan 09, 2021 5:19 pm
Sakamoose wrote: Wed Jan 06, 2021 1:10 am Thanks for the support guys.

Here's the culprit:
https://wetransfer.com/downloads/8e7ee0 ... 603/2e0cf9
If you want to have a quick look.

I'm still trying different settings on it matching other DBs that work. But nothing yet.
It won't play that elimination cup clinching game.

I've also begun another one from scratch.
For some reason the spreadsheet export/import gives me errors no matter what I try.
Is there an easy way to import teams I made in the other DB? Or even players eventually?
I assumed I could use a spreadsheet to import all the stuff without filling out all the boxes one by one in the editor and use excel.

Is there a limit to the number of teams in a league? ( I've got 48 and 32 making the playoffs )
The playoff tree is one level bigger than what fits in the interface screen.
So the first round does not appear on the playoff tree.
I'm wondering any of this is a problem.
I'm afraid I can't see any obvious explanation for this issue. The settings look okay in the Editor. Maybe the 32-team playoffs is the issue - perhaps try reducing this to a 16-team playoff in case this works.
I tested on my own with my 42 team league, reverting to 8-8 conference playoff format, still crashing when SC is won. Everything else is still working.

I've sent mine off with Eck and some of his people to look at my db and save file.
User avatar
Sakamoose
Junior League
Posts: 9
Joined: Sat Jan 02, 2021 11:55 pm
Favourite Team: Lemmings

Edited new League / Crash at cup winning game

Post by Sakamoose »

archibalduk wrote: Sat Jan 09, 2021 5:19 pm I'm afraid I can't see any obvious explanation for this issue. The settings look okay in the Editor. Maybe the 32-team playoffs is the issue - perhaps try reducing this to a 16-team playoff in case this works.
ideawithoutamind wrote: Sun Jan 10, 2021 1:14 am I tested on my own with my 42 team league, reverting to 8-8 conference playoff format, still crashing when SC is won. Everything else is still working.
I've sent mine off with Eck and some of his people to look at my db and save file.
Tested reducing the playoffs to 16 and still same problem. So it might not be that.
I added arenas also and same thing.. Is there stuff that is mandatory before you can win the cup?
I am using teams without players or staff that are filled automatically at the start of the new game.
Could that be it?
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:

Edited new League / Crash at cup winning game

Post by archibalduk »

No I tried the "add players to playable teams" option yesterday and it didn't make a difference. One thing I havent checked is that all teams have a nation, professional status and reasonable reputation set but I would have expected that to cause a crash when starting the game, not at the end of the season. I can try sending it to Riz but we might not get a response for some time.

Can you recall whether you changed anything other than the team counts, game counts and schedule templates?
User avatar
ideawithoutamind
TBL Rosters Researcher
Posts: 123
Joined: Sat Apr 11, 2015 5:54 am
Custom Rank: Global United Hockey
Favourite Team: Boston Bruins

Edited new League / Crash at cup winning game

Post by ideawithoutamind »

I just ran a few tests last night. Starting from the 32 team setup, and slowly adding the # of teams by 1 per division, wondering if it was the division setup that might have affected it. All US and Canadian, someone else had mentioned the non-North American issue, but that was not applicable to any of the teams.

I kept all of the formats the same, just changed the # of teams, league schedule.

I kept the playoff format the same, as well as the division structure (ie. 2 conferences, 2 divisions each).

I found that 36 teams. 2 conferences, 4 divisions, 9 teams each works.

I found that 40 teams. 2 conferences, 4 divisions, 10 teams each works.

I tried another sim with 44 teams, 2 conferences, 4 divisions 11 teams each crashes at SC winning again.. (my original format with 42 teams with divisional changes 2 conferences, 6 divisions 7 teams was the original one that was crashing at the same point, I just sent that one to Eck recently, was discussing this issue with him, as I was building off of his db, considering the same issues happening on your other db, it could just be the way the game behaves)
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:

Edited new League / Crash at cup winning game

Post by archibalduk »

Very interesting. I'm going to send this to Riz.
User avatar
ideawithoutamind
TBL Rosters Researcher
Posts: 123
Joined: Sat Apr 11, 2015 5:54 am
Custom Rank: Global United Hockey
Favourite Team: Boston Bruins

Edited new League / Crash at cup winning game

Post by ideawithoutamind »

archibalduk wrote: Sun Jan 10, 2021 7:14 pm Very interesting. I'm going to send this to Riz.
Another note, I sent the db to Eck, he was able to run my db through 1.5, and it does not crash. He was having someone else look at it, but we think it might be a 1.4.x limitation. Do you know anyone that has successfully made a fully working 40+ NHL in 1.4.x?

In terms of what I've setup, all of the leagues work, full seasons and load all the playoffs. 36, 40 teams can sim through and have had no issues multiple seasons.

My 42 and 44 examples crash when a team wins their 4th game of the SCF. The SCF loads fine and teams play through until that point. I've tried the original conference format (8x2 conference, using an unaltered version from the Pivotdb) as well as a 32 team playoffs (16x2 conferences), but crashes in the 42,44 team leagues.

36/40 worked (9*4/10*4 div setups successful)

44 (11*4 div) and 42 (7*6 div) crashes on the last game of the stanley cup in 1.4.1x
User avatar
Sakamoose
Junior League
Posts: 9
Joined: Sat Jan 02, 2021 11:55 pm
Favourite Team: Lemmings

Edited new League / Crash at cup winning game

Post by Sakamoose »

archibalduk wrote: Sun Jan 10, 2021 9:04 am Can you recall whether you changed anything other than the team counts, game counts and schedule templates?
I changed game rules/flags options a bit in many different ways and reverting after seeing no improvements. I changed some dates to fit the schedule.
I began working on this around 2 years ago and put it aside until recently because I feared for my sanity but here I am back again. :)
I can't recall for sure everything I've done with it. But mainly just trying to get the structure to work before 'moving the furniture in'.
ideawithoutamind wrote: Sun Jan 10, 2021 7:28 pm other note, I sent the db to Eck, he was able to run my db through 1.5, and it does not crash. He was having someone else look at it, but we think it might be a 1.4.x limitation. Do you know anyone that has successfully made a fully working 40+ NHL in 1.4.x?
So maybe I should put this project on pause and 1.5 could potentially fix this limitation?
User avatar
Sakamoose
Junior League
Posts: 9
Joined: Sat Jan 02, 2021 11:55 pm
Favourite Team: Lemmings

Edited new League / Crash at cup winning game

Post by Sakamoose »

I think I might have a plan B to achieve the 32 team playoff. Not sure if It'll work or exactly how to do it.
I want to try to remove the final playoff cup stage from the league ( keep the first 4 playoff rounds ).
And then create another event/league with only one best of 7 tournament with that round in it.

Main League = 48 team season / 32 team playoff / 4 rounds / 2 teams remain
Cup tournament = 2 teams drawn from the other league's playoff 2 finalists / best of 7 / cup winner


Not sure how to make it visible or how to draw the 2 remaining teams from the 'other league'
Do you guys think its possible or guaranteed failure?


Cheers.
User avatar
ideawithoutamind
TBL Rosters Researcher
Posts: 123
Joined: Sat Apr 11, 2015 5:54 am
Custom Rank: Global United Hockey
Favourite Team: Boston Bruins

Edited new League / Crash at cup winning game

Post by ideawithoutamind »

Sakamoose wrote: Mon Jan 11, 2021 2:57 am I think I might have a plan B to achieve the 32 team playoff. Not sure if It'll work or exactly how to do it.
I want to try to remove the final playoff cup stage from the league ( keep the first 4 playoff rounds ).
And then create another event/league with only one best of 7 tournament with that round in it.

Main League = 48 team season / 32 team playoff / 4 rounds / 2 teams remain
Cup tournament = 2 teams drawn from the other league's playoff 2 finalists / best of 7 / cup winner


Not sure how to make it visible or how to draw the 2 remaining teams from the 'other league'
Do you guys think its possible or guaranteed failure?


Cheers.
That idea sounds a little bit more complicated, but if you can have a work around that makes it work, then go for. I still don't think it's the playoff teams, it's the number of teams in the league. (ie. going from 36 and 40 worked, 42, 44 (and your 48 team league seems to be broken.) This said, I'd definitely be curious to see what results you get from experimenting. I think drawing a team from another league will definitely throw an issue, somehow, but maybe you'll find a loophole.
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:

Edited new League / Crash at cup winning game

Post by archibalduk »

ideawithoutamind wrote: Sun Jan 10, 2021 7:28 pm
archibalduk wrote: Sun Jan 10, 2021 7:14 pm Very interesting. I'm going to send this to Riz.
Another note, I sent the db to Eck, he was able to run my db through 1.5, and it does not crash. He was having someone else look at it, but we think it might be a 1.4.x limitation. Do you know anyone that has successfully made a fully working 40+ NHL in 1.4.x?
I was running it through 1.5 too. I can quick sim past the date and it's fine but if I quick until just before the SC finals and then vacation sim, the game won't come out of vacation mode.
User avatar
ideawithoutamind
TBL Rosters Researcher
Posts: 123
Joined: Sat Apr 11, 2015 5:54 am
Custom Rank: Global United Hockey
Favourite Team: Boston Bruins

Edited new League / Crash at cup winning game

Post by ideawithoutamind »

This isn't completely the same issue, but another side note with those tests, I didn't notice at first, but I realized the draft is getting all sorts of wonky in the 40 team league. Every team and pick seems to be randomized at the draft. In the 40 team league, the winner doesn't pick last, and is somewhere in the middle. I've checked the different sims (using different playoff formats). The original 8 team conference. A modified 16 team conference. And another working version with 13 teams (3 Top Bye) to 8 playoffs, each version the draft gets completely randomized. Curious if this is also related to the # of teams.
User avatar
Sakamoose
Junior League
Posts: 9
Joined: Sat Jan 02, 2021 11:55 pm
Favourite Team: Lemmings

Edited new League / Crash at cup winning game

Post by Sakamoose »

OMG 1.5 is out!!!
Does this mean all my troubles are a thing of the past and life is but a dream?

UPDATE: Tested and 48 team league gets past the cup winning game!
I want to kiss you all!
User avatar
ideawithoutamind
TBL Rosters Researcher
Posts: 123
Joined: Sat Apr 11, 2015 5:54 am
Custom Rank: Global United Hockey
Favourite Team: Boston Bruins

Edited new League / Crash at cup winning game

Post by ideawithoutamind »

Yes I tested it earlier!

I think the limit is now 50 for the NHL!

I think non-NHL leagues now have a higher limit, too! Haven't done extensive testing but was running a 90 team league, but didn't finish editing in all the details.
User avatar
Sakamoose
Junior League
Posts: 9
Joined: Sat Jan 02, 2021 11:55 pm
Favourite Team: Lemmings

Edited new League / Crash at cup winning game

Post by Sakamoose »

ideawithoutamind wrote: Fri Apr 23, 2021 3:39 am Yes I tested it earlier!

I think the limit is now 50 for the NHL!

I think non-NHL leagues now have a higher limit, too! Haven't done extensive testing but was running a 90 team league, but didn't finish editing in all the details.
By NHL, you mean the game's main top league?
( I have replaced this one with my own league and the draft works )
If I understand right that one is the only one that can be assigned the entry draft?
Does this still stand in 1.5?
What happens in other leagues? Do they draft? How do they get new players?
Is there a way to have two main fully playable leagues with drafts or not?
So many questions :)
User avatar
ideawithoutamind
TBL Rosters Researcher
Posts: 123
Joined: Sat Apr 11, 2015 5:54 am
Custom Rank: Global United Hockey
Favourite Team: Boston Bruins

Edited new League / Crash at cup winning game

Post by ideawithoutamind »

Sakamoose wrote: Sat Apr 24, 2021 1:52 am By NHL, you mean the game's main top league?
Yes, whichever league is set on the ID=0 is the only one that works with the Entry draft (as far as I know).

I got working model of 50 teams going in that league, but don't think you can go over that.

I have a semi-working 90 team league working (not League = 0) Still tweaking it but it seems to be working with a simple Playoffs, still trying to test the limits of the Cups) Other leagues can use whichever method you like under the transfer rules (euro style with or without trades= buying players, north american style (with the exception of the main league)= buying players not under contract to another league.

If you have other questions feel free to ask, or hit me up on the discord. My name is Penguinrevolt on the EHM community discord



Definitely feel free to share if you've found any other new limitations related to this. Error handling is a bit better too this time around at least, too.
User avatar
Sakamoose
Junior League
Posts: 9
Joined: Sat Jan 02, 2021 11:55 pm
Favourite Team: Lemmings

Edited new League / Crash at cup winning game

Post by Sakamoose »

ideawithoutamind wrote: Sat Apr 24, 2021 3:28 am
Sakamoose wrote: Sat Apr 24, 2021 1:52 am By NHL, you mean the game's main top league?
Yes, whichever league is set on the ID=0 is the only one that works with the Entry draft (as far as I know).

I got working model of 50 teams going in that league, but don't think you can go over that.

I have a semi-working 90 team league working (not League = 0) Still tweaking it but it seems to be working with a simple Playoffs, still trying to test the limits of the Cups) Other leagues can use whichever method you like under the transfer rules (euro style with or without trades= buying players, north american style (with the exception of the main league)= buying players not under contract to another league.

If you have other questions feel free to ask, or hit me up on the discord. My name is Penguinrevolt on the EHM community discord



Definitely feel free to share if you've found any other new limitations related to this. Error handling is a bit better too this time around at least, too.
Thank you for your help. I don't have a discord account.
I've been at it since the 1.5 version was out. All my brick walls are gone ( for now ). My DB is coming along very nicely.

I managed to create the 48 team main league with two 48 team primary and secondary farm leagues.
I still have 3 more sub/side leagues to integrate.

For context. Its a fantasy league that began with my childhood friends in 1989 that we have been rolling along under different forms since then.
I was running it for a long time with my own homemade excel simulator which had its good and bad.

The biggest task right now is converting all the data from our old format and rating attributes which are quite different to this one and keeping a certain balance.
Something like 7000 'fake' players.. Anyhow. There is still so much to do but it's great.
Post Reply