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

Fix AIO.lua error with Eluna multi-state #17

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Doombringer-MarAlith
Copy link

Using recent Eluna (Trinity) with multi-state mode causes errors for AIO.lua executed outside of world state. These errors happen on worldserver startup and whenever re-loading Eluna scripts.

This fix works, but I'm unsure if it's the best approach.

@Rochet2
Copy link
Owner

Rochet2 commented Nov 19, 2024

Hmm, looks alright. I will make a few tweaks and it should be good.

@Rochet2
Copy link
Owner

Rochet2 commented Nov 19, 2024

I made some changes. Would it be possible for you to test the new code?

@Doombringer-MarAlith
Copy link
Author

Thank you for the follow-up. I'm getting some new errors in all my client-side scripts that trigger both on server startup and while re-loading them.
image

Caused by the usual AIO "code practice":
image

If I were to comment out the check (or replace it with this check):
image
the same error happens on CreateFrame function:
image

Maybe I do not fully understand what's at play here. My scripts are working fine as usual, however the errors in worldserver console are printed.

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

Successfully merging this pull request may close these issues.

2 participants