wow-addon / Broker_CurrencyFlow

Keeps track of current money and other currencies on all your characters on one realm
https://www.curseforge.com/wow/addons/broker_currencyflow
5 stars 6 forks source link

v1.8.1 Broker problem with Elvui + S&L Datatext #5

Closed Nifelhein closed 3 years ago

Nifelhein commented 4 years ago

I am using Elvui + S&L and Currencyflow, the data broker text doesn't change from gold to anything else, attempting to place another currency on the text fails every time, and if you remove the gold the broker text instead ends up with it showing "Currencyflow:" and returns the following LUA error:

Message: ...e\AddOns\Broker_Currencyflow\Broker_Currencyflow.lua:828: Usage: local info = C_CurrencyInfo.GetCurrencyInfo(type)
Time: Sat Oct 17 19:13:16 2020
Count: 1
Stack: ...e\AddOns\Broker_Currencyflow\Broker_Currencyflow.lua:828: Usage: local info = C_CurrencyInfo.GetCurrencyInfo(type)
[string "=[C]"]: in function `GetCurrencyInfo'
[string "@Interface\AddOns\Broker_Currencyflow\Broker_Currencyflow.lua"]:828: in function `getLabelSegment'
[string "@Interface\AddOns\Broker_Currencyflow\Broker_Currencyflow.lua"]:843: in function `UpdateLabel'
[string "@Interface\AddOns\Broker_Currencyflow\Broker_Currencyflow.lua"]:1310: in function <...e\AddOns\Broker_Currencyflow\Broker_Currencyflow.lua:1184>
[string "=[C]"]: ?
[string "@Interface\AddOns\Broker_Currencyflow\Libs\AceAddon-3.0\AceAddon-3.0.lua"]:70: in function <...oker_Currencyflow\Libs\AceAddon-3.0\AceAddon-3.0.lua:65>
[string "@Interface\AddOns\Broker_Currencyflow\Libs\AceAddon-3.0\AceAddon-3.0.lua"]:527: in function `EnableAddon'
[string "@Interface\AddOns\Broker_Currencyflow\Libs\AceAddon-3.0\AceAddon-3.0.lua"]:630: in function <...oker_Currencyflow\Libs\AceAddon-3.0\AceAddon-3.0.lua:615>

Locals: <none>

And on another attempt:

Message: ...e\AddOns\Broker_Currencyflow\Broker_Currencyflow.lua:828: Usage: local info = C_CurrencyInfo.GetCurrencyInfo(type)
Time: Sat Oct 17 19:13:36 2020
Count: 2
Stack: ...e\AddOns\Broker_Currencyflow\Broker_Currencyflow.lua:828: Usage: local info = C_CurrencyInfo.GetCurrencyInfo(type)
[string "=(tail call)"]: ?
[string "=[C]"]: in function `GetCurrencyInfo'
[string "@Interface\AddOns\Broker_Currencyflow\Broker_Currencyflow.lua"]:828: in function `getLabelSegment'
[string "@Interface\AddOns\Broker_Currencyflow\Broker_Currencyflow.lua"]:843: in function `UpdateLabel'
[string "@Interface\AddOns\Broker_Currencyflow\Broker_Currencyflow.lua"]:886: in function <...e\AddOns\Broker_Currencyflow\Broker_Currencyflow.lua:886>
[string "=[C]"]: ?
[string "@Interface\AddOns\Broker_Currencyflow\Libs\AceConfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua"]:51: in function <...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:49>
[string "@Interface\AddOns\Broker_Currencyflow\Libs\AceConfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua"]:843: in function <...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:664>
[string "=[C]"]: ?
[string "@Interface\AddOns\Broker_Currencyflow\Libs\AceGUI-3.0\AceGUI-3.0.lua"]:72: in function <...s\Broker_Currencyflow\Libs\AceGUI-3.0\AceGUI-3.0.lua:70>
[string "@Interface\AddOns\Broker_Currencyflow\Libs\AceGUI-3.0\AceGUI-3.0.lua"]:306: in function `Fire'
[string "@Interface\AddOns\Broker_Currencyflow\Libs\AceGUI-3.0\widgets\AceGUIWidget-DropDown.lua"]:442: in function <...ow\Libs\AceGUI-3.0\widgets\AceGUIWidget-DropDown.lua:433>
[string "=[C]"]: ?
[string "@Interface\AddOns\Broker_Currencyflow\Libs\AceGUI-3.0\AceGUI-3.0.lua"]:72: in function <...s\Broker_Currencyflow\Libs\AceGUI-3.0\AceGUI-3.0.lua:70>
[string "@Interface\AddOns\Broker_Currencyflow\Libs\AceGUI-3.0\AceGUI-3.0.lua"]:306: in function `Fire'
[string "@Interface\AddOns\Broker_Currencyflow\Libs\AceGUI-3.0\widgets\AceGUIWidget-DropDown-Items.lua"]:351: in function <...s\AceGUI-3.0\widgets\AceGUIWidget-DropDown-Items.lua:341>

Locals: <none>
davidcraig commented 3 years ago

Does this problem still occur?

Nifelhein commented 3 years ago

Sorry to take a while to respond.

On login I get the following error, I believe it is related to the latest patch sicne I didn't get it before it was released:


> Message: ...e\AddOns\Broker_Currencyflow\Broker_Currencyflow.lua:466: attempt to index local 'currencyInfo' (a nil value)
> Time: Wed Nov 18 19:07:20 2020
> Count: 1
> Stack: ...e\AddOns\Broker_Currencyflow\Broker_Currencyflow.lua:466: attempt to index local 'currencyInfo' (a nil value)
> [string "@Interface\AddOns\Broker_Currencyflow\Broker_Currencyflow.lua"]:466: in function `db_UpdateCurrency'
> [string "@Interface\AddOns\Broker_Currencyflow\Broker_Currencyflow.lua"]:1296: in function <...e\AddOns\Broker_Currencyflow\Broker_Currencyflow.lua:1184>
> [string "=[C]"]: ?
> [string "@Interface\AddOns\Broker_Currencyflow\Libs\AceAddon-3.0\AceAddon-3.0.lua"]:70: in function <...oker_Currencyflow\Libs\AceAddon-3.0\AceAddon-3.0.lua:65>
> [string "@Interface\AddOns\Broker_Currencyflow\Libs\AceAddon-3.0\AceAddon-3.0.lua"]:527: in function `EnableAddon'
> [string "@Interface\AddOns\Broker_Currencyflow\Libs\AceAddon-3.0\AceAddon-3.0.lua"]:630: in function <...oker_Currencyflow\Libs\AceAddon-3.0\AceAddon-3.0.lua:615>
> 
> Locals: <none>

And I can't see currencyflow on the addons tab, or call its options using the slash commands as well. All that despite it posting on chat: "Currencyflow notice: Currencyflow enabled". I only have Elvui, S&L and currencyflow enabled in this test.

Nifelhein commented 3 years ago

Everything sorted out with the latest update.