From e31baaf99bfff398803b040b67bdec7506740b02 Mon Sep 17 00:00:00 2001 From: Gtker Date: Sun, 25 Jul 2021 16:27:36 +0200 Subject: [PATCH] WOWW: Add SMSG_LOGIN_VERIFY_WORLD fields --- epan/dissectors/packet-woww.c | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/epan/dissectors/packet-woww.c b/epan/dissectors/packet-woww.c index 9b608de780..953df6fcb2 100644 --- a/epan/dissectors/packet-woww.c +++ b/epan/dissectors/packet-woww.c @@ -108,6 +108,7 @@ static int hf_woww_character_level = -1; static int hf_woww_character_position_x = -1; static int hf_woww_character_position_y = -1; static int hf_woww_character_position_z = -1; +static int hf_woww_character_orientation = -1; #define WOWW_TCP_PORT 8085 @@ -2630,6 +2631,24 @@ add_body_fields(guint32 opcode, proto_tree_add_item(tree, hf_woww_character_guid, tvb, offset, len, ENC_LITTLE_ENDIAN); break; + case SMSG_LOGIN_VERIFY_WORLD: + len = 4; + proto_tree_add_item(tree, hf_woww_character_map, tvb, + offset, len, ENC_LITTLE_ENDIAN); + offset += len; + proto_tree_add_item(tree, hf_woww_character_position_x, tvb, + offset, len, ENC_LITTLE_ENDIAN); + offset += len; + proto_tree_add_item(tree, hf_woww_character_position_y, tvb, + offset, len, ENC_LITTLE_ENDIAN); + offset += len; + proto_tree_add_item(tree, hf_woww_character_position_z, tvb, + offset, len, ENC_LITTLE_ENDIAN); + offset += len; + proto_tree_add_item(tree, hf_woww_character_orientation, tvb, + offset, len, ENC_LITTLE_ENDIAN); + offset += len; + break; default: break; } @@ -2900,6 +2919,11 @@ proto_register_woww(void) FT_FLOAT, BASE_FLOAT, NULL, 0, NULL, HFILL } }, + { &hf_woww_character_orientation, + { "Orientation", "woww.orientation", + FT_FLOAT, BASE_FLOAT, NULL, 0, + "Heading in degrees, with 0 being north", HFILL } + }, { &hf_woww_character_guild_id, { "Guild ID", "woww.guild_id", FT_UINT32, BASE_HEX_DEC, NULL, 0,