Sorha and Pet Tracker #27


  • Fixed
  • Defect
Closed
Assigned to sorha2
  • Forge_User_52037993 created this issue Oct 24, 2014

    What steps will reproduce the problem?
    1. Load into game with just pet tracker. I can see the pets i have / need for zone
    2. Load into game with Sorha and Pet tracker.
    3. Load into game with just Sorha. I cannot see the pets i have / need for zone

    What is the expected output? What do you see instead?
    It seems that Pet Tracker links itself to the bottom of the default quest tracker. When turning on Sorha, that section does not appear.

    What version of the product are you using?
    r119

    Do you have an error log of what happened?
    No errors thrown

    Please provide any additional information below.
    In Pet Tracker, you click on the pets tab of the journal and at the bottom, there is a tick box for "Zone tracker". Enabling this should show a list of pets in the zone that you have collected or need. See screenshots.

    Apart from this problem, I have been using Sorha for a while now, because it is the best addon for quest tacking availabe. Keep up the good work!

    Martin

  • Forge_User_52037993 added the tags New Defect Oct 24, 2014
  • Forge_User_52037993 added an attachment sorahpettracker.jpg Oct 24, 2014

    sorahpettracker.jpg

    <p>sorha and pet tracker enabled</p>

  • Forge_User_52037993 added an attachment nosorah.jpg Oct 24, 2014

    nosorah.jpg

    <p>No Sorha enabled</p>

  • Forge_User_52037993 posted a comment Oct 24, 2014

    Apologies if this should be logged with Pet Tracker and not yourself!

  • Sorha2 posted a comment Oct 24, 2014

    This is a tricky one.
    He anchors that minion to the default quest minions frame.

    In time I could get around that properly but for now you could alter a few lines to alter the anchor, though not sure how reliable it would be.

    PetTracker\Features\Objectives.lua

    New line 38:
    Parent = SQLQuestMinionBottom;
    Just before 'self:SetParent(Parent);'

    line 44:
    local availableEntries = floor((Parent.maxHeight - off - 45) / 20)
    to
    local availableEntries = 50;

    line 51:
    self:SetPoint('TOPLEFT', Parent, -10, -off)
    to
    self:SetPoint('TOPLEFT', Parent, -10, -10)

    SorhaQuestLog\modules\Quests.lua

    Add line: 3236, Just after fraMinionAnchor.BorderFrame:Show()):
    fraMinionAnchor.BottomFrame = SorhaQuestLog:doCreateFrame("FRAME","SQLQuestMinionBottom", fraMinionAnchor, db.MinionWidth,40,1,"BACKGROUND",1, "TOPLEFT", fraMinionAnchor, "TOPLEFT", 0, 0, 1)

    Add line: 3532, just above '- - Auto collapse' in UpdateMinion()):
    fraMinionAnchor.BottomFrame:SetPoint("TOPLEFT", fraMinionAnchor.fraQuestsAnchor, 0, intYPosition);


    Edited Oct 24, 2014
  • Forge_User_52037993 posted a comment Oct 24, 2014

    Ok, that worked like a charm. It is now showing pets, and moves with the tracker. It is not skinned, but does what it is needed to do, which is awesome.

    Thank you for the code snippet.

  • Sorha2 removed a tag New Jan 22, 2015
  • Sorha2 added a tag Fixed Jan 22, 2015
  • Sorha2 closed issue Jan 22, 2015

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