Page 2 of 4

Re: [player_info.dat] Player Info tab in the Editor

Posted: Wed Nov 30, 2011 1:01 pm
by kabbott50
Isles22 wrote:
kabbott50 wrote:
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.
That's exactly what I didn't do.

Thanks! I'll give it a try later.

Re: [player_info.dat] Player Info tab in the Editor

Posted: Wed Nov 30, 2011 7:46 pm
by archibalduk
kabbott50 wrote:
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.

Re: [player_info.dat] Player Info tab in the Editor

Posted: Wed Nov 30, 2011 8:02 pm
by kabbott50
archibalduk wrote:
kabbott50 wrote:
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.

Re: [player_info.dat] Player Info tab in the Editor

Posted: Wed Nov 30, 2011 10:48 pm
by Manimal
kabbott50 wrote: I was using the pre-game editor, but as I put the a team in the league, another miraculously disappeared.
Some of those lower junior leagues are coded to have a certain number of teams, I think. Some other user ran into the same problem before

Re: [player_info.dat] Player Info tab in the Editor

Posted: Thu Dec 01, 2011 1:09 am
by kabbott50
I see. Thanks!

Re: [player_info.dat] Player Info tab in the Editor

Posted: Sat Dec 03, 2011 6:10 pm
by XenHL
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.

Re: [player_info.dat] Player Info tab in the Editor

Posted: Sat Dec 03, 2011 6:24 pm
by Manimal
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

Re: [player_info.dat] Player Info tab in the Editor

Posted: Sat Dec 03, 2011 10:39 pm
by archibalduk
I have to say that I am completely confused about these different Canadian Jnr / NA as Jnr / Played in College / NA Major Jnr categories. :oops: 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

Re: [player_info.dat] Player Info tab in the Editor

Posted: Sat Dec 03, 2011 10:54 pm
by Manimal
I have never seen a player with anything but a zero in NA Major Jnr Games. Maybe that is not in use, just like the Media Pundit.

US Junior games are not listed at all it seems

Re: [player_info.dat] Player Info tab in the Editor

Posted: Sat Dec 03, 2011 11:36 pm
by archibalduk
I've extracted the Player Info from the TBL:DB Unfaking v1.1 as this is the same as the original v3.0.4 rosters (but just unfaked). You can download it here: https://skydrive.live.com/redir.aspx?ci ... 29C5C5!280

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).

I still feel none the wiser... :-?

Re: [player_info.dat] Player Info tab in the Editor

Posted: Sat Dec 03, 2011 11:58 pm
by Manimal
Have you tried looking it up in a saved game? Sim a season or two and check if you can find anything

Re: [player_info.dat] Player Info tab in the Editor

Posted: Sun Dec 04, 2011 7:59 am
by nino33
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

Re: [player_info.dat] Player Info tab in the Editor

Posted: Mon Dec 05, 2011 9:48 pm
by Manimal
Has anyone found out what the value -1 means on league stats?

Re: [player_info.dat] Player Info tab in the Editor

Posted: Mon Dec 05, 2011 10:21 pm
by archibalduk
Manimal wrote:Has anyone found out what the value -1 means on league stats?
Where are you seeing a -1?

Re: [player_info.dat] Player Info tab in the Editor

Posted: Mon Dec 05, 2011 10:29 pm
by nino33
archibalduk wrote:Manimal wrote:
Has anyone found out what the value -1 means on league stats?
Archibalduk wrote:
Where are you seeing a -1?
On the Player Info tab, bottom right (League stats) section, many players have -1 entered for Appearances, Goals, Assists, PIMs, Wins and Shutouts.

Re: [player_info.dat] Player Info tab in the Editor

Posted: Tue Dec 06, 2011 4:28 am
by XenHL
I've seen the -1 a couple of times too. Have no idea what it means, though...

Re: [player_info.dat] Player Info tab in the Editor

Posted: Tue Dec 06, 2011 9:58 pm
by archibalduk
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.

Re: [player_info.dat] Player Info tab in the Editor

Posted: Tue Dec 06, 2011 11:02 pm
by Manimal
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 :dunno:

Re: [player_info.dat] Player Info tab in the Editor

Posted: Sat Feb 04, 2012 8:22 am
by Varlamov
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.

Re: [player_info.dat] Player Info tab in the Editor

Posted: Sat Feb 04, 2012 10:23 am
by archibalduk
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?

Re: [player_info.dat] Player Info tab in the Editor

Posted: Sat Mar 03, 2012 12:57 pm
by archibalduk
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?

Re: [player_info.dat] Player Info tab in the Editor

Posted: Sat Mar 03, 2012 1:16 pm
by Manimal
archibalduk wrote:[*]With regards to all of the above, does it cover just regular season or does it also include playoffs?[/list]
Yes. Only regular season except for all but the 'Has played in NA as Junior/in College'

I will get back to you on the other ones later

Re: [player_info.dat] Player Info tab in the Editor

Posted: Sat Mar 03, 2012 2:51 pm
by archibalduk
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.

Re: [player_info.dat] Player Info tab in the Editor

Posted: Sat Mar 03, 2012 2:58 pm
by nino33
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?

Re: [player_info.dat] Player Info tab in the Editor

Posted: Sat Mar 03, 2012 3:00 pm
by archibalduk
nino33 wrote:
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!