Forums WoW Modding Support Archives TrinityCore Discord Archives [DiscordArchive] U mean this?

[DiscordArchive] U mean this?

[DiscordArchive] U mean this?

rektbyfaith
Administrator
0
05-29-2024, 11:56 AM
#1
Archived author: M'Dic • Posted: 2024-05-29T11:56:05.111000+00:00
Original source

U mean this?
Scarlet_Monastery_-_Corrupted_Ashbringer_Event.mp4
rektbyfaith
05-29-2024, 11:56 AM #1

Archived author: M'Dic • Posted: 2024-05-29T11:56:05.111000+00:00
Original source

U mean this?
Scarlet_Monastery_-_Corrupted_Ashbringer_Event.mp4

rektbyfaith
Administrator
0
05-29-2024, 12:12 PM
#2
Archived author: Deleted User • Posted: 2024-05-29T12:12:18.558000+00:00
Original source

Hmm, but what if I want to store extra state? Eg use case:

- Rare has a chance to spawn (or chance to despawn depending on terminology).
- Instance gets created.
- Do a dice roll. Depending on dice roll we can have a few outcomes:
- Rare allowed to spawn, set to IN_PROGRESS.
- Rare not allowed to spawn, set to FAIL / DONE.
- Save instance state.

If the server goes down for whatever reason (crash etc) I'd like to restore that state. Eg if it was IN_PROGRESS so a mob has spawned (and should spawn again until killed)
rektbyfaith
05-29-2024, 12:12 PM #2

Archived author: Deleted User • Posted: 2024-05-29T12:12:18.558000+00:00
Original source

Hmm, but what if I want to store extra state? Eg use case:

- Rare has a chance to spawn (or chance to despawn depending on terminology).
- Instance gets created.
- Do a dice roll. Depending on dice roll we can have a few outcomes:
- Rare allowed to spawn, set to IN_PROGRESS.
- Rare not allowed to spawn, set to FAIL / DONE.
- Save instance state.

If the server goes down for whatever reason (crash etc) I'd like to restore that state. Eg if it was IN_PROGRESS so a mob has spawned (and should spawn again until killed)

rektbyfaith
Administrator
0
05-29-2024, 12:13 PM
#3
Archived author: Tea • Posted: 2024-05-29T12:13:45.173000+00:00
Original source

simply dont use BossState mechanic for this
rektbyfaith
05-29-2024, 12:13 PM #3

Archived author: Tea • Posted: 2024-05-29T12:13:45.173000+00:00
Original source

simply dont use BossState mechanic for this

Recently Browsing
 
Recently Browsing