thank you, for aplying that patch.
further i have on more issue on adding a buddy.
first we have to update the internal buddyItem with each ModifyItemCmd (because updating will fail, if we don’t have the correct tlv’s) and second i think we have to handle the AuthReplyRequest in the handleSnacPacket listener. it’s currently unhandeld
that is what i get after acception of the auth request on the other side:
2007.08.28 16:59:09 OSCAR bos snac packet received: SnacPacketEvent: snacProcessor=ClientSnacProcessor: lastreqid=30, requests: 30, paused=false, snacPacket=SnacPacket type 0x13/0x1b, flag1=0x80: 15 bytes (id=2402748736), snacCommand=net.kano.joscar.snaccmd.ssi.AuthReplyCmd@1b6a350 - FlapPacketEvent: flapProcessor=FlapProcessor: seqNum=SeqNum: min=0, max=65535, last(current)=31, flapCommand=SnacFlapCmd: packet=SnacPacket type 0x13/0x1b, flag1=0x80: 23 bytes (id=2402748736), flapPacket=FlapPacket (channel=2, seq=17197)
2007.08.28 16:59:09 OSCAR snac packet received: SnacPacketEvent: snacProcessor=ClientSnacProcessor: lastreqid=30, requests: 30, paused=false, snacPacket=SnacPacket type 0x13/0x1b, flag1=0x80: 15 bytes (id=2402748736), snacCommand=net.kano.joscar.snaccmd.ssi.AuthReplyCmd@1b6a350 - FlapPacketEvent: flapProcessor=FlapProcessor: seqNum=SeqNum: min=0, max=65535, last(current)=31, flapCommand=SnacFlapCmd: packet=SnacPacket type 0x13/0x1b, flag1=0x80: 23 bytes (id=2402748736), flapPacket=FlapPacket (channel=2, seq=17197)
2007.08.28 16:59:09 OSCAR bos snac packet received: SnacPacketEvent: snacProcessor=ClientSnacProcessor: lastreqid=30, requests: 30, paused=false, snacPacket=SnacPacket type 0x13/0x11, flag1=0x80: 0 bytes (id=2402748751), snacCommand=PreModCmd - FlapPacketEvent: flapProcessor=FlapProcessor: seqNum=SeqNum: min=0, max=65535, last(current)=31, flapCommand=SnacFlapCmd: packet=SnacPacket type 0x13/0x11, flag1=0x80: 8 bytes (id=2402748751), flapPacket=FlapPacket (channel=2, seq=17198)
2007.08.28 16:59:09 OSCAR snac packet received: SnacPacketEvent: snacProcessor=ClientSnacProcessor: lastreqid=30, requests: 30, paused=false, snacPacket=SnacPacket type 0x13/0x11, flag1=0x80: 0 bytes (id=2402748751), snacCommand=PreModCmd - FlapPacketEvent: flapProcessor=FlapProcessor: seqNum=SeqNum: min=0, max=65535, last(current)=31, flapCommand=SnacFlapCmd: packet=SnacPacket type 0x13/0x11, flag1=0x80: 8 bytes (id=2402748751), flapPacket=FlapPacket (channel=2, seq=17198)
2007.08.28 16:59:09 OSCAR bos snac packet received: SnacPacketEvent: snacProcessor=ClientSnacProcessor: lastreqid=30, requests: 30, paused=false, snacPacket=SnacPacket type 0x13/0x9, flag1=0x80: 76 bytes (id=2402748752), snacCommand=ModifyItemsCmd: 1 items: - FlapPacketEvent: flapProcessor=FlapProcessor: seqNum=SeqNum: min=0, max=65535, last(current)=31, flapCommand=SnacFlapCmd: packet=SnacPacket type 0x13/0x9, flag1=0x80: 84 bytes (id=2402748752), flapPacket=FlapPacket (channel=2, seq=17199)
2007.08.28 16:59:09 OSCAR snac packet received: SnacPacketEvent: snacProcessor=ClientSnacProcessor: lastreqid=30, requests: 30, paused=false, snacPacket=SnacPacket type 0x13/0x9, flag1=0x80: 76 bytes (id=2402748752), snacCommand=ModifyItemsCmd: 1 items: - FlapPacketEvent: flapProcessor=FlapProcessor: seqNum=SeqNum: min=0, max=65535, last(current)=31, flapCommand=SnacFlapCmd: packet=SnacPacket type 0x13/0x9, flag1=0x80: 84 bytes (id=2402748752), flapPacket=FlapPacket (channel=2, seq=17199)
2007.08.28 16:59:09 OSCAR bos snac packet received: SnacPacketEvent: snacProcessor=ClientSnacProcessor: lastreqid=30, requests: 30, paused=false, snacPacket=SnacPacket type 0x13/0x12, flag1=0x80: 0 bytes (id=2402748753), snacCommand=PostModCmd - FlapPacketEvent: flapProcessor=FlapProcessor: seqNum=SeqNum: min=0, max=65535, last(current)=31, flapCommand=SnacFlapCmd: packet=SnacPacket type 0x13/0x12, flag1=0x80: 8 bytes (id=2402748753), flapPacket=FlapPacket (channel=2, seq=17200)
2007.08.28 16:59:09 OSCAR snac packet received: SnacPacketEvent: snacProcessor=ClientSnacProcessor: lastreqid=30, requests: 30, paused=false, snacPacket=SnacPacket type 0x13/0x12, flag1=0x80: 0 bytes (id=2402748753), snacCommand=PostModCmd - FlapPacketEvent: flapProcessor=FlapProcessor: seqNum=SeqNum: min=0, max=65535, last(current)=31, flapCommand=SnacFlapCmd: packet=SnacPacket type 0x13/0x12, flag1=0x80: 8 bytes (id=2402748753), flapPacket=FlapPacket (channel=2, seq=17200)
2007.08.28 16:59:09 OSCAR bos snac packet received: SnacPacketEvent: snacProcessor=ClientSnacProcessor: lastreqid=30, requests: 30, paused=false, snacPacket=SnacPacket type 0x3/0xb: 177 bytes (id=2402748789), snacCommand=BuddyStatusCmd: userinfo=UserInfo for 433042016: flags=0x50 (MASK_FREE | 0x40), ICQ status=, memberSince=Mon Mar 05 11:52:05 CET 2007, sessLenAim=9min, onSince=Tue Aug 28 16:49:47 CEST 2007, extraTlvs=[TLV: type=0xc, length=37, ascii value=" “: 00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00, TLV: type=0xa, length=4, ascii value=” ", uint value=0: 00 00 00 00, TLV: type=0x26, length=4, uint value=1186559206: 46 b9 74 e6], longcaps: [] - FlapPacketEvent: flapProcessor=FlapProcessor: seqNum=SeqNum: min=0, max=65535, last(current)=31, flapCommand=SnacFlapCmd: packet=SnacPacket type 0x3/0xb: 177 bytes (id=2402748789), flapPacket=FlapPacket (channel=2, seq=17201)
2007.08.28 16:59:09 OSCAR snac packet received: SnacPacketEvent: snacProcessor=ClientSnacProcessor: lastreqid=30, requests: 30, paused=false, snacPacket=SnacPacket type 0x3/0xb: 177 bytes (id=2402748789), snacCommand=BuddyStatusCmd: userinfo=UserInfo for 433042016: flags=0x50 (MASK_FREE | 0x40), ICQ status=, memberSince=Mon Mar 05 11:52:05 CET 2007, sessLenAim=9min, onSince=Tue Aug 28 16:49:47 CEST 2007, extraTlvs=[TLV: type=0xc, length=37, ascii value=" “: 00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00, TLV: type=0xa, length=4, ascii value=” ", uint value=0: 00 00 00 00, TLV: type=0x26, length=4, uint value=1186559206: 46 b9 74 e6], longcaps: [] - FlapPacketEvent: flapProcessor=FlapProcessor: seqNum=SeqNum: min=0, max=65535, last(current)=31, flapCommand=SnacFlapCmd: packet=SnacPacket type 0x3/0xb: 177 bytes (id=2402748789), flapPacket=FlapPacket (channel=2, seq=17201)
/code
is that correct ? then i will make a patch for that.