Download
(4Kb)
Download
Updated: 11-29-11 01:46 AM
Pictures
File Info
Updated:11-29-11 01:46 AM
Created:unknown
Downloads:27,863
Favorites:282
MD5:

Fizzwidget Levelator  Popular! (More than 5000 hits)

Version: 4.3
by: Gazmik [More]

It seems some gadgets are inclined to break once you take them through the Dark Portal... I was in the process of moving my shop from Gadgetzan to Area 52 (gotta stay on the forefront of goblin technology, you know) and noticed some of the gizmos I'd brought with me (other engineers' gizmos, of course) had fizzled out. So, once I'd unpacked, I set to work on building replacements.

This one is a simple, lightweight variation on those gizmos that help you adventurers get a finer-grained difficulty estimate for those quests you're always going on. It's a smooth operator, so I've named it The Levelator (call it "John" and bring it on elevators if you're so inclined). Granted, there are a couple of others that do the same -- and still work in Outland -- but I haven't come across any yet that don't depend on unnecessarily large machinery.

Features:
No configuration necesssary: Quest names will appear preceded by their recommended level in brackets (in most, but not quite all places where quest names show up in the UI). Shift-clicking quests in your log to insert them in chat will insert the level as well. Quests that have an extra tag describing them in the quest log (e.g. Group, Raid, PvP) will show the first letter of that tag next to the level (e.g. '[11G] Wanted: "Hogger"').

Click here to lend your support!

v. 4.3 - 2011/11/29
- Updated TOC to indicate compatibility with WoW Patch 4.3.

v. 4.2 - 2011/06/28
- Updated TOC to indicate compatibility with WoW Patch 4.2.

v. 4.0 - 2010/10/11
- Updated TOC to indicate compatibility with WoW Patch 4.0 and Cataclysm.

v. 3.3.1 - 2010/04/05
- Fixed an error introduced with WoW Patch 3.3.3.

v. 3.3 - 2009/12/08
- Updated TOC to indicate compatibility with WoW Patch 3.3.
- Re-added a space between the level tag and quest title (e.g. "[80] The Edge of Winter", not "[80]The Edge of Winter").

v. 3.2 - 2009/08/04
- Updated TOC to indicate compatibility with WoW Patch 3.2.
- Fixed an issue where the "(Daily)" annotation in the quest log would not appear when using Levelator.

v. 3.1 - 2009/04/18
- Updated TOC to indicate compatibility with WoW Patch 3.1.
- Removed GFWUtils library; it's not used in this project.

v. 3.0 - 2008/10/14
- Updated for compatibility with WoW Patch 3.0 and Wrath of the Lich King.
- Levels are no longer inserted with quest links in chat -- click the link to see the level in the tooltip.
- Fixed an error with addition of quest levels to tooltips.
Optional Files (0)


Post A Reply Comment Options
Unread 03-27-10, 01:43 PM  
Csalago
A Kobold Labourer
 
Csalago's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 85
Uploads: 4
ok... the problem is more complicated than i thought. from what someone else discovered, GetGossipAvailableQuests() now returns 5 fields and GetGossipActiveQuests() returns 4. The original code assumed both returned 3 values.

I tried a bunch of ways to pass a indicator through the function FLV_UpdateGossipQuests(...) but i'm not expereinced enough with lua and addon programming to get it right yet.

In the meantime i made a kludge fix that seems to work. I split the function into 2, one that iterates every 5 values and one that iterates every 4:

Code:
function FLV_OnEvent(self, inEvent)
	if (inEvent == "GOSSIP_SHOW") then
		FLV_ButtonIndex = 1;
		FLV_UpdateGossipQuests1(GetGossipAvailableQuests());
		if (GetNumGossipAvailableQuests() > 0) then
			FLV_ButtonIndex = FLV_ButtonIndex + 1;
		end
		FLV_UpdateGossipQuests2(GetGossipActiveQuests());
	elseif (inEvent == "QUEST_GREETING") then
		for i = 1, GetNumActiveQuests() do
			local level = GetActiveLevel(i);
			local title = GetActiveTitle(i);
			local button = getglobal("QuestTitleButton"..i);
			button:SetFormattedText('[%d] %s', level, title);
		end
		for i = 1, GetNumAvailableQuests() do
			local level = GetAvailableLevel(i);
			local title = GetAvailableTitle(i);
			local button = getglobal("QuestTitleButton"..i + (GetNumActiveQuests() or 0));
			button:SetFormattedText('[%d] %s', level, title);
		end
	end
end

function FLV_UpdateGossipQuests1(...)
	for i = 1, select("#", ...), 5 do
		local button = getglobal("GossipTitleButton"..FLV_ButtonIndex);
		button:SetFormattedText('[%d] %s', select(i+1, ...), select(i, ...));
		GossipResize(button);
		FLV_ButtonIndex = FLV_ButtonIndex + 1;
	end
end

function FLV_UpdateGossipQuests2(...)
	for i = 1, select("#", ...), 4 do
		local button = getglobal("GossipTitleButton"..FLV_ButtonIndex);
		button:SetFormattedText('[%d] %s', select(i+1, ...), select(i, ...));
		GossipResize(button);
		FLV_ButtonIndex = FLV_ButtonIndex + 1;
	end
