Complete.Org: Mailing Lists: Archives: freeciv-dev: February 2004:
[Freeciv-Dev] Re: (PR#7408) unit_list_size(&ptile->units) == 0 Again (Se
Home

[Freeciv-Dev] Re: (PR#7408) unit_list_size(&ptile->units) == 0 Again (Se

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: matusik_s@xxxxx
Subject: [Freeciv-Dev] Re: (PR#7408) unit_list_size(&ptile->units) == 0 Again (Sea barbarians)
From: "ue80@xxxxxxxxxxxxxxxxxxxxx" <ue80@xxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 16 Feb 2004 11:07:36 -0800
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=7408 >

On Mon, Feb 16, 2004 at 09:53:37AM -0800, Jason Short wrote:
> 
> <URL: http://rt.freeciv.org/Ticket/Display.html?id=7408 >
> 
> ue80@xxxxxxxxxxxxxxxxxxxxx wrote:
> > <URL: http://rt.freeciv.org/Ticket/Display.html?id=7408 >
> > 
> > On Mon, Feb 16, 2004 at 08:50:44AM -0800, Jason Short wrote:
> > 
> >><URL: http://rt.freeciv.org/Ticket/Display.html?id=7408 >
> >>
> >>Gregory Berkolaiko wrote:
> >>
> >>
> >>>I feel you are using wrong laguage here.  Why should server remove 
> >>>anything from the client?  Client should do that.
> >>
> >>But how is the client to know when to remove it?
> > 
> > The client knows that after the treaty was cancelled all information
> > which was get from the other player is "dirty".
> 
> But the client didn't get the information from the other player; it got 
> the information from the server.  And the client doesn't necessarily 
> know what the server's rules are for sending this information.

Ok.
 
> Moreover, what can the client really do?  We can remove all dirty units. 
>   But what if we're supposed to know about them, and the server doesn't 
> send them again?  The problem is just the same as if the server was 
> doing the removing, only in two places.

Ok, i was wrong. Because the client has no information about the rules, the 
server has to say that the unit information is dirty.

Think then the server has to check for every unit if it is seen by the
client, and when it was and now not it has to send the client the new
information.

Thomas
-- 
Thomas Strub  ***  eMail ue80@xxxxxxxxxxxxxxxxxxxxx
jb: people are stupid, they don't want to learn.




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