[Freeciv-Dev] Re: Profiles from huge game
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Sat, 8 Sep 2001, Trent Piepho wrote:
> It seems that for each improvement you could make a list of improvements that
> it effects. Since most improvements don't effect any others, there will be no
> need to check.
This is true, although effects can also be influenced by
government type, other active effects and known technologies, so it's a
little more complicated than that. (The "other active effects" bit is the
most tricky, and one of the improvements - in the default ruleset - which
makes use of this cond_eff field is the "City Walls" improvement, which I
suspect a lot of people actually use quite widely.)
> It also seems like the client doesn't need to do this, if an improvement
> has a side effect to other cities, the server will send city info
> packets to tell the client about this.
That depends on what you define your "effect" as being. Effects
defined by buildings.ruleset are not sent from the server to the client at
all, since this can reveal information that the client should not know.
> If the city's properties change because of an improvement in another
> city, then don't you have to update the client reports to reflect this?
The number of unhappy citizens (and that kind of thing) is sent
in the city packet in the same way as before, so no updates, on top of
what we already have, are needed.
Ben
--
ben@xxxxxxxxxxxxxxxxxxxxxx http://bellatrix.pcl.ox.ac.uk/~ben/
"The quality of mercy is not strain'd,
It droppeth as the gentle rain from heaven
Upon the place beneath." - 'The Merchant of Venice', William Shakespeare
- [Freeciv-Dev] Re: Slashdot gripes, (continued)
- [Freeciv-Dev] Re: Slashdot gripes, Miguel Farah F., 2001/09/10
- [Freeciv-Dev] Re: Slashdot gripes, Reinier Post, 2001/09/11
- [Freeciv-Dev] Re: Slashdot gripes, Ross W. Wetmore, 2001/09/11
- [Freeciv-Dev] Re: Slashdot gripes, Josh Cogliati, 2001/09/11
- [Freeciv-Dev] Re: Slashdot gripes, Raimar Falke, 2001/09/12
- [Freeciv-Dev] Re: Slashdot gripes, Mike Kaufman, 2001/09/13
- [Freeciv-Dev] Re: Slashdot gripes, Raimar Falke, 2001/09/14
- [Freeciv-Dev] Re: Slashdot gripes, Tony Stuckey, 2001/09/11
- [Freeciv-Dev] Re: Slashdot gripes, Miguel Farah F., 2001/09/11
- [Freeciv-Dev] Re: Profiles from huge game, Trent Piepho, 2001/09/08
- [Freeciv-Dev] Re: Profiles from huge game,
Ben Webb <=
- [Freeciv-Dev] Re: Profiles from huge game, Sebastian Bauer, 2001/09/07
[Freeciv-Dev] Re: Profiles from huge game, Gaute B Strokkenes, 2001/09/02
|
|