end
not very clean, but the best i could do. if someone has a better solution let me know
Report comment to moderator  
Reply With Quote
Unread 03-26-10, 07:06 AM  
Csalago
A Kobold Labourer
 
Csalago's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 85
Uploads: 4
fixed the error.

change line 39 from

for i = 1, select("#", ...), 3 do

to
for i = 1, select("#", ...), 5 do


hmm... not fully fixed. still working on it..
Last edited by Csalago : 03-26-10 at 07:54 PM.
Report comment to moderator  
Reply With Quote
Unread 03-24-10, 05:15 AM  
Csalago
A Kobold Labourer
 
Csalago's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 85
Uploads: 4
getting an error as of patch 3.3.3 when accepting new quests.

["message"] = "GFW_Levelator-3.3\\Levelator.lua:44: bad argument #2 to 'SetFormattedText' (number expected, got nil)

GFW_Levelator-3.3\\Levelator.lua:44: in function `FLV_UpdateGossipQuests'\nGFW_Levelator-3.3\\Levelator.lua:12: in function <Interface\\AddOns\\GFW_Levelator\\Levelator.lua:5>'
Report comment to moderator  
Reply With Quote
Unread 08-11-09, 11:02 AM  
TheChiaroscurist
A Kobold Labourer

Forum posts: 1
File comments: 5
Uploads: 0
Small request.

Great addon, I don't get any of the strange conflicts from this addon that I did with it's two (atleast that I know of) competitors. One small request though... just a minor thing that bugs the snot out of me.... would it be possible to add a space between the level and the text. Turning it from
"[10]Text" to "[10] Text". (I have a small monitor and have to run my fonts at a small size to have any screen space at all.... and that lack of a space can make reading the level and text quite difficult.) Thank you kindly!
Report comment to moderator  
Reply With Quote
Unread 10-17-08, 08:20 AM  
seebs
Premium Member
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 155
File comments: 157
Uploads: 5
Still getting the "concatenate local link..." message, also now getting errors about SetTextColor() being a nil value. (I think it's been changed to something like widget:GetTextObject():SetTextColor() in 3.x)
Report comment to moderator  
Reply With Quote
Unread 05-21-08, 05:02 PM  
clinic
A Kobold Labourer
 
clinic's Avatar

Forum posts: 1
File comments: 9
Uploads: 0
Levelator and MobMap not playing nice since 2.4.2

Hmm... took some time to figure this out but it seems that post 2.4.2 and post MobMap 2.0, levelator is breaking MobMap. Just wanted to put it out there, may completely be a Mobmap change, or could be Blizz. Just wanted to post so folks knew. Shows up as a Mobmap bug, but if Levelator is off, Mobmap works fine.
Report comment to moderator  
Reply With Quote
Unread 04-30-08, 06:47 AM  
Yinepuhotep
A Defias Bandit
 
Yinepuhotep's Avatar

Forum posts: 2
File comments: 9
Uploads: 0
I've been getting the following error message as of the most recent update:

Code:
GFW_Levelator-2.4.1\Levelator.lua:74: attempt to concatenate local 'link' (a nil value)
LightHeaded-233\LightHeaded.lua:70: in function `GetCurrentQID'
LightHeaded-233\LightHeaded.lua:83: in function `SelectQuestLogEntry'
LightHeaded-233\LightHeaded.lua:41: in function <Interface\AddOns\LightHeaded\LightHeaded.lua:40>
<in C code>: in function `SelectQuestLogEntry'
+Wowhead_Looter-20403\Wowhead_Looter.lua:863: in function `wlUpdateQuestLog'
+Wowhead_Looter-20403\Wowhead_Looter.lua:800: in function `?'
+Wowhead_Looter-20403\Wowhead_Looter.lua:1762: in function `wlFrame_OnEvent'
<string>:"*:OnEvent":1: in function <[string "*:OnEvent"]:1>
Fix in progress? Or is there a workaround I can apply myself?
__________________
Sword? Check. Rifle? Check. Coffee? Check. OK, ready to rock.
Report comment to moderator  
Reply With Quote
Unread 04-28-08, 10:36 PM  
seebs
Premium Member
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 155
File comments: 157
Uploads: 5
I'm getting an error on login with attempt to concatenate link, a null value, on line 74. 2.4.1. Error is pretty consistent, but I haven't had time to binary-search on other mods. Changing the initializer to

link = (existing expression) or ""

works.
Report comment to moderator  
Reply With Quote
Unread 12-01-06, 02:26 PM  
GCT
A Kobold Labourer

Forum posts: 0
File comments: 12
Uploads: 0
Re: Great mod

Originally posted by Dades
Great mod but broken as of today's build on the beta servers unfortunately.
Yes, the latest patch broke it. I'm very sad.

EDIT: Actually, I've noticed that it still does put the quest level in when you're getting the quest. It just doesn't show up in the quest log now.
Last edited by GCT : 12-03-06 at 08:19 AM.
Report comment to moderator  
Reply With Quote
Unread 11-30-06, 06:56 PM  
Dades
A Kobold Labourer

Forum posts: 0
File comments: 9
Uploads: 0
Great mod

Great mod but broken as of today's build on the beta servers unfortunately.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump:

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.