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

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

Post by xECK29x »

For city synonyms we need to limit to to countries, so instead of searching on vienna,wien it should be vienna:aut,wien:aut as there is a Vienna Virginia for instance :)
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

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

Post by xECK29x »

Did we ever implement a mass-edit function for removing duplicate career history entries? If not, that would be super helpful!
User avatar
TBIF
Top Prospect
Posts: 106
Joined: Sun Jan 01, 2017 8:38 pm
Custom Rank: 2000/01 Rosters Author
Favourite Team: Canucks

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

Post by TBIF »

Club/Comp synonyms working perfectly with update. What a huge life/time saver.

Thanks Archi for implementation and Eck for telling me to use 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:

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

Post by archibalduk »

xECK29x wrote: Mon Jul 12, 2021 3:46 pm For city synonyms we need to limit to to countries, so instead of searching on vienna,wien it should be vienna:aut,wien:aut as there is a Vienna Virginia for instance :)
I'll have a look but it might be a rather involved change because it would need to be done in a way which does not limit the way in which cities are matched in the DB (which allows various combinations of City:NationName, City:State:NationName, City:NationThreeLetterAbbreviation and City:State:NationThreeLetterAbbreviation). I left it flexible because I figured that the chances of a country/state having, say, both a Wien and a Vienna must be very low (e.g. I assume there is no Wien in Virginia) - or is there a specific circumstance which is going to cause a headache?
xECK29x wrote: Wed Jul 14, 2021 1:16 pm Did we ever implement a mass-edit function for removing duplicate career history entries? If not, that would be super helpful!
I implemented the reporting tool you asked for which you can find on the Export Spreadsheet screen under Duplicate Career History. If you'd like an automated duplicate history deletion tool then let me know what criteria should apply in order to determine whether one record is a duplicate of another.
TBIF wrote: Wed Jul 14, 2021 8:43 pm Club/Comp synonyms working perfectly with update. What a huge life/time saver.

Thanks Archi for implementation and Eck for telling me to use it!
Thanks for confirming that it works with you too :thup:
User avatar
TBIF
Top Prospect
Posts: 106
Joined: Sun Jan 01, 2017 8:38 pm
Custom Rank: 2000/01 Rosters Author
Favourite Team: Canucks

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

Post by TBIF »

Minor feature request, when creating new staff, if primary nation could auto generate connected with cities nationality, I'm not sure if that's possible but would save a few clicks and types.
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

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

Post by xECK29x »

archibalduk wrote: Wed Jul 14, 2021 9:49 pm I'll have a look but it might be a rather involved change because it would need to be done in a way which does not limit the way in which cities are matched in the DB (which allows various combinations of City:NationName, City:State:NationName, City:NationThreeLetterAbbreviation and City:State:NationThreeLetterAbbreviation). I left it flexible because I figured that the chances of a country/state having, say, both a Wien and a Vienna must be very low (e.g. I assume there is no Wien in Virginia) - or is there a specific circumstance which is going to cause a headache?
I see what you are saying I'll have to do more testing, but really what triggered my post is I was looking at Vienna under Cities and saw the synonym for the one in Virginia, I'm just afraid of things getting linked wrong.
archibalduk wrote: Wed Jul 14, 2021 9:49 pm I implemented the reporting tool you asked for which you can find on the Export Spreadsheet screen under Duplicate Career History. If you'd like an automated duplicate history deletion tool then let me know what criteria should apply in order to determine whether one record is a duplicate of another.
Ahh ok, I knew we did something. Yes I would love to implement a function where you can mass-delete a clear duplicate entry (all fields match each other for a specific season).
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

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

Post by xECK29x »

TBIF wrote: Thu Jul 15, 2021 6:02 am Minor feature request, when creating new staff, if primary nation could auto generate connected with cities nationality, I'm not sure if that's possible but would save a few clicks and types.
I can see this being an issue with a city like Moscow, there is one in Russia but also a town in the US.
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

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

Post by xECK29x »

Another smaller (only to solve my laziness) mass-edit function request to auto-fix positions based on player type (if you have a player who is LW 15, C 20, RW 12 but listed as a Winger player type auto change them to the appropriate Center player type). Reasoning for this is when we scrape EP sometimes it will change the primary positions of players, would want to auto-set the corrected player type if those change and we don't manually touch up, would be something I would run every once in a while before publishing, along with my other mass-edit functions I do already (potential, strength, reputations etc).
User avatar
TBIF
Top Prospect
Posts: 106
Joined: Sun Jan 01, 2017 8:38 pm
Custom Rank: 2000/01 Rosters Author
Favourite Team: Canucks

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

