bugFreeciv - Bugs: bug #24250, Tech tree holes confuse display of...

 
 
Show feedback again

bug #24250: Tech tree holes confuse display of research time remaining

Submitted by:  Jacob Nevins <jtn>
Submitted on:  Wed Dec 30 18:32:16 2015  
 
Category: client-gtk-2.0Severity: 3 - Normal
Priority: 5 - NormalStatus: None
Assigned to: NoneOpen/Closed: Open
Release: S2_6Operating System: None
Planned Release: 2.6.0, 3.0.0Contains string changes: None

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed Dec 30 18:32:16 2015, original submission:

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.

Jacob Nevins <jtn>
Project Administrator

 

(Note: upload size limit is set to 1024 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #26197:  Screenshot from 2015-12-11 23:34:55.png added by jtn (224kB - image/png - original and minimal reproduction cases)
file #26198:  freeciv-T0185-Y01350-auto.sav.bz2 added by jtn (54kB - application/x-bzip - original and minimal reproduction cases)
file #26199:  25_railway_holes.sav.bz2 added by jtn (13kB - application/x-bzip - original and minimal reproduction cases)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by jtn (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Error: not logged in

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed Dec 30 18:32:16 2015jtnAttached File-=>Added Screenshot from 2015-12-11 23:34:55.png, #26197
      Attached File-=>Added freeciv-T0185-Y01350-auto.sav.bz2, #26198
      Attached File-=>Added 25_railway_holes.sav.bz2, #26199
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup