URL:
<http://gna.org/bugs/?17334>
Summary: Multiplayer ruleset: Apollo Program / space race
broken
Project: Freeciv
Submitted by: jtn
Submitted on: Fri Dec 17 01:34:11 2010
Category: rulesets
Severity: 4 - Important
Priority: 5 - Normal
Status: None
Assigned to: None
Originator Email:
Open/Closed: Open
Release: 2.3.0-beta1
Discussion Lock: Any
Operating System: None
Planned Release: 2.3.0
_______________________________________________________
Details:
In the rewonder thread
<http://forum.freeciv.org/viewtopic.php?t=5815&postdays=0&postorder=asc&start=0>,
cazfi reported
<http://forum.freeciv.org/viewtopic.php?t=5815&postdays=0&postorder=asc&start=30#24404>
the following error in server logs:
1: Surviving requirements are only supported at world range.
and Munk reported that the Apollo Program didn't work.
The cause is the fact that the Apollo Program is a small wonder with a
"surviving" effect at player range:
[effect_apollo_program]
name = "Enable_Space"
value = 1
reqs =
{ "type", "name", "range", "survives"
"Building", "Apollo Program", "Player", 1
}
This causes the error message mentioned, and the effect is entirely ignored,
so no-one will ever be able to build spaceships.
For Longturn, this was apparently fixed
<http://forum.freeciv.org/viewtopic.php?t=5815&postdays=0&postorder=asc&start=45#24759>
by reverting the Apollo Program back to being a Great Wonder with global
range, as in the default ruleset.
The 'multiplayer' ruleset in 2.3.x has inherited this problem. There are a
couple of ways we could fix it without reverting to a great wonder:
* Quick: remove the "survives" flag and instead set the "SaveSmallWonder"
flag for the Apollo Program, which will have much the same effect. (The latter
will only make a difference once bug #17333 is fixed)
* As suggested by vasc
<http://forum.freeciv.org/viewtopic.php?t=5815&postdays=0&postorder=asc&start=45#24901>,
extend the code to allow surviving small wonder with player range, using the
per-player wonder cache. Will require extending that cache to record an
equivalent of WONDER_DESTROYED.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Fri Dec 17 01:34:11 2010 Name: apollo_broken.sav.bz2 Size: 9kB By:
jtn
Trunk savegame: cannot build spaceship parts despite all requirements
apparently being fulfilled
<http://gna.org/bugs/download.php?file_id=11604>
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?17334>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev