[Freeciv-Dev] [bug #22839] Can't set a player's government in editor

2014-10-21 Thread Rogier
URL:
  http://gna.org/bugs/?22839

 Summary: Can't set a player's government in editor
 Project: Freeciv
Submitted by: rogier
Submitted on: Tue 21 Oct 2014 09:59:12 AM UTC
Category: editor
Severity: 3 - Normal
Priority: 5 - Normal
  Status: None
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Release: 2.4.3
 Discussion Lock: Any
Operating System: GNU/Linux
 Planned Release: 

___

Details:

In the editor, it is not possible to set a player's government.

That means that in order to change governments, one has to add the statue of
liberty wonder to a city, exit editor mode, perform a revolution, and then
remove the statue of liberty again.






___

Reply to this item at:

  http://gna.org/bugs/?22839

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


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


[Freeciv-Dev] [bug #22840] The science stock cannot be set in the editor

2014-10-21 Thread Rogier
URL:
  http://gna.org/bugs/?22840

 Summary: The science stock cannot be set in the editor
 Project: Freeciv
Submitted by: rogier
Submitted on: Tue 21 Oct 2014 10:03:49 AM UTC
Category: editor
Severity: 3 - Normal
Priority: 5 - Normal
  Status: None
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Release: 2.4.3
 Discussion Lock: Any
Operating System: GNU/Linux
 Planned Release: 

___

Details:

It is not possible to set a player's accumulated science stock in the editor,
like a player's amount of gold can be set.

Please consider adding this.




___

Reply to this item at:

  http://gna.org/bugs/?22840

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


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


[Freeciv-Dev] [bug #22841] A unit's homecity cannot be set in the editor

2014-10-21 Thread Rogier
URL:
  http://gna.org/bugs/?22841

 Summary: A unit's homecity cannot be set in the editor
 Project: Freeciv
Submitted by: rogier
Submitted on: Tue 21 Oct 2014 10:05:57 AM UTC
Category: editor
Severity: 3 - Normal
Priority: 5 - Normal
  Status: None
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Release: 2.4.3
 Discussion Lock: Any
Operating System: GNU/Linux
 Planned Release: 

___

Details:

In the editor, it is not possible to set/change a unit's homecity.




___

Reply to this item at:

  http://gna.org/bugs/?22841

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


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


[Freeciv-Dev] [bug #22842] Can't set a unit state to fortified in the editor

2014-10-21 Thread Rogier
URL:
  http://gna.org/bugs/?22842

 Summary: Can't set a unit state to fortified in the editor
 Project: Freeciv
Submitted by: rogier
Submitted on: Tue 21 Oct 2014 10:12:10 AM UTC
Category: editor
Severity: 2 - Minor
Priority: 5 - Normal
  Status: None
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Release: 2.4.3
 Discussion Lock: Any
Operating System: GNU/Linux
 Planned Release: 

___

Details:

In the editor, after creating a unit, it is not possible to set its state to
fortified, or to fortifying.

For 'fortifying', a workaround is to exit editor mode, and give the unit a
'fortify' command.

The only way to achieve 'fortified' status seems to be to give the unit the
'fortify' command, and then end the turn, which is not usually desirable or
practical when editing.




___

Reply to this item at:

  http://gna.org/bugs/?22842

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


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


[Freeciv-Dev] [bug #22835] Gold income not computed correctly when server needs to recompute city productions (e.g. when a city grows)

2014-10-19 Thread Rogier
URL:
  http://gna.org/bugs/?22835

 Summary: Gold income not computed correctly when server needs
to recompute city productions (e.g. when a city grows)
 Project: Freeciv
Submitted by: rogier
Submitted on: Sun 19 Oct 2014 05:16:26 PM UTC
Category: None
Severity: 3 - Normal
Priority: 5 - Normal
  Status: None
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Release: 2.4.3
 Discussion Lock: Any
Operating System: GNU/Linux
 Planned Release: 

___

Details:

The gold income from a city is not computed correctly when the server needs to
recompute the city productions between turns. This happens for instance when
the city grows. See the attached savegame.

There is one city: Paris. It should have 20 happy citizens and 19 tax
collectors. Current production is coinage. I enabled the CMA, to make sure the
city maintains the desired production values.

Given these settings, Paris is expecting to earn an income of 248 gold for the
next turn, consisting of 202 tax and 46 coinage production.

After finishing the turn however, the actual income appears to have been a
mere 106 gold.

The problem becomes apparent when disabling the CMA before ending the turn: at
the start of the new turn, the expected income is in fact exactly 106 gold.

I suspect the following happens (deduced partly from the freeciv source):

- Before the tax income is computed, the city grows, and the production values
are recomputed by the server, presumably without regard to the CMA
preferences. This resets all tax collectors to researchers.
- The server then uses the newly-computed production values (i.e. the
post-growth values) to compute the income (which I found surprising. I had
assumed that the income was always earned during the *previous* turn).
- Only later does the CMA recompute the city production according to the CMA
preferences, leaving the user utterly puzzled as to why the income is less
than half of what was expected.

If I modify the CMA preferences to maximize gold, which stops the celebration,
and thus the growth, the expected income of 244 is actually earned. This
suggests that the problem only happens when the server needs to recompute city
production values.

Kind regards,

Rogier.





___

File Attachments:


---
Date: Sun 19 Oct 2014 05:16:26 PM UTC  Name:
test-cma-T0001-Y-3999-manual.sav.bz2  Size: 14kB   By: rogier

http://gna.org/bugs/download.php?file_id=22671

___

Reply to this item at:

  http://gna.org/bugs/?22835

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


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