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 »

archibalduk wrote: Sun Aug 07, 2022 2:39 pm Added the ability to mass delete identical player career history where one entry relates to an inactive club and one entry relates to an active club (the inactive club entry will be deleted) via the People -> Mass Edit menu; and
From what I can tell this test did exactly what I requested, cleaned up about 6600 entries!
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 »

Excellent!
User avatar
DucksFAN88
Junior League
Posts: 6
Joined: Tue Nov 01, 2016 6:15 pm
Favourite Team: Anaheim Ducks

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

Post by DucksFAN88 »

Hi.. i have one big problem with SLOVAK league... after passing January, it will skip to the next season in my player history.. for example, the 2022/2023 season and from January it will skip to 2023/2024.. the other leagues have it right.. don't you know where the problem might be? ..used database - xECK29x s Premier Pivot Database (v7.2) (2022) ...
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 »

DucksFAN88 wrote: Sun Sep 04, 2022 4:03 pm Hi.. i have one big problem with SLOVAK league... after passing January, it will skip to the next season in my player history.. for example, the 2022/2023 season and from January it will skip to 2023/2024.. the other leagues have it right.. don't you know where the problem might be? ..used database - xECK29x s Premier Pivot Database (v7.2) (2022) ...
Known game bug, can you make a post here and upload your save game using the instructions provided in the sticky thread?

https://community.sigames.com/forums/fo ... ugs-forum/
User avatar
DucksFAN88
Junior League
Posts: 6
Joined: Tue Nov 01, 2016 6:15 pm
Favourite Team: Anaheim Ducks

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

Post by DucksFAN88 »

xECK29x wrote: Mon Sep 05, 2022 1:38 am
DucksFAN88 wrote: Sun Sep 04, 2022 4:03 pm Hi.. i have one big problem with SLOVAK league... after passing January, it will skip to the next season in my player history.. for example, the 2022/2023 season and from January it will skip to 2023/2024.. the other leagues have it right.. don't you know where the problem might be? ..used database - xECK29x s Premier Pivot Database (v7.2) (2022) ...
Known game bug, can you make a post here and upload your save game using the instructions provided in the sticky thread?

https://community.sigames.com/forums/fo ... ugs-forum/

I found a post from 2021 with this problem but no response
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 »

DucksFAN88 wrote: Mon Sep 05, 2022 5:28 pm I found a post from 2021 with this problem but no response
You may not get one, or an immediate fix, but the more people that post things the more attention I can get it from the developer when he does put time in to work on the next release.
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 »

Just found out the hard way that the Delete button now works on the players and staff page, can you add a pop up confirming the deletion?
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 »

Sure I'll take a look. :thup:
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 thing, can you add a "Reset Table Order" button to the Clubs -> Player/Staff Roster tabs?
User avatar
Konstantinov16
Top Prospect
Posts: 133
Joined: Thu Aug 25, 2005 4:11 am
Location: Michigan
Contact:

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

Post by Konstantinov16 »

Keep in mind I am a really stupid person. I edited the 92-93 rosters from the workshop, and when I go to start a new game, I get the error message "Fatal select league 1.4.1"
User avatar
Konstantinov16
Top Prospect
Posts: 133
Joined: Thu Aug 25, 2005 4:11 am
Location: Michigan
Contact:

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

Post by Konstantinov16 »

Well I figured out how to edit the database directly instead of saving to a game and doing it, but when I try to load the database in the editor, it freezes at 86% finance info every time
User avatar
Konstantinov16
Top Prospect
Posts: 133
Joined: Thu Aug 25, 2005 4:11 am
Location: Michigan
Contact:

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

Post by Konstantinov16 »

Konstantinov16 wrote: Tue Nov 29, 2022 9:00 am I edited the 92-93 rosters from the workshop, and when I go to start a new game, I get the error message "Fatal select league 1.4.1"
Seems I'm getting this error with any edited database. Just downloaded and edited the 98-99 database and got 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 »

It sounds like you're trying to run a version 1.5 database in v1.4 of the game. Have you opted into the game beta in Steam? If not, you will need to do this.
User avatar
Konstantinov16
Top Prospect
Posts: 133
Joined: Thu Aug 25, 2005 4:11 am
Location: Michigan
Contact:

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

