Jump to content

Player Happiness Calculator


Recommended Posts

This all started when I decided to take control of a club with some good players. I finally found a Bayern team with some top class players. But to my disappointment many of them had concerns.

I thought of leaving it and finding another club but then i decided that I would bring them back as most of them had level 1 concern. So I started calculating the games played percentage and how many games to reach required percentage. I also needed to know when the players that I leave out will get concerned. But soon I realised that it is a huge pain .

Then suddenly an idea came to me to use my basic knowledge of C++ to make a simple program to make a percentage calculator and analyser to help me.

This is what i came up with:

http://pastebin.com/raw.php?i=zVJLRUgH

This tells you about only a single player. I use a modified version which tells me about the whole team in one go.

Let's see how it works. Suppose you have player1 who has played 50 of 69 possible games and he expects to play in 75% of the games.

First go to ideone.com and paste the code in first box ( you can also use a compiler like turboc++) . The next box is for input. In this case put it as:

50

69

75

which tells us that he needs to play 7 more games to become just satisfied .

Now suppose player2 has played all of the 69 games and expects to play for 85% of games.The program tells that he can be restef for 12 games.

So I now know that I have to start player1 in place of player2 for next 9 games.

Intact this should be a default feature under "Views" and I'm sure it will be added someday but till that time I'll keep using it.

Link to comment
Share on other sites

Re: Player Happiness Calculator

Brilliant post..thanks mate :)

int main(void)

{

printf ("Thank you");

return 0;

}

