ALL THE THINGS

ALL THE THINGS

31M Downloads

AllTheThings.lua:13822: Usage: EJ_GetTierInfo(index) Invalid index 10

Fiamma29 opened this issue ยท 7 comments

commented

Error keeps popping up, repeatedly in one session. Seems to occur when travelling through a load screen into a new area, but not always. eg. Taking Warspear portal from tier 3 Garrison, land in Warspear with error. Take Queens Conservatory mushrooms (?), land in Conservatory with error.

Message: Interface/AddOns/AllTheThings/AllTheThings.lua:13822: Usage: EJ_GetTierInfo(index) Invalid index 10
Time: Thu May 18 08:43:25 2023
Count: 1
Stack: Interface/AddOns/AllTheThings/AllTheThings.lua:13822: Usage: EJ_GetTierInfo(index) Invalid index 10
[string "=[C]"]: ?
[string "=[C]"]: ?
[string "@Interface/AddOns/AllTheThings/AllTheThings.lua"]:13822: in function `default_function'
[string "@Interface/AddOns/AllTheThings/AllTheThings.lua"]:7572: in function <Interface/AddOns/AllTheThings/AllTheThings.lua:7561>
[string "=(tail call)"]: ?
[string "=(tail call)"]: ?
[string "@Interface/AddOns/AllTheThings/AllTheThings.lua"]:7447: in function <Interface/AddOns/AllTheThings/AllTheThings.lua:7446>
[string "=(tail call)"]: ?
[string "@Interface/AddOns/AllTheThings/AllTheThings.lua"]:1675: in function <Interface/AddOns/AllTheThings/AllTheThings.lua:1650>
[string "@Interface/AddOns/AllTheThings/AllTheThings.lua"]:1675: in function <Interface/AddOns/AllTheThings/AllTheThings.lua:1650>
[string "@Interface/AddOns/AllTheThings/AllTheThings.lua"]:1675: in function <Interface/AddOns/AllTheThings/AllTheThings.lua:1650>
[string "@Interface/AddOns/AllTheThings/AllTheThings.lua"]:1675: in function <Interface/AddOns/AllTheThings/AllTheThings.lua:1650>
...
[string "@Interface/SharedXML/Tooltip/TooltipDataHandler.lua"]:162: in function <Interface/SharedXML/Tooltip/TooltipDataHandler.lua:157>
[string "@Interface/SharedXML/Tooltip/TooltipDataHandler.lua"]:182: in function <Interface/SharedXML/Tooltip/TooltipDataHandler.lua:178>
[string "@Interface/SharedXML/Tooltip/TooltipDataHandler.lua"]:218: in function <Interface/SharedXML/Tooltip/TooltipDataHandler.lua:208>
[string "=[C]"]: in function `SetAttribute'
[string "@Interface/SharedXML/Tooltip/TooltipDataHandler.lua"]:243: in function <Interface/SharedXML/Tooltip/TooltipDataHandler.lua:236>
[string "@Interface/SharedXML/Tooltip/TooltipDataHandler.lua"]:389: in function <Interface/SharedXML/Tooltip/TooltipDataHandler.lua:339>
[string "=[C]"]: in function `securecallfunction'
[string "@Interface/SharedXML/Tooltip/TooltipDataHandler.lua"]:336: in function <Interface/SharedXML/Tooltip/TooltipDataHandler.lua:335>
[string "=(tail call)"]: ?
[string "@Interface/AddOns/ElvUI/Core/Modules/DataTexts/Durability.lua"]:53: in function <...e/AddOns/ElvUI/Core/Modules/DataTexts/Durability.lua:36>

Locals: (*temporary) = <function> defined =[C]:-1

Thanks so much for all the hard work folks! Appreciate you all <3

commented

Very strange. 10 is a perfectly valid value for this function since it's Dragonflight's tierID.
image
Does this continue to happen for you? Or was it only one time that something weird happened?
I'd recommend trying to disable other addons as there might be something conflicting or overwriting this Blizzard API method.

commented

@Fiamma29 Any update on whether this is an ongoing issue, or a one-day fluke of a situation?

commented

Apologies, been hella busy. Life is fun but keeps getting in the way of collecting.

Yes, still appearing, got it twice yesterday, here's the first one, didn't manage to grab the second one:

Message: Interface/AddOns/AllTheThings/AllTheThings.lua:13863: Usage: EJ_GetTierInfo(index) Invalid index 10
Time: Thu May 25 17:58:48 2023
Count: 1
Stack: Interface/AddOns/AllTheThings/AllTheThings.lua:13863: Usage: EJ_GetTierInfo(index) Invalid index 10
[string "=[tsm error check]"]:1: in main chunk
[string "=(tail call)"]: ?
[string "=[C]"]: ?
[string "=[C]"]: ?
[string "@Interface/AddOns/AllTheThings/AllTheThings.lua"]:13863: in function `default_function'
[string "@Interface/AddOns/AllTheThings/AllTheThings.lua"]:7549: in function <Interface/AddOns/AllTheThings/AllTheThings.lua:7538>
[string "=(tail call)"]: ?
[string "=(tail call)"]: ?
[string "@Interface/AddOns/AllTheThings/AllTheThings.lua"]:7423: in function <Interface/AddOns/AllTheThings/AllTheThings.lua:7422>
[string "=(tail call)"]: ?
[string "@Interface/AddOns/AllTheThings/AllTheThings.lua"]:1635: in function <Interface/AddOns/AllTheThings/AllTheThings.lua:1610>
[string "@Interface/AddOns/AllTheThings/AllTheThings.lua"]:1635: in function <Interface/AddOns/AllTheThings/AllTheThings.lua:1610>
...
[string "@Interface/SharedXML/Tooltip/TooltipDataHandler.lua"]:162: in function <Interface/SharedXML/Tooltip/TooltipDataHandler.lua:157>
[string "@Interface/SharedXML/Tooltip/TooltipDataHandler.lua"]:182: in function <Interface/SharedXML/Tooltip/TooltipDataHandler.lua:178>
[string "@Interface/SharedXML/Tooltip/TooltipDataHandler.lua"]:218: in function <Interface/SharedXML/Tooltip/TooltipDataHandler.lua:208>
[string "=[C]"]: in function `SetAttribute'
[string "@Interface/SharedXML/Tooltip/TooltipDataHandler.lua"]:243: in function <Interface/SharedXML/Tooltip/TooltipDataHandler.lua:236>
[string "@Interface/SharedXML/Tooltip/TooltipDataHandler.lua"]:389: in function <Interface/SharedXML/Tooltip/TooltipDataHandler.lua:339>
[string "=[C]"]: in function `securecallfunction'
[string "@Interface/SharedXML/Tooltip/TooltipDataHandler.lua"]:336: in function <Interface/SharedXML/Tooltip/TooltipDataHandler.lua:335>
[string "=(tail call)"]: ?
[string "@Interface/AddOns/ElvUI/Core/Modules/DataTexts/Durability.lua"]:53: in function <...e/AddOns/ElvUI/Core/Modules/DataTexts/Durability.lua:36>

