Damn Quest Icons

Ever hate when you're questing and you have 20 quests in your quest log, and you need to click through 2-3 different panels to find out which one is the one you've completed? This mod solves that by graying out the "?" icon and the "*" bullet point on quest turn in panels when the quest isn't completed yet.

Date: Wed Nov 28 09:46:00 2007 +0000
* Switched methods of doing text checks to just strip out everything we don't like, if the check fails because a mod does something special you're out of luck

Date: Wed Nov 14 09:34:14 2007 +0000
* Fixed a bug caused by WoW 2.3 due to quest text now having color codes wrapped around them, moved to GetToThePoint's method of checking quest names by storing the original as it's added instead of going off of the GetText() results. Should be a bit more accurate hopefully

Date: Sat Nov 10 22:11:49 2007 +0000
* Updated all TOC information to 20300, added revision info to the version field, also the author field is now consistent instead of using 5 different character names

Date: Sat Oct 27 18:11:33 2007 +0000
* Fixed quests with dashes breaking checks if only one part of it has brackets in it (For example, Electro-Shock Goodness)

Date: Tue Oct 9 23:12:52 2007 +0000
* Added check so quests that have no objectives are automatically considered completed, some quests like the "return to blah" aren't considered complete, but they are in reality

Date: Mon Oct 8 22:18:04 2007 +0000
* Fixed up the logic so we specifically use the correct one needed depending on the mod (if any) being used to modify quest information

Date: Sun Oct 7 03:29:08 2007 +0000
* Trying an improvement to the complete detection so it works better

Date: Tue Oct 2 22:51:46 2007 +0000
* I'm 99% sure I actually got it working this time
* Hopefully fixed rows not being reset to no gray scale if they aren't a turn in quest that we've accepted
* Changed to the SetDesaturation that Blizzard provies in UIParent.lua incase the players graphics card doesn't support it normally

Date: Mon Oct 1 04:51:54 2007 +0000
* Hopefully fixed a case where icons would show up as gray regardless of being completed or not

Date: Sun Sep 30 17:16:35 2007 +0000
* Added another string match check this should cover for both different methods of modifying quest functions and text

Date: Sat Sep 29 23:39:16 2007 +0000
* Improved to also gray out the quest bullet point for the current quest/available quest/ect panel

Date: Tue Sep 25 20:57:47 2007 +0000
* Toc updated to 20200

Date: Thu May 31 18:30:06 2007 +0000
I have no idea what I changed, but whatever

I like the idea of this mod... show incomplete quests in NPC dialog as a gray (?) instead of the same gold color as when its complete (ready to turn in).

However... it seems all the question-marks in dialog have been replaced with round bullet graphics instead? Not like its a bad thing, because gray bullets represent unfinished quests, while gold bullets represent completed ones. It just doesn't match the floating symbol above their heads.

its still better than every quest in their dialog having a gold question-mark and having to recall the title of the right one you want to complete and not click on all to find out lol. Thanks for the mod to make it more intuitive.

Originally posted by Frigidman However... it seems all the question-marks in dialog have been replaced with round bullet graphics instead? Not like its a bad thing, because gray bullets represent unfinished quests, while gold bullets represent completed ones. It just doesn't match the floating symbol above their heads.

Well... I think its dependant on the NPC you are talking too, as I just now saw one with questionmarks in the dialog instead of bullets... then afterwards saw someone else with bullets instead of questionmarks. Sooooo... chalk that one up to Blizzard for not staying uniform there on that. No fault of the mod!

Originally posted by Frigidman Well... I think its dependant on the NPC you are talking too, as I just now saw one with questionmarks in the dialog instead of bullets... then afterwards saw someone else with bullets instead of questionmarks. Sooooo... chalk that one up to Blizzard for not staying uniform there on that. No fault of the mod!

Correct, it's Blizzard that uses a different texture for question mark of bullet points.

Originally posted by Lombra I don't know what you did, but with the latest release I'm getting properly grayed out icons!

Good to hear!

Originally, it was just basically "brute forcing" the check and trying a couple of possible methods which is why sometimes things would get missed. The last change made it use the correct logic depending on what the mod was doing (Modifying the function call, modifying the button text, or nothing at all).

Originally posted by Lombra Now it doesn't work at all. Just getting the normal yellow colour. Doh!

Yea you're out of luck, just redownload and replace the LUA file to make it work again. You're stuck with the icons like that thought, can't do much short of someone actually making a grey bullet point/quest icon.

Didnt realise you updated again (dunno if you got it working on EQL or not)

I guess I was working on your old code, the things I did:

Code:

-- EXPANDED QUEST LOG FILTER
function Damn_FormatQuestTitle(title)
local final = "";
if(title == nil) then
return 0;
end
title = string.lower(title);
for w in string.gmatch(title, "%a") do
final = final .. w;
end
return final;
end

This above code removes the numbers and brackets and spaces leaving only the letters for better matching of names as some logs don't put the [60] etc in them but the button text does.

Credit goes to Hackop who did HK Quest Initiators. I thought to myself, if Hackop can search for EQL quest titles and then add stuff in to any quest log, including EQL, then he must be doing something that DamnQuestIcons isn't... so I check out his code, and the above filter thing is pretty much from HK Quest Initiators mod.

~~~~

Code:

-- EXPANDED QUESTLOG CHECK
for i=1, GetNumQuestLogEntries() do
local questName, level, questTag, isHeader, isCollapsed, isComplete = GetQuestLogTitle(i);
if( not isHeader ) then
-- Damn you people modifying quest name *glares at Cide*
if( Damn_FormatQuestTitle(string.lower(questName)) == Damn_FormatQuestTitle(string.lower(buttonText))
or string.match(Damn_FormatQuestTitle(string.lower(questName)), Damn_FormatQuestTitle(string.lower(buttonText)))
or string.match(Damn_FormatQuestTitle(string.lower(buttonText)), Damn_FormatQuestTitle(string.lower(questName)))) then
if( isComplete or GetNumQuestLeaderBoards(i) == 0 ) then
SetDesaturation(texture, nil)
return
end
break
end
end
end

As you can see above I make both lower case and send it over to that other function for space removal etc for better matching with EQL.

But the GetNumQuestLogEntries() thing I had to use the one from EQL to get it to work. I dunno if it is meant to be different or not *shrug* but what I've done there seems to get it to work on EQL.

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.