CMD SURVEY RESULT Client

From wowdev
Jump to navigation Jump to search

CMD_SURVEY_RESULT_Client is a Login Packet sent by the client after receiving a CMD_AUTH_LOGON_PROOF_Server with the hardware_survey_id field set to something other than 0. Afterwards the server does nothing and waits for a CMD_REALM_LIST_Client from the client.

Packet Layout

CMD_SURVEY_RESULT_Client
Offset Size Type Name Description
0x0 1 / - uint8 opcode 0x04 for CMD_SURVEY_RESULT.
0x1 4 / Little uint32 survey_id ID number of the survey.
Same as the server requested through CMD_AUTH_LOGON_PROOF_Server.
0x5 1 / - uint8 error 1 if error occurred for the client when doing the survey.
0x6 2 / Little uint16 compressed_data_length Size of the compressed data that follows.
0x8 compressed_data_length / Little uint8[compressed_data_length] compressed_data Survey data. Is compressed using zlib.
Client limits itself to sending 1000 bytes uncompressed
which can cause the survey to fail for machines with many peripherals attached.