Skip to content

feat(Multistate): Shoehorned multistate#373

Draft
mostlynick3 wants to merge 7 commits intoazerothcore:masterfrom
mostlynick3:multistate-shoehorn
Draft

feat(Multistate): Shoehorned multistate#373
mostlynick3 wants to merge 7 commits intoazerothcore:masterfrom
mostlynick3:multistate-shoehorn

Conversation

@mostlynick3
Copy link

@mostlynick3 mostlynick3 commented Mar 19, 2026

Draft PR for a shoehorned multistate implementation, aiming to replicate "native" multistate without the need for further core-side support/development. Both compatibility mode and multistate mode are working out of the box but I haven't tested in a prod environment yet and thus cannot safely say it's good to go. I assume more changes will be needed.

Anyone is welcome to test it. I've set compatibility mode enabled by default (or, rather, disabled multistate by default), so that on the off chance that this PR gets merged, mod-ale users' existing scripts will work without requiring rewrites.

Note that Data() methods support is not included in this PR as the original Eluna implementation requires core edits to support it. It's of course possible to serialize and store reload-proof data in mod-ale's cache, and thus get Data() support without core edits, but since it's a bit of a hacky solution I've chosen to omit it.

@mostlynick3 mostlynick3 force-pushed the multistate-shoehorn branch 4 times, most recently from 1a7c679 to ac220f2 Compare March 22, 2026 03:24
@mostlynick3 mostlynick3 force-pushed the multistate-shoehorn branch from ac220f2 to 9c4051a Compare March 22, 2026 03:36
@mostlynick3
Copy link
Author

mostlynick3 commented Mar 22, 2026

Now with full instanced map support as well (BGs, raids, dungeons), with each instance running a separate Lua state :)

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.

1 participant