Forums WoW Modding Support Archives WoWModding Support Archives [DiscordArchive] In current server TC/AC architecture could an aura outlast it's owner? Like a creature applying a pe

[DiscordArchive] In current server TC/AC architecture could an aura outlast it's owner? Like a creature applying a pe

[DiscordArchive] In current server TC/AC architecture could an aura outlast it's owner? Like a creature applying a pe

Pages (4): Previous 1 2 3 4 Next
rektbyfaith
Administrator
0
08-03-2022, 07:51 PM
#11
Archived author: <o> • Posted: 2022-08-03T19:51:42.161000+00:00
Original source

the script itself is atomic, so nothing can happen while you're executing
rektbyfaith
08-03-2022, 07:51 PM #11

Archived author: <o> • Posted: 2022-08-03T19:51:42.161000+00:00
Original source

the script itself is atomic, so nothing can happen while you're executing

rektbyfaith
Administrator
0
08-03-2022, 07:52 PM
#12
Archived author: whatwere • Posted: 2022-08-03T19:52:19.227000+00:00
Original source

I was talking about this to someone, if you have pntr to x and x is deleted isn't the pntr to x pointing to invalid memory? It's just a raw pointer.
rektbyfaith
08-03-2022, 07:52 PM #12

Archived author: whatwere • Posted: 2022-08-03T19:52:19.227000+00:00
Original source

I was talking about this to someone, if you have pntr to x and x is deleted isn't the pntr to x pointing to invalid memory? It's just a raw pointer.

rektbyfaith
Administrator
0
08-03-2022, 07:52 PM
#13
Archived author: <o> • Posted: 2022-08-03T19:52:40.652000+00:00
Original source

you will not get dangling pointers, trinitycore handles that for you
rektbyfaith
08-03-2022, 07:52 PM #13

Archived author: <o> • Posted: 2022-08-03T19:52:40.652000+00:00
Original source

you will not get dangling pointers, trinitycore handles that for you

rektbyfaith
Administrator
0
08-03-2022, 07:52 PM
#14
Archived author: <o> • Posted: 2022-08-03T19:52:49.615000+00:00
Original source

a nullptr is fine, you can actually check those since the value is null
rektbyfaith
08-03-2022, 07:52 PM #14

Archived author: <o> • Posted: 2022-08-03T19:52:49.615000+00:00
Original source

a nullptr is fine, you can actually check those since the value is null

rektbyfaith
Administrator
0
08-03-2022, 07:53 PM
#15
Archived author: <o> • Posted: 2022-08-03T19:53:07.886000+00:00
Original source

what you're describing is a dangling pointer, not a null pointer
rektbyfaith
08-03-2022, 07:53 PM #15

Archived author: <o> • Posted: 2022-08-03T19:53:07.886000+00:00
Original source

what you're describing is a dangling pointer, not a null pointer

rektbyfaith
Administrator
0
08-03-2022, 07:53 PM
#16
Archived author: <o> • Posted: 2022-08-03T19:53:19.176000+00:00
Original source

those are indeed extremely dangerous
rektbyfaith
08-03-2022, 07:53 PM #16

Archived author: <o> • Posted: 2022-08-03T19:53:19.176000+00:00
Original source

those are indeed extremely dangerous

rektbyfaith
Administrator
0
08-03-2022, 07:54 PM
#17
Archived author: whatwere • Posted: 2022-08-03T19:54:03.211000+00:00
Original source

What does it do to handle it? I'm looking at spell.h and it's all just raw pointers to Unit and so on.
rektbyfaith
08-03-2022, 07:54 PM #17

Archived author: whatwere • Posted: 2022-08-03T19:54:03.211000+00:00
Original source

What does it do to handle it? I'm looking at spell.h and it's all just raw pointers to Unit and so on.

rektbyfaith
Administrator
0
08-03-2022, 07:55 PM
#18
Archived author: <o> • Posted: 2022-08-03T19:55:05.953000+00:00
Original source

that's very complicated and you'd need to start looking into how map updates and unloading work, but you can be sure that once the map unloads a creature or player, all references to them through things like auras and other things that the core manages for you
rektbyfaith
08-03-2022, 07:55 PM #18

Archived author: <o> • Posted: 2022-08-03T19:55:05.953000+00:00
Original source

that's very complicated and you'd need to start looking into how map updates and unloading work, but you can be sure that once the map unloads a creature or player, all references to them through things like auras and other things that the core manages for you

rektbyfaith
Administrator
0
08-03-2022, 07:55 PM
#19
Archived author: <o> • Posted: 2022-08-03T19:55:30.509000+00:00
Original source

if you have _your own_ pointers, trinitycore does not unset those for you or anything, which is why you can never have persistent object pointers
rektbyfaith
08-03-2022, 07:55 PM #19

Archived author: <o> • Posted: 2022-08-03T19:55:30.509000+00:00
Original source

if you have _your own_ pointers, trinitycore does not unset those for you or anything, which is why you can never have persistent object pointers

rektbyfaith
Administrator
0
08-03-2022, 07:55 PM
#20
Archived author: robinsch • Posted: 2022-08-03T19:55:31.656000+00:00
Original source

There are a few race conditions with getting casters for auras
rektbyfaith
08-03-2022, 07:55 PM #20

Archived author: robinsch • Posted: 2022-08-03T19:55:31.656000+00:00
Original source

There are a few race conditions with getting casters for auras

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