From aa4869c6e93093b1686b9e9daa662ad6b0dfd356 Mon Sep 17 00:00:00 2001 From: nytmyr <53322305+nytmyr@users.noreply.github.com> Date: Fri, 21 Feb 2025 22:54:35 -0600 Subject: [PATCH] [Hotfix] Fix cursor load on zone (#4704) * [Hotfix] Fix cursor load on zone - Corrects an issue where the item on your cursor would become invisible upon trying to place it anywhere in your inventory. * Remove general to prevent duplicate loads --- zone/client_process.cpp | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-) diff --git a/zone/client_process.cpp b/zone/client_process.cpp index 0639fabf8..46783eb52 100644 --- a/zone/client_process.cpp +++ b/zone/client_process.cpp @@ -776,24 +776,8 @@ void Client::BulkSendInventoryItems() EQ::OutBuffer ob; EQ::OutBuffer::pos_type last_pos = ob.tellp(); - // Equipment items - for (int16 slot_id = EQ::invslot::EQUIPMENT_BEGIN; slot_id <= EQ::invslot::EQUIPMENT_END; slot_id++) { - const EQ::ItemInstance* inst = m_inv[slot_id]; - if (!inst) { - continue; - } - - inst->Serialize(ob, slot_id); - - if (ob.tellp() == last_pos) { - LogInventory("Serialization failed on item slot [{}] during BulkSendInventoryItems. Item skipped", slot_id); - } - - last_pos = ob.tellp(); - } - - // General items - for (int16 slot_id = EQ::invslot::GENERAL_BEGIN; slot_id <= EQ::invslot::GENERAL_END; slot_id++) { + // Possessions items + for (int16 slot_id = EQ::invslot::POSSESSIONS_BEGIN; slot_id <= EQ::invslot::POSSESSIONS_END; slot_id++) { const EQ::ItemInstance* inst = m_inv[slot_id]; if (!inst) { continue;