This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
Message: Interface\AddOns\Ratings\core.lua:366: attempt to call upvalue 'string_replace' (a nil value) Time: Wed Jun 29 14:35:27 2011 Count: 2 Stack: Interface\AddOns\Ratings\core.lua:366: in function `GetReplacementText' Interface\AddOns\Ratings\core.lua:341: in function `ReplaceText' Interface\AddOns\Ratings\core.lua:311: in function `HandleFontStrings' Interface\AddOns\Ratings\core.lua:299: in function `OnTooltipSetItem' Interface\AddOns\Ratings\core.lua:282: in function <Interface\AddOns\Ratings\core.lua:282> [C]: ? [C]: ? [C]: in function `SetBagItem' Interface\FrameXML\ContainerFrame.lua:780: in function `ContainerFrameItemButton_OnEnter' [string "*:OnEnter"]:1: in function <[string "*:OnEnter"]:1>
Locals: self = <table> { OnTooltipSetItem = <function> defined @Interface\AddOns\Ratings\core.lua:298 OnTooltipCleared = <function> defined @Interface\AddOns\Ratings\core.lua:302 MAX_SUPPORTED_LEVEL = 85 GetClassRatingType = <function> defined @Interface\AddOns\Ratings\core.lua:478 Format = <function> defined @Interface\AddOns\Ratings\core.lua:507 GetRatingBonus = <function> defined @Interface\AddOns\Ratings\core.lua:483 ReplaceText = <function> defined @Interface\AddOns\Ratings\core.lua:335 GetModifier = <function> defined @Interface\AddOns\Ratings\core.lua:468 HandleFontStrings = <function> defined @Interface\AddOns\Ratings\core.lua:306 GetReplacementText = <function> defined @Interface\AddOns\Ratings\core.lua:351 HookTooltip = <function> defined @Interface\AddOns\Ratings\core.lua:284 } text = "Equip: Increases your dodge rating by 127." lower_text = "equip: increases your dodge rating by 127." (for generator) = <function> defined =[C]:-1 (for state) = <table> { (%d+)([^%d%%|]+) = false by (%d+) = true ([%+%-]%d+) = false grant.-(%d+) = true %-(%d+) = true add.-(%d+) = true %+(%d+) = true } (for control) = " by (%d+)" pattern = " by (%d+)" after = true value = "127" partial = nil check = "equip: increases your dodge rating by 127." (for generator) = <function> defined =[C]:-1 (for state) = <table> { 1 = <table> { } 2 = <table> { } 3 = <table> { } 4 = <table> { } 5 = <table> { } 6 = <table> { } 7 = <table> { } 8 = <table> { } 9 = <table> { } 10 = <table> { } 11 = <table> { } 12 = <table> { } 13 = <table> { } 14 = <table> { } 15 = <table> { } 16 = <table> { } 17 = <table> { } 18 = <table> { } 19 = <table> { } 20 = <table> { } 21 = <table> { } } (for control) = 2 _ = 2 info = <table> { 1 = "dodge rating" 2 = 3 } stat = "dodge rating" id = 3 bonus = " (0.72%@85)" (*temporary) = nil (*temporary) = "Equip: Increases your dodge rating by 127." (*temporary) = "127" (*temporary) = "127 (0.72%@85)" (*temporary) = "attempt to call upvalue 'string_replace' (a nil value)" string_lower = <function> defined =[C]:-1 pairs = <function> defined =[C]:-1 PATTERNS = <table> { (%d+)([^%d%%|]+) = false by (%d+) = true ([%+%-]%d+) = false grant.-(%d+) = true %-(%d+) = true add.-(%d+) = true %+(%d+) = true } string_match = <function> defined =[C]:-1 tonumber = <function> defined =[C]:-1 STATS = <table> { 1 = <table> { } 2 = <table> { } 3 = <table> { } 4 = <table> { } 5 = <table> { } 6 = <table> { } 7 = <table> { } 8 = <table> { } 9 = <table> { } 10 = <table> { } 11 = <table> { } 12 = <table> { } 13 = <table> { } 14 = <table> { } 15 = <table> { } 16 = <table> { } 17 = <table> { } 18 = <table> { } 19 = <table> { } 20 = <table> { } 21 = <table> { } } string_find = <function> defined =[C]:-1 string_replace = nil string_sub = <function> defined =[C]:-1
Message: Interface\AddOns\Ratings\core.lua:366: attempt to call upvalue 'string_replace' (a nil value) Time: Wed Jun 29 14:35:28 2011 Count: 6 Stack: Interface\AddOns\Ratings\core.lua:366: in function `GetReplacementText' Interface\AddOns\Ratings\core.lua:341: in function `ReplaceText' Interface\AddOns\Ratings\core.lua:311: in function `HandleFontStrings' Interface\AddOns\Ratings\core.lua:299: in function `OnTooltipSetItem' Interface\AddOns\Ratings\core.lua:282: in function <Interface\AddOns\Ratings\core.lua:282> [C]: ? [C]: ? [C]: in function `SetBagItem' Interface\FrameXML\ContainerFrame.lua:780: in function `UpdateTooltip' Interface\FrameXML\GameTooltip.lua:195: in function <Interface\FrameXML\GameTooltip.lua:185> [C]: ?
Mouse over any addon that has ratings.
BigWigsBigWigs_BaradinBigWigs_BastionBigWigs_BlackwingBigWigs_CoreBigWigs_FirelandsBigWigs_ForeignBigWigs_OptionsBigWigs_PluginsBigWigs_ThroneBlizzard_AchievementUIBlizzard_ArchaeologyUIBlizzard_ArenaUIBlizzard_AuctionUIBlizzard_BarbershopUIBlizzard_BattlefieldMinimapBlizzard_BindingUIBlizzard_CalendarBlizzard_ClientSavedVariablesBlizzard_CombatLogBlizzard_CombatTextBlizzard_CompactRaidFramesBlizzard_CUFProfilesBlizzard_DebugToolsBlizzard_GlyphUIBlizzard_GMChatUIBlizzard_GMSurveyUIBlizzard_GuildBankUIBlizzard_GuildControlUIBlizzard_GuildUIBlizzard_InspectUIBlizzard_ItemSocketingUIBlizzard_LookingForGuildUIBlizzard_MacroUIBlizzard_MovePadBlizzard_RaidUIBlizzard_ReforgingUIBlizzard_TalentUIBlizzard_TimeManagerBlizzard_TokenUIBlizzard_TradeSkillUIBlizzard_TrainerUICrossdresserFishermansFriendInterruptNoSpamMagicRunesMagicRunes_IconDisplayMagicRunes_RuneBarsMikScrollingBattleTextMSBTOptionsRatingsRecountTukuiTukui_ConfigUITukui_RaidTukui_Raid_Healing
Woops, that should say mouse over any item that has ratings.
I fixed this by replacing line 5 of core.lua with:
local string_replace = string.gsub
Dunno if it's the best way but it works.
Edit: The percentages seem wrong for my death knight, but it stops the error.
@srge: Go
That fix also worked for me.
I haven't checked the accuracy of the numbers.
To post a comment, please login or register a new account.