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

[BUG] Resource production does not match shown values in tooltips #375

Open
4 tasks
lanedirt opened this issue Oct 4, 2024 · 0 comments
Open
4 tasks

[BUG] Resource production does not match shown values in tooltips #375

lanedirt opened this issue Oct 4, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@lanedirt
Copy link
Owner

lanedirt commented Oct 4, 2024

Problem summary

The resource production that the tooltip shows does not match the resource production that the "?" popup shows. I'm not sure yet if this has to do with server speed settings (economy) or if there is a bug somewhere else.

The screenshot for example shows the following differences all for metal mine level 1 with server settings economy speed/research speed/fleet speed all set to 1.

  • Tooltip shows per hour: 96
  • The metal mine "?" properties popup shows per hour: 220
  • The resource settings page shows per hour: 63 (30 base + 33 metal mine level 1)

Todo

Investigate what causes these differences and adjust the logic so that the following places all show the correct resource production:

  • Tooltip when hovering over the metal/crystal/deuterium/energy on top of the screen.
  • The "?" properties popup of the respective buildings (metal mine, crystal mine, deuterium synthesizer, solar plant, fusion reactor)
  • The resource settings page (URL /resources/settings)
  • Test with various server settings for economy speed to ensure all values always match.

Screenshots

Screenshot 2024-10-04 at 09 29 06 Screenshot 2024-10-04 at 09 33 54
@lanedirt lanedirt added the bug Something isn't working label Oct 4, 2024
@lanedirt lanedirt changed the title Resource production does not match shown values in tooltips [BUG] Resource production does not match shown values in tooltips Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant