[Freeciv-Dev] Re: CMA passes back control without reason (PR#1505)
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Mon, Jun 03, 2002 at 05:58:26PM +0200, Raimar Falke wrote:
> > Do attributes really contain information only the server can compute?
>
> The server don't understand attributes. Attributes are calculated from
> the client state.
OK. (I know you designed it that way.) Thank you for explaining.
> Let me draw the data flow (commands take other paths):
>
> server state -------> client state ------> attributes
> (some kind of (a view of the (depend on the previous
> master state) master state; attributes value, on
> not just omissions the client state and on
> but also different time (i.e. it is
> concurrent))
> values)
>
> The server state is saved. Upon a reload the client state is
> recalculated (easy). And also for all other actions we can expect that
> the server and client states are synchronizes.
>
> The easiest for client saved attributes is to freeze this chain, save
> the server state in a savegame and the attributes in a file. This can
> be done with some control packets as pointed out above. The attributes
> will not leave the client in this scenario.
I am not quite sure what you mean by 'freeze this chain'. The server
can send a 'save attributes now' message to the client, with an ID of
the savegame (as you pointed out, hostname+port+timestamp+turn is not
good enough, but hostname+port+timestamp+turn+number-of-saves-this-turn
will work I think).
The drawback is that for many reloaded games the client will not have
any attribute info in this case.
It doesn't seem urgent to me at all, if the overhead can be eliminated
by disabling CMA.
> Raimar
--
Reinier
- [Freeciv-Dev] Re: CMA passes back control without reason (PR#1505), (continued)
- [Freeciv-Dev] Re: CMA passes back control without reason (PR#1505), Christian Knoke, 2002/06/03
- [Freeciv-Dev] Re: CMA passes back control without reason (PR#1505), Raimar Falke, 2002/06/03
- [Freeciv-Dev] Re: CMA passes back control without reason (PR#1505), Reinier Post, 2002/06/03
- [Freeciv-Dev] Re: CMA passes back control without reason (PR#1505), Raimar Falke, 2002/06/03
- [Freeciv-Dev] Re: CMA passes back control without reason (PR#1505),
Reinier Post <=
- [Freeciv-Dev] Re: CMA passes back control without reason (PR#1505), Raimar Falke, 2002/06/03
- [Freeciv-Dev] Re: CMA passes back control without reason (PR#1505), Reinier Post, 2002/06/03
- [Freeciv-Dev] Re: CMA passes back control without reason (PR#1505), Christian Knoke, 2002/06/03
- [Freeciv-Dev] Re: CMA passes back control without reason (PR#1505), Raimar Falke, 2002/06/04
- [Freeciv-Dev] Re: CMA passes back control without reason (PR#1505), Christian Knoke, 2002/06/04
- [Freeciv-Dev] Re: CMA passes back control without reason (PR#1505), Raimar Falke, 2002/06/04
- [Freeciv-Dev] Re: CMA passes back control without reason (PR#1505), Christian Knoke, 2002/06/04
- [Freeciv-Dev] Re: CMA passes back control without reason (PR#1505), Raimar Falke, 2002/06/04
|
|