[Freeciv-Dev] journals
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Sat, 2 Nov 2002, Raimar Falke wrote:
> > But this got me thinking. Let's say we manage to do this in a clean and
> > extensible way.
>
> > We add the possibility in dataio.c to output to file instead of to a
> > network socket.
>
> This is very easy sincedataio works on memory blocks and not on
> sockets.
That's what I thought. Minus the usual suspects (worklists, city maps,
etc), dataio code looks very tidy.
> > We use dataio, libz and good sense to keep
> > the output small. Now we send packets to this file each turn as if it was
> > an omniscient observer... what do we have?
> >
> > A journal!
> >
> > >From this we can do game replay or load a savegame from any given turn...
>
> We need to filter the packet stream for each connection. In others
> words we have to save the packet stream for each connection (if the
> same packet goes to multiple connections it can be merged but these
> are details).
Why not connect an omniscient observer connection to, say, one of the
barbarian players, which records to disk instead of to network? This way
we don't have to merge identical packets where several players observe the
same event.
- Per
- [Freeciv-Dev] Re: [RFC][Patch] Reduce bandwith by using deltas, (continued)
- [Freeciv-Dev] Re: [RFC][Patch] Reduce bandwith by using deltas, Per I. Mathisen, 2002/11/04
- [Freeciv-Dev] Re: [RFC][Patch] Reduce bandwith by using deltas, Mike Kaufman, 2002/11/04
- [Freeciv-Dev] Re: [RFC][Patch] Reduce bandwith by using deltas, Davide Pagnin, 2002/11/04
- [Freeciv-Dev] Re: [RFC][Patch] Reduce bandwith by using deltas, Raimar Falke, 2002/11/04
- [Freeciv-Dev] Re: [RFC][Patch] Reduce bandwith by using deltas, Jason Dorje Short, 2002/11/04
- [Freeciv-Dev] Re: [RFC][Patch] Reduce bandwith by using deltas, Raimar Falke, 2002/11/04
- [Freeciv-Dev] Re: [RFC][Patch] Reduce bandwith by using deltas, Raimar Falke, 2002/11/04
- [Freeciv-Dev] Re: [RFC][Patch] Reduce bandwith by using deltas, Per I. Mathisen, 2002/11/04
- [Freeciv-Dev] Re: [RFC][Patch] Reduce bandwith by using deltas, Raimar Falke, 2002/11/05
- [Freeciv-Dev] Re: [RFC][Patch] Reduce bandwith by using deltas, Thomas Strub, 2002/11/04
- [Freeciv-Dev] journals,
Per I. Mathisen <=
[Freeciv-Dev] Re: [RFC][Patch] Reduce bandwith by using deltas, Raimar Falke, 2002/11/05
|
|