Ä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

earlier, we have said we won't use binary values inside a text protocol to have something clean.

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.

I agree, such things must be kept inside the hub and be invisible to client.

Eric

-- 
DC Developers mailinglist
http://3jane.ashpool.org/cgi-bin/mailman/listinfo/dcdev