Complete.Org: Mailing Lists: Archives: freeciv-dev: December 2001:
[Freeciv-Dev] Re: CMA 3.0
Home

[Freeciv-Dev] Re: CMA 3.0

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Christian Knoke <ChrisK@xxxxxxxx>
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: CMA 3.0
From: Raimar Falke <hawk@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 21 Dec 2001 12:59:16 +0100
Reply-to: rf13@xxxxxxxxxxxxxxxxxxxxxx

On Fri, Dec 21, 2001 at 12:04:36PM +0100, Christian Knoke wrote:
> > > > > This should be solved by attributes. There should be an extra
> > > > > attribute flag which is either: SAVE_ON_SERVER, SAVE_ON_CLIENT,
> > > > > SAVE_ON_BOTH. Note that you also have to specify from which source you
> > > > 
> > > > Why should the presets be saved on the server?
> > > 
> > > I think Raimar's on crack here. He needs to look at the patch. The
> > > _presets_ should not be on the server (just like I think that global
> > > worklists should not be on the server, but that's for another thread)
> > 
> > We have to differentiate two things here:
> >  - the attributes use to save the parameters as the are set for a
> >  city. These have to be saved on the server.
> >  - the presets. The presets should be available in 3 scopes:
> >    - city wide (including the speacial "last working" preset). Must be
> >    on the server.
> >    - nation wide. Lifetime is a game. Available for all cities. Must
> >    be on the server.
> >    - global wide. Lives longer than a game. Must be at the client.
> 
> Seems to complicated to me. Another solution:
> 
> Only have "global wide" presets saved at the client. Store the
> cma_controlled flag and all parameters, per city, on the server
> (as it is now). Whenever a client reconnects, it checks whether
> its presets match one of the actual cma parameter sets of any
> city, and, if so, put the (local) preset name in it. Otherwise,
> have the cma condition unnamed.
> 
> Whenever a city changes its owner, clear cma flag.
> 
> Reasons: Gives most flexibility in evolving and changing my own
> cma presets. Possibility of playing different games at the same 
> time and still being able to evolve my presets. Have as much 
> intelligence as possible on client side.

Problem is, if you have two games which are in mid game and you want
to define different "mid game" presets. I have no idea if this is
needed.

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 Q:  Do you know what the death rate around here is?
 A:  One per person.


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