Giter Club home page Giter Club logo

broker_currencyflow's People

Contributors

blindauer avatar davidcraig avatar fsfod avatar hotzed avatar thhyang avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

broker_currencyflow's Issues

Request: Add these currencies please.

Could the following currencies be added, please?

  • Valor
  • Soul Cinders
  • Stygian Ember
  • Grateful Offering
  • Cataloged Research
  • Tower Knowledge
  • Redeemed Soul

Thank you!

Currency not sorting

I used to have all my characters sorted by how much gold they had, but it is no longer working.

Any chance the new Dragonflight currencies can be added?

Hi,

Any chance the new currencies in Dragonflight could be added? Also, since we can mail gold/items to any of our characters on a server now (no faction restrictions) could you add the option to track all characters at once on a server? It is currently split between horde and alliance characters.

Thanks!

Error message with 10.2.7

10x Broker_Currencyflow/Broker_Currencyflow.toc:30 Duplicate File Load Detected. [Broker_Currencyflow/Libs/AceLocale-3.0-6/AceLocale-3.0.xml] first loaded at [Broker_Currencyflow/Broker_Currencyflow.toc:27]

Column headers in tooltip are misaligned

The currency icons in the column headers are misaligned, i.e. they are center-aligned whereas the columns themselves are right-aligned. This makes the icons appear as if in-between the columns.

Easy fix: Broker_Currencyflow.lua, lines 642, 643, and 651: Replace "CENTER" with "RIGHT".

A minor, aesthetic issue: I would set the tooltip header (addon name) left-aligned (line 634). Looks more coherent.


Before (center-aligned icons):

WoWScrnShot_090522_232859

After (right-aligned):

WoWScrnShot_090522_232733

Thanks, and thanks for the nice addon!

– Tom

errors with v1.7.5

`Message: ...e\AddOns\Broker_Currencyflow\Broker_Currencyflow.lua:703: attempt to index field 'db' (a nil value)
Time: Thu Nov  5 01:15:39 2020
Count: 4
Stack: ...e\AddOns\Broker_Currencyflow\Broker_Currencyflow.lua:703: attempt to index field 'db' (a nil value)
[string "@Interface\AddOns\TradeSkillMaster\LibTSM\Service\ErrorHandler.lua"]:758: in function <...Ons\TradeSkillMaster\LibTSM\Service\ErrorHandler.lua:717>
[string "=[C]"]: ?
[string "@Interface\AddOns\Broker_Currencyflow\Broker_Currencyflow.lua"]:703: in function `OnEnter'
[string "@Interface\AddOns\ChocolateBar\Chocolate.lua"]:257: in function <Interface\AddOns\ChocolateBar\Chocolate.lua:228>

Locals: errMsg = "...e\AddOns\Broker_Currencyflow\Broker_Currencyflow.lua:703: attempt to index field 'db' (a nil value)"
isBugGrabber = nil
tsmErrMsg = nil
oldModule = nil
private = <table> {
 globalNameTranslation = <table> {
 }
 FormatErrorMessageSection = <function> defined @Interface\AddOns\TradeSkillMaster\LibTSM\Service\ErrorHandler.lua:517
 ErrorHandler = <function> defined @Interface\AddOns\TradeSkillMaster\LibTSM\Service\ErrorHandler.lua:134
 origErrorHandler = <function> defined @Interface\SharedXML\SharedBasicControls.lua:355
 hitInternalError = false
 CreateErrorFrame = <function> defined @Interface\AddOns\TradeSkillMaster\LibTSM\Service\ErrorHandler.lua:536
 num = 0
 SanitizeString = <function> defined @Interface\AddOns\TradeSkillMaster\LibTSM\Service\ErrorHandler.lua:510
 AddonBlockedHandler = <function> defined @Interface\AddOns\TradeSkillMaster\LibTSM\Service\ErrorHandler.lua:502
 GetStackLevelInfo = <function> defined @Interface\AddOns\TradeSkillMaster\LibTSM\Service\ErrorHandler.lua:344
 ParseLocals = <function> defined @Interface\AddOns\TradeSkillMaster\LibTSM\Service\ErrorHandler.lua:396
 ignoreErrors = false
 errorReports = <table> {
 }
 IsTSMAddon = <function> defined @Interface\AddOns\TradeSkillMaster\LibTSM\Service\ErrorHandler.lua:478
 localLinesTemp = <table> {
 }
 GetStackInfo = <function> defined @Interface\AddOns\TradeSkillMaster\LibTSM\Service\ErrorHandler.lua:313
}
MAX_STACK_DEPTH = 50
OLD_TSM_MODULES = <table> {
 1 = "TradeSkillMaster_Accounting"
 2 = "TradeSkillMaster_AuctionDB"
 3 = "TradeSkillMaster_Auctioning"
 4 = "TradeSkillMaster_Crafting"
 5 = "TradeSkillMaster_Destroying"
 6 = "TradeSkillMaster_Mailing"
 7 = "TradeSkillMaster_Shopping"
 8 = "TradeSkillMaster_Vendoring"
 9 = "TradeSkillMaster_Warehousing"
}
`

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

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>

Currency Names

I cannot figure out why that is the case, but the currency names in the settings > columns section are the name of the character that is logged in. When I delete the saved variables settings, first char is fine. Logging into the next character results again in all currencies named after my character. Archaeology fragments are named properly. Everything else looks like this:

grafik

Add tooltips to column headers in LDB display

It can be hard to remember what all the currency icons are.
I've added tooltips to them so you can hover over them to see what currency they represent.

In function Currencyflow:drawTooltip() --
[...]

  -- Add a header for each of the currencies we're showing
  local colNum = colsPerItem + 2
  local icon

  for id,currency in pairs(tracking) do
    if self.db.profile["showCurrency"..id] then
      tooltip:SetCell( lineNum, colNum, "|T"..currency.icon..":16|t", "CENTER" )
      tooltip:SetCellScript( lineNum, colNum, "OnEnter", function()
        if not CurrencyHeaderTooltip then CurrencyHeaderTooltip = CreateFrame("GameTooltip", "CurrencyHeaderTooltip", UIParent, "GameTooltipTemplate") end
        CurrencyHeaderTooltip:SetOwner(tooltip, "ANCHOR_CURSOR")
        CurrencyHeaderTooltip:SetText(currency.name)
        CurrencyHeaderTooltip:SetFrameLevel(999)
        CurrencyHeaderTooltip:Show()
      end )
      tooltip:SetCellScript( lineNum, colNum, "OnLeave", function()
        CurrencyHeaderTooltip:Hide()
      end )
      colNum = colNum + 1
    end
  end

Request - Add Year to History

Is there any way to add the year to the history section? I really like the historical part, and I would like to be able to see how much I have earned YTD,

Request - Hide Silver and Copper

Any chance you could have an option to round to the nearest gold, or just hide the silver/copper? Or make it auto hide once at max level?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.