Post by Konstantinov16 »

archibalduk wrote: Wed Nov 30, 2022 7:44 am It sounds like you're trying to run a version 1.5 database in v1.4 of the game. Have you opted into the game beta in Steam? If not, you will need to do this.
Yeah it looks like that was probably it, thanks!
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 »

Qt now natively supports dark mode, so I'll be able to easily add this to the next release of Editors v1 and v2. This is good news as trying to craft this by hand for v2 has been a rather painful trial and error approach.

EDIT: Looks like I can't back-port it to v1 for now but v2 is up and running with this. I will see how much work it would involve in order to back-port and will then make a decision on v1.
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

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

Post by Named »

Not sure If you aware when You open current save with 1.5.0b version and You made edit inside save it saves in 1.4.x. Maybe might be better to allow Editor default save with version of saved game?

EDIT:

ok now I see is bigger problem. Even I save with 1.5.0b in right corner it displays 1.4.x and causes saves corrupt. Also even I didn't make any change in save after saving and loading in game it displays error. That's bad cause in previous version we were able to edit live competitions during sim. Could You have a look on it? In previous versions it worked fine and You don't have to make whole sim from beginning.

EDIT2:

Now it's funny. When You use Save options not Save As it somehow opens in EHM. :)

EDIT3:
I opened succesfully just once so any options with live not working :/

EDIT4:
Finally even I saved succesfully and loaded in EHM it crashes after loading screen so seems kind of Editor bug as this procedure worked severals versions before 1.5 :) Would be nice if You can debug this and fix.
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 »

Named wrote: Sat Apr 08, 2023 11:01 amNot sure If you aware when You open current save with 1.5.0b version and You made edit inside save it saves in 1.4.x. Maybe might be better to allow Editor default save with version of saved game?
I see what you mean. The Editor was forcing v1.4.x when saving saved games rather than preserving the original version number. I've fixed this for the upcoming release.
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 »

A new release of Editor v1 is incoming this week. I'd actually hoped to have it online today but I've ended up going down a bit of rabbit hole re-writing the Export Data screen/functions. This was necessary in order to allow the ability to export items flagged as invalid only and it will have the benefit of making it easier to expand export functionality in the future if needs be. The downside is that it has been a big task and I've lost time I'd hoped to spend on Editor v2 this week - but it's definitely worth it as hopefully it'll be a useful addition to Editor v1.
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 »

Version 1.2.0 of the EHM Editor is now available here: https://github.com/archibalduk/Eastside ... v1.2.0.zip

This is a fairly hefty update, not only because of the number of fixes/additions but also because of some extensive re-coding relating to the spreadsheet exporting functions and also a general code update. For this reason I have moved the version numbering up from 1.1.x to 1.2.x. I've also changed the formatting of the changelist (see below) to hopefully make it better organised and easier to read.

CHANGELIST: VERSION 1.2.0 (11-April-2023)

IMPORTANT! The Editor now uses the Microsoft Visual Studio 2022 Redistributable 64-bit version.

General
  • Added a button to reset the table sorting order on the Clubs -> Player Roster and Staff Roster sub-screens;
  • Added a setting to automatically make players/non-players free agents if they are assigned to an inactive team. If the player/non-player is playing for an inactive team but is contracted to an active team, he will be auto-recalled to his contracted team. The setting is enabled by default and can be toggled via Settings -> Database;
  • Added the option to display a confirmation pop-up dialog when clicking on the Delete button on any editing screen in order to prevent accidental deletion of an item. This must be enabled via the Settings -> General screen;
  • Strengthened the pop-up window displayed when opening the Editor for the first time in order to clarify the risk of editing a saved game;
  • Upgraded QXlsx from version 1.4.3 to 1.4.5 and optimised the manner in which the library is incorporated into the Editor;
  • OpenSSL details now shown in Help -> About in preparation for fixing the online update notification; and
  • Replacement of various deprecated Qt5 code/functions with Qt6-compatible equivalents.
Bug fixes
  • Fixed saved games being force saved to DB v1.4.1; and
  • Minor League Annual Salary on the Players & Staff screen now resets to zero when navigating to a new item and correctly updates the Two-Way Percentage setting on the Contract Details sub-screen.
