News:

The Forum Rules and Guidelines
Our forum has Rules and Guidelines. Please, be kind and read them ;).

"Commuters demanded" is incorrect.

Started by RESTRICTED ACCOUNT, May 03, 2018, 10:37:31 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

RESTRICTED ACCOUNT

I thought it strange that most of "Commuters demanded" evenly by 20% like these.


I check these dat file, but different values are set for each.
So, I guess the following two possibilities.
1) the setting value is not displayed properly in the game.
2) makeobj does not correctly write these values.

In the example of town hall, The total value of class_proportion is not 100 but 95 in its dat file.
However, the total value of "Wealth of visitors" is 100% in the game.
Although this has no problem, in the case of "class_proportion_jobs and Commuters demanded", the behavior of this function is strange.

In the example of ParishChurchHolyTrinity,
Commuter demand of Very low is 0% as class_proportion_jobs[0]=0 is set, but other values are evenly by 25%. This seems to be different from the value written in dat file.

class_proportion_jobs[0]=0
class_proportion_jobs[1]=20
class_proportion_jobs[2]=30
class_proportion_jobs[3]=50
class_proportion_jobs[4]=0

(´・ω・`)

jamespetts

Thank you for your report. I think that I have now fixed this - I should be grateful if you could let me know whether this is fixed in the next nightly build.

(For information, the error was a GUI error and did not affect the underlying simulation logic).
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

RESTRICTED ACCOUNT

I confirmed that this issue has been fixed.
Thank you for such quickly fixing and letting me know the details.

Matthew

Thank you for fixing this. It helps to explain why my services were doing so poorly at attracting high-end passengers: they didn't exist!  :P Nice to see another bug bite the dust.
(Signature being tested) If you enjoy playing Simutrans, then you might also enjoy watching Japan Railway Journal
Available in English and simplified Chinese
如果您喜欢玩Simutrans的话,那么说不定就想看《日本铁路之旅》(英语也有简体中文字幕)。