mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-10-02 10:53:44 +00:00
The client reads <pet a> as its active pet's database ID with GetInt64Attribute (LWOPetControlComponent::LoadFromSaveData 0x00c18120); DLU never wrote it. Live wrote a="0" on every character (226 live charxmls, 45 with pets): the charxml is only read when the player loads, before any pet is out, and a pet summoned afterwards registers itself (RegisterPetDBID). So a is written as 0. The pet taming type p@t stays 0 as DLU already wrote it: it is an int (IntAttribute), the client sets it to 0 for every pet it is given (AddPetToPlayer in LWOPetControlComponent::HandleMessage 0x00d0fe00, which ignores the message's elemental type) and every live pet had t="0". Commented so it isn't "fixed" later. Check in game: with a tamed pet, summon it, change zones and log out and back in: the pet menu and pet naming work as before and no pet is shown as out until you summon one. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>