Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Transmog button does not work with ElvUI #28

Closed
Pairaka opened this issue Nov 27, 2022 · 3 comments
Closed

Transmog button does not work with ElvUI #28

Pairaka opened this issue Nov 27, 2022 · 3 comments
Assignees

Comments

@Pairaka
Copy link

Pairaka commented Nov 27, 2022

Have learnable items in my bags, use the Transmog button and nothing happens (with ElvUI bags enabled). Got this error:

2x HelpMePlay/Systems/Transmog.lua:42: attempt to call global 'GetContainerNumSlots' (a nil value)
[string "@HelpMePlay/Systems/Transmog.lua"]:42: in function <HelpMePlay/Systems/Transmog.lua:40>

Locals:
(for index) = 0
(for limit) = 4
(for step) = 1
i = 0
(*temporary) = 1
(*temporary) = nil
(*temporary) = 0
(*temporary) = "attempt to call global 'GetContainerNumSlots' (a nil value)"
RequipOriginalItems = defined @HelpMePlay/Systems/Transmog.lua:15
equippedItems =

{
1 =
{
}
2 =
{
}
3 =
{
}
4 =
{
}
5 =
{
}
6 =
{
}
7 =
{
}
8 =
{
}
9 =
{
}
10 =
{
}
11 =
{
}
12 =
{
}
}

@Pairaka
Copy link
Author

Pairaka commented Nov 27, 2022

Related to this issue: Disabling ElvUI bags causes the Transmog button to not show at all, and gives this error:

1x HelpMePlay/Systems/Transmog.lua:154: attempt to index global 'ElvUI_ContainerFrame' (a nil value)
[string "@HelpMePlay/Systems/Transmog.lua"]:154: in function <HelpMePlay/Systems/Transmog.lua:152>

Locals:
(*temporary) = nil
(*temporary) = nil
(*temporary) = "TOPRIGHT"
(*temporary) = nil
(*temporary) = "TOPLEFT"
(*temporary) = -5
(*temporary) = -1
(*temporary) = "attempt to index global 'ElvUI_ContainerFrame' (a nil value)"
HMPTransmogButton = HMPTransmogButton {
SetTextToFit = defined @SharedXML/SecureUIPanelTemplates.lua:440
Right = Texture {
}
Left = Texture {
}
fitTextWidthPadding = 40
FitToText = defined @SharedXML/SecureUIPanelTemplates.lua:445
Text = HMPTransmogButtonText {
}
0 =
Middle = Texture {
}
fitTextCanWidthDecrease = true
}

@Saaappi
Copy link
Owner

Saaappi commented Nov 27, 2022

The second error is technically a different problem. I've opened a separate issue for it.

@Saaappi
Copy link
Owner

Saaappi commented Nov 27, 2022

The first error is fixed in 20f2ebf.

@Saaappi Saaappi closed this as completed Nov 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants