• Welcome to Valhalla Legends Archive.
 

Help With WC3 Clan View

Started by ChR0NiC, February 12, 2004, 09:33 PM

Previous topic - Next topic

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

Packet ID: 0x7D
Direction: Client -> Server (Sent)
Format:
(DWORD)       Cookie
Remarks: Requests a clan memberlist



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.

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


So if anyone can help me.....figure this out, I would appreciate it :D

MyndFyre

Ummm.....

This is all in Bnetdocs..........
QuoteEvery generation of humans believed it had all the answers it needed, except for a few mysteries they assumed would be solved at any moment. And they all believed their ancestors were simplistic and deluded. What are the odds that you are the first generation of humans who will understand reality?

After 3 years, it's on the horizon.  The new JinxBot, and BN#, the managed Battle.net Client library.

Quote from: chyea on January 16, 2009, 05:05 PM
You've just located global warming.

ChR0NiC

#2
Quote from: Myndfyre on February 12, 2004, 09:39 PM
Ummm.....

This is all in Bnetdocs..........

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

effect

#3
Ill spare you my wrath ;p
Quote from: Mangix on March 22, 2005, 03:03 AM
i am an expert Stealthbot VBScript. Recognize Bitch.

ChR0NiC

Quote from: Simi on February 12, 2004, 11:59 PM
why dont you learn something then come back and ask a question

*sigh* Simi has returned to harass me once again.....get over me you already??

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 [email protected], thanks.

ChR0NiC

Quote from: Arthas on February 13, 2004, 12:27 AM
I couldnt help but notice your avatar. Lay off the herb :)

This is not an option for me, not anymore, but thanks for the recommendation, let's talk on AIM :)

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 -.-


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]............

Soul Taker

Looks like you are recieving user names and everything else.

UserLoser.

Quote from: ChR0NiC on February 14, 2004, 02:02 AM
So can anyone help out??
Yes

Quote from: ChR0NiC on February 14, 2004, 02:02 AM
can someone tell me what to do next??
Split up the data for each clan member, like it says on BnetDocs

ChR0NiC

How do I get their rank?? Do you guys know where to receive that part?

Soul Taker

Quote from: ChR0NiC on February 14, 2004, 02:53 PM
How do I get their rank?? Do you guys know where to receive that part?
Check your first post?