Complete.Org: Mailing Lists: Archives: freeciv-dev: December 2001:
[Freeciv-Dev] Re: Ruleset Development - improvements
Home

[Freeciv-Dev] Re: Ruleset Development - improvements

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Ben Webb <ben@xxxxxxxxxxxxxxxxxxxxxx>
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: Ruleset Development - improvements
From: Raimar Falke <hawk@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 4 Dec 2001 20:48:46 +0100
Reply-to: rf13@xxxxxxxxxxxxxxxxxxxxxx

On Tue, Dec 04, 2001 at 07:23:32PM +0000, Ben Webb wrote:
> On Tue, 4 Dec 2001, Raimar Falke wrote:
> 
> > On Tue, Dec 04, 2001 at 05:00:52PM +0000, Ben Webb wrote:
> > > Solutions:
> > > 1. Have the server inform the clients of all active effects (fiddly)
> > > 2. Have the server tell the clients what the luxury production (etc.) of 
> > >    each city is (probably not so bad, since it sends cityinfo packets 
> > >    anyway)
> > > 3. Reveal cities that have "global" effects (in the same way that global 
> > >    wonders are currently revealed)
> > > 
> > 2. will prevent any good client side AI. Either the clients
> > calculations are wrong and so useless or the client has to ask the
> > server every time (slow).
> 
> Good point.
> 
> > From the client side AI point of view 3. is
> > the best. Reveal any information the client needs. Come on if the
> > effect affects your city you know the source.
> 
>       Not necessarily. Consider Civ1-style Bach and the Hoover Dam. Both 
> have effects that cover the continent/island that they're on... but the 
> client may have a different idea about what an "island" is than the server 
> (due to unexplored territory linking two apparently unconnected 
> landmasses). As far as I know, the current code uses the server's idea of 
> an "island", so as far as the client can see, the Dam on one island is 
> affecting two islands! (OK, so you can see the source, but you can't 
> connect it to the effect from the information available - thus the AI's 
> calculations will be wrong.)

This is right. You need to know which cities are on the same continent
as the wonder-city. But you can extract this data with a such wonder
for your own cities (the client AI doesn't want to calculate enemy
cities) anyway.

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 "Despite all the medical advances of the 20th century, the mortality 
  rate remains unchanged at 1 death per person."


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