News:

SimuTranslator
Make Simutrans speak your language.

Finding the right city growth parameters for online multiplayer

Started by moblet, August 08, 2011, 04:47:36 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

moblet

Some of us who've tried building and managing passenger networks in online multiplayer have struggled to keep up with the rate of city expansion. This is probably mainly due to the fact that unlike single play, the game keeps playing, and the cities keep growing, in our absence; also other players may be supplying goods to the cities and increasing their growth rates. We're therefore thinking that the city growth for online multiplay should be at a much lower rate. I'm thinking around 5% of the default rate. What does everyone else think?

As for how to reduce growth rates by, say, 5%, from what I've been able to piece together from the code, we should multiply the growthfactor parameters by 20 in order to achieve this:

// now give the growth for this step
wachstum += (pas+mail+electricity+goods) / weight_factor;


(weight_factor is the appropriate growthfactor for that size city)

Does that sound right to those who know the code and/or have experimented with these parameters?