Complete.Org: Mailing Lists: Archives: freeciv-dev: September 2001:
[Freeciv-Dev] Re: buildings question
Home

[Freeciv-Dev] Re: buildings question

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Trey <trey@xxxxxxxxxxxxxxxxxxxxxxx>
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: buildings question
From: Raimar Falke <hawk@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 9 Sep 2001 08:57:40 +0200
Reply-to: rf13@xxxxxxxxxxxxxxxxxxxxxx

On Sun, Sep 09, 2001 at 02:17:49AM -0400, Trey wrote:
>       Greetings,
>       I was futzing around with freeciv this evening.  I wanted to add a
> new technology/building for myself to play with.  Cloning and cloning vats. 
> Everything seemed to go well, I copied everything to a separate directory
> and did a set techs civ2-trey and set buildings civ2-trey.
>       Unfortunately, when I attempted to start a game I received the
> following message:
> 0: Bad number of buildings 68 (./civ2-trey/buildings.ruleset)
>       Since I was unsure of what this meant, I did the only seemingly
> obvious thing -- searched the source tree for 67, figuring that somewhere
> there was something looking for the number of buildings, and by adding a new
> one I upset something.
>       Does anyone have any suggestions for what I should have done?

Freeciv is not as flexiable as it should be/claims. Add your building
to common/improvement.h:enum improvement_type_id. There may be other
pit falls waiting for you.

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
  A supercomputer is a computer running an endless loop in just a second


[Prev in Thread] Current Thread [Next in Thread]