URL:
<http://gna.org/bugs/?24250>
Summary: Tech tree holes confuse display of research time
remaining
Project: Freeciv
Submitted by: jtn
Submitted on: Wed 30 Dec 2015 06:32:16 PM UTC
Category: client-gtk-2.0
Severity: 3 - Normal
Priority: 5 - Normal
Status: None
Assigned to: None
Originator Email:
Open/Closed: Open
Release: S2_6
Discussion Lock: Any
Operating System: None
Planned Release: 2.6.0, 3.0.0
_______________________________________________________
Details:
Originally reported by a friend (vla22):
Somehow (conquest?) a classic game ended up having the direct prerequisites
for Railroad without having many of their ancestors (Navigation and some
prereqs, total 5 techs).
The classic ruleset allows holes in the tech tree, so it's possible to
research Railway directly. However, with the tech goal also set to Railroad,
the Gtk client's Research report display is wrong in several ways:
* The Goal drop-down shows "6" for Railway, implying 6 techs (including
Railway) must be researched to reach Railroad.
* The text next to the goal drop-down has "6 steps - 2022 bulbs - 16 turns",
which is wrong. The progress bar above it is correct: "171/1402 (10 turns)".
The difference is plausibly the total cost of the 5 unneeded prerequisite
techs.
* All the unneeded prerequisites are coloured blue, implying they need to be
researched.
Attached a screenshot and savefile from the real game where this was found.
This seems to be a regression from 2.5 (maybe in research rework?). Attached
minimal savegame 25_railway_holes shows expected behaviour in S2_5, and
behaviour as described above in S2_6 and trunk.
I haven't checked if this has deeper effects than just a misdisplay on the
client.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Wed 30 Dec 2015 06:32:16 PM UTC Name: Screenshot from 2015-12-11
23:34:55.png Size: 224kB By: jtn
original and minimal reproduction cases
<http://gna.org/bugs/download.php?file_id=26197>
-------------------------------------------------------
Date: Wed 30 Dec 2015 06:32:16 PM UTC Name: freeciv-T0185-Y01350-auto.sav.bz2
Size: 54kB By: jtn
original and minimal reproduction cases
<http://gna.org/bugs/download.php?file_id=26198>
-------------------------------------------------------
Date: Wed 30 Dec 2015 06:32:16 PM UTC Name: 25_railway_holes.sav.bz2 Size:
13kB By: jtn
original and minimal reproduction cases
<http://gna.org/bugs/download.php?file_id=26199>
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?24250>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev