mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 13:37:05 +00:00
Problem exist from client version switch when stable slot amount changed. In result this has been source problems with stable use (3-4 slots) and possible pet lost in some cases or "not save state" for summoned pets. Use enums to avoid repeating problem, use more safe value for not-in-slot save (for summoned pets) Fixed data preparing for MSG_LIST_STABLED_PETS.
5 lines
259 B
SQL
5 lines
259 B
SQL
ALTER TABLE character_db_version CHANGE COLUMN required_7546_01_characters_uptime required_7644_01_characters_character_pet bit;
|
|
|
|
/* only hunter pets must be in stable */
|
|
UPDATE `character_pet`
|
|
SET slot = 100 WHERE PetType <> 1 AND slot >= 1 AND slot <= 4;
|