[DiscordArchive] https://elunaluaengine.github.io/Unit/GetAura.html is this invalidated also ?
[DiscordArchive] https://elunaluaengine.github.io/Unit/GetAura.html is this invalidated also ?
Archived author: Foe • Posted: 2024-03-10T00:09:01.446000+00:00
Original source
Yeah I was about to say, you can write scripts so poorly optimized or just wrong to the point of freezing the process till the freeze protection hits
Archived author: jackpoz • Posted: 2024-03-10T00:09:05.523000+00:00
Original source
That's because we don't have any timeout
Archived author: jackpoz • Posted: 2024-03-10T00:09:39.879000+00:00
Original source
You could have a cancellation token like C#
Archived author: jackpoz • Posted: 2024-03-10T00:09:56.595000+00:00
Original source
And check every now and then if the time is up
Archived author: jackpoz • Posted: 2024-03-10T00:10:15.670000+00:00
Original source
In SAI we limit the number of actions per script
Archived author: jackpoz • Posted: 2024-03-10T00:10:30.489000+00:00
Original source
Which is useless if 1000 creatures are involved
Archived author: jackpoz • Posted: 2024-03-10T00:10:44.424000+00:00
Original source
But it catches issues with less creatures
Archived author: jackpoz • Posted: 2024-03-10T00:11:39.446000+00:00
Original source
I just don't like crashes that take 10 lines of a scripting language
Archived author: jackpoz • Posted: 2024-03-10T00:12:02.532000+00:00
Original source
Maybe one could validate the scripts on load
Archived author: Foe • Posted: 2024-03-10T00:12:07.207000+00:00
Original source
I think it's important to differentiate between potential issues and actual experienced issues though