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 »

Figured out how to fix it over additional email support from Archi (there was a big ass delete contract details button I didn't see :) ).
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 »

This may be a lot of work... so lower priority, but would be nice:
Search bar, searching accented letters

example: Tomas Tatar cannot be found typing Tatar or Tomas

His name in the db is: Tomás Tatár
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 »

One more request for player export.
Check box for player, non-player, or player/non-player as a filter.

Helps with exporting, and saves the step of removing all non-players from a batch player re-import.
Attesamme
Learning to skate
Posts: 2
Joined: Thu Mar 20, 2014 11:45 am

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

Post by Attesamme »

Hello!
Can't start up the editor because "VCRUNTIME140_1.dll" and "MSVCP140_1.dll" was not found. Please help
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 »

Those errors suggest you haven't installed the Redistributable:
INSTALLATION INSTRUCTIONS
IMPORTANT! You must first install the Microsoft Visual Studio 2019 Redistributable before you attempt to run the Editor otherwise it will crash. You must install the 64-bit version (also known as vcredist_x64.exe).

The Redistributable can be downloaded here: https://aka.ms/vs/16/release/VC_redist.x64.exe
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 »

Note to self: Add Nation long names when matching against city names.
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 Auto-Set PA there is one issue and two requests:

1) We noticed top end players are being set to PA values in the DB above 200, even though the UI is showing them as 200 an export has them showing as 200+. I'm honestly not even sure how that was possible.
2) We need a bypass filter to ignore certain firstname,lastname,dob combos from Auto-Set PA. This would apply to top end players (McDavid, MacK, Matthews etc) and late-blooming goalies who should still have a negative PA value (Sorokin, Swayman, Shetsky etc).
3) Can we use the same filter options as Auto-Set reputations? So I can run it against a specific club or league I am working on?

Edited
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 »

Very small ask, can you add age next to the officials name on the official screen, just like you do for players/staff?
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've been a little quiet on the Editor over the past 6 weeks or so mostly due to being busy with other stuff, helping with playable leagues in the Pivot Rosters and trying to progress Editor v2. I've spent some time going through the quicker/simpler requests today but the remaining ones will take some time to work on. What I might do is release whatever I can get done by say mid-week and then have another release or two at shorter intervals as and when I complete various of the requests.
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 add contract amount (min-max) to the staff filter.
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 »

Here is a new release (version 1.1.4): https://www.ehmtheblueline.com/forums/v ... 41#p206841

As set out in the changelist below, this includes most of the feature requests made over recent weeks. There are still a few more to incorporate but these are slightly more involved and so I will add this to a separate release rather than hold up releasing what I have done to date.

Hopefully most of the below is self-explanatory but obviously just shout if anything is unclear. The two items I wanted to briefly mention are those listed under the New Features heading below. You'll see that the Players & Staff screen now has the following additional fields:

Image

The button highlighted in green above will auto-populate the Future Nominal Weekly Wages fields on the Contract Details sub-screen based on the Annual Salary setting highlighted in green and the current contract expiry data. E.g. if you were to enter the Annual Salary as $5,200,000 with a contract expiring in two season's time, it would populate Years 1 and 2 with a weekly salary of £100,000. Years 3-10 would be set at zero given the contract length.

The field highlighted in red allows the Editor to auto-calculate the Two Way Percentage value based on the Minor League Annual Salary value. You just enter the minor league annual salary value and then hit either Enter or Tab. The Editor will then set the appropriate Two Way Percentage value on the Contract Details sub-screen. Note that the Minor League Annual Salary field is not saved to the database; it is simply to make entering the Two Way Percentage value easier for xECK29x (rather than having to calculate the percentage manually). For convenience, the same field is also present on the Contract Details sub-screen.

