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
BKarchitect
Second Line
Posts: 656
Joined: Sat Jan 07, 2012 11:21 pm

Re: EHM 1 Database & Saved Game Editor

Post by BKarchitect »

One bug (I think) and one request:

- When editing players, the Junior Preference, Player Role and Shoots/Catches are not working for me.
- Also I know you had a request but I found the auto-strength calc and the set position buttons to be much easier to access when they were right there on the player screen instead of buried with the re-calc runtime data tools in the corner. Just my $0.02

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:

Re: EHM 1 Database & Saved Game Editor

Post by archibalduk »

Thanks BK. I'll take a look at that issue today. I can guess what the cause is and it'll be a quick fix. I won't bore you with the details, but there is a change I've been meaning to make to all of the data tables to avoid this risk of this happening. I'll do that today too seeing as it should only be an hour's work.

Let me have a think about the Tools menu. The menu allows for consistency across the Editor, is easier to maintain from a coding perspective and takes up less screen space (fitting everything in is proving a challenge for smaller screens like my 15" laptop). But I do see your point. I will see what I can do. :thup:
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:

Re: EHM 1 Database & Saved Game Editor

Post by archibalduk »

I managed to get to the bottom of the issue, but it was not the obvious thing I expected. I actually cannot explain what the cause was. There is nothing special about those player drop-down menus compared with any other drop-down menus and nor is there anything special about the underlying data. Of all the bugs we've had with the Editor, this is the first one which I cannot explain. Anyhow, it's fixed now and I'll aim to release either today or tomorrow. :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

Re: EHM 1 Database & Saved Game Editor

Post by xECK29x »

Thanks Archi!!!

Question, should the all-star teams have nationality set? I see they are erroring out for me but have always been set to no nation if I remember.

Also agree with BK, I just got into a habit of always clicking the button to calculate strength, it was a bit easier that way. Also I am having the same drop-down bug.
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:

Re: EHM 1 Database & Saved Game Editor

Post by archibalduk »

That's a good question regarding the all-stars teams. I looked at the default/faked rosters and it seems there is a bit of a mixture. Seeing as it does not seem to cause any crash in EHM, I have disabled the club errors where the team has "all-star" in their name.
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:

Re: EHM 1 Database & Saved Game Editor

Post by archibalduk »

Here is version 0.2.8: viewtopic.php?f=148&t=16014

This just fixes the various issues reported by BK and xECK29x yesterday and today. Thanks guys! :thup:

CHANGELIST: VERSION 0.2.8 (01-Apr-2018)

Fixes and Improvements:
  • All-star teams are no longer listed as having club errors;
  • Fixed issue with drop-down menus not working on the Players Details tab of the Players & Staff editing screen;
  • Fixed stage descriptions in the Stage navigation drop-down menu;
  • Reduced label widths slightly in order to prevent certain combo boxes being cropped/partially hidden; and
  • Restored tool buttons to the Players Details tab of the Players & Staff editing screen.
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:

Re: EHM 1 Database & Saved Game Editor

Post by archibalduk »

Doh! I just spotted that the colour previews are no longer working. You can still edit a club's/competition's/etc colours but the preview section doesn't work properly. I'll fix it for 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

Re: EHM 1 Database & Saved Game Editor

Post by xECK29x »

archibalduk wrote:Doh! I just spotted that the colour previews are no longer working. You can still edit a club's/competition's/etc colours but the preview section doesn't work properly. I'll fix it for the next release.
I actually like this, makes it easier to remember the color scheme I was using to make different tiers of the same team :-p. If I could request for a 'copy color scheme' button that would be great!

Also getting the same national club oddity in the menu when saving, though it does not seem to be altering the U20 teams, so that is good!

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:

Re: EHM 1 Database & Saved Game Editor

Post by archibalduk »

xECK29x wrote:Also getting the same national club oddity in the menu when saving, though it does not seem to be altering the U20 teams, so that is good!
In what way are you getting it? Are you still able to overwrite the national team with a seemingly duplicate copy of your newly created team?

I expect it will navigate to a national team on saving, but that in itself is not an 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

Re: EHM 1 Database & Saved Game Editor

Post by xECK29x »

Another bug, I notice the last value I change for a staff/player is not being saved when I click 'Save'. This can be any value, but it's whatever the last one entered/updated is.
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:Also getting the same national club oddity in the menu when saving, though it does not seem to be altering the U20 teams, so that is good!
In what way are you getting it? Are you still able to overwrite the national team with a seemingly duplicate copy of your newly created team?

I expect it will navigate to a national team on saving, but that in itself is not an issue.
It appears to just be a visual oddity in the list, probably the table sorting causing it? The national teams are intact and I can create clubs without issue now!
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:

Re: EHM 1 Database & Saved Game Editor

Post by archibalduk »

xECK29x wrote:Another bug, I notice the last value I change for a staff/player is not being saved when I click 'Save'. This can be any value, but it's whatever the last one entered/updated is.
Thanks. :thup: I suspect it is because the edit is not being submitted until you move focus away from that input to another input on the screen. Pressing the Tab key on your keyboard after your final edit should act as a workaround whilst I look at a fix.
xECK29x wrote:
archibalduk wrote:
xECK29x wrote:Also getting the same national club oddity in the menu when saving, though it does not seem to be altering the U20 teams, so that is good!
In what way are you getting it? Are you still able to overwrite the national team with a seemingly duplicate copy of your newly created team?

I expect it will navigate to a national team on saving, but that in itself is not an issue.
It appears to just be a visual oddity in the list, probably the table sorting causing it? The national teams are intact and I can create clubs without issue now!
I'm not too sure what the visual oddity is, but I'll see if I can reproduce what you mean.
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:I'm not too sure what the visual oddity is, but I'll see if I can reproduce what you mean.
The fact the teams I created get renamed in the selection list to one of the National U20 teams after saving, see the screenshot above. Those should be Victory Honda Bantam AAA and Victory Honda U16.
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:

Re: EHM 1 Database & Saved Game Editor

Post by archibalduk »

Ok I can see what you mean from your explanation/screenshot. This isn't a bug per se but is a current limitation with the filtering. When saving the database (or importing via a spreadsheet), the clubs table is reordered with the national clubs moved to the end of the table. Your newly created clubs (which are initially added to the end of table) are then moved before the national clubs. The filter, however, still points to the clubs at the end of the table (hence Zaire U20, etc appear). You just need to refresh your filter (e.g. just delete the last letter from the Search box and re-add it).

Maybe I can look at refreshing the filters when saving/importing. I'm just a bit concerned on the performance hit in doing so.
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 »

No worries, just wanted to make sure it wasn't an issue. I figured it was just visual but wanted to bring it up...thanks again for all the hard work you are putting into this!
Ankarstroem
Learning to skate
Posts: 1
Joined: Sun Jun 04, 2017 5:23 pm
Favourite Team: Thrashers

Re: EHM 1 Database & Saved Game Editor

Post by Ankarstroem »

Just downloaded the editor. Nice work Archi.

I've seen in the past posts that there were some problems on the contract editing with saved games.
Maybe it's the reason I can't figure how to make any changes on that part.
For example, signing Kovalchuk to a 42 years contract for 15$ a year. Well doesn't work :/

Do I have to go through the data base editor and restart a game or did I miss something ?
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 »

Got another one for you Archi (please don't ban me :)).

I am working on creating a few new leagues and just finished the first one I was working on, totals 13 teams. However when I start a game and examine the league only 9 show up, originally it was only 5 but I tried saving a few times, restarting the editor and saving again and now I have 9. These teams are clearly in the DB, not sure what could be going on here.

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:

Re: EHM 1 Database & Saved Game Editor

Post by archibalduk »

This won't be an issue with the Editor, but something to do with the way in which you have set up your extra teams. E.g. if a team's Reputation is too low then they won't appear in the game. Try comparing the settings of the teams that do appear with those that do not appear.
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 »

Ahhh ok good to know, 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:

Re: EHM 1 Database & Saved Game Editor

Post by archibalduk »

I think I'm getting fairly close to completing all I originally had planned for spreadsheet importing. I have set out a list of what I have implemented since the last release along with what is remaining on my to-do list (in respect of spreadsheet importing). Is there anything else anybody can think of?

ADDED FOR VERSION 0.2.9:
- Staff award history
- Staff preferences
- Officials

TO-DO:
- Retired numbers
- Injuries
- Club/player records
- Staff awards
- First names
- Second names
BKarchitect
Second Line
Posts: 656
Joined: Sat Jan 07, 2012 11:21 pm

Re: EHM 1 Database & Saved Game Editor

Post by BKarchitect »

xECK29x wrote:Ahhh ok good to know, thanks!
To be safe, you should click the option to show all teams in database when you start a game. You might recommend that users of your database do it as well. That way you know your DB is being portrayed fully and correctly.
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:

Re: EHM 1 Database & Saved Game Editor

Post by archibalduk »

xECK29x wrote:I actually like this, makes it easier to remember the color scheme I was using to make different tiers of the same team :-p. If I could request for a 'copy color scheme' button that would be great!
I have added copy and paste buttons to each colour editing screen. You can copy and paste a single colour scheme or the entire home, road and alternate schemes together. I have also added an Invert button which will cycle through three different combinations for a chosen scheme (e.g. you could copy and paste from the home scheme to the road scheme and then use the Invert button to quickly generate an inverted colour scheme).
xECK29x wrote:
archibalduk wrote:I'm not too sure what the visual oddity is, but I'll see if I can reproduce what you mean.
The fact the teams I created get renamed in the selection list to one of the National U20 teams after saving, see the screenshot above. Those should be Victory Honda Bantam AAA and Victory Honda U16.
I have fixed this. There is a bit of performance hit, but it's only a second or two.
Ankarstroem wrote:Just downloaded the editor. Nice work Archi.

I've seen in the past posts that there were some problems on the contract editing with saved games.
Maybe it's the reason I can't figure how to make any changes on that part.
For example, signing Kovalchuk to a 42 years contract for 15$ a year. Well doesn't work :/

Do I have to go through the data base editor and restart a game or did I miss something ?
Editing saved games isn't really possible.
jdlparsons
Learning to skate
Posts: 3
Joined: Tue Jun 09, 2015 9:05 pm
Favourite Team: Team Canada

Re: EHM 1 Database & Saved Game Editor

Post by jdlparsons »

Is this where we report bugs?

I've run in to a weird one trying to import and play a database. I exported a research sheet from an existing database to change a few things, finished and imported it back in to the editor, then saved it as a new database. Now when I try to load a game with the new database the scaling on the attributes is all wrong. Instead of an attribute having a value out of 20 its reading to be out of 100. It seems to be for every attribute except for the personality ones.

McDavid, for example, shows a 19/20 in Creativity in both the spreadsheet I used and in the EHM Editor. When I load him up in game he still has a 19 in Creativity, but its a 19/100 instead of out of 20. Seems like all of the players and none players are like this, but I've only checked around 50 or so, so I can't say for certain.

Most editing was done in excel, with little tweaks in the editor. I was trying to redistribute the CA/PA of the database so that there would be a much wider gap in ability between the best players and everyone else, ended up messing with paste special operations till I finally figured out how to curve everything how I liked it.

It's probably something really stupid I missed somewhere so I probably wasted a lot of time on this, but I made up as thorough a bug report/folder as possible.

Imgur album comparing Editor, Assistant and in game attribute values, McDavid and Babcock.
https://imgur.com/a/p6Bd6

Zip folder hosted on Google Drive containing: the database file, my saved game file, player and non-player spreadsheets exported from EHM Assistant in CSV and HTML, and the edited spreadsheets that were imported back to the editor. Also included the error sheet the editor gave me when I imported. Copies of the imgur pictures are also included.
https://drive.google.com/open?id=1U1mh5 ... 1VNGHTkAxr

Rar folder hosted on Google Drive with same contents as above if preferred or needed.
https://drive.google.com/open?id=13jczv ... toDhoynWmb

Uncompressed folder hosted on Google Drive with same contents as above if preferred or needed.
https://drive.google.com/drive/folders/ ... sp=sharing

I think that should cover everything. Let me know if anything else is needed or if this is in the wrong place. I did made sure to search first but couldn't find anything helpful.
AngeLxLost
Junior League
Posts: 16
Joined: Mon May 23, 2016 11:59 pm
Favourite Team: Pittsburgh Penguikns

Help with reverting a few editor changes?

Post by AngeLxLost »

I spent the better part of two days editing the 10.1 db (https://www.reddit.com/r/EHM/comments/8 ... y_goalies/) but I made the mistake of editing the awards and ruined everything.

I sim 20 seasons but I went back and tinkered with a few staff and drastically changed some awards so now it crashes right at the awards ceremony (trying to sim past it) on year 1.

Here's the specific changes I made:
- Added GM of the Year Award and it's previous winners
- Filled in missing award history for Conn Smythe, Hart, Calder, Vezina, Norris, Art Ross, Richard, and Lindsay from 2013-2017
- Changed Lester B. Pearson Award to Ted Lindsay Award
- Vezina changed to be given to whoever has the highest Sv%
- Minimum GP for goalie awards set to 40 (to accommodate for new Vezina parameters)
- Norris changed to be given to the "best offensive defenseman" rather than "best defenseman"
- Removed +/- and Roger Crozier awards (by erasing the names and removing them from the league)

I've tried to fix it by manually reverting all the changes I made and when that didn't work I tried to import an awards spreadsheet from a working db (not sure if I did it properly though).

Ik many ehm forum goers tell you to keep multiple backs (which I did, but they've all had the awards changed lol) so ultimately it's my own fault but I thought I'd try to ask just in case there could be a possible solution.

Thanks for any help in advance.
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:

Re: Help with reverting a few editor changes?

Post by archibalduk »

jdlparsons wrote:Is this where we report bugs?

I've run in to a weird one trying to import and play a database. I exported a research sheet from an existing database to change a few things, finished and imported it back in to the editor, then saved it as a new database. Now when I try to load a game with the new database the scaling on the attributes is all wrong. Instead of an attribute having a value out of 20 its reading to be out of 100. It seems to be for every attribute except for the personality ones.

McDavid, for example, shows a 19/20 in Creativity in both the spreadsheet I used and in the EHM Editor. When I load him up in game he still has a 19 in Creativity, but its a 19/100 instead of out of 20. Seems like all of the players and none players are like this, but I've only checked around 50 or so, so I can't say for certain.
Load the database in the Editor and click on Data -> Database Header. Untick the "Attributes 1-100" setting. It seems you ticked this and I expect it is the cause of your issue. I don't have time to test that it fixes it, but it should do.
AngeLxLost wrote:I've tried to fix it by manually reverting all the changes I made and when that didn't work I tried to import an awards spreadsheet from a working db (not sure if I did it properly though).
It is not possible to import awards into the database using the Editor. Hopefully you received an error saying it is an unknown file. If not, you probably imported something else by mistake.

It is hard to say what caused the issue. Adding histories shouldn't be an issue but I cannot speak for the award settings (it is not something I have experimented with). You could however export the staff/players research sheet and import into a fresh copy of the database. This will at least let you transfer your ratings over.
Post Reply