From 957c292533471a10dceb116fd20e6dff2a09d8a4 Mon Sep 17 00:00:00 2001 From: RubenatorX Date: Thu, 10 Feb 2022 06:35:15 -0700 Subject: [PATCH 1/2] Packets 0x01C update --- addons/libs/packets/fields.lua | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/addons/libs/packets/fields.lua b/addons/libs/packets/fields.lua index 6962ea40e..5fe0bf2e8 100644 --- a/addons/libs/packets/fields.lua +++ b/addons/libs/packets/fields.lua @@ -1540,7 +1540,7 @@ fields.incoming[0x01B] = L{ -- all arrived and still did not see any change in the second set of sizes, so they -- may not be max size/used size chars as I initially assumed. Adding them as shorts -- for now. --- There appears to be space for another 8 bags. +-- There appears to be space for another 3 bags. fields.incoming[0x01C] = L{ {ctype='unsigned char', label='Inventory Size'}, -- 04 {ctype='unsigned char', label='Safe Size'}, -- 05 @@ -1555,7 +1555,12 @@ fields.incoming[0x01C] = L{ {ctype='unsigned char', label='Wardrobe 2 Size'}, -- 0E {ctype='unsigned char', label='Wardrobe 3 Size'}, -- 0F {ctype='unsigned char', label='Wardrobe 4 Size'}, -- 10 - {ctype='data[19]', label='_padding1', const=''}, -- 11 + {ctype='unsigned char', label='Wardrobe 5 Size'}, -- 11 + {ctype='unsigned char', label='Wardrobe 6 Size'}, -- 12 + {ctype='unsigned char', label='Wardrobe 7 Size'}, -- 13 + {ctype='unsigned char', label='Wardrobe 8 Size'}, -- 14 + {ctype='unsigned char', label='Recycle Bin Size'}, -- 15 + {ctype='data[14]', label='_padding1', const=''}, -- 16 {ctype='unsigned short', label='_dupeInventory Size'}, -- 24 These "dupe" sizes are set to 0 if the inventory disabled. {ctype='unsigned short', label='_dupeSafe Size'}, -- 26 {ctype='unsigned short', label='_dupeStorage Size'}, -- 28 The accumulated storage from all items (uncapped) -1 @@ -1569,7 +1574,12 @@ fields.incoming[0x01C] = L{ {ctype='unsigned short', label='_dupeWardrobe 2 Size'}, -- 38 {ctype='unsigned short', label='_dupeWardrobe 3 Size'}, -- 3A This is not set to 0 despite being disabled for whatever reason {ctype='unsigned short', label='_dupeWardrobe 4 Size'}, -- 3C This is not set to 0 despite being disabled for whatever reason - {ctype='data[22]', label='_padding2', const=''}, -- 3E + {ctype='unsigned short', label='_dupeWardrobe 5 Size'}, -- 3E This is not set to 0 despite being disabled for whatever reason + {ctype='unsigned short', label='_dupeWardrobe 6 Size'}, -- 40 This is not set to 0 despite being disabled for whatever reason + {ctype='unsigned short', label='_dupeWardrobe 7 Size'}, -- 42 This is not set to 0 despite being disabled for whatever reason + {ctype='unsigned short', label='_dupeWardrobe 8 Size'}, -- 44 This is not set to 0 despite being disabled for whatever reason + {ctype='unsigned short', label='_dupeRecycle Bin Size'}, -- 46 + {ctype='data[12]', label='_padding2', const=''}, -- 3E } -- Finish Inventory From 985bf489dfaf74e845669fb5387dfdd0744c1c0c Mon Sep 17 00:00:00 2001 From: RubenatorX Date: Thu, 10 Feb 2022 16:29:02 -0700 Subject: [PATCH 2/2] Packets 0x01C Update --- addons/libs/packets/fields.lua | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/addons/libs/packets/fields.lua b/addons/libs/packets/fields.lua index e0ab0616d..17d7d8289 100644 --- a/addons/libs/packets/fields.lua +++ b/addons/libs/packets/fields.lua @@ -1540,7 +1540,7 @@ fields.incoming[0x01B] = L{ -- all arrived and still did not see any change in the second set of sizes, so they -- may not be max size/used size chars as I initially assumed. Adding them as shorts -- for now. --- There appears to be space for another 3 bags. +-- There appears to be space for another 8 bags. fields.incoming[0x01C] = L{ {ctype='unsigned char', label='Inventory Size'}, -- 04 {ctype='unsigned char', label='Safe Size'}, -- 05 @@ -1559,7 +1559,8 @@ fields.incoming[0x01C] = L{ {ctype='unsigned char', label='Wardrobe 6 Size'}, -- 12 {ctype='unsigned char', label='Wardrobe 7 Size'}, -- 13 {ctype='unsigned char', label='Wardrobe 8 Size'}, -- 14 - {ctype='data[15]', label='_padding1', const=''}, -- 15 + {ctype='unsigned char', label='Recycle Bin Size'}, -- 15 + {ctype='data[14]', label='_padding1', const=''}, -- 16 {ctype='unsigned short', label='_dupeInventory Size'}, -- 24 These "dupe" sizes are set to 0 if the inventory disabled. {ctype='unsigned short', label='_dupeSafe Size'}, -- 26 {ctype='unsigned short', label='_dupeStorage Size'}, -- 28 The accumulated storage from all items (uncapped) -1 @@ -1573,11 +1574,12 @@ fields.incoming[0x01C] = L{ {ctype='unsigned short', label='_dupeWardrobe 2 Size'}, -- 38 {ctype='unsigned short', label='_dupeWardrobe 3 Size'}, -- 3A This is not set to 0 despite being disabled for whatever reason {ctype='unsigned short', label='_dupeWardrobe 4 Size'}, -- 3C This is not set to 0 despite being disabled for whatever reason - {ctype='unsigned short', label='_dupeWardrobe 5 Size'}, -- 3C This is not set to 0 despite being disabled for whatever reason - {ctype='unsigned short', label='_dupeWardrobe 6 Size'}, -- 3C This is not set to 0 despite being disabled for whatever reason - {ctype='unsigned short', label='_dupeWardrobe 7 Size'}, -- 3C This is not set to 0 despite being disabled for whatever reason - {ctype='unsigned short', label='_dupeWardrobe 8 Size'}, -- 3C This is not set to 0 despite being disabled for whatever reason - {ctype='data[30]', label='_padding2', const=''}, -- 3E + {ctype='unsigned short', label='_dupeWardrobe 5 Size'}, -- 3E This is not set to 0 despite being disabled for whatever reason + {ctype='unsigned short', label='_dupeWardrobe 6 Size'}, -- 40 This is not set to 0 despite being disabled for whatever reason + {ctype='unsigned short', label='_dupeWardrobe 7 Size'}, -- 42 This is not set to 0 despite being disabled for whatever reason + {ctype='unsigned short', label='_dupeWardrobe 8 Size'}, -- 44 This is not set to 0 despite being disabled for whatever reason + {ctype='unsigned short', label='_dupeRecycle Bin Size'}, -- 46 + {ctype='data[12]', label='_padding2', const=''}, -- 3E } -- Finish Inventory