From 6b3288a922139db56e18992a233d92e310f029c1 Mon Sep 17 00:00:00 2001 From: lili-ffxi <40600148+lili-ffxi@users.noreply.github.com> Date: Mon, 1 Jun 2020 18:32:11 +0100 Subject: [PATCH 1/2] Update fields.lua fix in length of incoming 0x0E1 --- addons/libs/packets/fields.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/libs/packets/fields.lua b/addons/libs/packets/fields.lua index 28270db23..f58c76eb0 100644 --- a/addons/libs/packets/fields.lua +++ b/addons/libs/packets/fields.lua @@ -3408,7 +3408,7 @@ fields.incoming[0x0E0] = L{ -- Party Member List fields.incoming[0x0E1] = L{ {ctype='unsigned short', label='Party ID'}, -- 04 For whatever reason, this is always valid ASCII in my captured packets. - {ctype='unsigned short', label='_unknown1', const=0x0080}, -- 06 Likely contains information about the current chat mode and vote count + {ctype='unsigned short', label='_unknown1', const=0x8000}, -- 06 Likely contains information about the current chat mode and vote count } -- Char Info From f6b7a95935b8defd6b5aef09d957b45a16a23d55 Mon Sep 17 00:00:00 2001 From: lili-ffxi <40600148+lili-ffxi@users.noreply.github.com> Date: Mon, 1 Jun 2020 18:32:53 +0100 Subject: [PATCH 2/2] Update xml.lua removed redundant newline --- addons/libs/xml.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/libs/xml.lua b/addons/libs/xml.lua index 075b34e4c..fc5c9bc45 100644 --- a/addons/libs/xml.lua +++ b/addons/libs/xml.lua @@ -567,7 +567,7 @@ function table.to_xml(t, indentlevel) end if type(val) == 'table' and next(val) then str = str..indent..'<'..key..'>\n' - str = str..table.to_xml(val, indentlevel + 1)..'\n' + str = str..table.to_xml(val, indentlevel + 1) str = str..indent..'\n' else if type(val) == 'table' then