Post by TBIF »

xECK29x wrote: Thu Jul 15, 2021 7:52 pm TBIF wrote: ↑Thu Jul 15, 2021 7:02 am
Minor feature request, when creating new staff, if primary nation could auto generate connected with cities nationality, I'm not sure if that's possible but would save a few clicks and types.
I can see this being an issue with a city like Moscow, there is one in Russia but also a town in the US.
I meant more when you use the drop down function in the editor, select Moscow (rus) you still need to type in Russia for primary. Just something that line the (xx) to primary nation instantly.


Also +1 on this:

"Another smaller (only to solve my laziness) mass-edit function request to auto-fix positions based on player type (if you have a player who is LW 15, C 20, RW 12 but listed as a Winger player type auto change them to the appropriate Center player type). Reasoning for this is when we scrape EP sometimes it will change the primary positions of players, would want to auto-set the corrected player type if those change and we don't manually touch up, would be something I would run every once in a while before publishing, along with my other mass-edit functions I do already (potential, strength, reputations etc)."
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:

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

Post by archibalduk »

All of the above is very doable and is on my list - except for the "filter by club" point below but that's simply because we need to agree how it would work in practice first. If the city synonyms cause any issue then let me know and I'll move it up my list but otherwise I'll leave it as low priority given the extent of the work that would be involved.
xECK29x wrote: Thu Jul 15, 2021 7:52 pm
TBIF wrote: Thu Jul 15, 2021 6:02 am Minor feature request, when creating new staff, if primary nation could auto generate connected with cities nationality, I'm not sure if that's possible but would save a few clicks and types.
I can see this being an issue with a city like Moscow, there is one in Russia but also a town in the US.
This shouldn't be a problem because the Editor can just pull the nationality of the city and use that to set the player's primary nationality.
TBIF wrote: Mon Jul 12, 2021 1:14 am Not sure how viable it would be but I'd love an option that if you have "filter by club" active and hit "Add New" staff it would auto set to that club so you don't have to clear filters in the Editor.
I agree it's a bit of an annoyance when you add a new player/club/etc and it is hidden because you have a filter set. I don't think it could be set to the new player's club because the player wouldn't have a club set when first added. The only thing I can think of is that the filter should be auto-cleared in order to allow you to see the newly created player/club/etc.
xECK29x wrote: Thu Jul 15, 2021 7:51 pmAhh ok, I knew we did something. Yes I would love to implement a function where you can mass-delete a clear duplicate entry (all fields match each other for a specific season).
So if we go with Club, Competition, Season, GP, G and A all the same? I'm just thinking about balancing performance against ensuring that entries are sufficiently the same. Comparing +/- and Svs seems superfluous to me but let me know if you disagree and I'll include them too.
xECK29x wrote: Thu Jul 15, 2021 7:55 pm Another smaller (only to solve my laziness) mass-edit function request to auto-fix positions based on player type (if you have a player who is LW 15, C 20, RW 12 but listed as a Winger player type auto change them to the appropriate Center player type). Reasoning for this is when we scrape EP sometimes it will change the primary positions of players, would want to auto-set the corrected player type if those change and we don't manually touch up, would be something I would run every once in a while before publishing, along with my other mass-edit functions I do already (potential, strength, reputations etc).
One thing I'll need to check is that there is an equivalent Role for each position but otherwise this should be no problem. I think converting from defenceman to forward (and vice versa) would require a bit more thought as we'd need to figure out what the approximate equivalents are but this shouldn't be a big issue.
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

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

Post by xECK29x »

archibalduk wrote: Sat Jul 17, 2021 11:11 am So if we go with Club, Competition, Season, GP, G and A all the same? I'm just thinking about balancing performance against ensuring that entries are sufficiently the same. Comparing +/- and Svs seems superfluous to me but let me know if you disagree and I'll include them too.
I would want an exact match across all rows. Sometimes players can have almost identical stat lines in multiple years.
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

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

Post by xECK29x »

archibalduk wrote: Sat Jul 17, 2021 11:11 am One thing I'll need to check is that there is an equivalent Role for each position but otherwise this should be no problem. I think converting from defenceman to forward (and vice versa) would require a bit more thought as we'd need to figure out what the approximate equivalents are but this shouldn't be a big issue.
We usually make that call (to which wing) based on the primary D side, LD -> LW etc.
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

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

Post by xECK29x »

Another small request, can you add Non-Player support for 'Auto-set Potential Ability' and 'Reputations' based on the following guidance?

