Valhalla Legends Forums Archive | Battle.net Bot Development | Complete clan packet infos(Packet ID: 0x70~0x7F)

AuthorMessageTime
Soar
All instructions are written in the format of bnetdocs.
I did a lot of fixes to some packets, and added 0x72, 0x74, 0x76, 0x78, 0x7A, 0x7B, 0x7E packets.

Packet ID: 0x70
Direction: Client -> Server (Sent)
Format:
(DWORD)       Cookie
(DWORD)       Clan Tag
Remarks: This message is sent to the server to check for viable candidates in the channel and friend list, and also to check the availability of the specified clan tag. If 9 or more candidates are found, the official client prompted with a selection of users that he wants to invite to start a clan.

=================================================
Packet ID: 0x70
Direction: Server -> Client (Received)
Format:
(DWORD)       Cookie
(BYTE)       Status
(BYTE)       Number of potential candidates
(STRING[])    Usernames
Remarks: Contains the list of potential candidates.

Valid Status codes:

0x00: Successfully found candidate(s)
0x01: Clan tag already taken
0x02: Not enough alternation since last clan creation action
0x04~0x09: Exception
0x0a: Invalid clan tag specified

=================================================
Packet ID: 0x71
Direction: Client -> Server (Sent)
Format:
(DWORD)       Cookie
(STRING)       Clan name
(DWORD)       Clan tag
(BYTE)       Number of users to invite
(STRING[])    Usernames to invite

Remarks: This message is used to invite the initial 9 required members to a new clan. The users specified in this packet will recieve 0x72.

=================================================
Packet ID: 0x71
Direction: Server -> Client (Received)
Format:
(DWORD)       Cookie
(BYTE)       Result
(STRING[])     Failed Account Name
Remarks: Multiple invitation response.

Possible values for Result:

0x00: Success (everyone accepted), Failed Account Name will be a 1 byte \0 string.
0x04: Decline
0x05: Cannot contact(not in channel screen) or already in clan

=================================================
Packet ID: 0x72
Direction: Client -> Server (Sent)
Format:
(DWORD)       Cookie
(DWORD)       Clan tag
(STRING[])     Clan creator
(BYTE)       Result
Remarks: Create invitation response from client.

Possible values for Result:

0x04: Decline
0x05: Cannot contact(not in channel screen) or already in clan
0x06: Accept

=================================================
Packet ID: 0x72
Direction: Server -> Client (Received)
Format:
(DWORD)       Cookie
(DWORD)       Clan tag
(STRING)       Clan name
(STRING)       Clan creator
(BYTE)       Number of users to invite
(STRING[])    Usernames to invite
Remarks: This message is sent to all invited members of new clan. All invited members name are recorded in this packet.

=================================================
Packet ID: 0x73
Direction: Client -> Server (Sent)
Format:
(DWORD)       Cookie
Remarks: Disbands the clan of which the client is a member. You must be a chieftain or shaman to send this packet.

=================================================
Packet ID: 0x73
Direction: Server -> Client (Received)
Format:
(DWORD)       Cookie
(BYTE)       Result
Remarks: Possible values for Result:

0x00: Successfully disbanded the clan.
0x01: Exception raised.
0x02: Clan is created less than 1 week, cannot disband

=================================================
Packet ID: 0x74
Direction: Client -> Server (Sent)
Format:
(DWORD)       Cookie
(STRING[])     New chieftain name
Remarks: Grant a member as chieftain in your clan. You must be a leader to send this packet. After granting, you will become a grunt.

=================================================
Packet ID: 0x74
Direction: Server -> Client (Received)
Format:
(DWORD)       Cookie
(BYTE)       Result
Remarks: Possible values for Result:

0x00: Success
0x01: Failed

=================================================
Packet ID: 0x75
Direction: Server -> Client (Received)
Format:
(BYTE)       Unknown (0)
(DWORD)       Clan tag
(BYTE)       Rank
Remarks: This message is recieved when logging on, if you're a member of a clan. It is also sent when you join a clan.

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

=================================================
Packet ID: 0x76
Direction: Server -> Client (Received)
Format:
(BYTE)       Unknown (0)
Remarks: This message is recieved when the client member leave a clan or removed by chieftain/shaman.
Notice: chieftain cannot leave clan, if wanna to do it, he should grant chieftain to another member

=================================================
Packet ID: 0x77
Direction: Client -> Server (Sent)
Format:
(DWORD)       Cookie
(STRING)       Target User
Remarks: Invite user to join a clan, only shaman or chieftain can send this packet

