EHM 1 Database & Saved Game Editor v1: BUG REPORTS & FEATURE REQUESTS

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
xECK29x
TBL Rosters Researcher
Posts: 1010
Joined: Sun May 03, 2015 2:52 pm
Custom Rank: Premier Pivot Rosters Man
Favourite Team: New York Islanders

Re: EHM 1 Database & Saved Game Editor

Post by xECK29x »

Townsy17 wrote:Hi, just a quick question. Using the TBL 9.1 Rosters, I tried adding a bunch of the top rookies from the OHL draft so they would be in the game. Originally, I only added Suzuki and created a new game just to see if it would work, which it did. Then, I added a few more players, edited some attributes for other players, and updated the draft history of a few players drafted last year. However, upon doing so, I went to start a new game and got this fatal error: v1.4.1 select_leagues_screen.cpp 114 - I don't know whether it was updating the draft histories that did it, but for some reason it won't work anymore. Any help on this would be greatly appreciated, cheers.
Wow crazy i have the same issue, I recently changed some junior players as well so that must be the issue, try checking if maybe the junior teams you edited happen to have too many players, that is what I am about to look into myself. I did also attempt to fix the duplicated Garrett Metcalfe/Metcalf issue in the TBL rosters, I did attempt editing draft information as well, but reverted it.
User avatar
xECK29x
TBL Rosters Researcher
Posts: 1010
Joined: Sun May 03, 2015 2:52 pm
Custom Rank: Premier Pivot Rosters Man
Favourite Team: New York Islanders

Re: EHM 1 Database & Saved Game Editor

Post by xECK29x »

Have a feeling 114 may be a club ID, is there an easy way to identify the club?

Edit: I was wrong, see below
Last edited by xECK29x on Tue Apr 11, 2017 12:32 am, edited 1 time in total.
fredriiklarsson
Learning to skate
Posts: 1
Joined: Wed Apr 05, 2017 6:12 pm
Favourite Team: LA KINGS

Re: EHM 1 Database & Saved Game Editor

Post by fredriiklarsson »

Is it possible to export team colours and import them in to a new database?
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 »

xECK29x wrote:BTW that error I was getting is completely related to editing draft history, it appears this is completely bugged in the editor/database if modified. Even restoring the values/retiring the players does nothing to fix this issue.
Thanks for reporting! I'll check it out next weekend.
User avatar
xECK29x
TBL Rosters Researcher
Posts: 1010
Joined: Sun May 03, 2015 2:52 pm
Custom Rank: Premier Pivot Rosters Man
Favourite Team: New York Islanders

Re: EHM 1 Database & Saved Game Editor

Post by xECK29x »

archibalduk wrote:
xECK29x wrote:BTW that error I was getting is completely related to editing draft history, it appears this is completely bugged in the editor/database if modified. Even restoring the values/retiring the players does nothing to fix this issue.
Thanks for reporting! I'll check it out next weekend.
Excellent, if you can help fix this DB it will save me a few weeks of work :). If you would like the DB to look at just PM me. Keep up the great work!
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: EHM 1 Database & Saved Game Editor

Post by Named »

archi: is there possibility to add to editor options of moving up and down Stages and also copying them? Seems order of stages sometimes had affect to drawing rounds but i'm not yet figure it out :-k No matter of which dates are implemented to rounds they sometimes draw after previous Stages with completely different dates.
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 »

I have moved the discussion regarding the extra_config settings to the extra_config thread here: http://www.ehmtheblueline.com/forums/vi ... 82#p225386
Named wrote:archi: is there possibility to add to editor options of moving up and down Stages and also copying them? Seems order of stages sometimes had affect to drawing rounds but i'm not yet figure it out :-k No matter of which dates are implemented to rounds they sometimes draw after previous Stages with completely different dates.
I'll have a think about this. It should be possible.
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: EHM 1 Database & Saved Game Editor

Post by Named »

Thanks. :) it would be really helpfull as we dont have to redo Stages and just move them up or down. They seems had higher priority than Schedule Dates in game. Also I have a question that option "Stage name" from Stage main screen in Rules & Structures is correct showing options to choose? I think we should be able to read defined Stage Names but it display the same thing as Competition above them. Could You check it? I post some screen to explain more what i mean. :)

Image
RomanS90
Junior League
Posts: 5
Joined: Wed Apr 05, 2017 5:13 am
Favourite Team: Tampa Bay

Re: EHM 1 Database & Saved Game Editor

Post by RomanS90 »

Good afternoon! Tell me, can I change the roaster settings with this editor? I can not create a new manager. I try to add through the editor, it gives an error: the maximum number of managers has been exceeded.

The second question, can you say how to add a new team to the NHL? Vegas, for example. In an already existing game.
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 »

Named wrote:Also I have a question that option "Stage name" from Stage main screen in Rules & Structures is correct showing options to choose? I think we should be able to read defined Stage Names but it display the same thing as Competition above them. Could You check it? I post some screen to explain more what i mean. :)
Thanks! I have now fixed this. :thup:
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 »

RomanS90 wrote:Good afternoon! Tell me, can I change the roaster settings with this editor? I can not create a new manager. I try to add through the editor, it gives an error: the maximum number of managers has been exceeded.

The second question, can you say how to add a new team to the NHL? Vegas, for example. In an already existing game.
It sounds like you are editing a saved game. You cannot move players between rosters in saved games (is this what you mean by "roster settings"?).

