Summary: Multiplayer ruleset: Apollo Program / space race
                 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



In the rewonder thread
cazfi reported
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:

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
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
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:
Trunk savegame: cannot build spaceship parts despite all requirements
apparently being fulfilled


Reply to this item at:


  Message sent via/by Gna!

Freeciv-dev mailing list

Reply via email to