Vanilla List Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [VANILLA-LIST:2747] CVS write access



On Thu, 9 Dec 1999, Carlos Y. Villalpando wrote:
> >  I have some a bug fix and a new network feature I'd to get in.
> 
> What are they about?

The ship_cap packets the server generates a bad.  This badness doesn't effect
COW but does effect the paradise client.  Fixed this.

I also added a new way to send flags.  There is the SELF_8FLAGS feature, which
sends the low 8 flags in the 'SP_S_YOU_SS' packet.  This is an existing server
feature.  With short packets 2, bits 8-15 are put in the SP_SEQUENCE packet. 
So almost every update, flags 0-15 are sent to the client.  This isn't as good
as it could be, since these flags include useless ones like PFROBOT, and miss
important ones like PFTRACT and PFPRESS.  I made a new feature, 19FLAGS, which
manages to pack 19 flags into the places where the 16 flags normally go. 
PFSELFDEST and PFWAR are the only two that ever change that are not included.

I also made it so that flags sent via these methods are marked by the server
as updated.  Normally when a flag changes, it gets sent via a 12 byte SP_S_YOU
packet, even though it's also sent via the SP_S_YOU_SS or SP_SEQUENCE packet. 
I made it so that flags sent via other methods aren't doubly sent (this is in
the same UDP packet).  So, more state to the client, using less bandwidth.