Protocols/OSCAR/SNAC/ICQ DB QUERY/REQ INFORMATION/SEARCH RANDOM

From NINA Wiki
Revision as of 06:26, 14 February 2021 by AD (talk | contribs) (Created page with " {{Protocols/OSCAR}} {{Protocols/OSCAR/SNAC/Stats |origin={{Protocols/OSCAR/SNAC/ICQ__DB_QUERY/Origin}} |name=ICQ__DB_QUERY |id=0x0015, 0x0002 |foodgroup=ICQ |service={{Protoc...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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/074E ICQ__CMD_METAx_SEARCH_RANDOM


this snac used to found free-for-chat user from specified group. Server should reply via SNAC(15,03)/07DA/0366 which contain success flag and optionaly (on success) found user uin.

 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
 4E 07   word (LE)   data subtype: ICQ__CMD_METAx_SEARCH_RANDOM
 xx xx   word (LE)   random group to search


Example SNAC dump with flap header:


  2A 02 1E 30 00 1C 00 15 00 02 00 00 00 10 00 02 *..0............
  00 01 00 0E 0C 00 8F E4 5E 00 D0 07 15 00 4E 07 ........^.....N.
  03 00                                            ..

Random Chat Groups

From Aleksandr Shutko: Random chat groups

 
Random chat groups
 
 

ICQ service has ability to search a random user in specific group and each ICQ client may choose group where another client can find it. Here is the list of groups and their codes:

  0x0001   RND_GENERAL     General chat group
  0x0002   RND_ROMANCE     Romance random chat group
  0x0003   RND_GAMES     Games random chat group
  0x0004   RND_STUDENTS     Students random chat group
  0x0006   RND_20SOMETHING     20 something random chat group
  0x0007   RND_30SOMETHING     30 something random chat group
  0x0008   RND_40SOMETHING     40 something random chat group
  0x0009   RND_50PLUS     50+ random chat group
  0x000A   RND_SWOMEN     Seeking women random chat group
  0x000B   RND_SMAN     Seeking man random chat group