Age:
Anyone under 50 should have a PA range (leave alone)
50-51 - PA=CA +10
52-53 - PA=CA+8
54-55 - PA=CA+6
56-57 - PA=CA+4
58-59 - PA=CA+2
60+ PA=CA

Reputations use Home + Current = CA World = CA -20 (just to make it easy)
User avatar
TBIF
Top Prospect
Posts: 106
Joined: Sun Jan 01, 2017 8:38 pm
Custom Rank: 2000/01 Rosters Author
Favourite Team: Canucks

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

Post by TBIF »

Is it possible to have an option to ignore spaces + parentheses and anything after "(" in the search function?

My thought process is copy and pasting from the roster section of Eliteprospects, it's usally "Last Name" (C/LW) as an example. So being able to paste in "Last Name" (C/LW) and it only return "Last Name"
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

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

Post by ideawithoutamind »

Would it be possible to add an export players by NHL (specifically league rights, not club / league contracted)?
Last edited by ideawithoutamind on Thu Jul 22, 2021 7:58 pm, edited 1 time in total.
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

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

Post by xECK29x »

ideawithoutamind wrote: Thu Jul 22, 2021 6:01 pm Would it be possible to add an export players by NHL (or league rights)?
You can export by league (Club Competition) already for both players/staff and player rights.
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

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

Post by ideawithoutamind »

xECK29x wrote: Thu Jul 22, 2021 7:36 pmYou can export by league (Club Competition) already for both players/staff and player rights.
Thanks, Im looking for league / team rights, like a recently drafted player or updating prospect pools for unsigned players.

You can indirectly do it through a series of exports and filtering, but would be a nice feature to grab the prospects all at once.
User avatar
TBIF
Top Prospect
Posts: 106
Joined: Sun Jan 01, 2017 8:38 pm
Custom Rank: 2000/01 Rosters Author
Favourite Team: Canucks

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

Post by TBIF »

Minor request, could we get an option to display team full name instead of short name under the player header on profiles?

Currently looks like:

Brock Boeser
Age/Player/#/Vancouver

Would love an option to display

Brock Boeser
Age/Player/#/Vancouver Canucks

My thinking is for quick copy and paste into the extra config for University and Euro teams where the short name and long name really differ. I wouldn't need it on all the time but just a tick box under settings would be amazing.
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:

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

Post by archibalduk »

I haven't been around much this week, but I'll take a look at all of the above.
User avatar
TBIF
Top Prospect
Posts: 106
Joined: Sun Jan 01, 2017 8:38 pm
Custom Rank: 2000/01 Rosters Author
Favourite Team: Canucks

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

Post by TBIF »

One more auto fill request (I know its not always the same)

When filling in Club Arenas it would be grand if Practice Facilities auto filled, if its not the same same it's the same amount of clicks to correct it as it is now, but having it auto fill would save a ton of clicking for me. (And my wifes sanity)
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

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

Post by xECK29x »

Small QOL request, a search/filter field on the Historical Club Names page (similar to draft history) would be helpful.
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

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

Post by xECK29x »

Small request to change the "Auto-Set Potential" for goalies, can we alter it so it will only apply to goalies 27+? Ignore PA values for ages 24-26 as goalies tend to grow later. Guys like Sorokin/Shestyorkin I'd want to still have PA values even though they are over 25.
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

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

Post by xECK29x »

It appears there is a bug with the Editor/game. If I add a NTC clause to a contract it causes it to show fine for the first year but any subsequent year its marked as $0.

Image
Last edited by xECK29x on Thu Jul 29, 2021 1:58 pm, edited 1 time in total.
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

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

Post by xECK29x »

xECK29x wrote: Wed Jul 28, 2021 9:43 pm It appears there is a bug with the Editor/game. If I add a NTC clause to a contract it causes it to show fine for the first year but any subsequent year its marked as $0.
Just a note on this, I tried a few things, changing the length, amount, and team (including dropped to FA). It appears this bug is tied to the UID of the player.
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:

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

Post by archibalduk »

I mentioned this in my email, but I thought I'd mention it here in case anyone else runs into the above: It's because you haven't entered the Future Nominal Weekly Wages figures for him. If you want to add contract details then you have to set the Wages figures. If that's proving awkward then maybe we could ask Riz if the game could auto-calculate the figures based on the Annual Salary setting. I can probably add something to the Editor to auto-populate this too.

Btw the figures I put in the below are just as an example; they don't need to increment by one Dollar each year. The final one is intentionally zero to show how this then appears in game.

Image
Post Reply