TellMeWhen

TellMeWhen

24M Downloads

MultiUnits continuous error

SiderealDay opened this issue ยท 5 comments

commented

WoW Version

Retail

TellMeWhen Version

10.0.7

Describe the bug

I was in Ogrimmar, I hovered my mouse over a training dummy called: "Sturdy Love Fool".

After hoving over that dummy (and maybe going through my bags?), the error frame went crazy with the same continuos TMW error (error #1 below).

After reloadui, I hovered over the dummy again and got another error (error #2 below).

This is not the first time I get this MultiUnits error by the way, but I cannot remember what caused it before.

Export Strings

-------------------
Error #1:
-------------------

125x [string "TMW Snippet: MultiUnits"]:63: attempt to compare nil with number
[string "TMW Snippet: MultiUnits"]:63: in function `GetTotalMobs'
[string "TMW Snippet: MultiUnits"]:5: in function `AoE'
[string "if AoE(8) >= 2 then
    return true
end"]:1: in function `LF_000001EE6261DEA8'
[string "Condition_BUFFDUR_LUA"]:4: in function `CheckFunction'
[string "@TellMeWhen/Components/Core/Conditions/ConditionObject.lua"]:266: in function `Check'
[string "@TellMeWhen/Components/Core/Icon.lua"]:770: in function `Update'
[string "@TellMeWhen/Components/IconTypes/IconType_meta/meta.lua"]:235: in function `UpdateFunction'
[string "@TellMeWhen/Components/Core/Icon.lua"]:784: in function <TellMeWhen/Components/Core/Icon.lua:741>
[string "=(tail call)"]: ?
[string "=[C]"]: ?
[string "safecall Dispatcher[1]"]:9: in function <[string "safecall Dispatcher[1]"]:5>
[string "=(tail call)"]: ?
[string "@TellMeWhen/TellMeWhen.lua"]:2631: in function <TellMeWhen/TellMeWhen.lua:2593>


-------------------
Error #2:
-------------------

2x [string "TMW Snippet: MultiUnits"]:30: table index is nil
[string "TMW Snippet: MultiUnits"]:30: in function <[string "TMW Snippet: MultiUnits"]:27>
[string "TMW Snippet: MultiUnits"]:44: in function <[string "TMW Snippet: MultiUnits"]:36>

Locals:
unitID = "nameplate1"
nameplate = NamePlate1 {
 OnSizeChanged = <function> defined @Blizzard_NamePlates/Blizzard_NamePlates.lua:587
 GetPreferredInsets = <function> defined @Blizzard_NamePlates/Blizzard_NamePlates.lua:568
 NCIconsCount = 0
 GetAdditionalInsetPadding = <function> defined @Blizzard_NamePlates/Blizzard_NamePlates.lua:557
 NCIcons = <table> {
 }
 ApplyOffsets = <function> defined @Blizzard_NamePlates/Blizzard_NamePlates.lua:539
 OnRemoved = <function> defined @Blizzard_NamePlates/Blizzard_NamePlates.lua:526
 OnAdded = <function> defined @Blizzard_NamePlates/Blizzard_NamePlates.lua:515
 kui = KuiNamePlate1 {
 }
 template = "NamePlateUnitFrameTemplate"
 0 = <userdata>
 OnOptionsUpdated = <function> defined @Blizzard_NamePlates/Blizzard_NamePlates.lua:533
}
unitframe = nil
(*temporary) = <table> {
  = "nameplate1"
}
(*temporary) = "table index is nil"
activeUnitPlates = <table> {
  = "nameplate1"
}
commented

This is a custom code snippet that you either created yourself, or imported from another person. I can't help you with any errors it bugs it may have.

commented

This error was happening mostly on a low level character that was parked in town. I was away from the game for a few years. I may have imported something long ago to test TMW when I first installed it. I deleted everything. Let's see :)

commented

So I deleted every group, till TMW warned me there was nothing to show.
I reloadedui. There are no groups.
I created a new group, but now the row size keeps shrinking to a small size every time I try to resize by dragging the triangle.
I even deleted all profiles, and created a new profile and double-checked there are no groups or snippets.

I also managed to get this error:

9x [string "TMW Snippet: Scale"]:18: attempt to index global 'TellMeWhen_Group1' (a nil value)
[string "TMW Snippet: Scale"]:18: in function <[string "TMW Snippet: Scale"]:8>
Locals:
self = Frame {
 0 = <userdata>
 TimeSinceLastUpdate = 0
}
elapsed = 16.485001
myhight = 1080
myscale1 = 0.426667
myscale2 = 0.177778
(*temporary) = nil
(*temporary) = nil
(*temporary) = "1920x1080"
(*temporary) = "gxWindowedResolution"
(*temporary) = "1920x1080"
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index global 'TellMeWhen_Group1' (a nil value)"
commented

It is not possible that you have no snippets and have reloaded your UI since deleting them all. That error is coming from a snippet named "Scale".

Please share a screenshot of the snippet configuration tab.

commented

The issue seems to have resolved itself.