Multistate implementation to allow the use of multiple map update thread. Each map will have its own isolated Lua state, with a world state for thread-unsafe function calls.
Adds the following additional features:
Automatic bytecode precompilation and caching
Granular per-state script loading
Asynchronous SQL queries with function callbacks
Runtime persistent worldobject and map caching
Method state-specific tagging
Assorted methods for Map
Compatibility mode (enabled by default), allowing the engine to run like the old Eluna implementation
This will require some changes on both Mangos and Cmangos forks. I suggest staying on an older Eluna commit until thoroughly tested and implemented.
Multistate implementation to allow the use of multiple map update thread. Each map will have its own isolated Lua state, with a world state for thread-unsafe function calls.
Adds the following additional features:
This will require some changes on both Mangos and Cmangos forks. I suggest staying on an older Eluna commit until thoroughly tested and implemented.