[freeciv-dev] Re: Recreating freeciv client

  • From: alec mathison <alec.mathison@xxxxxxxx>
  • To: freeciv-dev@xxxxxxxxxxxxx
  • Date: Mon, 22 Jun 2020 16:33:05 +0100

No we have not implemented the delta protocol yet but that should not be a
problem as we are only trying to understand it when it is first sent

On Mon, Jun 22, 2020 at 4:28 PM Marko Lindqvist <cazfi74@xxxxxxxxx> wrote:

On Mon, 22 Jun 2020 at 01:15, alec Mathison <alec.mathison@xxxxxxxx>
wrote:

Hi me again!

I hope you are all doing well, I managed to uncompress everything and
make it all work nicely.

 Have you implemented only the zlib compression part, or also the
delta protocol?

However, I cannot seem to make packet id: 115 (Packet_Conn_info) work
nicely. My problem is that it does not always send the same amount of info,
I understand that h00 byte is not sent but how does the client know which
h00 byte was not sent? Also the connection id seems to be seperated into 2
parts which is not what is show in
https://github.com/freeciv/freeciv/blob/master/common/networking/packets.def
.

 IF this is delta protocol in action, delta header has the information
what fields have changed since last time and thus sent again.


 - ML


Other related posts: