Author | Message | Time |
---|---|---|
PaiD | Is there anyway to promote/demote friends using packets? Or must I use /f p and /f d. PS: when I do promote and demote bnet sends me 0x69 and I was wanting to know is it possible to cause an item on a listview to move up 1 or down 1 without readding every1? | January 30, 2005, 12:34 AM |
UserLoser. | [quote author=DueL link=topic=10361.msg97337#msg97337 date=1107045240] Is there anyway to promote/demote friends using packets? Or must I use /f p and /f d. PS: when I do promote and demote bnet sends me 0x69 and I was wanting to know is it possible to cause an item on a listview to move up 1 or down 1 without readding every1? [/quote] Yes, yes, yes. | January 30, 2005, 2:20 AM |
JoeTheOdd | UserLoser, what the bloody hell are those yes'es refering to? Yes, you can use packets to do it? Yes, you can move them up and down? Yes.. huh? | January 30, 2005, 3:01 AM |
PaiD | Userloser mind sharing the information a disire? | January 30, 2005, 3:05 AM |
UserLoser. | [quote author=JoeTheOdd link=topic=10361.msg97349#msg97349 date=1107054104] UserLoser, what the bloody hell are those yes'es refering to? Yes, you can use packets to do it? Yes, you can move them up and down? Yes.. huh? [/quote] [quote author=DueL link=topic=10361.msg97337#msg97337 date=1107045240] Is there anyway to promote/demote friends using packets? [/quote] Yes [quote author=DueL link=topic=10361.msg97337#msg97337 date=1107045240] Or must I use /f p and /f d. [/quote] Yes [quote author=DueL link=topic=10361.msg97337#msg97337 date=1107045240] is it possible to cause an item on a listview to move up 1 or down 1 without readding every1? [/quote] Yes What's the problem? | January 30, 2005, 3:15 AM |
PaiD | Can you tell me how to move up/down on the listview? And tell me what packet(s) needed for promote/demote? Edit: Hm Is the packet that your talking about 0xE? | January 30, 2005, 3:17 AM |
R.a.B.B.i.T | No, it's not 0x0e. Try looking at BnetDocs, it's there for a reason :) | January 30, 2005, 3:36 AM |
PaiD | Rabbit. I have. [code] [C>0x65] SID_FRIENDLIST [S>0x65] SID_FRIENDLIST [C>0x66] SID_FRIENDUPDATE [S>0x66] SID_FRIENDUPDATE [S>0x67] SID_FRIENDADDED [S>0x68] SID_FRIENDREMOVED [S>0x69] SID_FRIENDMOVED [/code] Doesnt help much becuase it shows 0x66-0x69 only Server to Client. I tried to send it anyway and I get ipbans so that is why I came here. Hope some1 knows something I dont about this topic. | January 30, 2005, 3:39 AM |
R.a.B.B.i.T | Click on them, they are links! | January 30, 2005, 3:41 AM |
PaiD | Hm I must be blind I dont see anywhere on bnetdocs were it tells me the packet format to add/remove friends Client -> Server | January 30, 2005, 3:48 AM |
KkBlazekK | Do you think battle.net documents is complete? | January 30, 2005, 3:59 AM |
PaiD | I know it isnt complete. That is why I asked the forum members. | January 30, 2005, 4:03 AM |
KkBlazekK | Open Warcraft 3, open your packet logger. Do the event you want, see what happens. | January 30, 2005, 4:22 AM |
UserLoser. | To promote or demote a friend on your friends' list, see message SID_CHATCOMMAND | January 30, 2005, 8:14 AM |
KkBlazekK | [quote]0000 FF 0E 1B 00 2F 66 20 70 20 54 65 63 68 2D 42 6C ..../f p Tech-Bl 0010 61 7A 65 40 75 73 65 61 73 74 00 aze@useast.[/quote] Thats what the official client sends for promoting my account Tech-Blaze. | January 30, 2005, 5:49 PM |
shout | It looks to me as though it is sending SID_CHATCOMMAND with a NTString saying "/f p Tech-Blaze@useast". | January 30, 2005, 7:49 PM |
KkBlazekK | Yes, yes it is. | January 31, 2005, 12:47 AM |
OnlyMeat | [quote author=DueL link=topic=10361.msg97337#msg97337 date=1107045240] I was wanting to know is it possible to cause an item on a listview to move up 1 or down 1 without readding every1? [/quote] IIRC a listview item object has an index attribute, i imagine if you change this then it will alter the ordinal position it will be displayed at. | February 3, 2005, 2:19 PM |
Zakath | Yes, this is the case. In my bot, the internal list that keeps track of extra information on all the users is searchable based on that index, which is synchronized to be the same in both the listview and the linked list. Bear in mind that people can have the same index. If two listview items have the same index, the one more recently added appears first, if I remember right. | February 3, 2005, 4:44 PM |
Myndfyr | [quote author=Zakath link=topic=10361.msg98058#msg98058 date=1107449086] Bear in mind that people can have the same index. If two listview items have the same index, the one more recently added appears first, if I remember right. [/quote] I believe this is incorrect. If you look at the 0x69 SID_FRIENDMOVED packet, each friend has its own index. When you promote member 2, member 1 is automatically demoted to index 2. If indices were not unique, the client would not have a defined way to keep track of the friends list. | February 4, 2005, 12:11 AM |
Zakath | We were talking about the indices of listview items. That has nothing to do with the friendlist. :P | February 4, 2005, 1:00 AM |
UserLoser. | [quote author=MyndFyre link=topic=10361.msg98122#msg98122 date=1107475871] If indices were not unique, the client would not have a defined way to keep track of the friends list. [/quote] Oh, it does. As long as it knows how many people are in your friends list, it keeps track of them :). (See bncs message 0x66) | February 4, 2005, 1:32 AM |