Data Validation when loading or saving a database
  • Added a setting to automatically make players/non-players free agents if they are assigned to an inactive team. If the player/non-player is playing for an inactive team but is contracted to an active team, he will be auto-recalled to his contracted team. The setting is enabled by default and can be toggled via Settings -> Database;
  • Each team's Last Division is now auto-set where it has been set to [none] or where it is the same as its current division. In such instances the Last Division is set to the team's last division based on its team history or, where the team doesn't have any history, it is set the same as its current division; and
  • Invalid affiliations are now auto-deleted. An affiliation where the Upper Club and Lower Club are the same is now treated as an invalid affiliation.
Error conditions
  • An affiliation where the Upper Club and Lower Club are the same is now treated as an Affiliation error condition;
  • A non-player (including a player/coach) loaned to another team is a Staff error condition;
  • A player/non-player with a primary or secondary nationality set to an inactive nation is now a Staff error condition;
  • An overage player is now a Staff error condition (see change note regarding overage player mass editing for details on what constitutes an overage player).
Importing & exporting data
  • UTF-8 BOM support for when exporting csv spreadsheets. This must be enabled via the Settings -> General screen; and
  • Substantial re-coding of the Export Spreadsheets function to include:
    -- options to export all entries, valid entries only or invalid entries only (e.g. where a player/non-player is assigned to an invalid team);
    -- options to export just the selected spreadsheet type or all spreadsheet types (i.e. one click will export every spreadsheet listed in the left-hand menu on the Export Spreadsheet screen); and
    -- a small number of additional spreadsheets now allow for club competition and/or nation filtering;
    -- a general tidy-up of the Export Spreadsheet screen.
Mass Editing
  • Added an overage player deletion mass editor on the People tab. A preview spreadsheet of overage players is displayed before proceeding. This allows for:
    -- making any overage player a free agent if they are contracted to a team that plays in a league with an age restriction;
    -- making any overage player a free agent if they are playing for a team that plays in a league with an age restriction (the Editor will recall the player to their contracted club if he is not considered an overage player in his contracted club); and
    -- deleting any player rights where the player is too old to play in the league relating to those rights.
Image

Image
bbanguking
Learning to skate
Posts: 1
Joined: Mon May 22, 2023 7:00 am
Favourite Team: Vancouver Canucks

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

Post by bbanguking »

This is rather minor, but I last played pre-1.5 and I was playing around with some of the new draft settings. There's an option to set "Draft minimum age (domestic players)" but based on my testing, this should actually read "maximum age" (this is also what's written on the test notes published on this site). I actually played around with these and it only affects the maximum age of US/Canadian draftable players. It also says that it "overrides" the All Player settings but this isn't actually the case: not an editor bug, this is probably an actual bug.
User avatar
DK_Hockey
Junior League
Posts: 32
Joined: Wed May 04, 2011 7:29 am

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

Post by DK_Hockey »

I've started a save with Frederikshavn White Hawks in the Danish league.
There are a couple of contracts I'd like to change, but when I alter them in EHM Editor 1.2 (save game editor) and click save, the players' contracts remain the same, and nothing has changed.
What am I doing wrong?

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

