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): 1 2 3 Next
rektbyfaith
Administrator
0
03-10-2024, 12:02 AM
#1
Archived author: jackpoz • Posted: 2024-03-10T00:02:14.790000+00:00
Original source

https://elunaluaengine.github.io/Unit/GetAura.html is this invalidated also ?
[Embed: Unit:GetAura - Eluna]
API documentation for the Unit:GetAura method in the Eluna engine.
https://elunaluaengine.github.io/Unit/GetAura.html
rektbyfaith
03-10-2024, 12:02 AM #1

Archived author: jackpoz • Posted: 2024-03-10T00:02:14.790000+00:00
Original source

https://elunaluaengine.github.io/Unit/GetAura.html is this invalidated also ?
[Embed: Unit:GetAura - Eluna]
API documentation for the Unit:GetAura method in the Eluna engine.
https://elunaluaengine.github.io/Unit/GetAura.html

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

Or can I store an aura in a variable, then despawn the unit, and the variable points to deleted memory ?
rektbyfaith
03-10-2024, 12:02 AM #2

Archived author: jackpoz • Posted: 2024-03-10T00:02:52.176000+00:00
Original source

Or can I store an aura in a variable, then despawn the unit, and the variable points to deleted memory ?

rektbyfaith
Administrator
0
03-10-2024, 12:04 AM
#3
Archived author: stoneharry • Posted: 2024-03-10T00:04:06.688000+00:00
Original source

I agree you should construct the API to be intuitive as to what is reasonable to do, but I think it's a fine line between that and being overly protective/restrictive.

Even if you make the API so safe it's almost impossible to crash with a script, people can still write code so horrendously ineffecient it freezes the server or causes world diff spikes. You could probably throttle / quarantine such scripts... but personally I'm more on the side of letting more competent people fully flex the capabilities.
rektbyfaith
03-10-2024, 12:04 AM #3

Archived author: stoneharry • Posted: 2024-03-10T00:04:06.688000+00:00
Original source

I agree you should construct the API to be intuitive as to what is reasonable to do, but I think it's a fine line between that and being overly protective/restrictive.

Even if you make the API so safe it's almost impossible to crash with a script, people can still write code so horrendously ineffecient it freezes the server or causes world diff spikes. You could probably throttle / quarantine such scripts... but personally I'm more on the side of letting more competent people fully flex the capabilities.

rektbyfaith
Administrator
0
03-10-2024, 12:05 AM
#4
Archived author: Rochet2 • Posted: 2024-03-10T00:05:53.705000+00:00
Original source

All raw pointers are invalidated at end of event. So yes, you can store it in a variable, but if you try to access the variable later it will throw an error to you.
rektbyfaith
03-10-2024, 12:05 AM #4

Archived author: Rochet2 • Posted: 2024-03-10T00:05:53.705000+00:00
Original source

All raw pointers are invalidated at end of event. So yes, you can store it in a variable, but if you try to access the variable later it will throw an error to you.

rektbyfaith
Administrator
0
03-10-2024, 12:06 AM
#5
Archived author: Rochet2 • Posted: 2024-03-10T00:06:52.107000+00:00
Original source

by later, I mean in some other event, like storing it on start combat and trying to access it in end combat event.
rektbyfaith
03-10-2024, 12:06 AM #5

Archived author: Rochet2 • Posted: 2024-03-10T00:06:52.107000+00:00
Original source

by later, I mean in some other event, like storing it on start combat and trying to access it in end combat event.

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

The goal is the same as how broken javascript doesn't crash the browser
rektbyfaith
03-10-2024, 12:07 AM #6

Archived author: jackpoz • Posted: 2024-03-10T00:07:35.838000+00:00
Original source

The goal is the same as how broken javascript doesn't crash the browser

rektbyfaith
Administrator
0
03-10-2024, 12:07 AM
#7
Archived author: Tea • Posted: 2024-03-10T00:07:51.761000+00:00
Original source

but can freeze it
rektbyfaith
03-10-2024, 12:07 AM #7

Archived author: Tea • Posted: 2024-03-10T00:07:51.761000+00:00
Original source

but can freeze it

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

Sure, but not crash it
rektbyfaith
03-10-2024, 12:08 AM #8

Archived author: jackpoz • Posted: 2024-03-10T00:08:06.402000+00:00
Original source

Sure, but not crash it

rektbyfaith
Administrator
0
03-10-2024, 12:08 AM
#9
Archived author: Rochet2 • Posted: 2024-03-10T00:08:30.103000+00:00
Original source

With webgl api you can crash the entire PC through web browser. From javascript.
rektbyfaith
03-10-2024, 12:08 AM #9

Archived author: Rochet2 • Posted: 2024-03-10T00:08:30.103000+00:00
Original source

With webgl api you can crash the entire PC through web browser. From javascript.

rektbyfaith
Administrator
0
03-10-2024, 12:08 AM
#10
Archived author: Tea • Posted: 2024-03-10T00:08:32.986000+00:00
Original source

but with a freezedetector running thats one and the same
rektbyfaith
03-10-2024, 12:08 AM #10

Archived author: Tea • Posted: 2024-03-10T00:08:32.986000+00:00
Original source

but with a freezedetector running thats one and the same

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