Valhalla Legends Forums Archive | Battle.net Bot Development | Help With WC3 Clan View

AuthorMessageTime
ChR0NiC
I have discovered somewhat of W3 Clan Packets, and this one I am confused on how to get to work.


The first one is requesting the clan member list
[code]
Packet ID: 0x7D
Direction: Client -> Server (Sent)
Format:
(DWORD) Cookie
Remarks: Requests a clan memberlist
[/code]


Then this is receiving it, and usually I receive a number like 255..
I have figured out 25 is the number of people in the clan. But nothing else, and I am not receiving usernames and so forth.
[code]
Packet ID: 0x7D
Direction: Server -> Client (Received)
Format:
(DWORD) Cookie
(BYTE) Number of Members

For each member:
(STRING) Username
(BYTE) Rank
(BYTE) Status
(STRING[]) Append Name
Remarks: Contains the members of a clan.

Possible values for Status:

0x00: Offline
0x01: Online(not in either channel or game)
0x02: In a channel
0x03: In a public game
0x05: In a private game

when Status is 0x02, 0x03 or 0x05, the Append Name indicates the name of channel or game, or it is a 1 byte \0 string.

Possible values for Rank:

0x00: Peon, Initiate that has been in the clan for less than one week
0x01: Peon, Initiate that has been in the clan for over one week
0x02: Grunt
0x03: Shaman
0x04: Chieftain
[/code]

So if anyone can help me.....figure this out, I would appreciate it :D
February 13, 2004, 3:33 AM
Myndfyr
Ummm.....

This is all in Bnetdocs..........
February 13, 2004, 3:39 AM
ChR0NiC
[quote author=Myndfyre link=board=17;threadid=5263;start=0#msg43979 date=1076643578]
Ummm.....

This is all in Bnetdocs..........
[/quote]

Really?? I haven't been there in a while....Sorry
Because of this fact, I just know I am going to get all sorts of criticism
February 13, 2004, 3:45 AM
Null
Ill spare you my wrath ;p
February 13, 2004, 3:54 AM
ChR0NiC
[quote author=Simi link=board=17;threadid=5263;start=0#msg44001 date=1076651997]
why dont you learn something then come back and ask a question
[/quote]

*sigh* Simi has returned to harass me once again.....get over me you already??
February 13, 2004, 6:03 AM
Arthas
I couldnt help but notice your avatar. Lay off the herb :)

Just kidding, anyways, I made a post with all the code for this very packet, message me on AIM, perhaps we could work together on making a more, optimized system. My AIM is "Lordaeron Arthas" if you dont have AIM, email me at Arthas@SonsOfAzeroth.org, thanks.
February 13, 2004, 6:27 AM
ChR0NiC
[quote author=Arthas link=board=17;threadid=5263;start=0#msg44004 date=1076653668]
I couldnt help but notice your avatar. Lay off the herb :)
[/quote]

This is not an option for me, not anymore, but thanks for the recommendation, let's talk on AIM :)
February 13, 2004, 11:34 PM
ChR0NiC
So can anyone help out??
I have done a debug output when receiving 0x7D, can someone tell me what to do next?? Keep in mind I borrowed this account -.-

[code]
0000: FF 7D 67 01 01 00 00 00 1A 43 6C 61 6E 5F 63 4C ÿ}g...Clan_cL
0010: 00 04 00 00 43 68 41 6F 53 2E 4C 65 47 65 6E 44 ...ChAoS.LeGenD
0020: 73 2E 00 02 00 00 46 72 61 4D 65 44 00 03 00 00 s....FraMeD...
0030: 54 72 6F 67 64 6F 72 5B 63 4C 5D 00 02 00 00 54 Trogdor[cL]...T
0040: 72 6F 67 64 6F 72 5D 63 4C 5B 00 02 00 00 63 4C rogdor]cL[...cL
0050: 2D 54 72 6F 67 64 6F 72 00 02 00 00 46 72 61 4D -Trogdor...FraM
0060: 65 44 5B 63 4C 5D 00 02 00 00 43 68 61 6F 73 2D eD[cL]...Chaos-
0070: 4C 65 67 65 6E 64 73 00 02 00 00 43 72 75 43 69 Legends...CruCi
0080: 61 4C 5B 50 68 4F 5D 00 02 00 00 63 4C 2D 4F 77 aL[PhO]...cL-Ow
0090: 4E 61 47 65 00 03 01 00 4A 4E 43 4F 5B 63 4C 5D NaGe..JNCO[cL]
00A0: 00 03 01 00 63 48 61 30 73 4C 65 47 65 4E 64 00 ..cHa0sLeGeNd.
00B0: 02 00 00 41 63 69 64 2D 52 61 69 6E 5B 63 4C 5D ..Acid-Rain[cL]
00C0: 00 02 00 00 47 6F 53 75 00 03 01 00 50 68 75 63 ...GoSu..Phuc
00D0: 6B 68 65 61 64 5B 63 4C 5D 00 02 00 00 44 69 53 khead[cL]...DiS
00E0: 73 5B 63 4C 5D 00 02 00 00 6C 33 75 74 74 66 75 s[cL]...l3uttfu
00F0: 6B 65 64 00 02 00 00 41 6E 61 6C 5B 53 5D 65 78 ked...Anal[S]ex
0100: 00 02 00 00 6C 33 6F 6E 65 64 2D 59 6F 75 00 02 ...l3oned-You.
0110: 00 00 50 75 73 5B 73 5D 79 00 02 00 00 6C 33 61 ..Pus[s]y...l3a
0120: 6E 6E 6E 65 64 2D 59 6F 75 00 02 00 00 6C 33 61 nnned-You...l3a
0130: 6E 67 65 64 79 6F 75 72 6D 6F 6D 00 02 00 00 4A ngedyourmom...J
0140: 4E 43 4F 00 00 01 00 63 4C 5D 00 00 01 00 50 75 NCO...cL]...Pu
0150: 6E 6B 5B 63 4C 5D 00 00 00 00 78 4C 65 44 78 5B nk[cL]....xLeDx[
0160: 63 4C 5D 00 00 01 00 cL]............
[/code]
February 14, 2004, 8:02 AM
Soul Taker
Looks like you are recieving user names and everything else.
February 14, 2004, 9:16 AM
UserLoser.
[quote author=ChR0NiC link=board=17;threadid=5263;start=0#msg44217 date=1076745741]
So can anyone help out??
[/quote]
Yes

[quote author=ChR0NiC link=board=17;threadid=5263;start=0#msg44217 date=1076745741]
can someone tell me what to do next??
[/quote]
Split up the data for each clan member, like it says on BnetDocs
February 14, 2004, 5:41 PM
ChR0NiC
How do I get their rank?? Do you guys know where to receive that part?
February 14, 2004, 8:53 PM
Soul Taker
[quote author=ChR0NiC link=board=17;threadid=5263;start=0#msg44325 date=1076792012]
How do I get their rank?? Do you guys know where to receive that part?
[/quote]
Check your first post?
February 14, 2004, 10:29 PM

Search