Forums WoW Modding Support Archives TrinityCore Discord Archives [DiscordArchive] https://elunaluaengine.github.io/Unit/GetAura.html is this invalidated also ?

[DiscordArchive] https://elunaluaengine.github.io/Unit/GetAura.html is this invalidated also ?

[DiscordArchive] https://elunaluaengine.github.io/Unit/GetAura.html is this invalidated also ?

Pages (3): Previous 1 2 3
rektbyfaith
Administrator
0
03-10-2024, 12:12 AM
#21
Archived author: stoneharry • Posted: 2024-03-10T00:12:09.587000+00:00
Original source

What's the problem with letting a bad script crash the server? People will soon learn that what they are doing is wrong. And trying to prevent badly performing scripts is more hassle than it's worth imo. You just want the behaviour to be deterministic. Pointers don't get invalidated at consistent times so storing a pointer without some protection can cause random crashes, and I agree we should protect against that.
rektbyfaith
03-10-2024, 12:12 AM #21

Archived author: stoneharry • Posted: 2024-03-10T00:12:09.587000+00:00
Original source

What's the problem with letting a bad script crash the server? People will soon learn that what they are doing is wrong. And trying to prevent badly performing scripts is more hassle than it's worth imo. You just want the behaviour to be deterministic. Pointers don't get invalidated at consistent times so storing a pointer without some protection can cause random crashes, and I agree we should protect against that.

rektbyfaith
Administrator
0
03-10-2024, 12:12 AM
#22
Archived author: jackpoz • Posted: 2024-03-10T00:12:14.949000+00:00
Original source

Some sort of static analysis rules
rektbyfaith
03-10-2024, 12:12 AM #22

Archived author: jackpoz • Posted: 2024-03-10T00:12:14.949000+00:00
Original source

Some sort of static analysis rules

rektbyfaith
Administrator
0
03-10-2024, 12:13 AM
#23
Archived author: jackpoz • Posted: 2024-03-10T00:13:02.559000+00:00
Original source

A bad script can cause a crash 10 minutes later
rektbyfaith
03-10-2024, 12:13 AM #23

Archived author: jackpoz • Posted: 2024-03-10T00:13:02.559000+00:00
Original source

A bad script can cause a crash 10 minutes later

rektbyfaith
Administrator
0
03-10-2024, 12:13 AM
#24
Archived author: stoneharry • Posted: 2024-03-10T00:13:05.926000+00:00
Original source

At the end of the day, people can already write such bad code with the C++ script API. I have seen so many spell scripts crash servers.
rektbyfaith
03-10-2024, 12:13 AM #24

Archived author: stoneharry • Posted: 2024-03-10T00:13:05.926000+00:00
Original source

At the end of the day, people can already write such bad code with the C++ script API. I have seen so many spell scripts crash servers.

rektbyfaith
Administrator
0
03-10-2024, 12:13 AM
#25
Archived author: jackpoz • Posted: 2024-03-10T00:13:09.779000+00:00
Original source

With a random callstack
rektbyfaith
03-10-2024, 12:13 AM #25

Archived author: jackpoz • Posted: 2024-03-10T00:13:09.779000+00:00
Original source

With a random callstack

rektbyfaith
Administrator
0
03-10-2024, 12:13 AM
#26
Archived author: jackpoz • Posted: 2024-03-10T00:13:34.276000+00:00
Original source

That is very frustrating to troubleshoot if the issue was a bad custom script in the end
rektbyfaith
03-10-2024, 12:13 AM #26

Archived author: jackpoz • Posted: 2024-03-10T00:13:34.276000+00:00
Original source

That is very frustrating to troubleshoot if the issue was a bad custom script in the end

rektbyfaith
Administrator
0
03-10-2024, 12:13 AM
#27
Archived author: jackpoz • Posted: 2024-03-10T00:13:54.906000+00:00
Original source

And to test a scripting engine, you always have custom script
rektbyfaith
03-10-2024, 12:13 AM #27

Archived author: jackpoz • Posted: 2024-03-10T00:13:54.906000+00:00
Original source

And to test a scripting engine, you always have custom script

rektbyfaith
Administrator
0
03-10-2024, 12:14 AM
#28
Archived author: jackpoz • Posted: 2024-03-10T00:14:24.699000+00:00
Original source

So you have no clue if the issue is in the C++ code and should be fixed, or in the script
rektbyfaith
03-10-2024, 12:14 AM #28

Archived author: jackpoz • Posted: 2024-03-10T00:14:24.699000+00:00
Original source

So you have no clue if the issue is in the C++ code and should be fixed, or in the script

Pages (3): Previous 1 2 3
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)