Note that you do not need to enable the Contract Details tab before using either of the above fields (i.e. you do not need to first click on the Set Player Contract Details button. The Editor will auto-add a Contract Details entry if one doesn't already exist when you use either of the above fields.

CHANGELIST: VERSION 1.1.4 (10-September-2021)

New Features:
  • Added a button next to the Annual Salary field on the Players & Staff screen which will automatically populate the Contract Details sub-screen with the Future Nominal Weekly Wages data; and
  • Added a Minor League Annual Salary field to the Players & Staff screen and the Contract Details sub-screen which will automatically calculate and set the player's Two Way Percentage field.
Fixes and Improvements:
  • Added ages sub-heading text to the Officials screen;
  • Added nation filtering to the Finance Info, Ruling Bodies, Schedule Templates and Transfer Rules screens;
  • Changed the "use nation short names" setting to "use nation short and long names" on the Import Spreadsheet screen;
  • Fixed a bug where the player's Club Contracted on the Contract Details sub-screen was being incorrectly set when navigating between players;
  • Fixed the Potential Ability tool setting Potential Abilities above 200 and added an auto-fix when saving existing databases;
  • Nation and Practice Facilities of clubs are now automatically set based on City and Arena when editing the City or Arena via the Editor;
  • Players with multiple positions set to 20 are now flagged as invalid in the Editor (via the "Has Errors" filter setting, flagged with a yellow background in the navigation list on the Players & Staff screen and with "[!!]" in the name of the Player Details tab on the Players & Staff screen);
  • Primary Nationality of staff or officials are now automatically set based on Birth City when editing the Birth City via the Editor;
  • Re-coded filters on the First Names, Second Names, Nations and States & Provinces screens; and
  • The long name of the club contracted is now shown in the sub-heading text on the Players & Staff screen.
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: Fri Sep 10, 2021 4:24 pm it is simply to make entering the Two Way Percentage value easier for xECK29x (rather than having to calculate the percentage manually)
My primitive brain thanks you so much for this!
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: Fri Sep 10, 2021 4:24 pm Players with multiple positions set to 20 are now flagged as invalid in the Editor (via the "Has Errors" filter setting, flagged with a yellow background in the navigation list on the Players & Staff screen and with "[!!]" in the name of the Player Details tab on the Players & Staff screen);
Request to also add the inverse of this check as well, players without any ONE position set to 20.
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 »

Awesome work as always, Archibalduk!

One slightly minor request if possible:
Image

Extra rules that reference UID's, any way to display the UID value by Long Name?
(read only column next to value that displays, the long name of the UID being referenced?)

Would be useful in example above as well as Continental Flag. (also potentially ok in a status type page to easily check if any of those values seem off, or incorrectly marked)
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: Thu Sep 16, 2021 9:06 pmRequest to also add the inverse of this check as well, players without any ONE position set to 20.
Will do.
ideawithoutamind wrote: Thu Sep 16, 2021 11:00 pmExtra rules that reference UID's, any way to display the UID value by Long Name?
(read only column next to value that displays, the long name of the UID being referenced?)
Sure I'll see how feasible this is. I can't make any promises though as the way Extra Rules work in the Editor is a bit of a mess (as with most of the Playable League tables, I was having to write the code before knowing how any of the settings really worked). I've already added this function for Editor v2 although I appreciate this doesn't help you right now!

Image
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 »

1.1.4 is amazing, the minor time saving QOL improvements are noticed already!
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: Sat Sep 18, 2021 9:46 pm 1.1.4 is amazing, the minor time saving QOL improvements are noticed already!
Seconded, just little things that add up to be huge time savers over long time periods of editing, thanks Archi for a great update!
juampa
Learning to skate
Posts: 3
Joined: Wed Sep 22, 2021 2:56 pm
Favourite Team: Seattle Kraken

The editor not run

Post by juampa »

The editor does not run, I downloaded the vcredistx86, but the same legend keeps appearing:
VCRUNTIME140_1.DLL WAS NOT FOUND
what's going on?
User avatar
Rono
Prospect
Posts: 57
Joined: Fri Sep 12, 2014 12:20 pm

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

Post by Rono »

Do I can edit 'subscribed database' via EHM Editor or not???

Help me please.

https://ctrlv.cz/shots/2021/09/22/W34y.png
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 Sep 20, 2021 1:04 am
TBIF wrote: Sat Sep 18, 2021 9:46 pm 1.1.4 is amazing, the minor time saving QOL improvements are noticed already!
Seconded, just little things that add up to be huge time savers over long time periods of editing, thanks Archi for a great update!
Thanks! I'm glad they're of help. :thup:
juampa wrote: Wed Sep 22, 2021 3:02 pm The editor does not run, I downloaded the vcredistx86, but the same legend keeps appearing:
VCRUNTIME140_1.DLL WAS NOT FOUND
what's going on?
Did you install the 2019 C++ Redistributable? It sounds like you didn't install the 2019 version or you're trying to run a very old version of the Editor.
Rono wrote: Wed Sep 22, 2021 5:41 pm Do I can edit 'subscribed database' via EHM Editor or not???

Help me please.

https://ctrlv.cz/shots/2021/09/22/W34y.png
Yes you can. You will need to find the database in your Steam Workshop folder and then make a copy of the database.db file (plus the .cfg files) and put them in a new sub-folder of your EHM database folder. You need to make a copy in a different folder because otherwise your edits will be overwritten when a new version of the Workshop database is released.

That said, the screenshot you have posted relates to you editing a saved game rather than a database. Editing of saved games is not supported and will likely irreversibly corrupt your saved game.
User avatar
Rono
Prospect
Posts: 57
Joined: Fri Sep 12, 2014 12:20 pm

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

Post by Rono »

archibalduk wrote: Wed Sep 22, 2021 8:10 pm Yes you can. You will need to find the database in your Steam Workshop folder and then make a copy of the database.db file (plus the .cfg files) and put them in a new sub-folder of your EHM database folder. You need to make a copy in a different folder because otherwise your edits will be overwritten when a new version of the Workshop database is released.

That said, the screenshot you have posted relates to you editing a saved game rather than a database. Editing of saved games is not supported and will likely irreversibly corrupt your saved game.
Thank you! It makes sense!

By the way, I already fixed it and now I edited saved games already sometimes and it's working right now. So do you think there is a chance it'll crush in future?
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 »

Rono wrote: Thu Sep 23, 2021 5:12 am
archibalduk wrote: Wed Sep 22, 2021 8:10 pm Yes you can. You will need to find the database in your Steam Workshop folder and then make a copy of the database.db file (plus the .cfg files) and put them in a new sub-folder of your EHM database folder. You need to make a copy in a different folder because otherwise your edits will be overwritten when a new version of the Workshop database is released.

That said, the screenshot you have posted relates to you editing a saved game rather than a database. Editing of saved games is not supported and will likely irreversibly corrupt your saved game.
Thank you! It makes sense!

By the way, I already fixed it and now I edited saved games already sometimes and it's working right now. So do you think there is a chance it'll crush in future?
Yes there is a chance it could crash in the future but it is impossible to be sure.
juampa
Learning to skate
Posts: 3
Joined: Wed Sep 22, 2021 2:56 pm
Favourite Team: Seattle Kraken

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

Post by juampa »

Finally I was able to install the editor, but now I have another problem: Every data that I edit in the Database (a player, a club, etc) when I try to load that file into the game, I get -Fatal Error- and the following sentence: V1. 4.1 select_leagues_screen.cpp 114
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 »

juampa wrote: Fri Sep 24, 2021 12:09 am Finally I was able to install the editor, but now I have another problem: Every data that I edit in the Database (a player, a club, etc) when I try to load that file into the game, I get -Fatal Error- and the following sentence: V1. 4.1 select_leagues_screen.cpp 114
Did you install the 1.5 beta from Steam?

Details on how to access the Public Beta can be found below:

- Open Steam
- Go to ‘Eastside Hockey Manager’ within your Steam Library
- Right-Click on the game and select 'Properties'
- Select the 'Beta'
- Via the 'Select the beta you would like to opt into' dropdown, select 'public beta'
- This will now begin the download process for the Public Beta update
- Close the Properties panel by clicking the ‘X’ in the top-right hand corner and launch the game when the download has completed
juampa
Learning to skate
Posts: 3
Joined: Wed Sep 22, 2021 2:56 pm
Favourite Team: Seattle Kraken

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

Post by juampa »

I have made it, thanks :joy:
Post Reply