Re: [Freeciv-Dev] patch: solar plant...
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
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.
Indeed...
This would mean a very obvious incompability problem...
If calcutlation is changed between versions different
clients will show different information - not good...
/Daniel
--
Now take a deep breath, smile and don't take life so seriously... :)
- Re: [Freeciv-Dev] patch: solar plant..., (continued)
- Re: [Freeciv-Dev] patch: solar plant..., Reinier Post, 1999/07/23
- Re: [Freeciv-Dev] patch: solar plant..., Reinier Post, 1999/07/23
- Re: [Freeciv-Dev] patch: solar plant..., Daniel Sjolie, 1999/07/24
- Re: [Freeciv-Dev] patch: solar plant..., Reinier Post, 1999/07/24
- Re: [Freeciv-Dev] patch: solar plant..., Daniel Sjolie, 1999/07/24
- Re: [Freeciv-Dev] patch: solar plant..., David Pfitzner, 1999/07/24
- Re: [Freeciv-Dev] patch: solar plant..., Daniel Sjolie, 1999/07/25
- Re: [Freeciv-Dev] patch: solar plant..., Greg Wooledge, 1999/07/25
- Re: [Freeciv-Dev] patch: solar plant..., Greg Wooledge, 1999/07/23
- Re: [Freeciv-Dev] patch: solar plant..., David Pfitzner, 1999/07/24
- Re: [Freeciv-Dev] patch: solar plant...,
Daniel Sjolie <=
- Re: [Freeciv-Dev] patch: solar plant..., Stephen Hodge, 1999/07/23
- Re: [Freeciv-Dev] patch: solar plant..., Stephen Hodge, 1999/07/25
- Re: [Freeciv-Dev] patch: solar plant..., Reinier Post, 1999/07/26
Re: [Freeciv-Dev] patch: solar plant..., Martin Willemoes Hansen, 1999/07/20
Re: [Freeciv-Dev] patch: solar plant..., Martin Willemoes Hansen, 1999/07/20
|
|