Thread Tools Display Modes
Prev Previous Post   Next Post Next
11-28-14, 07:40 AM   #30
Eternal_Lynx
An Aku'mai Servant
 
Eternal_Lynx's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2012
Posts: 31
Originally Posted by Rythal View Post
pushed the fix for quest log hiding, and for new quests not being tracked properly unless you /reload or relog, and the quest list saying all quests are dailies.

Took me a bit to trace the tracking issue so even thou i'm through the portal now I still haven't gotten to garrison to work on that.

I understand there's an issue with a new quest tracking type, how far into draenor do you need to go before you encounter this new quest type?
You need to reach lvl 100, then you can get an "Assault" daily at your Garrison.
When you walk into quest POI an extra progress bar will show up, just like the proving grounds timer bar.

Seems like there's a new api GetQuestProgressBarPercent(questID)
In Blizzard_BonusObjectiveTracker.lua:
lua Code:
  1. -- *****************************************************************************************************
  2. -- ***** PROGRESS BAR
  3. -- *****************************************************************************************************
  4. function BONUS_OBJECTIVE_TRACKER_MODULE:AddProgressBar(block, line, questID, finished)
  5.     local progressBar = self.usedProgressBars[block] and self.usedProgressBars[block][line];
  6.     if ( not progressBar ) then
  7.         local numFreeProgressBars = #self.freeProgressBars;
  8.         local parent = block.ScrollContents or block;
  9.         if ( numFreeProgressBars > 0 ) then
  10.             progressBar = self.freeProgressBars[numFreeProgressBars];
  11.             tremove(self.freeProgressBars, numFreeProgressBars);
  12.             progressBar:SetParent(parent);
  13.             progressBar:Show();
  14.         else
  15.             progressBar = CreateFrame("Frame", nil, parent, "BonusTrackerProgressBarTemplate");
  16.             progressBar.height = progressBar:GetHeight();
  17.         end
  18.         if ( not self.usedProgressBars[block] ) then
  19.             self.usedProgressBars[block] = { };
  20.         end
  21.         self.usedProgressBars[block][line] = progressBar;
  22.         progressBar:RegisterEvent("QUEST_LOG_UPDATE");
  23.         progressBar:Show();
  24.         progressBar.Bar.Label:Hide();
  25.         -- initialize to the right values
  26.         progressBar.questID = questID;
  27.         if( not finished ) then
  28.             BonusObjectiveTrackerProgressBar_SetValue( progressBar, GetQuestProgressBarPercent(questID) );
  29.         end
  30.     end
  31.     -- anchor the status bar
  32.     local anchor = block.currentLine or block.HeaderText;
  33.     if ( anchor ) then
  34.         progressBar:SetPoint("TOPLEFT", anchor, "BOTTOMLEFT", 0, -block.module.lineSpacing);
  35.     else
  36.         progressBar:SetPoint("TOPLEFT", 0, -block.module.lineSpacing);
  37.     end
  38.  
  39.     if( finished ) then
  40.         progressBar.finished = true;
  41.         BonusObjectiveTrackerProgressBar_SetValue( progressBar, 100 );
  42.     end
  43.      
  44.     progressBar.block = block;
  45.     progressBar.questID = questID;  
  46.  
  47.     line.ProgressBar = progressBar;
  48.     block.height = block.height + progressBar.height + block.module.lineSpacing;
  49.     block.currentLine = progressBar;
  50.     return progressBar;
  51. end
__________________
Moo'. Are you happy now?

Last edited by Eternal_Lynx : 11-28-14 at 07:47 AM.
 
 

WoWInterface » Featured Projects » Carbonite » Carbonite Archive » WOD/Pre-patch

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off