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

SOD a bazillion errors #271

Closed
nwardoh opened this issue Sep 24, 2024 · 6 comments
Closed

SOD a bazillion errors #271

nwardoh opened this issue Sep 24, 2024 · 6 comments

Comments

@nwardoh
Copy link

nwardoh commented Sep 24, 2024

When clicking the minimap button the errors just start scrolling non-stop.

image

@Tegas
Copy link

Tegas commented Sep 25, 2024

The GetMouseFocus function has been replaced by GetMouseFoci.

https://warcraft.wiki.gg/wiki/Patch_11.0.0/API_changes

I got it working by swapping
local frame = GetMouseFocus()
to
local frame = GetMouseFoci()[1]

@Tegas
Copy link

Tegas commented Sep 25, 2024

It seems there's already a PR with a better fix.
fe39362

@konffen
Copy link

konffen commented Sep 25, 2024

Managed to copypaste the error from BugSack:

4442x ItemRack/ItemRack.lua:1289: attempt to call global 'GetMouseFocus' (a nil value)
[string "@ItemRack/ItemRack.lua"]:1289: in function `func'
[string "@ItemRack/ItemRack.lua"]:1016: in function `OnUpdate'
[string "*ItemRack.xml:7_OnUpdate"]:1: in function <[string "*ItemRack.xml:7_OnUpdate"]:1>

Locals:
(*temporary) = nil
(*temporary) = "attempt to call global 'GetMouseFocus' (a nil value)"

@nwardoh
Copy link
Author

nwardoh commented Sep 26, 2024

What's the plan here? This game is basically unplayable as a tank without this addon

@mikinho
Copy link
Contributor

mikinho commented Sep 26, 2024

Have a fix made #270

Can provide a zip for those who need it until it is merged

@Rottenbeer
Copy link
Owner

Released as 4.11

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

5 participants