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
         Discussion Lock: Any
        Operating System: GNU/Linux
         Planned Release: 



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


Reply to this item at:


  Message sent via/by Gna!

Freeciv-dev mailing list

Reply via email to