Protocols/OSCAR/SNAC/USER LOOKUP FIND REPLY

From NINA Wiki
Jump to navigation Jump to search
OSCAR Protocol
IntroductionTermsClients
Basic
DatatypesFLAPSNACTLV
UUIDsErrorsTool IDs
Host Interaction
Rate LimitsMigrationMessages
Other Services
ADMINADVERTALERT
BARTBOSBUCPCHAT
CHAT_NAV
Tutorials
Sign OnBARTRendezvous
ICBMLocateBuddies
Foodgroups
OSERVICE (0x0001)
LOCATE (0x0002)
BUDDY (0x0003)
ICBM (0x0004)
ADVERT (0x0005)
INVITE (0x0006)
ADMIN (0x0007)
POPUP (0x0008)
PD (0x0009)
USER_LOOKUP (0x000A)
STATS (0x000B)
TRANSLATE (0x000C)
CHAT_NAV (0x000D)
CHAT (0x000E)
ODIR (0x000F)
BART (0x0010)
FEEDBAG (0x0013)
ICQ (0x0015)
BUCP (0x0017)
ALERT (0x0018)
PLUGIN (0x0022)
UNNAMED_FG_24 (0x0024)
MDIR (0x0025)
ARS (0x044A)
ID Origin Name Foodgroup Service Status Version
0x000A, 0x0003 Host USER_LOOKUP__FIND_REPLY Unspecified BOS Active 1.9

Response to search queries.

SNAC Header

Foodgroup uint16 (word) 00 0A
Subgroup uint16 (word) 00 03
Flags uint16 (word) 00 00
Request ID uint32 (dword) 00 00 00 00

SNAC Data

Unconfirmed: This SNAC contains no data


From Aleksandr Shutko: SNAC(0A,03) USER_LOOKUP__FIND_REPLY


This is the server reply to client search by email request. It contain found screennames associated with requested email. Server replies with this SNAC to SNAC(0A,02).

 00 0A   word   SNAC family
 00 03   word   SNAC subtype
 xx xx   word   SNAC flags
 xx xx xx xx   dword   SNAC request-id
 00 01   word   TLV.Type(0x01) - found buddy screenname #1
 xx xx   word   TLV.Length
 xx ..   string   found screenname string
  .... .... ....
 00 01   word   TLV.Type(0x01) - found buddy screenname #N
 xx xx   word   TLV.Length
 xx xx   word   found screenname string


Example SNAC dump with flap header:


  2A 02 4E 04 00 2E 00 0A  00 03 00 00 00 00 00 02 *.>.............
  00 01 00 0E 73 77 65 65  74 67 69 72 6C 33 38 34 ....sweetgirl384
  36 32 00 01 00 0E 73 77 65  65 74 67 69 72 6C 33 62....sweetgirl3
  38 34 36 33                                      8463


USER_LOOKUP SNACs

SNAC List
Subgroup Origin Name
0x0001 Any USER_LOOKUP__ERR
This is the error SNAC for the USER_LOOKUP foodgroup.
0x0002 Client USER_LOOKUP__FIND_BY_EMAIL
Search for other users by email address.
0x0003 Host USER_LOOKUP__FIND_REPLY
Response to search queries.