Re: [Freeciv-Dev] Optional packets
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Joel Ray Holveck wrote:
> I'm not sure whether you're talking about a request/response scenerio;
> does the server send out all optional info all the time, or does
> OPTIONAL_REQUEST cause the server to start sending out particular
> packets, or is OPTIONAL_REQUEST requesting the server to immediately
> send out an OPTIONAL_INFO packet with the requested information?
>
No - same as for now, there should be no case in which clients blocks
waiting for answer. I mainly think about turning some notifications
on/off - for example, "send me sound hints". Some of these could be
truned on by default - in that case for non-up to date clients, some
bandwitch will be lost. I would not like to see a version where all
optina packets would have to be requested first - this would turn into
very large number of options later. It will be easier to send most of
data every time.
As far as build sounds are concerned, I think that sound type should be
set in ruleset, and detection on event can be done on client only - by
comparing current city data and previous city data.
Artur
|
|