Author Topic: [invalid] r4458: Minor bug, The sum of "Units produced" is not equal to "Total  (Read 632 times)

filux

  • MegaGlest Team
  • Draco Rider
  • ********
  • Posts: 310
  • was OpenSuse x64, is Debian testing x64
    • View Profile
Bug detected during studies on another bug. https://forum.megaglest.org/index.php?topic=9099.msg87924#msg87924



1000-935=65
Where the game lost a missing 65 units? :|
« Last Edit: 17 June 2013, 11:18:51 by tomreyn »

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
Are buildings counted in the units produced?
Edit the MegaGlest wiki: http://docs.megaglest.org/

My personal projects: http://github.com/KatrinaHoffert

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
The only units counted are 'produced' units.

This does not include units that you start the game with, nor units that are 'built' like buildings nor units created using createunit lua script commands.

This is not a bug

Thanks.

filux

  • MegaGlest Team
  • Draco Rider
  • ********
  • Posts: 310
  • was OpenSuse x64, is Debian testing x64
    • View Profile
Maybe good idea is add extra information's line, such as:
Code: [Select]
Units produced: 935
Other units: 65
...then "total units" could be easier relate to other numbers.
What is gaining in importance when are more players and are missing, for example 300 units.

Thanks.

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Filux: This bug report has been closed, your last post is a feature request, please report it to the relevant forum, thank you!

Please also note that we're now using [invalid] instead of [not a bug], just because it's much shorter (sadly it is quite harsh, but I couldn't come up with a better short tag).
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·