Pet Hiding and showing.

Discussion in 'Help & Support / Errors & Bugs' started by DiamondDesire, Jun 25, 2017.

  1. DiamondDesire

    DiamondDesire Queen of Diamonds
    Builder ⛰️ Ex-EcoLeader ⚜️⚜️⚜️ Premium Upgrade

    Joined:
    Jul 19, 2013
    Messages:
    1,590
    Trophy Points:
    47,590
    Gender:
    Female
    Ratings:
    +1,288
    Question relating pets after being fixed.

    When you name one of your pets and do /pet hide and then /pet show it wipes the name and resets it back to 'DiamondDesire's Pet', Before pets were broken and fixed again in the past I feel like the pets used to keep the name that you have given them when you hide and show them but cannot 100 percent remember.

    Anyone know the answer to this?

    Thanks,

    DeeDee
     
  2. andrewkm

    Founder Premium Upgrade

    Joined:
    Apr 5, 2011
    Messages:
    20,683
    Trophy Points:
    102,160
    Ratings:
    +15,143
    Curious on this myself, anyone know if it's always been like it is now?
     
  3. Drewbo_

    Drewbo_ Guest

    Ratings:
    +0
    If I recall correctly; if you hid the pet and showed it again it did not wipe the name, only when you remove the pet it gets rid of the name.
     
  4. dgam02

    dgam02 ♫ Shitposting Ex-SA ♫
    Builder ⛰️ Ex-EcoLeader ⚜️⚜️⚜️ Premium Upgrade

    Joined:
    Jun 10, 2012
    Messages:
    3,353
    Trophy Points:
    90,160
    Gender:
    Male
    Ratings:
    +6,381
    Having the same problem. When you change the name before hiding it and then when you show it again it uses the last used name. It's not saving new names.
     
    #4 dgam02, Jun 25, 2017
    Last edited: Jun 25, 2017
  5. andrewkm

    Founder Premium Upgrade

    Joined:
    Apr 5, 2011
    Messages:
    20,683
    Trophy Points:
    102,160
    Ratings:
    +15,143
    Alright I figured it out.

    Looks like the pet database file only updates on pet creation, player logouts and server restarts.
    To save your pet in the database do one of the following (#1 being the best option of course):

    1. Spawn the pet with the options you want right off the bat.
    Example: /pet parrot;sabrina would spawn a parrot named sabrina and immediately log that to the database.
    2. Log out & back in once you have altered your pet the way you want it to save that to the database.
    3. Wait for a server restart once you have altered your pet the way you want it to save that to the database.
     
    • Friendly Friendly x 2
    • Informative Informative x 1
    • List
    #5 andrewkm, Jun 25, 2017
    Last edited: Jun 26, 2017