Hunter Pet Happiness #1120


  • Fixed
  • Defect
Closed
  • _ForgeUser863222 created this issue Apr 27, 2011

    What steps will reproduce the problem?
    1.Any activity that used to raise hunter pet happiness
    2.Combat with hunter pet active. Passive or other stances.
    3.Just world travel with hunter pet out.

    What is the expected output? What do you see instead?
    Happiness for hunter pets has been removed from the game. Apparently the x-perl pet options still want to check for happiness, even when all happiness options are unchecked.

    What version of the product are you using?
    x-perl unite frames 3.1.3

    Do you have an error log of what happened?
    3x XPerl_PlayerPet-3.1.3\XPerl_Player_Pet.lua:249: attempt to call global "GetPetHappiness" (a nil value)
    XPerl-3.1.3\XPerl_Init.lua:685: in function <XPerl\XPerl_Init.lua:667>
    <in C code>
    XPerl-3.1.3\XPerl_Init.lua:148: in function "XPerl_pcall"
    XPerl-3.1.3\XPerl_Init.lua:417: in function "XPerl_Init"
    XPerl-3.1.3\XPerl_Globals.lua:417: in function <XPerl\XPerl_Globals.lua:389>
    XPerl-3.1.3\XPerl_Globals.lua:447: in function <XPerl\XPerl_Globals.lua:426>

    Locals:
    nil

    Please provide any additional information below.
    As stated above. Pet happiness is no longer in the game, yet the lua's still have GetPetHappiness listed. The above error was captured via BugSack.

  • _ForgeUser863222 added the tags New Defect Apr 27, 2011
  • _ForgeUser863222 posted a comment Apr 28, 2011

    to fix the errors I was getting from xperl_player_pet.lua I went to the Happiness section of the lua in a notepad, and changed the line local happiness, damagePercentage = GetPetHappiness(); to local happiness, damagePercentage = 3; Seems to have stopped the errors so far, for now anyway.

  • brknsoul posted a comment Apr 29, 2011
    Open up "\World of Warcraft\Interface\AddOns\XPerl_PlayerPet\XPerl_Player_Pet.lua" with notepad and search for "lasthappy". 2 Lines below that you should see
    local happiness, damagePercentage = GetPetHappiness()
    change this to
    local happiness, damagePercentage = 3, 100
    This should fool X-Perl into thinking that the pet is permanently happy. You can also open up X-Perl's config page in-game, go to the Pet tab and uncheck Pet Happiness.

    Edited Apr 29, 2011
  • _ForgeUser863222 posted a comment Apr 29, 2011

    Thanks BrknSoul. I knew about the 3 happiness, but didn't even think about the 100 damagepercent.

  • mopsie2002 posted a comment Apr 29, 2011
  • _ForgeUser1474348 removed a tag New May 6, 2011
  • _ForgeUser1474348 added a tag Fixed May 6, 2011
  • _ForgeUser1474348 closed issue May 6, 2011

To post a comment, please login or register a new account.