mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-10-02 10:53:44 +00:00
Issue 539. When a pet is sent away the client greys its backpack item out again by looking the item up by the ID in MarkInventoryItemAsActive (LWOInventoryComponent_Common::SendMessage 0x00d54b90). The pet kept the item ID it was summoned with, but items get new IDs when they move, so the lookup could miss and the item stayed marked active; the pet's item is now looked up by its subkey when the pet goes away. Sending a pet away also sent AddPetToPlayer with an empty pet. The client never removes anything on that message, it adds a new entry to its pet list (LWOPetControlComponent::HandleMessage 0x00d0fe00), so it left an empty pet behind; live did not send it (2014 captures) and it is no longer sent. RegisterPetID with no pet already clears the active pet and hides the pet menu. The imagination drain kept going after it had sent the pet away (and took another point of imagination); it stops there now. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
36 KiB
36 KiB