[freeciv-dev] Re: Recreating freeciv client

  • From: Marko Lindqvist <cazfi74@xxxxxxxxx>
  • To: freeciv-dev@xxxxxxxxxxxxx
  • Date: Mon, 22 Jun 2020 18:28:47 +0300

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: