[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 11:09:59AM +0200, Christian Knoke wrote:
> On Sun, Jun 02, 2002 at 11:30:34PM +0200, Raimar Falke wrote:
> > On Sun, Jun 02, 2002 at 08:36:54PM +0200, Christian Knoke wrote:
> > > On Sun, Jun 02, 2002 at 08:11:11PM +0200, Raimar Falke wrote:
> > > > On Mon, May 27, 2002 at 12:47:52AM +0200, Raimar Falke wrote:
> > > > > > > > After restart, CMA retreats for a bunch of cities.
> > > > > > > > When I go to city report, I can (re)activate the CMA
> > > > > > > > for the exact preferences which I saved just before.
> > > >
> > > > This isn't a bug.
> > > >
> > > > > Yes attributes (which are used by the CMA to store things) currently
> > > > > get only submit at turn done. It is possible also to submit them at
> > > > > every change but this wasn't necessary yet.
> > > >
> > > > Comments? Sending attributes more often will cause more bandwidth
> > > > usage but will also prevent loss of data if the client
> > > > aborts/disconnects/crashs.
> > >
> > > I'm for it, rather. But how much bandwith? If I change 30 cities,
> > > does it send all attributes 30 times? :-(
> >
> > A lot. You need about 153 bytes/city. So you currently need 4.6kb per
> > turn for 30 CMA controlled cities. Note that every movement of the
> > slider in the frontend sets the attributes and so will cause 4.6kb to
> > be transmitted.
>
> So, if I change all my cities in the city report (I do this
> regularly), I suppose 4.6kb * 30 = 138kb will be transmitted.
> This takes at least 43 seconds with my modem ... :-((
Yes if we change code to transmit the attributes after every change.
Raimar
--
email: rf13@xxxxxxxxxxxxxxxxx
Windows: From the people who brought you edlin...
- [Freeciv-Dev] Re: CMA passes back control without reason (PR#1505), Raimar Falke, 2002/06/02
- [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, 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, 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), Jason Short, 2002/06/03
|
|