Download
(4 Kb)
Download
Updated: 11-29-11 12:46 AM
Pictures
File Info
Updated:11-29-11 12:46 AM
Created:unknown
Downloads:26,279
Favorites:303
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)


Archived Files (8)
File Name
Version
Size
Author
Date
4.2
4kB
Gazmik
06-28-11 01:40 AM
4.1
4kB
Gazmik
04-26-11 04:52 PM
4.0
4kB
Gazmik
10-11-10 11:22 PM
3.3.1
4kB
Gazmik
04-06-10 12:39 AM
3.3.1
4kB
Gazmik
12-08-09 02:15 AM
3.2
4kB
Gazmik
08-04-09 08:19 PM
3.1
4kB
Gazmik
04-18-09 01:12 PM
3.0
6kB
Gazmik
10-13-08 01:25 PM


Post A Reply Comment Options
Old 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: 7
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
Csalago is offline Report comment to moderator  
Reply With Quote
Old 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: 7
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.
Csalago is offline Report comment to moderator  
Reply With Quote
Old 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: 7
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>'
Csalago is offline Report comment to moderator  
Reply With Quote
Old 08-11-09, 11:02 AM  
TheChiaroscurist
A Kobold Labourer

Forum posts: 1
File comments: 6
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!
TheChiaroscurist is offline Report comment to moderator  
Reply With Quote
Old 10-17-08, 08:20 AM  
seebs
Premium Member
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 155
File comments: 185
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)
seebs is offline Report comment to moderator  
Reply With Quote
Old 05-21-08, 05:02 PM  
clinic
A Kobold Labourer
 
clinic's Avatar

Forum posts: 1
File comments: 11
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.
clinic is offline Report comment to moderator  
Reply With Quote
Old 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.
Yinepuhotep is offline Report comment to moderator  
Reply With Quote
Old 04-28-08, 10:36 PM  
seebs
Premium Member
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 155
File comments: 185
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.
seebs is offline Report comment to moderator  
Reply With Quote
Old 12-01-06, 01: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 07:19 AM.
GCT is offline Report comment to moderator  
Reply With Quote
Old 11-30-06, 05: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.
Dades is offline 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.