SMSG_QUERY_TIME_RESPONSE

Client Version 1.12

Reply to CMSG_QUERY_TIME.

CMSG_QUERY_TIME and this reply does not actually appear to set the time. Instead SMSG_LOGIN_SETTIMESPEED seems to correctly set the time. Running the client with -console will print the date when SMSG_LOGIN_SETTIMESPEED is received, but not when this message is received.

Wowm Representation

Autogenerated from wowm file at wow_message_parser/wowm/world/queries/smsg_query_time_response.wowm:3.

smsg SMSG_QUERY_TIME_RESPONSE = 0x01CF {
    u32 time;
}

SMSG have a header of 4 bytes.

SMSG Header

OffsetSize / EndiannessTypeNameDescription
0x002 / Biguint16sizeSize of the rest of the message including the opcode field but not including the size field.
0x022 / Littleuint16opcodeOpcode that determines which fields the message contains.

Body

OffsetSize / EndiannessTypeNameComment
0x044 / Littleu32timeSeconds since 1970, 1st of January (Unix Time).

Examples

Example 1

0, 6, // size
207, 1, // opcode (463)
148, 152, 80, 97, // time: u32

Client Version 2.4.3, Client Version 3

Reply to CMSG_QUERY_TIME.

CMSG_QUERY_TIME and this reply does not actually appear to set the time. Instead SMSG_LOGIN_SETTIMESPEED seems to correctly set the time. Running the client with -console will print the date when SMSG_LOGIN_SETTIMESPEED is received, but not when this message is received.

Wowm Representation

Autogenerated from wowm file at wow_message_parser/wowm/world/queries/smsg_query_time_response.wowm:22.

smsg SMSG_QUERY_TIME_RESPONSE = 0x01CF {
    u32 time;
    u32 time_until_daily_quest_reset;
}

Header

SMSG have a header of 4 bytes.

SMSG Header

OffsetSize / EndiannessTypeNameDescription
0x002 / Biguint16sizeSize of the rest of the message including the opcode field but not including the size field.
0x022 / Littleuint16opcodeOpcode that determines which fields the message contains.

Body

OffsetSize / EndiannessTypeNameComment
0x044 / Littleu32timeSeconds since 1970, 1st of January (Unix Time).
0x084 / Littleu32time_until_daily_quest_resetUnits need confirmation, but it's likely in seconds, since many other time related things are also seconds.