WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   Carbonite Archive (https://www.wowinterface.com/forums/forumdisplay.php?f=158)
-   -   5.2.1 A9r1 Broker_Carbonite-r19.lua:35: attempt to call field "GetGlobalOpts" (https://www.wowinterface.com/forums/showthread.php?t=46271)

Billtopia 04-13-13 08:25 PM

5.2.1 A9r1 Broker_Carbonite-r19.lua:35: attempt to call field "GetGlobalOpts"
 
8x Broker_Carbonite\Broker_Carbonite-r19.lua:35: attempt to call field "GetGlobalOpts" (a nil value)
Broker_Carbonite\Broker_Carbonite-r19.lua:35: in function "OnTooltipShow"
Bazooka\Bazooka-v2.2.2.lua:1436: in function "showTip"
Bazooka\Bazooka-v2.2.2.lua:1246: in function <Bazooka\Bazooka.lua:1237>

Locals:
self = <table> {
origWidth = 81.000003022411
createIcon = <func> @..\Bazooka.lua:1561
setIcon = <func> @..\Bazooka.lua:1734
icon = BazookaPluginIcon_Broker_Carbonite {}
applySettings = <func> @..\Bazooka.lua:1686
setIconColor = <func> @..\Bazooka.lua:1747
updateLayout = <func> @..\Bazooka.lua:1575
text = BazookaPluginText_Broker_Carbonite {}
dataobj = <table> {}
suffixColorHex = "ff00d100"
name = "Broker_Carbonite"
createText = <func> @..\Bazooka.lua:1569
globalSettingsChanged = <func> @..\Bazooka.lua:1536
bar = <table> {}
fontSize = 12
highlight = <func> @..\Bazooka.lua:1518
label = "Broker_Carbonite"
enable = <func> @..\Bazooka.lua:1627
setText = <func> @..\Bazooka.lua:1767
iconSize = 16
labelColorHex = "ffe5e5e5"
setTipScale = <func> @..\Bazooka.lua:1375
tipType = "OnTooltipShow"
detach = <func> @..\Bazooka.lua:1872
hl = BazookaHL_Broker_Carbonite {}
title = "Broker_Carbonite"
setIconCoords = <func> @..\Bazooka.lua:1757
updateLabel = <func> @..\Bazooka.lua:1858
iconTextSpacing = 2
updateLDBCallback = <func> @..\Bazooka.lua:1664
updateLDBCallbacks = <func> @..\Bazooka.lua:1673
toggleMouse = <func> @..\Bazooka.lua:1447
db = <table> {}
frame = BazookaPlugin_Broker_Carbonite {}
area = "left"
showTip = <func> @..\Bazooka.lua:1389
}
modifierKey = nil
modifierState = nil
origTipType = nil
dataobj = <table> {}
tt = GameTooltip {
0 = <userdata>
SetQuestLogRewardSpell = <func> @Auc-Advanced\Libs\..\LibExtraTip.lua:381
SetSpellBookItem = <func> @Auc-Advanced\Libs\..\LibExtraTip.lua:381
SetExistingSocketGem = <func> =[C]:-1
SetHyperlink = <func> =[C]:-1
SetTradeSkillItem = <func> @Auc-Advanced\Libs\..\LibExtraTip.lua:381
SetVoidItem = <func> =[C]:-1
updateFunction = <func> @..\myHonor.lua:460
SetVoidDepositItem = <func> =[C]:-1
SetVoidWithdrawalItem = <func> =[C]:-1
SetQuestRewardSpell = <func> @Auc-Advanced\Libs\..\LibExtraTip.lua:381
ARK_Data = <table> {}
SetSocketGem = <func> =[C]:-1
SetPetAction = <func> @Auc-Advanced\Libs\..\LibExtraTip.lua:381
SetUnitDebuff = <func> @Auc-Advanced\Libs\..\LibExtraTip.lua:381
SetLootItem = <func> @Auc-Advanced\Libs\..\LibExtraTip.lua:381
SetQuestItem = <func> @Auc-Advanced\Libs\..\LibExtraTip.lua:381
hasMoney = 1
SetTrainerService = <func> @Auc-Advanced\Libs\..\LibExtraTip.lua:381
numMoneyFrames = 1
SetInboxItem = <func> @Auc-Advanced\Libs\..\LibExtraTip.lua:381
SetBuybackItem = <func> @Auc-Advanced\Libs\..\LibExtraTip.lua:381
shoppingTooltips = <table> {}
SetHyperlinkCompareItem = <func> =[C]:-1
SetMerchantItem = <func> @Auc-Advanced\Libs\..\LibExtraTip.lua:381
SetQuestLogItem = <func> @Auc-Advanced\Libs\..\LibExtraTip.lua:381
SetBackpackToken = <func> =[C]:-1
SetUnitBuff = <func> @Auc-Advanced\Libs\..\LibExtraTip.lua:381
SetTalent = <func> @Inter

Rythal 04-14-13 06:31 AM

Brokers not one of mine...

Livanamako 06-16-13 12:43 PM

Quote:

Originally Posted by Rythal (Post 276472)
Brokers not one of mine...

That's true .. Broker is actually more an WoWAce interface between various modules I guess. When we are talking about a broker, I think we mean the bar (or equivalent) that shows the various broker addons.

Carbonite isn't natively a Broker addon (sad thing) and depend on Broker_Carbonite to show Carbonite as an icon/menu. I think the Broker interface itself is part of WowAce. What the user sees can be compared to Fubar. There are F2B and B2F addons, that I am not sure works anymore as most people have moved away from Fubar me thinks :).

Anyway Broker_Carbonite have been filling the gab for a long time. Unfortunately with the patch of Carbonite after 5.3 everything seemed broken, and the whole thing seems to be connected to a missing NxData.NXGOpts. In fact, line 20-23 (or so, I'm using notepad for this) of broker (Broker_Carbonite) says:

Code:

-- ACE Methods
function Carb:OnInitialize()
        NxData.NXGOpts["MapMMButShowCarb"] = false
end

Maybe you can give some hints to what this should be saying.

Also the whole module seem to refer a lot to functions in a Nx structure/scope. I presume (without too much investigation) that Nx/NXGOpts was a way to keep certain items global.

Hope you read this Rythel and keep up the otherwise great work.
And in any case excuse my ramblings.


All times are GMT -6. The time now is 02:52 AM.

vBulletin © 2020, Jelsoft Enterprises Ltd
© 2004 - 2020 MMOUI