[Freeciv-Dev] Re: Extended connect dialog (PR#977)
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://rt.freeciv.org/Ticket/Display.html?id=977 >
On Mon, Jan 19, 2004 at 07:46:06AM -0800, Mike Kaufman wrote:
>
> <URL: http://rt.freeciv.org/Ticket/Display.html?id=977 >
>
> On Mon, Jan 19, 2004 at 01:10:44AM -0800, Jason Short wrote:
> >
> > - Your translation code is wrong.
> >
> ah, so someone finally explains...
>
> > - Why do the packets you introduce require explicit (non-delta)
> > handling? Raimar?
>
> the handling is explicit, but they are delta packets. the reason for these
> flags: handle-per-conn,no-handle is that these packets are sent before
> players are assigned. They must be handled on a connection rather than
> player basis. They must also be handled before the !pplayer check is
> performed. I've talked to Raimar about added another packet handler for
> these type of packets. He agrees.
While you didn't answer Jason's question you are correct.
> Q: Raimar, do we have array maxes in delta?
Uhh? If you choose the
UINT8 size;
TYPE name[MAX_FOO:size];
form the arrays maximal size is MAX_FOO. Also note that if MAX_FOO is
>255 (or >64k) you have to a big enough type for the "size" field.
> Will the dataio put_string function automatically do a strlen?
The old (non dataio) put_string did as do the dataio one. This wasn't
changed by the delta patch.
Raimar
--
email: rf13@xxxxxxxxxxxxxxxxx
Tank: So what do you need? Besides a miracle.
Neo: Guns. Lots of guns.
-- From The Matrix
- [Freeciv-Dev] Re: Extended connect dialog (PR#977), Mike Kaufman, 2004/01/17
- [Freeciv-Dev] Re: Extended connect dialog (PR#977), Jason Short, 2004/01/17
- [Freeciv-Dev] Re: Extended connect dialog (PR#977), Mike Kaufman, 2004/01/17
- [Freeciv-Dev] Re: Extended connect dialog (PR#977), Jason Short, 2004/01/17
- [Freeciv-Dev] Re: Extended connect dialog (PR#977), Daniel L Speyer, 2004/01/19
- [Freeciv-Dev] Re: Extended connect dialog (PR#977), Jason Short, 2004/01/19
- [Freeciv-Dev] Re: Extended connect dialog (PR#977), Raimar Falke, 2004/01/19
- [Freeciv-Dev] Re: Extended connect dialog (PR#977), Mike Kaufman, 2004/01/19
- [Freeciv-Dev] Re: Extended connect dialog (PR#977),
Raimar Falke <=
- [Freeciv-Dev] Re: Extended connect dialog (PR#977), Jason Short, 2004/01/19
- [Freeciv-Dev] Re: Extended connect dialog (PR#977), Jason Short, 2004/01/19
- [Freeciv-Dev] Re: Extended connect dialog (PR#977), Raimar Falke, 2004/01/20
- [Freeciv-Dev] Re: Extended connect dialog (PR#977), imbaczek@xxxxxxxxxxxxxx, 2004/01/22
- [Freeciv-Dev] Re: Extended connect dialog (PR#977), Raimar Falke, 2004/01/22
- [Freeciv-Dev] Re: Extended connect dialog (PR#977), imbaczek@xxxxxxxxxxxxxx, 2004/01/22
- [Freeciv-Dev] Re: Extended connect dialog (PR#977), imbaczek@xxxxxxxxxxxxxx, 2004/01/22
- [Freeciv-Dev] Re: Extended connect dialog (PR#977), Raimar Falke, 2004/01/23
- [Freeciv-Dev] Re: Extended connect dialog (PR#977), imbaczek@xxxxxxxxxxxxxx, 2004/01/23
- [Freeciv-Dev] (PR#977) Extended connect dialog, Vasco Alexandre da Silva Costa, 2004/01/26
|
|