[icq-devel] SNAC 13/* Information



rad2k rad2k at mail.ru
Wed Apr 3 13:09:47 CEST 2002


Man,

I LOVE YOU.

Thank YOU and thanks to Mark.

what a great thing to wake up in the morning and read a mail like yours!

rad
-

On Wed, 3 Apr 2002 13:49:29 +0300
Vitaly Goncharuk <filfob at yahoo.com> wrote:

> Hello rad2k,
> 
> Wednesday, April 03, 2002, 07:37:51, you wrote:
> 
> r> Nono u dont get it.
> r> im talking about 'adding' contacts to the buddy list. not to MY client list.
> r> the server wont add those contacts who havent authorized me.
> r> it just rejects the add but returns ok.
> ======
> 
> addind user:
> youSend> Snac 0x13/0x11 (open contact list)
> youSend> Snac 0x13/0x08 (adding user)
> ServerSend> Snac 0x13/0x0e
> ===
> 2a 02 a4 55 00 14 00 13  00 0e 80 00 00 02 00 08
> 00 06 00 01 00 02 00 02  00 0e
> ===
> if last 2 bytes equals 00 00, then user don't want authorization, so
> go to  case (1)
> if last 2 bytes equals 00 0e, then user want authorization, so go to case (2)
> if last 2 bytes equals 00 0a, then there are some error's, so fix errors ;)
> ====
> Next steps
> 
> if case (1) then{
> youSend> Snac 0x13/0x09 (update user list in category )
> ServerSend> Snac 0x13/0x0e
> youSend> Snac 0x13/0x12 (close contact list)
> 
> }
> 
> if case (2) then{
> youSend> Snac 0x13/0x12 (close contact list)
> youSend> Snac 0x13/0x18 (authorization request)
> youSend> Snac 0x13/0x11 (open contact list)
> youSend> Snac 0x13/0x08 (adding user) + 0x00 0x66 after nick name
> ServerSend> Snac 0x13/0x0e
> youSend> Snac 0x13/0x09 (update user list in category )
> ServerSend> Snac 0x13/0x0e
> youSend> Snac 0x13/0x12 (close contact list)
> 
> 
> }
> 
> Good luck!
> 
> 
> 
> -- 
> Best regards,
>  Vitaly Goncharuk                          mailto:filfob at filfob.com.ua
> 
>  [04/03/2002 13:35]                          icq:[94386395]
> 
> -------------------------------------------------
> icq-devel - The forum for ICQ protocol discussion
> For unsubscribe and other mailing list info, see:
> http://www.d.kth.se/~d95-mih/icq/icq-devel/
> 
> 



More information about the icq-devel mailing list