Handicap for young (defender) players?

MadScientist
Patch Team
Posts: 189
Joined: Sun Apr 19, 2020 5:25 pm
Location: Brazil
Has thanked: 588 times
Been thanked: 137 times

Handicap for young (defender) players?

Post by MadScientist »

Xeno wrote: Sun Oct 17, 2021 3:51 pm
Xeno wrote: Tue Sep 28, 2021 7:24 am Could you make a patch to reduce age ranges for handicaps for all positions from 24 to 22 age if possible ? I think positional penalty calculations in code are based on age ranges such as ' below 18, between 18-21, between 21-24, between 24-30, between 30-36, over 36 , etc '.

My suggestion for positional penalty calculations in code are based on age ranges such as ' below 18, between 18-20, between 20-22, between 22-30, between 30-36, over 36 , etc ' and player home reputation instead of player world reputation.
Will you ? @MadScientist
To change to the interval you proposed, simply change 15 to 14 and 18 to 16 in these lines:

Code: Select all

006EC277 CMP AL,15
006EC2A7 CMP AL,18
006ED679 CMP BL,15
006EC914 CMP CL,18
006EC944 CMP CL,15  
006EDEB7 CMP DL,18
As you know 15 hex is 21 and 18 hex is 24.

To use home rep instead of world rep, change +D to +9 in these lines:

Code: Select all

006EC96C MOVSX EAX,WORD PTR DS:[EDI+D] 
006ED681 CMP WORD PTR DS:[EDX+D],0EA6
006EE52E CMP WORD PTR DS:[EAX+D],DI
006EE63F CMP WORD PTR DS:[EAX+D],DI
User avatar
Xeno
Patch Team
Posts: 1368
Joined: Wed Nov 25, 2020 5:01 am
Has thanked: 237 times
Been thanked: 429 times

Handicap for young (defender) players?

Post by Xeno »

MadScientist wrote: Sun Oct 17, 2021 4:31 pm
Xeno wrote: Sun Oct 17, 2021 3:51 pm
Xeno wrote: Tue Sep 28, 2021 7:24 am Could you make a patch to reduce age ranges for handicaps for all positions from 24 to 22 age if possible ? I think positional penalty calculations in code are based on age ranges such as ' below 18, between 18-21, between 21-24, between 24-30, between 30-36, over 36 , etc '.

My suggestion for positional penalty calculations in code are based on age ranges such as ' below 18, between 18-20, between 20-22, between 22-30, between 30-36, over 36 , etc ' and player home reputation instead of player world reputation.
Will you ? @MadScientist
To change to the interval you proposed, simply change 15 to 14 and 18 to 16 in these lines:

Code: Select all

006EC277 CMP AL,15
006EC2A7 CMP AL,18
006ED679 CMP BL,15
006EC914 CMP CL,18
006EC944 CMP CL,15  
006EDEB7 CMP DL,18
As you know 15 hex is 21 and 18 hex is 24.

To use home rep instead of world rep, change +D to +9 in these lines:

Code: Select all

006EC96C MOVSX EAX,WORD PTR DS:[EDI+D] 
006ED681 CMP WORD PTR DS:[EDX+D],0EA6
006EE52E CMP WORD PTR DS:[EAX+D],DI
006EE63F CMP WORD PTR DS:[EAX+D],DI
You are perfect, will try it
One question, is this just for defenders?
* [TUTORIAL] How to install and run the game CM0102?> viewtopic.php?f=85&t=3571
Please use search bar for solution before posting your issue
MadScientist
Patch Team
Posts: 189
Joined: Sun Apr 19, 2020 5:25 pm
Location: Brazil
Has thanked: 588 times
Been thanked: 137 times

Handicap for young (defender) players?

Post by MadScientist »

Xeno wrote: Sun Oct 17, 2021 4:35 pm One question, is this just for defenders?
No, this is for all players and positions
User avatar
Xeno
Patch Team
Posts: 1368
Joined: Wed Nov 25, 2020 5:01 am
Has thanked: 237 times
Been thanked: 429 times

Handicap for young (defender) players?

Post by Xeno »

What is your thinking ? Is it ok about new age intervals?
I think currently , too many young players
Last edited by Xeno on Sun Oct 17, 2021 4:45 pm, edited 1 time in total.
* [TUTORIAL] How to install and run the game CM0102?> viewtopic.php?f=85&t=3571
Please use search bar for solution before posting your issue
MadScientist
Patch Team
Posts: 189
Joined: Sun Apr 19, 2020 5:25 pm
Location: Brazil
Has thanked: 588 times
Been thanked: 137 times

Handicap for young (defender) players?

Post by MadScientist »

Xeno wrote: Sun Oct 17, 2021 4:42 pm What is your thinking ? Is it ok about new age intervals?
honestly i prefer the original intervals but as it was a simple change i posted the offsets
User avatar
Xeno
Patch Team
Posts: 1368
Joined: Wed Nov 25, 2020 5:01 am
Has thanked: 237 times
Been thanked: 429 times

Handicap for young (defender) players?

Post by Xeno »

