[DiscordArchive] No idea, sorry. Try the AC wiki, item_instance?
[DiscordArchive] No idea, sorry. Try the AC wiki, item_instance?
Archived author: Foe • Posted: 2022-08-20T11:39:25.618000+00:00
Original source
Should work fine then as long as the lualib dependency has just been removed and new one put in place
Archived author: Honey • Posted: 2022-08-20T11:41:55.889000+00:00
Original source
I'm on my phone currently so can't look up what exactly i did. But i think i pulled the whole luajit engine and replaced the 5.2 engine but ended.up missing .h files which are (according to the luajit guide) created temporarily by using a batch.
Archived author: Foe • Posted: 2022-08-20T11:43:48.117000+00:00
Original source
Yeah, use the lualib from Dep in the link i posted above, that generates everything for you like it should on build
Archived author: Honey • Posted: 2022-08-20T11:53:23.485000+00:00
Original source
Cool, thanks. I'll give it a shot.
Archived author: Honey • Posted: 2022-08-21T21:15:20.264000+00:00
Original source
I keep running into merge conflicts when trying to cherry pick the luajit-new branch from ElunaTrinityWotlk to mod-eluna. I guess we'll need to wait for someone more knowledgable to make luajit and bytecode work with AC.
Archived author: Honey • Posted: 2022-08-21T21:17:28.975000+00:00
Original source
And about the multistate branch, i kept reading through our convo yesterday. I see how scripts are added only for certain maps and that each map is attached to one state as in thread.
What i can't grasp is, that it's impossible to run the multistate and the old thing in parallel, hence keep support for global scripts PLUS allowing the very efficient per-map approach.
Archived author: Foe • Posted: 2022-08-21T21:17:46.784000+00:00
Original source
https://github.com/azerothcore/mod-eluna...master/src Delete the lualib folder here and copy/paste in the lualib folder from https://github.com/ElunaLuaEngine/ElunaT...it-new/dep
Archived author: Foe • Posted: 2022-08-21T21:17:56.647000+00:00
Original source
Should work fine
Archived author: Foe • Posted: 2022-08-21T21:18:58.144000+00:00
Original source
The problem is how map updating works, within each tick of the worldstate every map is updated by n threads of the map manager threading pool
Archived author: Foe • Posted: 2022-08-21T21:19:38.429000+00:00
Original source
in base Eluna, we limit the thread manager to only run a single thread since we can't update the Lua state by multiple threads at the same time