Ämne: Re: [dcdev] Searching |
Från: eric |
Datum: 2004-01-17 8:20 |
Till: Direct Connect developers <[email protected]>, Carl-Adam Brengesjö <[email protected]> |
If you use context, use binary flags instead of string names - you can
save alot of bandwidth - instead of 18 bytes ("base,main,operator") you
have just 2 bytes (in a text protocol, 1 byte if we can cheat) (using
table described below).
base 0
identify 1
auth 2
main 4
operator 8
base|main|operator = 12
And last, about adding more operator `levels' - dont! I can only see the
usage of adding a `voice' (vip), and a global operator level if channel
support are going to be supported.
Adding too many of userlevels in the protocol don't allow much of the
customization that is available to DC today regarding user modes/access.