Forums WoW Modding Support Archives TrinityCore Discord Archives [DiscordArchive] is that some custom database table or does it use the builtin boss state system?

[DiscordArchive] is that some custom database table or does it use the builtin boss state system?

[DiscordArchive] is that some custom database table or does it use the builtin boss state system?

Pages (4): Previous 1 2 3 4 Next
rektbyfaith
Administrator
0
06-03-2023, 06:29 PM
#11
Archived author: <o> • Posted: 2023-06-03T18:29:14.948000+00:00
Original source

that's what you'd use state changes for
rektbyfaith
06-03-2023, 06:29 PM #11

Archived author: <o> • Posted: 2023-06-03T18:29:14.948000+00:00
Original source

that's what you'd use state changes for

rektbyfaith
Administrator
0
06-03-2023, 06:32 PM
#12
Archived author: Tea • Posted: 2023-06-03T18:32:29.690000+00:00
Original source

no, you would just spawn a chest when you set boss state to done
rektbyfaith
06-03-2023, 06:32 PM #12

Archived author: Tea • Posted: 2023-06-03T18:32:29.690000+00:00
Original source

no, you would just spawn a chest when you set boss state to done

rektbyfaith
Administrator
0
06-03-2023, 06:32 PM
#13
Archived author: Tea • Posted: 2023-06-03T18:32:36.444000+00:00
Original source

and not respawn it when instance reloads
rektbyfaith
06-03-2023, 06:32 PM #13

Archived author: Tea • Posted: 2023-06-03T18:32:36.444000+00:00
Original source

and not respawn it when instance reloads

rektbyfaith
Administrator
0
06-03-2023, 06:34 PM
#14
Archived author: <o> • Posted: 2023-06-03T18:34:29.323000+00:00
Original source

i assumed it was meant to be spawned from the start and then activate once the fight is done, from memory that's what you do in `SetBossState` and then `OnGameObjectCreate` if you want the respawn behavior
rektbyfaith
06-03-2023, 06:34 PM #14

Archived author: <o> • Posted: 2023-06-03T18:34:29.323000+00:00
Original source

i assumed it was meant to be spawned from the start and then activate once the fight is done, from memory that's what you do in `SetBossState` and then `OnGameObjectCreate` if you want the respawn behavior

rektbyfaith
Administrator
0
06-03-2023, 06:35 PM
#15
Archived author: Krutok • Posted: 2023-06-03T18:35:21.019000+00:00
Original source

it may be that the server crashes or has to be restarted, because then everything that is temporarily spawned will disappear.

And that's exactly where the script should take effect. if the player enters the instance again after restarting the server, it should be reloaded as it was before the reset.
rektbyfaith
06-03-2023, 06:35 PM #15

Archived author: Krutok • Posted: 2023-06-03T18:35:21.019000+00:00
Original source

it may be that the server crashes or has to be restarted, because then everything that is temporarily spawned will disappear.

And that's exactly where the script should take effect. if the player enters the instance again after restarting the server, it should be reloaded as it was before the reset.

rektbyfaith
Administrator
0
06-03-2023, 06:35 PM
#16
Archived author: <o> • Posted: 2023-06-03T18:35:33.740000+00:00
Original source

idk how all those objects were implemented, never did a chest like that so idk how its states work
rektbyfaith
06-03-2023, 06:35 PM #16

Archived author: <o> • Posted: 2023-06-03T18:35:33.740000+00:00
Original source

idk how all those objects were implemented, never did a chest like that so idk how its states work

rektbyfaith
Administrator
0
06-03-2023, 06:35 PM
#17
Archived author: Tea • Posted: 2023-06-03T18:35:47.969000+00:00
Original source

no, you should assume the loot to be lost in case of a crash
rektbyfaith
06-03-2023, 06:35 PM #17

Archived author: Tea • Posted: 2023-06-03T18:35:47.969000+00:00
Original source

no, you should assume the loot to be lost in case of a crash

rektbyfaith
Administrator
0
06-03-2023, 06:36 PM
#18
Archived author: <o> • Posted: 2023-06-03T18:36:10.747000+00:00
Original source

forgot chests have loot in them
rektbyfaith
06-03-2023, 06:36 PM #18

Archived author: <o> • Posted: 2023-06-03T18:36:10.747000+00:00
Original source

forgot chests have loot in them

rektbyfaith
Administrator
0
06-03-2023, 06:36 PM
#19
Archived author: Tea • Posted: 2023-06-03T18:36:12.740000+00:00
Original source

because there is no way to check if instance reloads after a crash or simply because players returned there next day
rektbyfaith
06-03-2023, 06:36 PM #19

Archived author: Tea • Posted: 2023-06-03T18:36:12.740000+00:00
Original source

because there is no way to check if instance reloads after a crash or simply because players returned there next day

rektbyfaith
Administrator
0
06-03-2023, 06:36 PM
#20
Archived author: Tea • Posted: 2023-06-03T18:36:54.592000+00:00
Original source

so as a general rule you NEVER want to respawn chests with loot
rektbyfaith
06-03-2023, 06:36 PM #20

Archived author: Tea • Posted: 2023-06-03T18:36:54.592000+00:00
Original source

so as a general rule you NEVER want to respawn chests with loot

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