[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: mihaelo • Posted: 2025-01-19T23:15:05.809000+00:00
Original source
Well, you can survive one verification in coroutine
Archived author: iThorgrim • Posted: 2025-01-19T23:16:30.897000+00:00
Original source
No, you can't use coroutines, because Eluna runs on the main WorldServer thread, so it'll freeze the players who are playing, and they'll get the impression that your server is “Lag”
Archived author: mihaelo • Posted: 2025-01-19T23:16:34.061000+00:00
Original source
its not smid task
Archived author: mihaelo • Posted: 2025-01-19T23:17:25.302000+00:00
Original source
Oh, I didn't take that into account )
Archived author: iThorgrim • Posted: 2025-01-19T23:18:32.456000+00:00
Original source
So in my case, and in the case of many other developers with large scripts, having Eluna with LuaLanes or a MultiThread system is useful
Archived author: mihaelo • Posted: 2025-01-19T23:18:50.036000+00:00
Original source
Are you the developer of Elune?
Archived author: mihaelo • Posted: 2025-01-19T23:19:25.574000+00:00
Original source
I'm not arguing with this, I didn't specifically understand why rey tracing on the cpu -_-
Archived author: iThorgrim • Posted: 2025-01-19T23:20:24.596000+00:00
Original source
But whether it's GPU or CPU doesn't change the problem xD
Archived author: iThorgrim • Posted: 2025-01-19T23:22:27.941000+00:00
Original source
I've just given you an example of a greedy script, but if you want I've got plenty, I've been working with Eluna for almost a decade and you quickly run into technical limitations due to performance, the more systems you add, the more checks you have to do, the more complicated it gets.
But you can do the test yourself, create an autolearn script and you'll see that while you're learning spells, you can't speak or cast any spells, because the main thread is waiting for Eluna to finish
Archived author: mihaelo • Posted: 2025-01-19T23:36:59.263000+00:00
Original source
Spell learning by the standard ac/tc function behaves exactly the same way