Expenditure limit

It doesn’t happen too often, but this time I only got positive forum reactions on the latest change in SoccerProject. Quite a relief acutally😉

My aim for this particular feature was not only to prevent new managers from spending all their money at once, I also wanted to make life a little harder for cheaters and even slow down the injection of money in the economy by short-life managers. It actually took me a while to find a good and simple solution, but I think this must be the simplest option available. I don’t mean programmatically of course, it’s much more important be easy to understand for a (new) manager.

I always try to stay away from complexity, most of the time simple solutions are simply the best. At first I wanted to gradually increase the budget of starting managers. By means of pre-announced money injections, they would see their budget slowly grow. I wasn’t sure however of how many messages and injections would be ideal in this case. We surely don’t want to overload a new manager with all kinds of info.

Then I figured we could simply create an expenditure limit on transfers, depending on the time a manager has been a member of SoccerProject. I started out by creating some (complex) formulas on how to calculate the weekly raise for the limit. Luckily I then noticed, it would be much simpler to simply use the number of seconds a manager has been on SoccerProject. That meant a very easy check in the code, and a very easy-to-understand solution. That is also the reason the limit will grow by EUR 604 800 each week, there are 604800 seconds in a week.

There is also a nice (imho) little side-effect. Each time a manager tries to make a transfer that limit will have grown. In other words it’s a live-limit and managers will be able to follow the growth. I hope some managers wll like that about it. If not, you can safely ignore this closing paragraph😛

Explore posts in the same categories: Community, Development, Forum, Soccerproject

Tags: ,

You can comment below, or link to this permanent URL from your own site.

2 Comments on “Expenditure limit”

  1. JayantNK Says:

    However its been long time since you introduced cost cutting measures, like extra taxes and raise in player salary. Is there any plans on revoking back to normal. Anyhow, at one point of time you have to think about number of people leaving the game too….

  2. sjarel Says:

    We have no plans to revert these changes. I don’t think those changes have affected the number of managers.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: