Mikeprod / XIV_Databar

A databar for the World of Warcraft UI
https://mods.curse.com/addons/wow/xiv_databar
20 stars 12 forks source link

8.3 #96

Closed bowencz closed 4 years ago

bowencz commented 4 years ago

87x XIV_Databar\modules\micromenu.lua:485: attempt to concatenate local 'realmName' (a nil value) XIV_Databar\modules\micromenu.lua:485: in function <XIV_Databar\modules\micromenu.lua:429>

Locals: modifierFunc = defined =[C]:-1 tooltip = { 0 = regularFont = GameTooltipText { } columns =

{ } scrollChild = { } colspans =
{ } cell_margin_v = 3 width = 61.000004 headerFont = GameTooltipHeaderText { } cell_marginh = 6 key = "SocialToolTip" scripts =
{ } height = 30.999998 labelProvider =
{ } lines =
{ } scrollFrame = { } } totalBNFriends = 132 totalBNOnlineFriends = 57 totalFriends = 30 totalOnlineFriends = 1 charNameFormat = nil clientsList =
{ 1 = "WoW" 2 = "S2" 3 = "D3" 4 = "WTCG" 5 = "Hero" 6 = "Pro" 7 = "S1" 8 = "DST2" 9 = "VIPR" } (for index) = 1 (for limit) = 132 (for step) = 1 i = 1 battleID = 56 battleName = "|Kq33|k" battleTag = "Tera#2822" = false charName = "Desireu" gameAccount = 174 gameClient = "WoW" isOnline = true = 1578558235 isAfk = false isDnd = false = "" note = "" = nil = nil = nil realmName = nil = nil status = "Online" statusIcon = "FriendsFrame\StatusIcon-Online" socialIcon = "FriendsFrame\Battlenet-WoWicon" gameName = "World of Warcraft" (temporary) = "(|cffecd672" (temporary) = "Desireu" (temporary) = "-" (temporary) = nil (temporary) = "|r)" (temporary) = nil (temporary) = nil (temporary) = "attempt to concatenate local 'realmName' (a nil value)" xb =
{ defaults =
{ } ResetUI = defined @XIV_Databar\core.lua:391 HoverColors = defined @XIV_Databar\core.lua:172 HexToRGBA = defined @XIV_Databar\core.lua:338 modules =
{ } baseName = "XIV_Databar" IterateEmbeds = defined @AdvancedTooltips\libs\AceAddon-3.0\AceAddon-3.0.lua:473 GetColor = defined @XIV_Databar\core.lua:167 fontFlags =
{ } GetTextColorOptions = defined @XIV_Databar\core.lua:602 RegisterFrame = defined @XIV_Databar\core.lua:190 Printf = defined @AdvancedTooltips\libs\AceConsole-3.0\AceConsole-3.0.lua:69 SetDefaultModulePrototype = defined @AdvancedTooltips\libs\AceAddon-3.0\AceAddon-3.0.lua:440 GetHeight = defined @XIV_Databar\core.lua:270 defaultModuleState = true IsEnabled = defined @AdvancedTooltips\libs\AceAddon-3.0\AceAddon-3.0.lua:482 DisableModule = defined @AdvancedTooltips\libs\AceAddon-3.0\AceAddon-3.0.lua:381 GetFont = defined @XIV_Databar\core.lua:321 PrintTable = defined @XIV_Databar\core.lua:346 RegisterMessage = defined @AdvancedTooltips\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:90 GetArgs = defined @AdvancedTooltips\libs\AceConsole-3.0\AceConsole-3.0.lua:144 frames =
{ } miniTextPosition = "BOTTOM" db =
{ } modulesOptionFrame = { } SetEnabledState = defined @AdvancedTooltips\libs\AceAddon-3.0\AceAddon-3.0.lua:455 enabledState = true RegisterEvent = defined @AdvancedTooltips\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:90 IterateModules = defined @AdvancedTooltips\libs\AceAddon-3.0\AceAddon-3.0.lua:468 GetClassColors = defined @XIV_Databar\core.lua:325 SetColor = defined @XIV_Databar\core.lua:158 OnInitialize = defined @XIV_Databar\core.lua:80 NewModule = defined @AdvancedTooltips\libs\AceAddon-3.0\AceAddon-3.0.lua:266 GetModule = defined @AdvancedTooltips\libs\AceAddon-3.0\AceAddon-3.0.lua:241 defaultModuleLibraries =
{ } optionsFrame = { } GetTextOptions = defined @XIV_Databar\core.lua:546 UnregisterChatCommand = def

FullSol commented 4 years ago

Similar issue:

`2x XIV_Databar\modules\micromenu.lua:485: attempt to concatenate local 'realmName' (a nil value) [string "@XIV_Databar\modules\micromenu.lua"]:485: in function <XIV_Databar\modules\micromenu.lua:429>

Locals: modifierFunc = defined =[C]:-1 tooltip = { 0 = lines =

{ } PixelSnapDisabled = true headerFont = GameTooltipHeaderText { } key = "SocialToolTip" scripts =
{ } SetBackdropBorderColor = defined =[C]:-1 scrollFrame = { } template = "Transparent" cell_margin_v = 3 scrollChild = { } colspans =
{ } columns =
{ } width = 180.960419 cell_marginh = 6 labelProvider =
{ } regularFont = GameTooltipText { } height = 132.920460 SetBackdropColor = defined =[C]:-1 pixelBorders =
{ } } totalBNFriends = 100 totalBNOnlineFriends = 36 totalFriends = 0 totalOnlineFriends = 0 charNameFormat = "" clientsList =
{ 1 = "WoW" 2 = "S2" 3 = "D3" 4 = "WTCG" 5 = "Hero" 6 = "Pro" 7 = "S1" 8 = "DST2" 9 = "VIPR" } (for index) = 9 (for limit) = 100 (for step) = 1 i = 9 battleID = 71 battleName = "|Kq51|k" battleTag = "Aearowen#1979" = true charName = "Föxì" gameAccount = 107 gameClient = "WoW" isOnline = true = 1586874028 isAfk = false isDnd = false = "WE SET A DATE!!!!!! <3 <3 <3 <3" note = "" = nil = nil = nil realmName = nil = nil status = "Online" statusIcon = "FriendsFrame\StatusIcon-Online" socialIcon = "FriendsFrame\Battlenet-WoWicon" gameName = "World of Warcraft" (temporary) = "(|cffecd672" (temporary) = "Föxì" (temporary) = "-" (temporary) = nil (temporary) = "|r)" (temporary) = nil (temporary) = nil (temporary) = "attempt to concatenate local 'realmName' (a nil value)" xb =
{ defaults =
{ } ResetUI = defined @XIV_Databar\core.lua:391 HoverColors = defined @XIV_Databar\core.lua:172 HexToRGBA = defined @XIV_Databar\core.lua:338 modules =
{ } baseName = "XIV_Databar" IterateEmbeds = defined @DataStore\libs\AceAddon-3.0\AceAddon-3.0.lua:442 GetColor = defined @XIV_Databar\core.lua:167 fontFlags =
{ } GetTextColorOptions = defined @XIV_Databar\core.lua:602 RegisterFrame = defined @XIV_Databar\core.lua:190 Printf = defined @DataStore\libs\AceConsole-3.0\AceConsole-3.0.lua:69 SetDefaultModulePrototype = defined @DataStore\libs\AceAddon-3.0\AceAddon-3.0.lua:409 GetHeight = defined @XIV_Databar\core.lua:270 defaultModuleState = true IsEnabled = defined @DataStore\libs\AceAddon-3.0\AceAddon-3.0.lua:451 DisableModule = defined @DataStore\libs\AceAddon-3.0\AceAddon-3.0.lua:350 GetFont = defined @XIV_Databar\core.lua:321 PrintTable = defined @XIV_Databar\core.lua:346 RegisterMessage = defined @DataStore\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:90 GetArgs = defined @DataStore\libs\AceConsole-3.0\AceConsole-3.0.lua:144 frames =
{ } miniTextPosition = "BOTTOM" db =
{ } modulesOptionFrame = { } SetEnabledState = defined @DataStore\libs\AceAddon-3.0\AceAddon-3.0.lua:424 enabledState = true RegisterEvent = defined @DataStore\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:90 IterateModules = defined @DataStore\libs\AceAddon-3.0\AceAddon-3.0.lua:437 GetClassColors = defined @XIV_Databar\core.lua:325 SetColor = defined @XIV_Databar\core.lua:158 OnInitialize = defined @XIV_Databar\core.lua:80 NewModule = defined @DataStore\libs\AceAddon-3.0\AceAddon-3.0.lua:235 GetModule = defined @DataStore\libs\AceAddon-3.0\AceAddon-3.0.lua:210 defaultModuleLibraries =
{ } optionsFrame = <unna`

bsimms606 commented 4 years ago

I put in a pull request that fixed it for me, if you want to try that out in the mean time.