Complete.Org: Mailing Lists: Archives: freeciv-dev: March 2004:
[Freeciv-Dev] Re: Freeciv join game packet sequence
Home

[Freeciv-Dev] Re: Freeciv join game packet sequence

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: "Ineacho ." <ineacho@xxxxxxxxxxx>
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: Freeciv join game packet sequence
From: Raimar Falke <i-freeciv-lists@xxxxxxxxxxxxx>
Date: Wed, 24 Mar 2004 08:37:22 +0100

On Tue, Mar 23, 2004 at 08:34:42PM -0400, Ineacho . wrote:
> Hi,
> Can anyone tell me the order (and types) of packets that are sent by the 
> freeciv server, after it receives a join game packet from a client?

Change the line in common/packets.c to

#define BASIC_PACKET_LOG_LEVEL  LOG_NORMAL

and see for yourself.

> Any guidance as to how deserialization of a packet is done would
> also be appreciated.

The formal definition is in common/packets.def. From this
common/packets_gen.c is created which does the deserialization.

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 "Python 2.0 beta 1 is now available [...]. There is a long list of new 
  features since Python 1.6, released earlier today. We don't plan on 
  any new releases in the next 24 hours."
    -- Jeremy Hylton at Slashdot


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