Player regen in relation to Current Ability & Potential Ability

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
YZG
Second Line
Posts: 682
Joined: Mon Aug 16, 2010 11:17 pm
Custom Rank: DHM Head Researcher
Location: Canada

Player regen in relation to Current Ability & Potential Ability

Post by YZG »

There's one tough hypothetical question I've been wondering about for quite a long time. Let's suppose I create a player in the db and give him a PA of 0, i.e. random value. Let's suppose the game gives him a PA of 117 and the guy plays a full career, then retires. Will his regen have a PA of 117, or a new, random PA will be assigned by the game?

- YZG
User avatar
bruins72
TBL Admin Team
Posts: 14513
Joined: Fri Jan 20, 2006 3:13 pm
Custom Rank: Challenge Guy
Favourite Team: Boston Bruins
Location: Taunton, MA

Re: Official Pre Game Editor Thread. All questions here plea

Post by bruins72 »

That's a good question. The best way I can think of to test it out is to create a player, born in a very unique location. Start a game and check the saved game editor to see his PA. Sim the game until he retires. Check the regen in the saved game editor and see what his PA is.
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: Official Pre Game Editor Thread. All questions here plea

Post by nino33 »

YZG wrote: Let's suppose I create a player in the db and give him a PA of 0, i.e. random value. Let's suppose the game gives him a PA of 117 and the guy plays a full career, then retires. Will his regen have a PA of 117, or a new, random PA will be assigned by the game
I suspect it would actually be different every time, and that you'd never get a 'good" player unless the player retiring had a high CA, based on what the game engine already does with 0 rated players. If your player had both CA and PA of "0" it seems unlikely his CA/PA would ever get above 120 (and the chances of reaching that are about 0.05%). I don't think the game itself will "create" a player with an AHL/NHL level PA/CA from a "0" PA

I just ran some tests using the default db, Pre-Game Editor and Save-game Editor. The original default db has about 49.000 players, with about 4,400 players with a 0 PA...I say 'about" because in each test the numbers are very close but different (i.e. total players showed as 49104 in one test and 49113 in another).

Out of 49104 "staff" in the db there are 34067 players, and of these players 3767 players start with a PA of 0 (about 11% of the db).
Of these 3767 there are 2656 that have both a CA and a PA of 0. (about 8% of the db).
In 3 different tests where I checked there were always only a couple players who came out with a PA around 120, another 100 or so between 80-100 PA and the 2500+ "rest" all below 80.

Three players I checked closely all varied only slightly
- 27 year old Eric Jean was 1/10 the first test. 10/20 the second, and 5/31 the third
- 29 year old Kyle Martin was 9/10 the first test, 11/13 the second test and 9/10 on the third test
- Scott Gordon (with a variable "1900" DOB) was a 2/10 13 year old the first test, an 8/26 27 year old the second test, and not in the db on the third test!
It looks like not all players with a 1900 db show up in every db start-up (had another such player "disappear" at start-up too).

Suspecting that the game is set up to deal with low CAs and thus gives out low PAs I did the same test as above but all three example players were given a 170CA
- 27 year old Eric Jean was 170/170 the first test. 170/170 the second, and 170/170 the third
- 29 year old Kyle Martin was 170/170 the first test, 170/170 the second test and 170/170 on the third test
- Scott Gordon (with a variable "1900" DOB) was a 170/170 23 year old the first test, a 170/170 27 year old the second test, and a 170/170 25 year old the third test
So it seems that if you have a high CA player with a 0 PA he'll come out with the same CA/PA every time.

This I realize does NOT directly correlate to player regens coming in, but IMO it's interesting and good to know and likely points in the right direction...
User avatar
YZG
Second Line
Posts: 682
Joined: Mon Aug 16, 2010 11:17 pm
Custom Rank: DHM Head Researcher
Location: Canada

Re: Official Pre Game Editor Thread. All questions here plea

Post by YZG »

Very interesting informations. Where did the players you followed played? I feel one such player assigned to an NHL team wouldn't have such naff CA/PA's. I'm currently waiting for eLicence to get back to me with my licence issues, but once that's solved, I'll be curious to test it, if you haven't done it yet.

- YZG
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: Official Pre Game Editor Thread. All questions here plea

Post by nino33 »

YZG wrote:Where did the players you followed played? I feel one such player assigned to an NHL team wouldn't have such naff CA/PA's.
Not sure where they played...I agree that potential NHLers wouldn't have such naff CA/PAs.
It seems the game creates about one potential 3rd/4th liner NHLer for every 1300 or so "0"/random players it creates, and another 100 or so that might make an AHL team.....doesn't seem that the game ever creates a decent NHLer from a "0"/random player (one whose CA/PA is 130-200)
Post Reply