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.
archibalduk wrote:
[table][tr][td]Newfoundland Midget AAA Hockey League[/td][td]18[/td][/tr][/table]
Has been renamed the Newfoundland & Labrador Major Midget Hockey League, and the age limit here I believe is 17 now (1994 born). Actully - on second thought, I guess it would be 18 for early birthdays...
Anyway, there are 5 teams in this league now, expected back to 6 next year. When I try to add teams to it through the editor, it doesn't allow me to. Is there any particular reason for that? I thought you could do almost anything with non-playable leagues.
Did you make the appropriate change in the index.dat file?
If you add a team in the club.dat file you have to change the size in the index.dat file.
Isles22 wrote:Did you make the appropriate change in the index.dat file?
If you add a team in the club.dat file you have to change the size in the index.dat file.
That's exactly what I didn't do.
Thanks! I'll give it a try later.
If you used the Pre Game Editor, I would have expected it to have done this for you.
Isles22 wrote:Did you make the appropriate change in the index.dat file?
If you add a team in the club.dat file you have to change the size in the index.dat file.
That's exactly what I didn't do.
Thanks! I'll give it a try later.
If you used the Pre Game Editor, I would have expected it to have done this for you.
I was using the pre-game editor, but as I put the a team in the league, another miraculously disappeared.
I've been playing around with this, too, lately, getting a bit annoyed at the extra work, but we'll see.
Re: the major junior question: I have only ever heard "Major Junior" used in reference to the WHL, OHL and QMJHL, while every other junior league is referred to as "Junior A", "Junior B", etc.
In game, too, you'll sometimes see in a players info page "Wants to play major junior" - that's referring to CHL, too.
So, for this tab, I've been using CHL (O/W/QMJHL) totals for the "NA Major Jnr Games" box and ticking the "has played NA Major Junior" checkbox for players that have played in those leagues.
If John Smith played 100 games for the Vancouver Giants and 50 games for a BCJHL team, then I'll put "100" in the "NA Major Jnr Games" box, tick the "has played NA Major Junior" checkbox, and put "150" in the "Canadian Jnr games" box.
XenHL wrote:
So, for this tab, I've been using CHL (O/W/QMJHL) totals for the "NA Major Jnr Games" box and ticking the "has played NA Major Junior" checkbox for players that have played in those leagues.
If John Smith played 100 games for the Vancouver Giants and 50 games for a BCJHL team, then I'll put "100" in the "NA Major Jnr Games" box, tick the "has played NA Major Junior" checkbox, and put "150" in the "Canadian Jnr games" box.
Good thinking!
I believe the only thing this info is used on in-game is that a player with Major JUnior experience is ineligible for NCAA play
I have to say that I am completely confused about these different Canadian Jnr / NA as Jnr / Played in College / NA Major Jnr categories. I've been taking a look at a couple of players who completed the junior stage of their career prior to EHM 2007 being released (thereby presumably the Player Info was completed by SI):
This screenshot of Mark Recchi shows that he has played 259 Canadian Jnr games but zero NA Jnr games. Those 259 games consist of playing in the WHL and BCHL.
Sidney Crosby has 143 Canadian Jnr games consisting of the QMJHL (but doesn't include the Memorial Cup).
Tim Thomas has zero games recorded in Player Info but he played in the NCAA and ECAC.
Shane Doan has 174 Canadian Jnr games consisting of the WHL.
Ryan Garbutt has 75 Canadian Jnr games consisting of the MJHL.
I'll extract the Player Info file from the database to see if I can find some examples of the other types of leagues. I'll then see if I can match this up with this list of hockey tiers: http://en.wikipedia.org/wiki/List_of_ice_hockey_leagues
Note that the fields for Has Played in NA Jnr and College are 1 = Yes and 0 = No.
There are no players listed as having played in the NA as a junior (as Manimal already said) and there are no players who have played any NA Major Jnr Seasons.
There are 2752 players listed as having played in college. These appear to be players who have played in the NCAA.
Mike Santorelli is an example of a player who has both played Canadian Jnrs (BCHL) and college (NCAA).
In looking at the Player Info tab using the 1974 db I noticed
- if there's nothing in the Player Info tab (all show a "0") but there's History entries, the history shows up in the Player Bio in game
- if there's stats entered in the Player Info tab, but no History entries, the stats do NOT show up in game
- it seems if a young player has no Player Info or History but the Contract Start Date year is before 2005, the player can be "waiver eligible" despite 0 Pro GP
- A 23 year old with no Player Info or History and a contract start date year of 2005 was exempt from waivers
- A 22 year old with no Player info or History and a contract start date year of 2004 was not exempt from waivers
Hmmm I would hazard a guess that the game treats it like a zero.
The only -1s I've come in the data are yes/no settings (-1 = yes) and for players who are free agents (their club contracted is -1). It also means blank in some tables (for example, if there is no host for an entry in the competition history then you set the host to -1) - hence my guess that -1 means zero/blank.
Maybe when they created the db, some players had values in League stats. During research they left that league and somehow it was turned into -1 with whatever editor they used to create the game
I tried fooling around with these things a long time ago, and it seemed as if some things are just locked, especially concerning waivers. If the player is waiver exempt to start the game, he will usually stay waiver exempt even if you add hundreds of games to his player info and history. I think it's the player ID that does this, not the info tab. When trying to move things around, like wanting a waiver exempt player (player A) to be waiver eligible, overwriting an unnecessary/retired waiver eligible player (player B) with player A's info, then overwriting player A with a new, young, waiver exempt player (player C).
And, when the game was new, I remember seeing Devereaux Heshmatpour, a name that's hard to forget, going to play in college, despite already playing in the OHL. I don't remember if that was fixed in a patch or when I clicked his Major Junior box.
I'm not sure it'll be something to do with the Player ID. I'm fairly certain these ID numbers change each time you add/remove/rename a player or member of staff.
When you tried overwriting a player, did you try changing the Date Joined field?
As I've mentioned here in my blog, I've made a start on writing a tool that automatically updates the Player Info based upon the player career histories. So far it calculates the Club Stats and League Stats sections (i.e. GP, G, A, PIM, Wins, SO) as well as the NHL Games Played field.
I'm now trying to figure out the answers to the following questions. If anybody has any suggestions, I'd love to hear them:
NHL Seasons - Does this only count regular seasons? E.g. if a player only plays in the playoffs in a season (i.e. he doesn't play any regular season NHL games), is this counted as a season?
Professional Games Played - I need to make a list of every league in the game that is regarded as a professional league
Canadian Junior Games - Which leagues does this cover? I know it covers the BCHL, OHL, QMJHL and WHL, but are there any others? I know for a fact it doesn't cover the Memorial Cup.
Played in North America as a Junior - Which leagues does this cover?
Has played in College - Which leagues does this cover? Presumably this covers the NCAA leagues (e.g. Hockey East, CCHA, WCHA, etc) but are there other college leagues in the US and does it also cover any Canadian college leagues?
North American Major Junior Games - Which leagues does this cover?
With regards to all of the above, does it cover just regular season or does it also include playoffs?
I've added the function to calculate the number of Canadian Junior League games played. At the moment, I have the following leagues listed as Canadian Juniors (I have included an example for the AJHL and BCHL to show a player whose Canadian Jnr games played includes those league(s)):
AJHL (Clarke MacArthur)
BCHL (Milan Lucic)
OHL
QMJHL
WHL
Looking at MacArthur and Lucic, I can see that playoff games are included in the Canadian Jnr League games played field. However, according to Clarke's Player Info and his career history, it doesn't seem to include the Memorial Cup (another example is Crosby). The omission of the Memorial Cup doesn't make sense to me. Do you think I also include it in the Canadian Jnr games? I guess not because it seems that's not what SI intended...
I'm going to try and find players in the database who have played in the various Canadian Jnr A and B leagues (there's a list here) to see which of those leagues are counted as Canadian Jnr.
Having looked through player history and the Player Info for players such as Eric Staal, I can see that playoffs are counted for the NHL Games field.
archibalduk wrote:it doesn't seem to include the Memorial Cup. The omission of the Memorial Cup doesn't make sense to me. Do you think I also include it in the Canadian Jnr games?
IIRC correctly you've noted the Player Info Tab seems to be for regular season games, and not playoffs.....so maybe the Memorial Cup is omitted because they're really "playoff games"?
EDIT - Now I reread and see you've noted that playoffs ARE included.....I wonder if what we're seeing is inputter error?
archibalduk wrote:it doesn't seem to include the Memorial Cup. The omission of the Memorial Cup doesn't make sense to me. Do you think I also include it in the Canadian Jnr games?
IIRC correctly you've noted the Player Info Tab seems to be for regular season games, and not playoffs.....so maybe the Memorial Cup is omitted because they're really "playoff games"?
However, the playoffs for the OHL/QMJHL/WHL are included in the Player Info - as are playoffs for the NHL Games field.
Sorry - I subsequently updated my previous post above because I clicked on Submit rather than Preview!