Protocols/OSCAR/SNAC/ICQ DB QUERY/REQ INFORMATION/STAT SHORTCUT BAR

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/0AAF shortcut bar stats report

SNAC(15,02)/07D0/0AAF  CLI_SHORTCUTS_STATS 


ICQ2K clients send this snac when you change your shortcut bar.

 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_REQ
 02 00   word (LE)   request sequence number
 AF 0A   word (LE)   subcmd: META_SND_SHORTCUT_STATS
 xx xx   word (LE)   client major version number
 xx xx   word (LE)   client minor version number
 xx xx   word (LE)   client lesser version number
 xx xx   word (LE)   client build number
 xx xx xx xx   dword (LE)   client distribution number
 xx xx   word (LE)   number of internal shortcuts in list
 xx xx   word (LE)   number of external shortcuts in list
 xx xx   word (LE)   total number of shortcuts in list
 xx xx   word (LE)   shortcut1 string length
 xx ..   ascii str   shortcut1 string
 ...   ...   ...
 xx xx   word (LE)   shortcutN string length
 xx ..   ascii str   shortcutN string


Example SNAC dump with flap header:


  00 15 00 02 00 00 00 42  00 02 00 01 00 78 76 00  .......B .....xv.
  8F E4 5E 00 D0 07 43 00  AF 0A 05 00 2D 00 01 00  ..^...C. ....-...
  C1 0E 55 00 00 00 05 00  00 00 05 00 10 00 7B 39  ..U..... ......{9
  36 33 37 36 38 37 37 2D  32 34 2E 70 6C 67 10 00  6376877- 24.plg..
  7B 39 36 33 37 36 38 37  37 2D 32 34 2E 70 6C 67  {9637687 7-24.plg
  10 00 7B 39 36 33 37 36  38 37 37 2D 32 34 2E 70  ..{96376 877-24.p
  6C 67 10 00 7B 30 30 46  36 32 38 30 45 2D 45 37  lg..{00F 6280E-E7
  2E 70 6C 67 10 00 7B 45  44 32 44 45 44 34 37 2D  .plg..{E D2DED47-
  31 46 2E 70 6C 67                                 1F.plg