FuBar_ExperienceFu
Keeps track of experience.
German translations: Chinkuwalia
Features:
Can show current, rest, and pet XP.
Can show in percent or absolute values.
Can show depletion. (amount until level)
Can show xp / time.
Can show time to level. (based on either the session or the level)
Shows time played overall, by session, by level in the tooltip.
TO INSTALL: Put the FuBar_ExperienceFu folder into
\World of Warcraft\Interface\AddOns\
function frame_OnEnter()
if this then
local self = this.self
if self.blizzardTooltip then
GameTooltip:SetOwner(self:IsMinimapAttached() and self.minimapFrame or self.frame, "ANCHOR_CURSOR")
self:UpdateTooltip()
end
if type(self.OnEnter) == "function" then
self:OnEnter()
end
end
end
function frame_OnLeave()
if this then
local self = this.self
if type(self.OnLeave) == "function" then
self:OnLeave()
end
if self.blizzardTooltip and GameTooltip:IsOwned(self:IsMinimapAttached() and self.minimapFrame or self.frame) then
GameTooltip:Hide()
end
end
end
Notice the extra 'if this then...end' condition to test if the this-variable is assigned or not.
"
local self = this.self
to
if this then
local self = this.self
end
He forgot to put the end after his fix. The end is critical...
ID: 14
Error occured in: Global
Count: 1
Message: ...xperienceFu\libs\FuBarPlugin-2.0\FuBarPlugin-2.0.lua line 944:
attempt to index global 'this' (a nil value)
Debug:
[C]: ?
...xperienceFu\libs\FuBarPlugin-2.0\FuBarPlugin-2.0.lua:944:
...xperienceFu\libs\FuBarPlugin-2.0\FuBarPlugin-2.0.lua:943
FuBar\FuBar.lua:1234:
FuBar\FuBar.lua:1231
...nterface\AddOns\FuBar\libs\Tablet-2.0\Tablet-2.0.lua:2544:
...nterface\AddOns\FuBar\libs\Tablet-2.0\Tablet-2.0.lua:2542
...Bar_MoneyFu\Libs\FuBarPlugin-2.0\FuBarPlugin-2.0.lua:442:
...Bar_MoneyFu\Libs\FuBarPlugin-2.0\FuBarPlugin-2.0.lua:441
AddOns:
Swatter, v3.2.2 (<%codename%>)
NPCScan, v4.0.0.6
AckisRecipeList, v2.0.5
ACP, v3.3.12
AtlasLoot, vv6.01.01
Babylonian, v5.1.DEV.130
BankItems, v40000
CataclysmTimer, vv1.3
Configator, v5.1.DEV.286
CrapAway, v
CurseProfiler, v
DBMCore, v
Factionizer, v40000.5
ForteCasting, v
ForteCooldown, v
ForteCore, v1.972
ForteHealthstone, v
ForteSoulstone, v
ForteSummon, v
ForteTalent, v
ForteTimer, v
ForteVehicle, v
ForteWarlock, v
FuBar, v
FuBarExperienceFu, v1.1 $Revision: 65606 $
FuBarLocationFu, v3.0
FuBarMoneyFu, vv1.2.4
FuBarRecountFu, v3.13
FuBarWintergraspFu, v1.0-release
Gatherer, v3.2.2
GathererHUD, v3.2.2
GathererDBWowhead, v1.0.2009-12-09
GearScore, v4.0.00
Gladius, vv1.2.0
LibRock10, v
MBB, v
MoveAnything, v11.4.5
Necrosis, v3.0 (r225)
NiceDamage, v20400
Omen, v3.1.0
Overachiever, v0.58
OverachieverTabs, v0.58
Peggle, v1.02c
Postal, v3.4.4
Quartz, v3.0.4
Recount, v
TankPoints, v
BlizRuntimeLib_enUS v4.0.3.40000 <us>
(ck=404)
can someone help?
xperienceFu\libs\FuBarPlugin-2.0\FuBarPlugin-2.0.lua line 944:
attempt to index global 'this' (a nil value)
This is the section with line 944.
if not frame_OnEnter then
function frame_OnEnter()
local self = this.self
if self.blizzardTooltip then
GameTooltip:SetOwner(self:IsMinimapAttached() and self.minimapFrame or self.frame, "ANCHOR_CURSOR")
self:UpdateTooltip()
end
if type(self.OnEnter) == "function" then
self:OnEnter()
end
end
end
ID: 1
Error occured in: Global
Count: 1
Message: ..\AddOns\FuBar_ExperienceFu\ExperienceFu.lua line 307:
attempt to perform arithmetic on global 'arg1' (a nil value)
Debug:
(tail call): ?
...ddOns\AtlasLootFu\Libs\AceEvent-2.0\AceEvent-2.0.lua:299: TriggerEvent()
...ddOns\AtlasLootFu\Libs\AceEvent-2.0\AceEvent-2.0.lua:910:
...ddOns\AtlasLootFu\Libs\AceEvent-2.0\AceEvent-2.0.lua:903
AddOns:
Swatter, v3.1.16 (<%codename%>)
ArkInventory, v3.02
ArkInventoryRules, v
Atlas, v1.17.2
AtlasBattlegrounds, v1.17.2
AtlasDungeonLocs, v1.17.2
AtlasOutdoorRaids, v1.17.2
AtlasTransportation, v1.17.2
AtlasLoot, vv5.11.07
AtlasLootFu, vv5.11.07
AtlasQuest, v4.5.0 BETA
Babylonian, v5.1.DEV.130
Bartender4, v4.4.13
BonusScanner, v5.3.1
Configator, v5.1.DEV.278
CurseProfiler, v
FuBar, v
FuBarAtlasFu, v
FuBarBagFu, vv1.1.8
FuBarDurabilityFu, v2.11
FuBarExperienceFu, v1.1 $Revision: 65606 $
FuBarLocationFu, v3.0
FuBarMailFu, vv3.1.3-3
FuBarMoneyFu, vv1.2.4
FuBarPerformanceFu, v2.0.0
FuBarReagentFu, v3.07
FuBarRecountFu, v3.13
Gatherer, v3.1.16
GearScore, v3.1.20 - Release
HealBot, v4.0.1.3
IceHUD, v1.7.3.6 (Revision: 775)
LibRock10, v
Omen, v3.0.11
QuestHelper, v4.0.1.31b
Recount, v
SlideBar, v3.1.16 (<%codename%>)
SunnArt, v3.48
XPerl, v3.1.1
XPerlArcaneBar, v
XPerlParty, v
XPerlPartyPet, v
XPerlPlayer, v
XPerlPlayerBuffs, v
XPerlPlayerPet, v
XPerlRaidAdmin, v
XPerlRaidFrames, v
XPerlRaidHelper, v
XPerlRaidMonitor, v
XPerlRaidPets, v
XPerlTarget, v
XPerlTargetTarget, v
BlizRuntimeLib_deDE v4.0.1.40000 <eu>
(ck=4c4)
ID: 10
Error occured in: Global
Count: 2
Message: ..\AddOns\FuBar_ExperienceFu\ExperienceFu.lua line 307:
attempt to perform arithmetic on global 'arg1' (a string value)
Debug:
...ddOns\AtlasLootFu\Libs\AceEvent-2.0\AceEvent-2.0.lua:299: TriggerEvent()
...ddOns\AtlasLootFu\Libs\AceEvent-2.0\AceEvent-2.0.lua:910:
...ddOns\AtlasLootFu\Libs\AceEvent-2.0\AceEvent-2.0.lua:903
AddOns:
Change line 306 to read:
function ExperienceFu:TIME_PLAYED_MSG(arg1, arg2)
The "arg1, arg2" was missing inside the brackets, it seems Blizzard has changes how global variables are accessible.