[DiscordArchive] by the way, how can I update eluna scripts in jit mode without restarting the server?
[DiscordArchive] by the way, how can I update eluna scripts in jit mode without restarting the server?
Archived author: iThorgrim • Posted: 2025-01-19T22:51:51.764000+00:00
Original source
One of the things missing from AzerothCore's current mod-eluna, in my opinion, is the MultiState available on TC's Eluna
Archived author: mihaelo • Posted: 2025-01-19T22:59:36.256000+00:00
Original source
is lualines a third-party library? I just interacted with Lua only on the basis of love and a little bit of eluna
Archived author: iThorgrim • Posted: 2025-01-19T23:00:11.686000+00:00
Original source
Yes -> https://github.com/LuaLanes/lanes
[Embed: GitHub - LuaLanes/lanes: Lanes is a lightweight, native, lazy evalu...]
Lanes is a lightweight, native, lazy evaluating multithreading library for Lua 5.1 to 5.4. - LuaLanes/lanes
https://github.com/LuaLanes/lanes
Archived author: mihaelo • Posted: 2025-01-19T23:04:23.903000+00:00
Original source
I don't know how relevant this is for scripts
if level == 10 then player:addmoney( 12*1000 )
but why not)
and what is the technological difficulty if this is a ready-made library, you can just connect it, right?
Archived author: mihaelo • Posted: 2025-01-19T23:04:58.503000+00:00
Original source
by the way, thanks, I was looking for something for the future for my lua developments
Archived author: iThorgrim • Posted: 2025-01-19T23:06:18.311000+00:00
Original source
So for scripts like that, yes, it's of no interest, but you shouldn't think like that, you should think of all the uses rather than just the basic ones
Archived author: iThorgrim • Posted: 2025-01-19T23:07:57.445000+00:00
Original source
And no, you have to deal with the “limitations” of LuaLanes, such as the fact that it creates a new Lua SandBox, in which you don't have access to Eluna's methods. Basically, each Thread has its own collection of methods _G (the basic Lua collection), so the methods / functions and objects accessible in the _G table of Eluna's Lua sandbox are not available in Lanes
Archived author: iThorgrim • Posted: 2025-01-19T23:09:09.577000+00:00
Original source
You typically use it to make AddMoney, while LuaLanes is super useful for calculating serverside polygons
Archived author: mihaelo • Posted: 2025-01-19T23:09:43.773000+00:00
Original source
yes, if real streams are available for eluna , then it will be possible to literally write a high-level ( rather abstract ) development library
Archived author: iThorgrim • Posted: 2025-01-19T23:09:55.148000+00:00
Original source
For example, this script is super slow and super expensive to calculate with Eluna without LuaLanes: https://discord.com/channels/81707719581...6778560572