Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct "per week" stats #59

Closed
Sipke82 opened this issue Jul 11, 2018 · 3 comments
Closed

Correct "per week" stats #59

Sipke82 opened this issue Jul 11, 2018 · 3 comments
Labels
feature New feature or request
Milestone

Comments

@Sipke82
Copy link

Sipke82 commented Jul 11, 2018

In the PT lines overview, you have for example 3000 cims per week, but that is in the simulation time and in the real time. I guess it's more like 3000 per hour?

So either replacement of the word "week" to "hour" could work, or show the actual week stat, so i guess more like, 50000 per week.

This also applies for parks and unique buildings, and other stuff i forgot.

@dymanoid dymanoid added the feature New feature or request label Jul 11, 2018
@dymanoid dymanoid modified the milestones: 1.8, 1.9, 1.10 Jul 20, 2018
@dymanoid dymanoid self-assigned this Jul 29, 2018
@dymanoid
Copy link
Owner

dymanoid commented Jul 29, 2018

Following statistics need to be updated:

Main tool selection panel

  • transport overview (passengers)
  • citizens overview (births/deaths)
  • natural resources
  • tourism
  • tours overview (attendees)

Tool panels

  • transport line overview
  • tour overview
  • budget (tool tips)
  • city info (tourists)
  • loans

Main panel

  • building tool tips (upkeep and water)
  • roads tool tips (upkeep)
  • money/citizens tooltip

Info panels

  • water & drain (productivity)
  • garbage processing (productivity)
  • power plants (coal/oil)
  • heating (oil)
  • medical (patients)
  • crematorium / cemetery (funerals)
  • bathes (visitors)
  • park (visitors)
  • unique buildings and monuments (visitors)
  • all (building upkeep)
  • district info (tourists)

@Sipke82
Copy link
Author

Sipke82 commented Jul 29, 2018

Nice overview!
Got no access to the game for a few weeks, but i think roads and stuff also show upkeep per week.

So are you gonna change to show the actually week stats (7 realtime days)?

@dymanoid dymanoid removed their assignment Jul 29, 2018
@dymanoid
Copy link
Owner

dymanoid commented Jul 29, 2018

Showing stats for a particular predefined period is not possible (be it an hour, a day, or a week). The reason of that is how the game does calculate the statistics. The game calculates all stats every 3840 simulation frames regardless of what time flow Real Time configures. This leads to a very odd situation: all economy and logistics are based on this 3840 simulation frames period. Set the time flow speed to 7 - and one stats period is 80 minutes. Set the speed to 1 - and the stats period is one minute!

Since the statistics gathering is scattered across the whole game, it would be a nightmare trying to synchronize the calculation with the time flow speed. And keeping in mind that the time speed in Real Time can arbitrary change (and often)...

So instead, the statistics period will be shown, not the alternatively calculated values.

That means:

  • on time speed 7 in Real Time, you will see 20 passengers in last 80 min.
  • on time speed 1 it will be 20 passengers in last 1 min.

These are the same 20 passengers in the same time, but the calculation period was different (because of different time speed).

This also affects the economy (income / expense), upkeep costs, oil and coal storage, water consumption, etc. etc. You will see this new statistics period for all of those parameters, but the numbers will be the same.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants