The Warcraft III Profile Request often involves several messages to get complete profile information for a user, partially depending on whether or not the user is in a clan.
The following is the request order:
Send: SID_PROFILE
Recv: SID_PROFILE
If the last DWORD of SID_PROFILE is not 0 (in other words, if the user is in a clan):
Regardless of whether or not the user is in a clan:
Send:
SID_WARCRAFTGENERAL Subcommand 0x04, user stats request
Recv:
SID_WARCRAFTGENERAL Subcommand 0x04
Overall, the process lets you obtain the following data:
SID_PROFILE tells you the user's description, location, and whether or not the user is in a clan. SID_CLANMEMBERINFORMATION tells you the rank of the user within his/her clan and when the user joined, as well as the full name of the clan. SID_WARCRAFTGENERAL allows you to retrieve the actual numerical stats of both the user's clan and himself/herself. Profile retrieval is incomplete until all of this data has been processed.
#17
User Comments:None