URL:
  <http://gna.org/bugs/?19804>

                 Summary: Citizen Governor inaccurate surplus limits
                 Project: Freeciv
            Submitted by: None
            Submitted on: Thu 14 Jun 2012 01:35:02 AM UTC
                Category: general
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: None
             Assigned to: None
        Originator Email: free...@whamra.com
             Open/Closed: Open
                 Release: 
         Discussion Lock: Any
        Operating System: GNU/Linux
         Planned Release: 

    _______________________________________________________

Details:

i used to play freeciv 2.2.7, from kubuntu repos, and the bug wasn't there.
after i installed kubuntu precise, and installed freeciv from its repos, it
gave me freeciv 2.3.1, and couldnt help but notice the bug.
it starts with a governor telling me he cant handle a certain city. i go to
check why, i've told him keep gold at 0 or above, the city is making 0 gold,
production, food, luxury, science are all well above the minimum i
specified... in fact, the city is perfectly adhering to the limits i put, yet
the governor is complaining. so i minimize the gold limit to "-1", and the
governor becomes happy, even though the city is actually still making 0 gold.
after many complaints from many cities on many different issues, i can't help
but notice that governor limits are always acting as if they're one plus what
i specified. if i specify -2 gold, it's interpreted as -1, etc...
i haven't taken any look at the source, but i would hazard a guess the numbers
arent integers but floats that maybe are getting rounded?
i'm attaching a save file, look at "utopia planitia" and "arsia mons". 
i'm using freeciv 2.3.1, using the gtk2 interface.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Thu 14 Jun 2012 01:35:02 AM UTC  Name: freeciv-T0154-Y01040-auto.sav.bz2
 Size: 96kB   By: None
a save file with such problems
<http://gna.org/bugs/download.php?file_id=15816>

    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?19804>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to