Forums WoW Modding Support Archives TrinityCore Discord Archives [DiscordArchive] So I probably just need normal SetData and `ReadSaveDataMore` with `WriteSaveDataMore`?

[DiscordArchive] So I probably just need normal SetData and `ReadSaveDataMore` with `WriteSaveDataMore`?

[DiscordArchive] So I probably just need normal SetData and `ReadSaveDataMore` with `WriteSaveDataMore`?

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

So I probably just need normal SetData and `ReadSaveDataMore` with `WriteSaveDataMore`?
rektbyfaith
05-29-2024, 12:14 PM #1

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

So I probably just need normal SetData and `ReadSaveDataMore` with `WriteSaveDataMore`?

rektbyfaith
Administrator
0
05-29-2024, 12:15 PM
#2
Archived author: Tea • Posted: 2024-05-29T12:15:49.751000+00:00
Original source

DataMore yes, but you dont need to involve SetDate there at all (since you wont be exposing the "has rolled" to any other script)
rektbyfaith
05-29-2024, 12:15 PM #2

Archived author: Tea • Posted: 2024-05-29T12:15:49.751000+00:00
Original source

DataMore yes, but you dont need to involve SetDate there at all (since you wont be exposing the "has rolled" to any other script)

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

to prevent spawn override GetCreatureEntry and return 0 if roll was bad
rektbyfaith
05-29-2024, 12:16 PM #3

Archived author: Tea • Posted: 2024-05-29T12:16:32.052000+00:00
Original source

to prevent spawn override GetCreatureEntry and return 0 if roll was bad

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

Apologies if a dumb question, just getting to grips with how instance state is saved between restarts technically. I see there's only a `data` column on `instance` table would that contain _both_ boss state and normal save data I assume that's something like.

"Read the first X values as boss state based on boss count and anything after this is normal instance data"?
rektbyfaith
05-29-2024, 12:16 PM #4

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

Apologies if a dumb question, just getting to grips with how instance state is saved between restarts technically. I see there's only a `data` column on `instance` table would that contain _both_ boss state and normal save data I assume that's something like.

"Read the first X values as boss state based on boss count and anything after this is normal instance data"?

rektbyfaith
Administrator
0
05-29-2024, 12:17 PM
#5
Archived author: Tea • Posted: 2024-05-29T12:17:02.609000+00:00
Original source

pretty much, yes
rektbyfaith
05-29-2024, 12:17 PM #5

Archived author: Tea • Posted: 2024-05-29T12:17:02.609000+00:00
Original source

pretty much, yes

rektbyfaith
Administrator
0
05-29-2024, 12:17 PM
#6
Archived author: Tea • Posted: 2024-05-29T12:17:50.982000+00:00
Original source

but you dont need to care about that implementation detail, the stream passed to ReadSaveDataMore is already at the correct position
rektbyfaith
05-29-2024, 12:17 PM #6

Archived author: Tea • Posted: 2024-05-29T12:17:50.982000+00:00
Original source

but you dont need to care about that implementation detail, the stream passed to ReadSaveDataMore is already at the correct position

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

Okay cool I think that fills in the gaps I was missing. Thanks Shauren
rektbyfaith
05-29-2024, 12:18 PM #7

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

Okay cool I think that fills in the gaps I was missing. Thanks Shauren

rektbyfaith
Administrator
0
05-29-2024, 02:24 PM
#8
Archived author: =Banshee= • Posted: 2024-05-29T14:24:00.485000+00:00
Original source

Yes
rektbyfaith
05-29-2024, 02:24 PM #8

Archived author: =Banshee= • Posted: 2024-05-29T14:24:00.485000+00:00
Original source

Yes

Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)