Complete.Org: Mailing Lists: Archives: freeciv-dev: July 1999:
Re: [Freeciv-Dev] patch: solar plant...

Re: [Freeciv-Dev] patch: solar plant...

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: Re: [Freeciv-Dev] patch: solar plant...
From: Daniel Sjolie <deepone@xxxxxxxxxx>
Date: Sun, 25 Jul 1999 01:25:57 +0200

On 1999-07-24 13:03:32, David Pfitzner wrote:
> Greg Wooledge wrote:
> > Daniel Sjolie (deepone@xxxxxxxxxx) wrote:
> > 
> > > I now know why I want more general packets... :)
> > > I tried to add fileds to the city struct to display
> > > more detailed pollution info in the client...
> > But this isn't secret information that the client should be able to
> > learn only from the server.  The formulas are (sort of) clearly exposed
> > in the source code, after all.  So put the calculation of pollution in
> > the common directory, and let both the client and the server compute
> > the value, or any subvalues you wish.  Then the client can display all
> > the details without ever consulting the server.
> But then you go more towards having a "smart" client, rather
> than the current "dumb" client.  An advantage of the "dumb"
> approach (that is, send the calculation results instead of 
> having the client do the calcs itself) is that its easy to 
> keep backward compatability if we were to change the details
> of the calculation.

This would mean a very obvious incompability problem...
If calcutlation is changed between versions different
clients will show different information - not good...


Now take a deep breath, smile and don't take life so seriously... :)

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