DK_Hockey wrote: Mon Jan 01, 2024 2:21 pm I've started a save with Frederikshavn White Hawks in the Danish league.
There are a couple of contracts I'd like to change, but when I alter them in EHM Editor 1.2 (save game editor) and click save, the players' contracts remain the same, and nothing has changed.
What am I doing wrong?
Unfortunately you cannot edit contract details in saved games. You could try using the EHM Assistant but I'm afraid I don't know to what extent it is possible using the Assistant (I don't tend 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 »

A new version of the Editor is available here: https://github.com/archibalduk/Eastside ... v1.2.2.zip

Version 1.2.1 was an internal build and the below changelist includes all changes from the last public build (v1.2.0).

One of the biggest new features is the Staff Auto-Rater which will generate Current Ability ratings for players or non-players within a chosen league. It's very simple to use but there is a great deal of customisation possible. There's a detailed run-down of all of the settings at the bottom of this post. The default settings should suffice however.

Other notable improvements include (i) dark mode support (the trade-off with this is that the light mode theme had to change slightly) and (ii) the ability to import/edit/delete Staff Award data via File -> Import Spreadsheet.


CHANGELIST: VERSION 1.2.2 (11-March-2024)

IMPORTANT! The Editor now uses the Microsoft Visual Studio 2022 Redistributable 64-bit version.

General
  • Added support for dark mode;
  • Added a confirmation dialog when clearing player or non-player attributes via the Staff editing screen;
  • Added a Repair all button to the Staff Awards screen which fixes any Club mismatches where a player is contracted to/playing for another Club within that same league (i.e. the Club contracted to/playing for will be updated as the Player Rights holder);
  • Added correct focussing to selection dialog windows in order to ensure they are the uppermost and active window when opened; and
  • Added a refresh button to the selection dialog windows which may resolve a rare issue where the date shown in a dialog may go out of sync.
Bug fixes
  • Fixed Staff Birth Year sometimes being set to 1 instead of 1900 in certain circumstances.
Data Validation when loading or saving a database
  • Added automatic resetting of Clubs with an inactive Rival (i.e. the inactive Club is removed as a Rival); and
  • Added automatic resetting of Staff with an inactive Liked or Disliked Club (i.e. the inactive Club is removed as a Liked or Disliked Club).
Error conditions
  • An inactive Division/League, Detailed Division, Reserve Division or Nation is now a Club error condition;
  • An inactive Liked or Disliked Club is now a Staff error condition; and
  • An inactive Rival is now a Club error condition.
Importing & exporting data
  • Added Game Dates Report via File -> Export Spreadsheet which provides a spreadsheet setting out various in-game playable league dates (e.g. stage dates and draw dates);
  • Added Staff Award importing and exporting;
  • Fixed missing header data when exporting an individual player or non-player as a spreadsheet; and
  • Removed an extraneous condition from Club Competition History export spreadsheet.
Mass Editing
  • Added a Staff Auto-Rater via People -> Mass Edit -> Players & Staff -> Auto-rate players & non-players which automatically calculates and sets player and non-player Current Ability ratings;
  • Added mass deletion of duplicate Staff Career History entries via People -> Mass Edit -> Player Career History -> Delete duplicate entries;
  • Added mass resetting of Staff Award attributes via People -> Mass Edit -> Staff Awards -> Reset award attributes; and
  • Redesigned the Auto-Set Attributes mass editor for Players and Non-Players to allow for multiple Clubs or Club Competitions to be included or excluded.
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 »

A new version of the Editor is available here: https://github.com/archibalduk/Eastside ... v1.2.3.zip

CHANGELIST: VERSION 1.2.3 (18-August-2024)

IMPORTANT! The Editor now uses the Microsoft Visual Studio 2022 Redistributable 64-bit version.

General
  • Disabled the ability to create new nations;
  • Minor width adjustment of ID/UID/Filtered Rows/Total Rows fields at the foot of each editing screen; and
  • Re-designed the item selection dialog window in order to provide further details for each item. Items can still be selected either by (i) single-clicking on the desired row and then click on 'Select' or (ii) double-clicking on the desired row. See the screenshot below.
Bug fixes
  • Fixed Add Item -> Copy Current Item which now correctly refreshes the UI upon creation; and
  • IIHF Senior and Junior Ranking values are now imported via the Nations importer spreadsheet.
Mass Editing
  • Added mass deletion of officials entries via People -> Mass Edit ->Officials -> Delete all; and
  • Added mass deletion of retired numbers entries via Clubs-> Mass Edit -> Retired Numbers -> Delete all.
Image
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 »

A new version of the Editor is available here: https://github.com/archibalduk/Eastside ... v1.2.4.zip

CHANGELIST: VERSION 1.2.4 (19-October-2024)

IMPORTANT! The Editor now uses the Microsoft Visual Studio 2022 Redistributable 64-bit version.

General
  • Active clubs with no League assigned will show [None] within their display name in the Editor;
  • Line-breaks in text are now automatically removed when the DB is next saved (e.g. team names, league names, etc); and
  • Players/non-players with a Club Contracted or Club Playing For set to a national team will be auto-set as a free agent when the DB is next saved (prevents a crash in-game).
Post Reply