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
nino33
Mr. Goalie
Posts: 6088
Joined: Sat Aug 07, 2010 3:37 am
Custom Rank: Retro Rosters Specialist
Favourite Team: 1970s hockey

Re: EHM 1 Database & Saved Game Editor

Post by nino33 »

Buho wrote:what actual purpose of "Pro Experience" line (apart from being quite useful piece of information)?
The First/main purpose that comes to mind is some Leagues, like the AHL and ECHL for example, have limits on how many "veterans" can play, and pro experience is used to determine this veteran status

Buho wrote:what kind of impact amount of pro seasons and NHL seasons has on players? is there any difference between a guy with 2seasons in 9.2DB and same guy with 6seasons in 9.5?
Players in the database would be based on how researchers rated them, so the only difference would be what researchers might have changed (updating player history doesn't result in changed Attributes at startup)



P.S. In game as you actually play and time passes, player history accumulates from experience/gameplay and that affects development (including things like getting ice time at the right competition level/in the right league), and Attribute development occurs over time due to the gameplay/coding
User avatar
Buho
Junior League
Posts: 37
Joined: Mon Mar 13, 2017 5:47 pm
Favourite Team: NYR

Re: EHM 1 Database & Saved Game Editor

Post by Buho »

nino33 wrote:
Buho wrote:what kind of impact amount of pro seasons and NHL seasons has on players? is there any difference between a guy with 2seasons in 9.2DB and same guy with 6seasons in 9.5?
Players in the database would be based on how researchers rated them, so the only difference would be what researchers might have changed (updating player history doesn't result in changed Attributes at startup)
I thought about things like salary demands, willingness to sing two-way contract, ice time expectations, players morale and 3reps (current, local, world).

I used to pay attention to ProExp line while digging through minors searching for depth players and bodies to fill affiliates. but with 1game=1season formula that line irrelevant

anyway based on what you say the only possible impact might be the amount of older guys sign up in minors (more seasons => more veterans => less percentage can be fit under the limit => more guys stuck being free agents).

not that important that ProExp line apparently. I was way off the mark thinking that it will alter rookies charts, and AI's players evaluation in both picking lineups and trading
User avatar
Manimal
TBL Admin Team
Posts: 6344
Joined: Thu Apr 24, 2008 4:01 am
Custom Rank: EHM Rosters Man
Favourite Team: Djurgårdens IF
Location: Karlstad, Sweden

Re: EHM 1 Database & Saved Game Editor

Post by Manimal »

40 NHL games is what a player needs for his season to become "accrued".
Seven such seasons are needed for a player to reach unrestricted status once his contract runs out

Here is a McKenzie article about it from 2014 that explains it more: http://www.tsn.ca/mckenzie-10-game-thre ... s-1.117970

Also, the "Pro experience". Not all European leagues count towards it. Only the major ones.
User avatar
Buho
Junior League
Posts: 37
Joined: Mon Mar 13, 2017 5:47 pm
Favourite Team: NYR

Re: EHM 1 Database & Saved Game Editor

Post by Buho »

Manimal wrote:40 NHL games is what a player needs for his season to become "accrued".
Seven such seasons are needed for a player to reach unrestricted status once his contract runs out
correct me if I'm wrong but EHM don't have any of that
sending youngsters back to juniors doesn't save a year of ELC
and all players hit UFA around 27yo regardless of number of seasons acquired

the only guy I found who might exploit new loophole (difference between 40games=1season and 1game=1season) is Brandon Pirri :-D . 26yo pending RFA has 6seasons on his resume in 9.5roster (in 9.2 he has 3)
MJalove
Junior League
Posts: 22
Joined: Thu Apr 02, 2015 12:24 am

Re: EHM 1 Database & Saved Game Editor

Post by MJalove »

Is there a new link for microsoft redistributable it was unavailable when trying to download.
User avatar
nino33
Mr. Goalie
Posts: 6088
Joined: Sat Aug 07, 2010 3:37 am
Custom Rank: Retro Rosters Specialist
Favourite Team: 1970s hockey

Re: EHM 1 Database & Saved Game Editor

Post by nino33 »

Buho wrote:
Manimal wrote:40 NHL games is what a player needs for his season to become "accrued".
Seven such seasons are needed for a player to reach unrestricted status once his contract runs out
correct me if I'm wrong but EHM don't have any of that
sending youngsters back to juniors doesn't save a year of ELC
and all players hit UFA around 27yo regardless of number of seasons acquired
EHM has "sending youngsters back to juniors saves a year of ELC" but IIRC the change isn't visible ingame until season's end (IIRC it's visible when the game manages/switches contract changes from current year to upcoming year for all players)
User avatar
Buho
Junior League
Posts: 37
Joined: Mon Mar 13, 2017 5:47 pm
Favourite Team: NYR

Re: EHM 1 Database & Saved Game Editor

Post by Buho »

nino33 wrote: EHM has "sending youngsters back to juniors saves a year of ELC" but IIRC the change isn't visible ingame until season's end (IIRC it's visible when the game manages/switches contract changes from current year to upcoming year for all players)
cool! thanks! I somehow missed that thing!
User avatar
Alessandro
Olympic Gold
Posts: 2865
Joined: Sat Aug 27, 2005 1:54 pm
Custom Rank: TBL Rosters Man
Favourite Team: Team Russia
WHL Team: Calgary Flames

Re: EHM 1 Database & Saved Game Editor

Post by Alessandro »

Yes, ELC contracts shift on June 30-July 1st "season reset"
Comyn
Learning to skate
Posts: 3
Joined: Sun Jul 12, 2009 12:18 pm

Re: EHM 1 Database & Saved Game Editor

Post by Comyn »

Is it possible to Change salary Cap with the saved game Editor?
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 »

I think we really need an additional screen with list of last changes in db. archi its possible to add something like that? I did several changes today and something fluffed db. I must check all list of probably things on other version of db and seems with club screen something is wrong. Summarize:

- if we add new club (without nation) to some league (for example newly created in Club Competition screen Latvia2) it crashes db forever. Even we add/remove later nation to team and add/remove them from league. I think colours in club screen on important settings would be welcome :?
- I observed on club screen if we change club league/division it created sometimes duplicate of club. For me appears a moment Zambia U20 then disappear and on above and this thing i received similar error in game.

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 »

Named wrote:I think we really need an additional screen with list of last changes in db. archi its possible to add something like that?
Yes it could be done. But we would need to balance this against the amount of memory (RAM) usage that would be involved with something like. For instance, we probably don't need to record every change to an attribute or a name, but it's more about changing things like the drop-down menu settings. It would be time-consuming job to implement and so it would have to wait until other more pressing things are done. But I will look into it in the future. :thup:

However I don't think this is a solution for fixing the central issue. We can, for instance, include some data validation checks in the Editor and/or implementing default values when creating a new club, etc.
Named wrote:if we add new club (without nation) to some league (for example newly created in Club Competition screen Latvia2) it crashes db forever. Even we add/remove later nation to team and add/remove them from league. I think colours in club screen on important settings would be welcome :?
I'll look into this. I should be able to add some sort of warning symbol or colour where a club in a league has no nation. However, I see no reason why later adding the nation shouldn't fix it. So there must be something else incorrectly set elsewhere.
Named wrote:I observed on club screen if we change club league/division it created sometimes duplicate of club. For me appears a moment Zambia U20 then disappear and on above and this thing i received similar error in game.
Where are you seeing the duplicate? In the Editor or in the game? Can you give me step by step instructions on how to produce this? I'm not sure I am fully following what you are saying above.

The issue with the "National team counts do not match up" error is likely because you have set an incorrect Club Classification. If this is set as National Senior or National Junior then the team counts will go out of sync.
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 »

I changed detailed league and division for one club then editor created duplicated team listed below edited. It sometimes appeared. You see two clubs with the same name and can't click on second. Alessandro also observed it. I will post a screen when again it appear. I think we should colour in Club section: Long Name, Short Name, Abbreviation, Nation, Professional Status, Reputation, Arena and Practice Facilities to don't forget setting them up. :)

Edited:
I found another bug. If we change Player -> Player/Coach or Nonplayer when You click on player screen game is crashing :rant:
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:I changed detailed league and division for one club then editor created duplicated team listed below edited. It sometimes appeared. You see two clubs with the same name and can't click on second. Alessandro also observed it. I will post a screen when again it appear.
Ok thank you. I'll await screenshots, step-by-step instructions and a copy of the DB once you have been able to recreate the issue.
Named wrote:I found another bug. If we change Player -> Player/Coach or Nonplayer when You click on player screen game is crashing :rant:
It works fine for me. I'd need to see a copy of the DB in question and the name(s) of the person(s) affected. It might be a hangover from the player/non-player validation bug in the previous version of the Editor (i.e. it has corrupted your DB).
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 - I recall you mentioned something about a fate rule setting in the Editor. Wasn't there something being displayed as a number rather than a drop-down? I cannot find the PM in which you mentioned it and fear I have forgotten to implement it (I tend to use this thread as my task list).
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 »

I tested on several people changed and several variations. Not tested yet but seems changing from sheets works but when in editor made crash on player screen in game.

http://www118.zippyshare.com/v/YiQnC1ux/file.html
Aivars Anis changed for test.
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 »

This is a strange one. I can see that every screen for Aivars Anis works in-game other than the Non-Player Profile screen. Something like this would suggest that his data is pointing to an invalid non-player profile. But I have checked both the DB and the saved game and they are both fine. I'll need to add some more debug information to the Editor to try and help figure this one out. It might be worth asking Riz what the issue is because I suspect he can find the source of the crash very quickly.
User avatar
Alessandro
Olympic Gold
Posts: 2865
Joined: Sat Aug 27, 2005 1:54 pm
Custom Rank: TBL Rosters Man
Favourite Team: Team Russia
WHL Team: Calgary Flames

Re: EHM 1 Database & Saved Game Editor

Post by Alessandro »

I think that Named did something funky with his db because everything works fine on my end with the DB I sent to him :-)
But yeah perhaps we need Riz to have a look and debug as it may be a problem with the editor.
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 - did you make your edits using version 0.2.0 of the Editor or an earlier version? Version 0.1.9 had a bug with players/non-players whereas v0.2.0 had fixed this.
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 »

Maybe it depends what we change first? Classification or Player to Head Coach first for example. Editor set Player/nonplayer then we had to change to nonplayer. I use 0.2.0
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:Maybe it depends what we change first? Classification or Player to Head Coach first for example. Editor set Player/nonplayer then we had to change to nonplayer. I use 0.2.0
I'll test this again, but it shouldn't make a difference. The Editor runs a validation function each time the Classification, Job For Club or Job For Nation is changed in order to ensure everything is valid.
User avatar
Alessandro
Olympic Gold
Posts: 2865
Joined: Sat Aug 27, 2005 1:54 pm
Custom Rank: TBL Rosters Man
Favourite Team: Team Russia
WHL Team: Calgary Flames

Re: EHM 1 Database & Saved Game Editor

Post by Alessandro »

archibalduk wrote:
Named wrote:Maybe it depends what we change first? Classification or Player to Head Coach first for example. Editor set Player/nonplayer then we had to change to nonplayer. I use 0.2.0
I'll test this again, but it shouldn't make a difference. The Editor runs a validation function each time the Classification, Job For Club or Job For Nation is changed in order to ensure everything is valid.
I tried both ways - no crashes.
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 »

I think I found why we get crashes. Did test on Crosby:

Nonplayer/Director of Personel - works
Player/Nonplayer -> Player/Coach crash

Changing from Player/Nonplayer to Nonplayer didnt help. I tested on _ufa player too.
Last edited by Named on Sat Jun 10, 2017 3:49 pm, edited 1 time in total.
Mgomrjsurf
Prospect
Posts: 81
Joined: Sat May 13, 2017 10:32 pm
Custom Rank: MGSports Account #3
Favourite Team: Blues/Blackhawks

Re: EHM 1 Database & Saved Game Editor

Post by Mgomrjsurf »

Maybe it could be you have selected Player/Coach and no opening for Coach on Team. The Team has to be in a League and have a Arena or will get Error so like if I have Kansas City Scouts in NHL need to also have them in a Division that's in NHL and so on.
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 »

slapstick44 wrote:Hello, archibalduk. I am very excited from your editor but I was wondering one thing. If I have EHM 2005 databse I open and edit it and then I choose "save as EHM 2005 database" it is not working. Index dat has not appeared. But if I try export as EHM 2007 databse it has.

So, I have one question and sorry for my english by the way - can I edit my EHM 2005 databse by your editor and save it also like EHM 2005 database?

Thanks a lot. :nod:
Currently support for EHM 2004-2005 is experimental and incomplete which is why index.dat is not being created. It's something I'll add to in the future as I've got to push on with the TBL Roster-related functions right now.

The plan, I hope, is to make the Editor compatible with the previous EHM versions so we can convert those databases to EHM 2007 format (which can then be imported into EHM 1 format in-game). Whether or not it'll be a fully fledged editor for earlier versions is still questionable. The older databases have a lot of limitations which EHM 1 does not have which will make it very easy to corrupt the database using the Editor. But I should at least be able to get index.dat generation working.
Walkinson70
Junior League
Posts: 6
Joined: Wed May 31, 2017 7:14 pm
Favourite Team: Peltosaaren Nikkarit

Re: EHM 1 Database & Saved Game Editor

Post by Walkinson70 »

Hello again!

I don't know has it been fixed but i get this stuff about "active leaders" etc. where players have unrealistic amounts of stats. For example there would be players who have over 3000 career NHL games. This does not do any harm but AHL has veteran player limit of max 5 "Veteran players with over 360 pro games" and every single player has the "V" marker on him (with the exception of goalies). This kinda makes me upset.

Is there any help/fix to this issue?.

I am using an unedited version of the 9,5 Roster update.
Post Reply