Locals: 

Edit: Because it's so infrequent and seemingly random, I think it might be too difficult to turn off all other addons and see if it pops up. Playing with zero addons other than ATT for potentially a week wouldn't go so well when I'm trying to content-create ๐Ÿ˜…

commented

https://wowpedia.fandom.com/wiki/API_EJ_GetNumTiers

Run this script for me:
/dump EJ_GetNumTiers()

commented

image
Result!

commented

Another one just now, zoning on the boat from Stormwind to The Waking Shore on a toon that hadn't been there before:

Message: Interface/AddOns/AllTheThings/AllTheThings.lua:13864: Usage: EJ_GetTierInfo(index) Invalid index 7
Time: Fri May 26 20:13:12 2023
Count: 1
Stack: Interface/AddOns/AllTheThings/AllTheThings.lua:13864: Usage: EJ_GetTierInfo(index) Invalid index 7
[string "=[C]"]: ?
[string "=[C]"]: ?
[string "@Interface/AddOns/AllTheThings/AllTheThings.lua"]:13864: in function `default_function'
[string "@Interface/AddOns/AllTheThings/AllTheThings.lua"]:7549: in function <Interface/AddOns/AllTheThings/AllTheThings.lua:7538>
[string "=(tail call)"]: ?
[string "=(tail call)"]: ?
[string "@Interface/AddOns/AllTheThings/AllTheThings.lua"]:7423: in function <Interface/AddOns/AllTheThings/AllTheThings.lua:7422>
[string "=(tail call)"]: ?
[string "@Interface/AddOns/AllTheThings/AllTheThings.lua"]:1635: in function <Interface/AddOns/AllTheThings/AllTheThings.lua:1610>
[string "@Interface/AddOns/AllTheThings/AllTheThings.lua"]:1635: in function <Interface/AddOns/AllTheThings/AllTheThings.lua:1610>
[string "@Interface/AddOns/AllTheThings/AllTheThings.lua"]:1635: in function <Interface/AddOns/AllTheThings/AllTheThings.lua:1610>
[string "@Interface/AddOns/AllTheThings/AllTheThings.lua"]:1635: in function <Interface/AddOns/AllTheThings/AllTheThings.lua:1610>
...
[string "@Interface/SharedXML/Tooltip/TooltipDataHandler.lua"]:162: in function <Interface/SharedXML/Tooltip/TooltipDataHandler.lua:157>
[string "@Interface/SharedXML/Tooltip/TooltipDataHandler.lua"]:182: in function <Interface/SharedXML/Tooltip/TooltipDataHandler.lua:178>
[string "@Interface/SharedXML/Tooltip/TooltipDataHandler.lua"]:218: in function <Interface/SharedXML/Tooltip/TooltipDataHandler.lua:208>
[string "=[C]"]: in function `SetAttribute'
[string "@Interface/SharedXML/Tooltip/TooltipDataHandler.lua"]:243: in function <Interface/SharedXML/Tooltip/TooltipDataHandler.lua:236>
[string "@Interface/SharedXML/Tooltip/TooltipDataHandler.lua"]:389: in function <Interface/SharedXML/Tooltip/TooltipDataHandler.lua:339>
[string "=[C]"]: in function `securecallfunction'
[string "@Interface/SharedXML/Tooltip/TooltipDataHandler.lua"]:336: in function <Interface/SharedXML/Tooltip/TooltipDataHandler.lua:335>
[string "=(tail call)"]: ?
[string "@Interface/AddOns/ElvUI/Core/Modules/DataTexts/Durability.lua"]:53: in function <...e/AddOns/ElvUI/Core/Modules/DataTexts/Durability.lua:36>

Locals: (*temporary) = <function> defined =[C]:-1
commented

I suspect there's an issue with this API when in a transitionary location.

This is why we cache so much ourselves because we can't generally rely on Blizzard APIs to not suck.

Just cache this information in locales and be done with this.