balakethelock / SuperWoW

1.12.1 WoW client mod that expands on API functionalities
Other
41 stars 3 forks source link

[BUG] I do not know if this is due to the addon or the program itself, but capital letters in the frame names have been converted to lowercase. #7

Closed jilinge2 closed 4 months ago

jilinge2 commented 5 months ago

addon 1 address: https://github.com/Sentilix/capslock addon 2 address: https://github.com/gnwl/NotGrid

When I enable only addon 1 or addon 2 separately, this problem does not occur. However, after enabling both simultaneously, the frame name "CapslockFrameSummonQueueEntry1Target" in addon 1 has changed to "CapslockFrameSummonQueueEntry1target", , which causes an error in addon 1 and makes it unusable. Error message: Interface\AddOns\Capslock\Capslock.lua:1217: attempt to index a nil value

If the frame name in addon 1 is changed to lowercase, there will be no error, and the addon will be usable.

balakethelock commented 5 months ago

Thanks for helping narrow down the issue, it will be fixed in version 1.2

jilinge2 commented 5 months ago

When passing arguments to a function, if the value of the argument is the string "Target", the value received by the function that accepts the argument is changed to lowercase "target".

balakethelock commented 5 months ago

https://github.com/balakethelock/SuperWoW/releases/tag/Release

Try if this release fixes it