FuBar_ProfessionsFu
Overview
This plugin adds professions to a FuBar menu. It gives an overview of the skill level of each profession. Each profession entry in the menu can be clicked to open the corresponding profession window. Clicking on a gathering professions has no effect.
If you use TitanPanel please use TitanProfessions (http://www.curse.com/downloads/details/9963/) instead.
If you have ProfessionsBook installed (http://www-en.curse-gaming.com/downloads/details/8423/) an additional entry to open that addon is added to the menu.
Features
- List all professions which open a professions window and open them
- List skill levels of professions
- Add a menu entry to ProfessionsBook if that addon is installed
------
Date: 2010-12-22 15:58:55
ID: 4
Error occured in: Global
Count: 1
Message: ...e\AddOns\FuBar_ProfessionsFu\FuBar_ProfessionsFu.lua line 97:
attempt to call global 'GetNumSkillLines' (a nil value)
Debug:
[C]: GetNumSkillLines()
...e\AddOns\FuBar_ProfessionsFu\FuBar_ProfessionsFu.lua:97: OnTooltipUpdate()
...Bar_AtlasFu\Libs\FuBarPlugin-2.0\FuBarPlugin-2.0.lua:393: runChildren()
...nterface\AddOns\FuBar\libs\Tablet-2.0\Tablet-2.0.lua:2370: children()
...nterface\AddOns\FuBar\libs\Tablet-2.0\Tablet-2.0.lua:2414: Open()
...nterface\AddOns\FuBar\libs\Tablet-2.0\Tablet-2.0.lua:2548:
...nterface\AddOns\FuBar\libs\Tablet-2.0\Tablet-2.0.lua:2542
...Bar_AtlasFu\Libs\FuBarPlugin-2.0\FuBarPlugin-2.0.lua:442:
...Bar_AtlasFu\Libs\FuBarPlugin-2.0\FuBarPlugin-2.0.lua:441
AddOns:
Swatter, v3.2.3 (<%codename%>)
Ace3, v
Atlas, v1.18.0
AtlasBattlegrounds, v1.18.0
AtlasDungeonLocs, v1.18.0
AtlasOutdoorRaids, v1.18.0
AtlasTransportation, v1.18.0
AtlasLoot, vv6.01.02
AtlasLootBurningCrusade, vv6.01.02
AtlasLootCataclysm, vv6.01.02
AtlasLootClassicWoW, vv6.01.02
AtlasLootCrafting, vv6.01.02
AtlasLootWorldEvents, vv6.01.02
AtlasLootWrathoftheLichKing, vv6.01.02
AuctionLite, v1.7.2
Babylonian, v5.1.DEV.130
BagnonForever, v1.1.2
BagnonTooltips, v
Configator, v5.1.DEV.286
DrDamage, v1.8.1_release
FuBar, v
FuBarAtlasFu, v
FuBarHeyFu, v1.6
FuBarLocationFu, v3.0
FuBarMoneyFu, vv1.2.4
FuBarPerformanceFu, v2.0.0
FuBarProfessionsFu, v3.0.5
FuBarToFu, v2.0
FuBarTopScoreFu, vv1.0.8
Gatherer, v3.2.3
GearScore, v4.1.00
LibRock10, v
OmniCC, v4.0.waffles10
PowerAuras, v4.9
RatingBuster, v
Recount, v
SlideBar, v3.2.3 (<%codename%>)
TidyPlates, v5.15 (r69)
TidyPlatesGrey, v
TidyPlatesNeon, v
TidyPlatesThreatPlates, v4.1-b
ViperNotify, v1.3.9
BlizRuntimeLib_enUS v4.0.3.40000 <us>
(ck=438)
Date: 2010-10-17 23:04:13
ID: 1
Error occured in: Global
Count: 1
Message: ...e\AddOns\FuBar_ProfessionsFu\FuBar_ProfessionsFu.lua line 4:
Cannot find a library instance of Tablet-2.0.
Debug:
[C]: ?
[C]: error()
...rface\AddOns\AHsearch\libs\AceLibrary\AceLibrary.lua:490: AceLibrary()
...e\AddOns\FuBar_ProfessionsFu\FuBar_ProfessionsFu.lua:4: in main chunk
FuBarPlugin-2.0-90009:393: in function `runChildren'
Tablet-2.0-90216 (FuBar):2370: in function `children'
Tablet-2.0-90216 (FuBar):2414: in function `Open'
Tablet-2.0-90216 (FuBar):2548: in function <...nterface\AddOns\FuBar\libs\Tablet-2.0\Tablet-2.0.lua:2542>
FuBarPlugin-2.0-90009:442: in function <...AtlasLootFu\Libs\FuBarPlugin-2.0\FuBarPlugin-2.0.lua:441>
Locals:
Tablet =
GetNormalFontObject = <function> @ FuBar\libs\Tablet-2.0\Tablet-2.0.lua:2658:
Register = <function> @ FuBar\libs\Tablet-2.0\Tablet-2.0.lua:2512:
IsAttached = <function> @ FuBar\libs\Tablet-2.0\Tablet-2.0.lua:2845:
GetFontSizePercent = <function> @ FuBar\libs\Tablet-2.0\Tablet-2.0.lua:2691:
argCheck = <function> @ FuBar\libs\AceLibrary\AceLibrary.lua:129:
SetTransparency = <function> @ FuBar\libs\Tablet-2.0\Tablet-2.0.lua:2710:
registry =
SetHint = <function> @ FuBar\libs\Tablet-2.0\Tablet-2.0.lua:2621:
tooltip = Tablet20Frame {}
UpdateDetachedData = <function> @ FuBar\libs\Tablet-2.0\Tablet-2.0.lua:2894:
SetTitleColor = <function> @ FuBar\libs\Tablet-2.0\Tablet-2.0.lua:2637:
IsLocked = <function> @ FuBar\libs\Tablet-2.0\Tablet-2.0.lua:2870:
SetTitle = <function> @ FuBar\libs\Tablet-2.0\Tablet-2.0.lua:2629:
Unregister = <function> @ FuBar\libs\Tablet-2.0\Tablet-2.0.lua:2582:
Close = <function> @ FuBar\libs\Tablet-2.0\Tablet-2.0.lua:2332:
GetHeaderFontObject = <function> @ FuBar\libs\Tablet-2.0\Tablet-2.0.lua:2663:
currentTabletData =
pcall = <function> @ FuBar\libs\AceLibrary\AceLibrary.lua:167:
Open = <function> @ FuBar\libs\Tablet-2.0\Tablet-2.0.lua:2381:
GetLibraryVersion = <function> @ FuBar\libs\AceLibrary\AceLibrary.lua:585:
IsRegistered = <function> @ FuBar\libs\Tablet-2.0\Tablet-2.0.lua:2591:
ToggleLocked = <function> @ FuBar\libs\Tablet-2.0\Tablet-2.0.lua:2880:
currentFrame = Tablet20Frame {}
GetColor = <function> @ FuBar\libs\Tablet-2.0\Tablet-2.0.lua:2781:
SetFontSizePercent = <function> @ FuBar\libs\Tablet-2.0\Tablet-2.0.lua:2668:
onceRegistered =
GetTransparency = <function> @ FuBar\libs\Tablet-2.0\Tablet-2.0.lua:2733:
Detach = <function> @ FuBar\libs\Tablet-2.0\Tablet-2.0.lua:2800:
Attach = <function> @ FuBar\libs\Tablet-2.0\Tablet-2.0.lua:2828:
GetNormalFontSize = <function> @ FuBar\libs\Tablet-2.0\Tablet-2.0.lua:2648:
AddCategory = <function> @ FuBar\libs\Tablet-2.0\Tablet-2.0.lua:2610:
Refresh = <function> @ FuBar\libs\Tablet-2.0\Tablet-2.0.lua:2855:
GetHeaderFontSize = <function> @ FuBar\libs\Tablet-2.0\Tablet-2.0.lua:2653:
error = <function> @ FuBar\libs\AceLibrary\AceLibrary.lua:75:
SetColor = <function> @ FuBar\libs\Tablet-2.0\Tablet-2.0.lua:2752:
}
self =
IsValue = <function> @ FuBar_ProfessionsFu\FuBar_ProfessionsFu.lua:38:
title = "FuBar - ProfessionsFu"
panel =
OnMenuRequest =
ToggleValue = <function> @ FuBar_ProfessionsFu\FuBar_ProfessionsFu.lua:42:
super =
OnTooltipUpdate = <function> @ FuBar_ProfessionsFu\FuBar_ProfessionsFu.lua:84:
iconFrame = FuBarPluginProfessionsFuFrameIcon {}
OpenGathering = <function> @ FuBar_ProfessionsFu\FuBar_ProfessionsFu.lua:76:
textFrame = FuBarPluginProfessionsFuFrameText {}
notes = "Öffnet Berufe und zeigt deren Stufe."
OpenProfession = <function> @ FuBar_ProfessionsFu\FuBar_ProfessionsFu.lua:58:
author = "Anxarces"
category = "Interface Enhancements"
hasIcon = true
textWidth = 40.49714779261
version = "3.0.5"
folderName = "FuBar_ProfessionsFu"
OnTextUpdate = <function> @ FuBar_ProfessionsFu\FuBar_ProfessionsFu.lua:48:
clickableTooltip = true
name = "FuBar_Pr
---
But the best would be if you get the translation from the WoW API with GetSpellInfo(spellId). Then your Addon would support all languages.
In 3.0.8, the deDE translation for grandmaster cooking was changed back to the correct "Kochkunst". Could you please update ProfessionsFu?
Locale-ruRU.lua:
---------------------------------------------------------
local L = AceLibrary("AceLocale-2.2"):new("ProfessionsFu")
L:RegisterTranslations("ruRU", function() return {
["Professions"] = "Профессии",
["Alchemy"] = "Алхимия",
["Blacksmithing"] = "Кузнечное дело",
["Enchanting"] = "Наложение чар",
["Engineering"] = "Инжинерия",
["Jewelcrafting"] = "Ювелирное дело",
["Leatherworking"] = "Кожевничество",
["Mining"] = "Горное дело",
["Tailoring"] = "Портняжное дело",
["Cooking"] = "Кулинария",
["CookingCmd"] = "Кулинария",
["First Aid"] = "Первая помощь",
["Smelting"] = "Выплавка металлов",
["Main Professions"] = "Основные профессии",
["Secondary Professions"] = "Вторичные навыки",
["Gathering"] = "Собирательство",
["Poisons"] = "Яды",
["Runeforging"] = "Ковка рун",
["RuneforgingCmd"] = "Гравирование",
["Fishing"] = "Рыбная ловля",
["Herbalism"] = "Травничество",
["Skinning"] = "Снятие шкур",
["Inscription"] = "Начертание",
["Open ProfessionsBook"] = "Открыть ProfessionsBook",
["Hide title"] = "Скрывать название",
["Hide title and display icon only."] = "Скрывать название и отображать только иконку"
} end)
---------------------
Encoding: UTF-8
Thank you!
As I have some programming skills (but not in LUA unfortunately) I tried to fix it like this:
function ProfessionsFu:OpenProfession(prof)
-- Opening alchemy is broken since 2.2.0. This is a work around.
if prof == L["Alchemy"] then
CastSpell(1, "spell")
else if prof == L["Cooking"] then
CastSpell(11, "spell")
else
CastSpellByName(prof)
end
end
Cooking is the eleventh entry in my spell book and when replacing 1 by 11 without any other changes it will open the cooking window. With the above changes however ProfessionsBook disappears form FuBar after I reload my UI.
So what's wrong with the changes I made, Anxarces?
Disenchanting is not displayed because it shares the same skill level as enchanting. Or do you mean, that enchanting is not displayed? For me it works find, even in the french version of the game.
Fishing is like all other 'gathering' professions. It does not open a profession window. It would result in an interaction with the character's environment. As far as I know, it is not possible to interact in such a way through FuBar. These gathering skills are listed for completeness only.
@Butters: I think your comment is related to ProfessionsBook. Including unkown recipes is a feature that may be included at a later time. At the moment I have more urgent thinks to fix/include.
Is it possible to get list of recipes you don't know yet.
I have been using FGTradeLacker, but the creator stopped wow, and therefore stopped developing the mod. I have searched for a replacement ever since. Hope you can help me :)
Thanks in advance.