Broker_GarrisonOrderhall - Tooltip Not Showing/Error #141


Open
  • user_21889 created this issue Mar 30, 2017

    I'm using ElvUI and the get the following error whenever I mouseover the datatext for Broker_GarrisonOrderhall.

     

    77x Broker_Garrison\tooltipOrderhall.lua:72: bad argument #4 to 'format' (string expected, got nil)
    [C]: in function `format'
    Broker_Garrison\tooltipOrderhall.lua:72: in function `?'
    Broker_Garrison\core.lua:1120: in function <Broker_Garrison\core.lua:1033>
    Broker_Garrison\core.lua:1155: in function `OnEnter'
    ElvUI\Modules\datatexts\datatexts.lua:61: in function `onEnter'
    ElvUI\Modules\datatexts\datatexts.lua:207: in function <ElvUI\Modules\datatexts\datatexts.lua:205>

    Locals:
    (*temporary) = "%s%s %s (%s%%)"
    (*temporary) = "|cff6c7378 | |r"
    (*temporary) = "|TBroker_Garrison\Media\bg_orderhall_tooltip_artifactknowledge:16:16:1:0|t"
    (*temporary) = "26"
    (*temporary) = nil
    (*temporary) = "string expected, got nil"

  • the_incredulous_bulk posted a comment Mar 31, 2017

    I have the same error as well;

     

    Date: 2017-03-31 17:52:01
    ID: 2
    Error occured in: Global
    Count: 7
    Message: ...nterface\AddOns\Broker_Garrison\tooltipOrderhall.lua line 72:
       bad argument #4 to 'format' (string expected, got nil)
    Debug:
       [C]: ?
       [C]: format()
       ...nterface\AddOns\Broker_Garrison\tooltipOrderhall.lua:72: ?()
       Broker_Garrison\core.lua:1120:
          Broker_Garrison\core.lua:1033
       Broker_Garrison\core.lua:1155: OnEnter()
       ChocolateBar\Chocolate.lua:216:
          ChocolateBar\Chocolate.lua:186
    Locals:
    
    AddOns:

    <snip>

     

     

     I'm using Chocolate Bar.

     

    Thanks.

     


    Edited Mar 31, 2017
  • the_incredulous_bulk posted a comment Mar 31, 2017

     

    So I had a dig through the code and the resolution is replacing the old artifact knowledge amounts in the data.lua file, here's the new stuff;

     

    Garrison.ARTIFACT_KNOWLEDGE = {
        <snip>
    }

     

    Just search for the name before the first '=' and paste it in.

     

    should work

     

    Cheers

     

    edited - to remove incorrect AK values, thanks for the pointer zonzei.


    Edited Mar 31, 2017
  • _ForgeUser1310607 posted a comment Mar 31, 2017

    While post above fixes the issue (and thank you for that!) you probably want the correct AK values which are:

     

    Garrison.ARTIFACT_KNOWLEDGE = {
    [1] = 0,
    [2] = 50,
    [3] = 90,
    [4] = 140,
    [5] = 200,
    [6] = 275,
    [7] = 375,
    [8] = 500,
    [9] = 650,
    [10] = 850,
    [11] = 1100,
    [12] = 1400,
    [13] = 1775,
    [14] = 2250,
    [15] = 2850,
    [16] = 3600,
    [17] = 4550,
    [18] = 5700,
    [19] = 7200,
    [20] = 9000,
    [21] = 11300,
    [22] = 14200,
    [23] = 17800,
    [24] = 22300,
    [25] = 24900,
    [26] = 100000,
    [27] = 130000,
    [28] = 170000,
    [29] = 220000,
    [30] = 290000,
    [31] = 380000,
    [32] = 490000,
    [33] = 640000,
    [34] = 830000,
    [35] = 1080000,
    [36] = 1400000,
    [37] = 1820000,
    [38] = 2370000,
    [39] = 3080000,
    [40] = 4000000,
    [41] = 5200000,
    [42] = 6760000,
    [43] = 8790000,
    [44] = 11430000,
    [45] = 14860000,
    [46] = 19320000,
    [47] = 25120000,
    [48] = 32660000,
    [49] = 42460000,
    [50] = 55200000
    }


    Edited Mar 31, 2017
  • Forge_User_60021952 added an attachment ORDER.jpg Apr 2, 2017

    Order Hall Tooltip

  • Forge_User_60021952 added an attachment Apr 2, 2017
    Attachment was deleted by Forge_User_60021952 Apr 2, 2017
  • Forge_User_60021952 posted a comment Apr 2, 2017

    Hello

    Please could you have a look at pic called ORDER as nothing expands on the tooltip in any zone except for when we are in our class halls

    the 2 white arrows show that the little arrow is pointing down but nothing is showing

    Thanks

  • the_incredulous_bulk posted a comment Apr 5, 2017

    I had a similar problem with one toon; it wasn't showing any thing as you described so I visited the relevant order hall and left the information showing, zoned into dalaran and was able to see details again (hide/show a couple of times to check, all appeared good after that) certainly not exhaustive testing but if you have further problems issues, please raise a seperate issue. thanks.


    Edited Apr 5, 2017

To post a comment, please login or register a new account.