=================================================
Packet ID: 0x77
Direction: Server -> Client (Received)
Format:
(DWORD)       Cookie
(BYTE)       Result
Remarks: This packet is sent to inform the client of the reply to an invitation.
Possible values for Result:
0x00: Invitation accepted
0x04: Invitation declined
0x05: Cannot contact(not in channel screen) or already in clan
0x07: No privilege to invitation
0x08: Cannot invitation
0x09: Clan is full

=================================================
Packet ID: 0x78
Direction: Client -> Server (Sent)
Format:
(DWORD)       Cookie
(STRING)       Target User
Remarks: Remove a member from your clan, only shaman or chieftain can send this packet

=================================================
Packet ID: 0x78
Direction: Server -> Client (Received)
Format:
(DWORD)       Cookie
(BYTE)       Result
Remarks: This packet is sent to inform the client of the reply to an removal.
Possible values for Result:
0x00: Success
0x01: Failed

=================================================
Packet ID: 0x79
Direction: Client -> Server (Sent)
Format:
(DWORD)       Cookie?
(DWORD)       Clan Tag
(STRING)       InvitingLeader
(BYTE)       Response
Remarks: This packet is sent to accept or decline an invitation to a clan.

Possible values for Response:

0x04: Decline
0x05: Cannot contact(not in channel screen) or already in clan
0x06: Accept
0x08: Cannot invite
0x09: Clan is full

=================================================
Packet ID: 0x79
Direction: Server -> Client (Received)
Format:
(DWORD)       Cookie
(DWORD)       Clan Tag
(STRING)       Clan Name
(STRING)       Inviting Leader
Remarks: This packet is recieved when someone invites you to join a clan.

=================================================
Packet ID: 0x7A
Direction: Client -> Server (Sent)
Format:
(DWORD)       Cookie
(STRING[])    Target User
(BYTE)       Rank
Remarks: This message is sent when change rank of a member in clan, only shaman or chieftain can send this packet

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

=================================================
Packet ID: 0x7A
Direction: Server -> Client (Received)
Format:
(DWORD)       Cookie
(BYTE)       Result
Remarks: This packet is sent to inform the client of the reply to an rank promotion/demotion.
Possible values for Result:
0x00: Success
0x01: Failed

=================================================
Packet ID: 0x7B
Direction: Client -> Server (Sent)
Format:
(DWORD)       Unknown(0)
(STRING[])    New motd
Remarks: This message is sent when change the motd of clan, only shaman or chieftain can send this packet

=================================================
Packet ID: 0x7C
Direction: Client -> Server (Sent)
Format:
(DWORD)       Cookie
Remarks: Requests the clan's MOTD.

=================================================
Packet ID: 0x7C
Direction: Server -> Client (Received)
Format:
(DWORD)       Cookie
(DWORD)       Unknown (0)
(STRING)       MOTD
Remarks: This packet is sent to inform the client of the reply to a motd request.

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

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

=================================================
Packet ID: 0x7E
Direction: Server -> Client (Received)
Format:
(DWORD)       Cookie
(STRING[])    Target User
Remarks: This message is received when remove a member from your clan member list

=================================================
Packet ID: 0x7F
Direction: Server -> Client (Received)
Format:
(STRING)       Username
(BYTE)       Rank
(BYTE)       Status
(STRING[])    Append Name
Remarks: This message is received when a member changes their status (by going online, offline, being promoted, etc).

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
December 14, 2003, 12:39 PM
UserLoser.
nice :)
December 14, 2003, 4:09 PM
Spht
Don't forget 0x81.
December 14, 2003, 5:10 PM
Soar
what is 0x81(or there is also a 0x80?) for?
I didn't get any dump packet with ID 0x8?
December 15, 2003, 3:18 AM
Myndfyr
Uh, dude, these are on BnetDocs.
December 16, 2003, 8:40 PM
TriCk
What does the cookie mean?
0x00?
June 5, 2004, 7:08 AM
Myndfyr
[quote author=TriCk link=board=17;threadid=4227;start=0#msg63646 date=1086419336]
What does the cookie mean?
0x00?
[/quote]

The cookie value is something you will send to Battle.net that will be echoed back. It is used to uniquely identify requests.

For instance, 0x77, you specify 0x01 as the cookie value for one person's invitation and 0x02 as the cookie for a second person. Battle.net doesn't send you the target user that you invited with the status reply, but it does send you the cookie. That's how you know, in the WC3 client, who it is who accepted your clan invitation.
June 5, 2004, 8:09 AM

Search