Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2001:
[Freeciv-Dev] Re: [RFC] New event handling
Home

[Freeciv-Dev] Re: [RFC] New event handling

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Andrew McGuinness <andrew_mcguinness@xxxxxxxxxxx>
Cc: freeciv development list <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: [RFC] New event handling
From: Raimar Falke <hawk@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 25 Jan 2001 23:11:16 +0100
Reply-to: rf13@xxxxxxxxxxxxxxxxxxxxxxxx

On Thu, Jan 25, 2001 at 09:21:51PM +0000, Andrew McGuinness wrote:
> 2 Queries/niggles:
> 
> 1)
> 
> I am not sure about using any string as a "message identifier" - I can
> envisage a situation where there are many clients outside the "official"
> freeciv tree, and they would all have to be modified to handle a small
> cosmetic change to the message string.
> 
> If the "category" does not specify the message exactly, there should be
> another field to do this.
> 
> This won't matter in the short term, when the protocol is likely to be
> evolving, but IMHO an aim should be for the protocol to be as stable as
> possible, so that slightly out-of-date AI/ AI-assisted clients can work.

My original ideas included this. I read the gettext info pages to
understand the gettext package. While reading I came across
<http://www.gnu.org/manual/gettext-0.10.35/html_node/gettext_42.html#SEC42>.

It is unclear (there are no users of the note system) whether the
category is sufficient.

> 2)
> 
> Was there not also an idea of identifying the client-originated packet
> that triggered the server-originated packet (when applicable?) It is
> likely to be possible for the client to work this out, but it should be
> easier for the server to keep hold of it.

It is well hidden ;-)

<start quote>
Network
=======
...
strings will not use a static length. An extra serial field will be
added.
<end quote>

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 "- Amiga Y2K fixes (a bit late, wouldn't you say?)"
    -- Linus Torvalds about linux 2.4.0 at 4 Jan 2001



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