The last time I had programming was eons ago' date=' that was with C, java and matlab :/[/quote']

How about this simple game I made on a Spectrum...some 25+ years ago:

1 REM Grand Prix

2 REM Goodluck

10 REM You finished in pole position, an are awaiting the starting light!

11 REM THEYRE OUT...and you fly to the inside....

50 BORDER 7 : PAPER 7 : INK 0 : CLS

51 PRINT AT 3,13 ; PAPER 1 ; INK 7 ; "Maldonado crashes into you, and your race is over!"

52 GOTO 1

Man the hours of fun I had playin that :P

Link to comment
Share on other sites

Riferimento: Player Happiness Calculator

:rolleyes:

I use a more complicated method :o

Max appearances in a season: 38

Best player must play min. 85%: 32 appearances required

90+ must play min. 75%: 28 appearances required

90- must play min. 40%: 15 appearances required

Example:

Championship: 16 (8) = 20

Cup: 4 (1) = 2.5

SMFA Cup: 2 (2) = 3

Total: 25.5

Concern: +1 :(

Link to comment
Share on other sites

Re: Riferimento: Player Happiness Calculator

:rolleyes:

I use a more complicated method :o

Max appearances in a season: 38

Best player must play min. 85%: 32 appearances required

90+ must play min. 75%: 28 appearances required

90- must play min. 40%: 15 appearances required

Example:

Championship: 16 (8) = 20

Cup: 4 (1) = 2.5

SMFA Cup: 2 (2) = 3

Total: 25.5

Concern: +1 :(

SMFA matches dont count mate. Only fixtures where fitness is reduced ;)

Link to comment
Share on other sites

Re: Player Happiness Calculator

This all started when I decided to take control of a club with some good players. I finally found a Bayern team with some top class players. But to my disappointment many of them had concerns.

I thought of leaving it and finding another club but then i decided that I would bring them back as most of them had level 1 concern. So I started calculating the games played percentage and how many games to reach required percentage. I also needed to know when the players that I leave out will get concerned. But soon I realised that it is a huge pain .

Then suddenly an idea came to me to use my basic knowledge of C++ to make a simple program to make a percentage calculator and analyser to help me.

This is what i came up with:

http://pastebin.com/raw.php?i=zVJLRUgH

This tells you about only a single player. I use a modified version which tells me about the whole team in one go.

Let's see how it works. Suppose you have player1 who has played 50 of 69 possible games and he expects to play in 75% of the games.

First go to ideone.com and paste the code in first box ( you can also use a compiler like turboc++) . The next box is for input. In this case put it as:

50

69

75

which tells us that he needs to play 7 more games to become just satisfied .

Now suppose player2 has played all of the 69 games and expects to play for 85% of games.The program tells that he can be restef for 12 games.

So I now know that I have to start player1 in place of player2 for next 9 games.

Intact this should be a default feature under "Views" and I'm sure it will be added someday but till that time I'll keep using it.

The thing I can never get my head around is why a player can have a level 1 concern...play the next three games...and go to level 2.

Link to comment
Share on other sites

Riferimento: Player Happiness Calculator

I have Suarez 95 and Messi 99, Suarez need 75%.

Suarez has played 25/38 games.

He needs 75% >> 28.5 games. Missed 3.5 games.

Now, I run your script and calculate this:

He needs to play 14 games more to reach required game percentage of 75% Current percentage: 65

Then, Suarez needs more 14 games in a row to avoid concern-point?

Link to comment
Share on other sites

Re: Player Happiness Calculator

The thing I can never get my head around is why a player can have a level 1 concern...play the next three games...and go to level 2.

I see you haven't read about concerns in help section. Here I've quoted some info about lack of games :

In a typical Game World' date=' with 38 league games, a player evaluates their season at regular intervals. This usually occurs around Turns 10, 22 and 32.

When deciding the maximum number of games a player could potentially play, they only consider league games but when counting the number of games

they have played, all games where a player can lose fitness are counted.

For example, if a player has played 12 league games and 3 cup games, and 20 league games have been played so far this season, then the player would

have played 15 out of a possible 20, which is 75% of games.

With regards to substitutions, if a player comes on as a substitute then it will count as half an appearance irrespective of what minute they entered the

match.

For example, if a player has played 12 league games, come on as a substitute 8 times and played 3 cup games, and 20 league games have been played so

far this season, then the player would have played 19 out of a possible 20, which is 95% of games.

Within your squad:

the highest rated players expect to play in approximately 85% of games;

players that would expect to be in your first choice line-up and those rated 90 or above, will expect to play in approximately 75% of games;

players that would expect to be a substitute if you selected your first choice line-up and those rated 89 or above, will expect to play in approximately

30-40% of games.

the rest of the players within your squad will only expect to play a few (if any) games.

Goalkeepers are worked out slightly differently, with your highest rated and those 88 or above expecting to play in approximately 90% of games.

If a player plays less games than he would have wanted he still might not develop a concern or increase a level but the level is likely to stay the same not

decrease.

For example, if a player expects to play in approximately 75% of games but actually plays in 70%, then his morale may decrease but he may not develop a

concern.

[b']A player may still develop a concern despite him playing 10 or 15 games in a row, as at the time he evaluates his season, the total games played is still

below how many he would have wanted to have played by this stage of the season.

For example, if a player expects to play in approximately 75% of games, and from Turn 1 they only play in 2 games out of a possible 10, when it comes to

Turn 10 they will develop a Level 1 concern due to only featuring in 20% of games.

If you then start playing them from Turn 10 and they play in the next 12 games (out of a possible 12), when it comes to Turn 22, his concern will increase

to Level 2 due to only playing in 14 games out of a possible 22, which is 63% of games.[/b]

Link to comment
Share on other sites

Re: Riferimento: Player Happiness Calculator

I have Suarez 95 and Messi 99' date=' Suarez need 75%.

Suarez has played 25/38 games.

He needs 75% >> 28.5 games. Missed 3.5 games.

Now, I run your script and calculate this:

He needs to play 14 games more to reach required game percentage of 75% Current percentage: 65

Then, Suarez needs more 14 games in a row to avoid concern-point?

Yes, the formula used gives you the no. of consecutive games a player should play. But I think having 71% should be enough to keep the concern away but a drop in morale will be there.

Link to comment
Share on other sites

Re: Player Happiness Calculator

I see you haven't read about concerns in help section. Here I've quoted some info about lack of games :

It's surprising how many people complain that a player has just had an increase in level for lack of games despite him playing the last [insert number] of games in a row. If they read the Help they'd see what you have quoted and why their player has risen a level:

A player may still develop a concern despite him playing 10 or 15 games in a row' date=' as at the time he evaluates his season, the total games played is still

below how many he would have wanted to have played by this stage of the season.

For example, if a player expects to play in approximately 75% of games, and from Turn 1 they only play in 2 games out of a possible 10, when it comes to Turn 10 they will develop a Level 1 concern due to only featuring in 20% of games. If you then start playing them from Turn 10 and they play in the next 12 games (out of a possible 12), when it comes to Turn 22, his concern will increase to Level 2 due to only playing in 14 games out of a possible 22, which is 63% of games.[/quote']

I've been discussing concerns with another member of the team and we had one or two ideas re this subject. It was kind of scrapping them and putting something else in place but using the concern system in the back ground.

Link to comment
Share on other sites

Re: Player Happiness Calculator

Just a question.. does the number of games carry forward to the next season in determining the % of games?

For example, it is season ending and he develops a concern, but you let him play all the remaining games, and starting of the season, he gets games too.. will his concern drop as a factor of last season games?

I think the concerns should be based on number of games rather than seasons... diff worlds have diff length of the season. If the % resets every season, then it is hard to satisfy a player, especially if he gets good amount of games in both seasons combined, but not in a single season (then his concern keeps rising only).

Maybe the % to be based on last 20 available matches (cup + league)... that's like a good 2months in real life to reverse the concern if possible. Of course long-term injured players should be spared for this lack of games calculation.

Link to comment
Share on other sites

Re: Player Happiness Calculator

Just a question.. does the number of games carry forward to the next season in determining the % of games?

For example' date=' it is season ending and he develops a concern, but you let him play all the remaining games, and starting of the season, he gets games too.. will his concern drop as a factor of last season games?

I think the concerns should be based on number of games rather than seasons... diff worlds have diff length of the season. If the % resets every season, then it is hard to satisfy a player, especially if he gets good amount of games in both seasons combined, but not in a single season (then his concern keeps rising only).[/quote']

The number of games roll from one season to the next and doesn't reset when a new season starts.

Link to comment
Share on other sites

Re: Player Happiness Calculator

The number of games roll from one season to the next and doesn't reset when a new season starts.

But I presume the cup games get wiped out as they are not shown in the player history? So a player might have played 30 out of 38 league games in the previous season (25 in the league) but as soon as the new season starts his stats adjust to 25 out 38. Or am I reading it wrong?

the highest rated players expect to play in approximately 85% of games;players that would expect to be in your first choice line-up

I'd also like to know how rating changes affect concerns?

A player that was highest rated in my team may not remain so after a few rating changes. Does his counter reset or does the system keep track of the period he was the highest rated player in my team?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...