LargerMacroIconSelection

LargerMacroIconSelection

230k Downloads

Searching using integer values causes error

azuraji opened this issue ยท 4 comments

commented

Not sure if it's supported or not (but would be nice); I'd like to search using an integer value, e.g. the TextureID of an icon.

This gives me a LUA error though:

7x ...rgerMacroIconSelection/Mainline/IconDataProvider.lua:31: attempt to concatenate local 'texture' (a nil value)
[string "@LargerMacroIconSelection/Mainline/IconDataProvider.lua"]:31: in function <...rgerMacroIconSelection/Mainline/IconDataProvider.lua:25>
[string "=(tail call)"]: ?
[string "=(tail call)"]: ?
[string "=(tail call)"]: ?
[string "=(tail call)"]: ?
[string "=(tail call)"]: ?
[string "@LargerMacroIconSelection/Mainline/LargerMacroIconSelection.lua"]:83: in function <...oIconSelection/Mainline/LargerMacroIconSelection.lua:80>

image

commented

I suppose you mean searching by index instead of a FileID/TextureID. That's not supported since the index for a specific icon can be different between each class and the macro / equipment manager.

It does support searching by FileID though.

image

image

commented

Oh thanks for the error report and steps to reproduce, I will look at it

commented

Strange, it was actually indeed FileID/TextureID (not index) I was referring to, but when typing in any numerical values, I'm getting the above error.

UPDATE: It seems to be working for me now.

commented

I think I was able to reproduce it.

  1. First I search for a string, e.g. "legion".
  2. Then I make a numeric search, e.g. "333".
  3. Then I scroll the frame and the error occurs.