Protocols/OSCAR/SNAC/ICQ DB QUERY/REQ INFORMATION/INFO SET HPCAT

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
0x0015, 0x0002 Client ICQ__DB_QUERY ICQ BOS Active 1.2


From Aleksandr Shutko: SNAC(15,02)/07D0/0442 META_SET_HPCAT_USERINFO


Client use this to change past/affilations user info. Server should reply via SNAC(15,03)/07DA/00BE which contain flag byte. If flag byte doesn't equal 0x0A - there was an error saving info.

 00 15   word   SNAC family
 00 02   word   SNAC subtype
 00 01   word   SNAC flags
 xx xx xx xx   dword   SNAC request-id
 00 01   word   TLV.Type(1) - encapsulated META_DATA
 xx xx   word   TLV.Length
 xx xx   word (LE)   data chunk size (TLV.Length-2)
 xx xx xx xx   dword (LE)   request owner uin
 D0 07   word (LE)   data type: META_DATA
 02 00   word (LE)   request sequence number
 42 04   word (LE)   data subtype: META_SET_HPCAT_USERINFO
 01   char   1-enabled, 0-disabled
 
 xx xx   word (LE)   homepage category code
 xx xx   word (LE)   homepage keywords string length
 xx .. xx 00   asciiz str   homepage keywords string
 00   char   unknown


Example SNAC dump with flap header:


  2A 02 05 84 00 36 00 15 00 02 00 00 00 21 00 02 *....6.......!..
  00 01 00 28 26 00 31 DE 0B 00 D0 07 33 00 42 04 ...(&.1.....3.B.
  01 8A 03 17 00 48 70 61 67 65 20 64 65 73 63 72 .....Hpage descr
  69 70 74 69 6F 6E 20 74 65 78 74 00             iption text.