//SRV_COOKIE
FUIN := GetTLVStr(@pkt, T); //Client's UIN in ASCII format
Replace with:
T := GetInt(@pkt, 2);
if T = $008e then // TLV(142 [0x008E])
begin
Inc(pkt.Len, GetInt(@pkt, 2));
FUIN := GetTLVStr(@pkt, T);
end else
if T = $0001 then // TLV(1 [0x0001])
FUIN := GetWStr(@pkt);
Thank's coban2k!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: NO
Find this line in ICQClient.pas:
//SRV_COOKIE
FUIN := GetTLVStr(@pkt, T); //Client's UIN in ASCII format
Replace with:
T := GetInt(@pkt, 2);
if T = $008e then // TLV(142 [0x008E])
begin
Inc(pkt.Len, GetInt(@pkt, 2));
FUIN := GetTLVStr(@pkt, T);
end else
if T = $0001 then // TLV(1 [0x0001])
FUIN := GetWStr(@pkt);
Thank's coban2k!