[DiscordArchive] is there an instance script that is considered well done and a gold standard to learn from?
[DiscordArchive] is there an instance script that is considered well done and a gold standard to learn from?
Archived author: Mithria • Posted: 2025-07-21T08:41:19.235000+00:00
Original source
do you *need* boss data being saved in order to have persistent data as well? like, is it ordered in a way that requires it? I'm adding a piece of persistent data (unrelated to bosses) to scarlet monastery, which doesnt save boss data at all. if its in order, does that matter
Archived author: Mithria • Posted: 2025-07-21T08:43:06.987000+00:00
Original source
reworded for clarity: can you have an instance save persistent data if it doesnt save boss states
Archived author: Nyeriah • Posted: 2025-07-21T11:38:43.806000+00:00
Original source
Shouldn’t need it
Archived author: Nyeriah • Posted: 2025-07-21T11:39:01.666000+00:00
Original source
It’s just an IO process where the persistent data is the last to be read
Archived author: Nyeriah • Posted: 2025-07-21T11:39:22.858000+00:00
Original source
The instance header is mandatory though
Archived author: Mithria • Posted: 2025-07-21T12:22:47.606000+00:00
Original source
i'll have to look at one of the diffs where a script was switched from the old system to that one so i can understand it better.
Archived author: Nyeriah • Posted: 2025-07-21T12:33:30.400000+00:00
Original source
https://github.com/azerothcore/azerothco...fefe840308
[Embed: feat(Core/Instance): Implement helpers to easily save/retrieve pers...]
…t… (#15113)
https://github.com/azerothcore/azerothco...fefe840308
Archived author: Mithria • Posted: 2025-07-21T12:38:39.944000+00:00
Original source
thank you i'll look into it!