You cannot add new teams to an existing playable league in saved games.
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: EHM 1 Database & Saved Game Editor

Post by Named »

Archi could You also check that Competition Name? They seems sometimes appear in game, sometimes not. Also seems option from this screen. "Overall standings Stage" crashing game. Have we got any feedback how tu use this option? I have some idea to use it but getting crashes :D

EDIT: Maybe i found some feedback 4 You. When i mark this option League Competitions Names appears like on a screen. Something seems connected :-k. EIHL works with this option.

Image
Last edited by Named on Mon Apr 17, 2017 2:23 pm, edited 1 time in total.
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 »

xECK29x wrote:
archibalduk wrote:
xECK29x wrote:BTW that error I was getting is completely related to editing draft history, it appears this is completely bugged in the editor/database if modified. Even restoring the values/retiring the players does nothing to fix this issue.
Thanks for reporting! I'll check it out next weekend.
Excellent, if you can help fix this DB it will save me a few weeks of work :). If you would like the DB to look at just PM me. Keep up the great work!
I think the error is caused by the ordering of the Drafted Players (i.e. draft history) table. The current Editor does not actually delete the records you delete (it just makes then invalid) which is why deleting them does not resolve the issue. I've added proper deletion (which enables the DB to work again) and am now looking at what ordering is required in order to enable new records to be added correctly.
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 »

archibalduk wrote:I think the error is caused by the ordering of the Drafted Players (i.e. draft history) table. The current Editor does not actually delete the records you delete (it just makes then invalid) which is why deleting them does not resolve the issue. I've added proper deletion (which enables the DB to work again) and am now looking at what ordering is required in order to enable new records to be added correctly.
It turns out that it wasn't the ordering that was causing the issue but rather the spare First and Second Name indexes used in the table. It seems the game will crash unless these are set to zero. I'll check this one with Riz because I'm not sure this is working as expected.
szczepek25
Junior League
Posts: 48
Joined: Thu May 07, 2015 3:22 pm
Favourite Team: Poland
Location: Kraków

Re: EHM 1 Database & Saved Game Editor

Post by szczepek25 »

Named wrote:Archi could You also check that Competition Name? They seems sometimes appear in game, sometimes not. Also seems option from this screen. "Overall standings Stage" crashing game. Have we got any feedback how tu use this option? I have some idea to use it but getting crashes :D

EDIT: Maybe i found some feedback 4 You. When i mark this option League Competitions Names appears like on a screen. Something seems connected :-k. EIHL works with this option.

Image

Named... :joy: :notworthy:
User avatar
MikelPickle
Prospect
Posts: 70
Joined: Sat May 23, 2015 3:22 am
Favourite Team: Boston Bruins/Syracuse Crunch

Re: EHM 1 Database & Saved Game Editor

Post by MikelPickle »

I cannot edit a saved game in the editor. Every time I try to, it says Result :Failure

Image
RomanS90
Junior League
Posts: 5
Joined: Wed Apr 05, 2017 5:13 am
Favourite Team: Tampa Bay

Re: EHM 1 Database & Saved Game Editor

Post by RomanS90 »

Sorry! I repeat the request. How can I add another general manager to my game? If there is a limited number of general managers in the roster settings.
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: EHM 1 Database & Saved Game Editor

Post by Named »

RomanS90 SCREEN.
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 »

RomanS90 wrote:Sorry! I repeat the request. How can I add another general manager to my game? If there is a limited number of general managers in the roster settings.
As I mentioned above, saved game editing is very limited. It should not be used to move or add new players, staff or human managers.
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 »

MikelPickle wrote:I cannot edit a saved game in the editor. Every time I try to, it says Result :Failure

Image
Can you post a fuller screenshot of the log please? It is not possible to see what you are doing with just those two lines.
User avatar
MikelPickle
Prospect
Posts: 70
Joined: Sat May 23, 2015 3:22 am
Favourite Team: Boston Bruins/Syracuse Crunch

Re: EHM 1 Database & Saved Game Editor

Post by MikelPickle »

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: EHM 1 Database & Saved Game Editor

Post by archibalduk »

Thanks. The reason for the error is because you're trying to load a compressed saved game. You need to disable the Save Compressed setting in EHM and re-save the game.
User avatar
MikelPickle
Prospect
Posts: 70
Joined: Sat May 23, 2015 3:22 am
Favourite Team: Boston Bruins/Syracuse Crunch

Re: EHM 1 Database & Saved Game Editor

Post by MikelPickle »

I was just trying to edit the NHL Salary Cap, but I cant seem to find where to do it. Is there a way 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: EHM 1 Database & Saved Game Editor

Post by archibalduk »

MikelPickle wrote:I was just trying to edit the NHL Salary Cap, but I cant seem to find where to do it. Is there a way to do it?
The Transfer Rules screen contains these settings. However, editing of saved games is very limited and you might find it does not work as expected or at all.
User avatar
MikelPickle
Prospect
Posts: 70
Joined: Sat May 23, 2015 3:22 am
Favourite Team: Boston Bruins/Syracuse Crunch

Re: EHM 1 Database & Saved Game Editor

Post by MikelPickle »

When I change something in the editor (Salary cap, team name, affiliation,etc.), it switches up each players position and randomizes their history.
Image
Image
Image
Post Reply