XIV_Databar

XIV_Databar

199k Downloads

Lua error on mousing over battle.net friends on bar

Emarline opened this issue ยท 3 comments

commented

The dropdown also doesn't show - just throws this error:

100x XIV_Databar\modules\micromenu.lua:470: attempt to index field '?' (a nil value)
XIV_Databar\modules\micromenu.lua:470: in function <XIV_Databar\modules\micromenu.lua:426>

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

{
}
headerFont = GameTooltipHeaderText {
}
cell_margin_v = 3
key = "SocialToolTip"
scripts =
{
}
columns =
{
}
scrollFrame = {
}
template = "Transparent"
scrollChild = {
}
colspans =
{
}
width = 518.9776763916
cell_margin_h = 6
labelProvider =
{
}
height = 779.8761844635
regularFont = GameTooltipText {
}
}
totalBNFriends = 107
totalBNOnlineFriends = 72
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) = 45
(for limit) = 107
(for step) = 1
i = 45
battleID = 82
battleName = "|Kf81|k000000000|k"
battleTag = "Killerpox#1990"
_ = true
charName = nil
gameAccount = 359
gameClient = "VIPR"
isOnline = true
_ = 1536978705
isAfk = false
isDnd = false
_ = "I'm back, if people care."
note = "#Friends"
_ = true
_ = ""
_ = "VIPR"
realmName = ""
_ = 0
status = "Online"
statusIcon = "FriendsFrame\StatusIcon-Online"
socialIcon = "FriendsFrame\Battlenet-CallOfDutyBlackOps4icon"
(*temporary) = nil
(*temporary) = "FriendsFrame\Battlenet-CallOfDutyBlackOps4icon"
(*temporary) = ""
(*temporary) = ""
(*temporary) = ""
(*temporary) = "In Lobby, Solo selected | Blackout"
(*temporary) = "I'm back, if people care."
(*temporary) = 1533179879
(*temporary) = "attempt to index field '?' (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 @ace3\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 @ace3\AceConsole-3.0\AceConsole-3.0.lua:69
SetDefaultModulePrototype = defined @ace3\AceAddon-3.0\AceAddon-3.0.lua:440
GetHeight = defined @XIV_Databar\core.lua:270
defaultModuleState = true
IsEnabled = defined @ace3\AceAddon-3.0\AceAddon-3.0.lua:482
DisableModule = defined @ace3\AceAddon-3.0\AceAddon-3.0.lua:381
GetFont = defined @XIV_Databar\core.lua:321
PrintTable = defined @XIV_Databar\core.lua:346
RegisterMessage = defined @ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:116
GetArgs = defined @ace3\AceConsole-3.0\AceConsole-3.0.lua:144
frames =
{
}
miniTextPosition = "BOTTOM"
db =
{
}
modulesOptionFrame = {
}
SetEnabledState = defined @ace3\AceAddon-3.0\AceAddon-3.0.lua:455
enabledState = true
RegisterEvent = defined @ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:116
IterateModules = defined @ace3\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 @ace3\AceAddon-3.0\AceAddon-3.0.lua:266
GetModule = defined @ace3\AceAddon-3.0\AceAddon-3.0.lua:241
defaultModuleLibraries =
{
}
optionsFrame = {
}
GetTextOptions = defined @XIV_Databar\core.lua:546
UnregisterChatCommand = defined @ace3\AceCons

commented

I had this Error happen to me, and I did a fix by editing the micromenu.lua within the modules folder. The problem was with Call of Duty and one of your friends playing it =D
To Fix,
Interface\AddOns\XIV_Databar\modules --micromenu.lua
then on line 54 55 56 and 57 insert

},
VIPR = {
text = 'Call of Duty'
}

should look like this when you're done
the fix

commented

Confirm above change fixes issue

commented

The error indeed showed directly how to fix it. It should be fxed in commit 985895b