I think 24 years old is too late nowadays to be good.
It shall be earlier as 22 although Here2Win79 does not agree :)
* [TUTORIAL] How to install and run the game CM0102?> viewtopic.php?f=85&t=3571
Please use search bar for solution before posting your issue
jjklop
Youth Team Player
Posts: 16
Joined: Mon Oct 11, 2021 2:30 pm
Been thanked: 2 times

Handicap for young (defender) players?

Post by jjklop »

Hey Mads!
Thanks for all the feedback.
Very much appreciated.
I ll take some time to digest all the infos...

Also, if you are making a patch, is it possible to make it that all regens with a min of certain PA be automatically given very high Ambition attributes + high reps? For example, the maldinis, the nestas, walter samuels of the game, with high PA of 180 and above, should always have high ambitions and high reps even when they are reborn as regens. That way, the game will have some 'continuity' and even realistic, like if they are good, then it doesnt matter if they are 18yo or 19yo... Top clubs will come after them, instead of letting these players rot at some unheard of teams playing in non-league football for the rest of their life as a regen.

In my current save game playing only scandinavion leagues on (sweden/finland/norway etc), after 20 season in, most top european clubs are left with only 2-3 players in their team, and I have to basically improves the stats of regens via GK editor to make them desirable to the top clubs. It seems that low reps are one of the reasons, along with poor mental attributes. Usually a rep (home/current/world) of 8000 is enough to attract the big clubs to come in for these players again.

Thanks again!
Cheers
jjklop
Youth Team Player
Posts: 16
Joined: Mon Oct 11, 2021 2:30 pm
Been thanked: 2 times

Handicap for young (defender) players?

Post by jjklop »

MadScientist wrote: Sat Oct 16, 2021 2:44 pm
These receive the boost up to 75: heading, finishing, marking, positioning, crossing, passing and creativity.

Note: positioning and marking receive also a megaboost which can increase then way above 75.

The other atts dont get those boosts so they can go up to 45.


basically, for those specific atts, if the player CA is higher than 140 and the in_match value pre-boost is higher than 16 (or 17, 18, depending on the att), then the in_match value will get the boost that can increase it up to 75.
Awesome!!! Now I'm gonna experiment with the GKeditor based on these infos. :D
Thanks.


Intrinsic values range from -125 to 125. So yes, the value for intrinsic/5 can be negative.

If you see a intrinsic value of 255 or 210 it means you are using the notation from the Greamme kelly savegame editor, where 255 means -1 and 210 means -46.

Even the CA can be negative: few people know but the greyed out players have negative CA that range from -1 to -200.
Got it too!!!

Interesting!
But for the IV formula and Ca, even if they are negative values, the in-match value pre-boost at worst will be clamped at 0 right?
So, a player with 210 IV and 160 CA, could actually be on par with a player with 210 IV and 60 CA for a particular attribute, since IV of 210 is -46, that will wipe out the surplus from the CA value (in this case, 160/20 = 8pts thereabouts), and both ended up with 0 in match value ?
Of course this is an extreme example, but would you say this is true?
Which will then make other attributes such as physical and mental attributes much more important in these cases.

Thats all.
Cheers again.
MadScientist
Patch Team
Posts: 189
Joined: Sun Apr 19, 2020 5:25 pm
Location: Brazil
Has thanked: 588 times
Been thanked: 137 times

Handicap for young (defender) players?

Post by MadScientist »

jjklop wrote: Mon Oct 18, 2021 10:24 am But for the IV formula and Ca, even if they are negative values, the in-match value pre-boost at worst will be clamped at 0 right?
Right.

First it does approximatelly: Intrinsic/5 + CA/20 + other_factors

Then it clamps to 0.

Then it applies the boost and the mega boost (when relevant).

Then it applies the positional penalty and clamps to 0 again.
jjklop wrote: Mon Oct 18, 2021 10:24 am So, a player with 210 IV and 160 CA, could actually be on par with a player with 210 IV and 60 CA for a particular attribute, since IV of 210 is -46, that will wipe out the surplus from the CA value (in this case, 160/20 = 8pts thereabouts), and both ended up with 0 in match value ?
Of course this is an extreme example, but would you say this is true?
Not true. Lets do the math, supposing a 10 for other_factors:

Player 1: -46/5 + 160/20 + 10 = 8.8
Player 2: -46/5 + 60/20 + 10 = 3.8
samsami
VIP
Posts: 1539
Joined: Fri Feb 14, 2020 11:54 am
Has thanked: 1143 times
Been thanked: 750 times

Handicap for young (defender) players?

Post by samsami »

MadScientist wrote: Sat Oct 16, 2021 2:44 pm
jjklop wrote: Thu Oct 14, 2021 6:22 pm what kind of situation or condition that will trigger this boost?
basically, for those specific atts, if the player CA is higher than 140 and the in_match value pre-boost is higher than 16 (or 17, 18, depending on the att), then the in_match value will get the boost that can increase it up to 75.
Now this is interesting. So when you manage a team which only has players with a CA of <140 (in my case even their PA is <140) you will have a really hard time trying to be successful at the top flight level where many teams have players with a PA >140 who will all benefit from this boost to their heading, finishing, marking, positioning, crossing, passing and creativity.
Post Reply