Forums WoW Modding Support Archives TrinityCore Discord Archives [DiscordArchive] Hello! I have the problem with db. I am creating a user control panel (website) for Trinity Core. Ev

[DiscordArchive] Hello! I have the problem with db. I am creating a user control panel (website) for Trinity Core. Ev

[DiscordArchive] Hello! I have the problem with db. I am creating a user control panel (website) for Trinity Core. Ev

rektbyfaith
Administrator
0
05-30-2020, 06:21 PM
#1
Archived author: Deleted User • Posted: 2020-05-30T18:21:16.969000+00:00
Original source

Hello! I have the problem with db. I am creating a user control panel (website) for Trinity Core. Everything works great, but ... there was a problem with the items that the character wears. How can I get data specifically about items in specific slots? This column in DB looks very strange. The data in the column called equipmentCache looks like this - 0 0 0 0 0 0 38 38 0 0 0 0 0 39 0 40 0 ​​0 0 0 0 0 0 0 0 0 0 0 0 0 0 49 778 0 0 0 0 0 0 0 0 0 0 0 0 0 0
How do I parse this data? Make a selection or something else?
rektbyfaith
05-30-2020, 06:21 PM #1

Archived author: Deleted User • Posted: 2020-05-30T18:21:16.969000+00:00
Original source

Hello! I have the problem with db. I am creating a user control panel (website) for Trinity Core. Everything works great, but ... there was a problem with the items that the character wears. How can I get data specifically about items in specific slots? This column in DB looks very strange. The data in the column called equipmentCache looks like this - 0 0 0 0 0 0 38 38 0 0 0 0 0 39 0 40 0 ​​0 0 0 0 0 0 0 0 0 0 0 0 0 0 49 778 0 0 0 0 0 0 0 0 0 0 0 0 0 0
How do I parse this data? Make a selection or something else?

rektbyfaith
Administrator
0
05-30-2020, 06:28 PM
#2
Archived author: MaxtorCoder • Posted: 2020-05-30T18:28:59.268000+00:00
Original source

Look into the code, I am pretty sure it'a built from all inventory slots
rektbyfaith
05-30-2020, 06:28 PM #2

Archived author: MaxtorCoder • Posted: 2020-05-30T18:28:59.268000+00:00
Original source

Look into the code, I am pretty sure it'a built from all inventory slots

rektbyfaith
Administrator
0
05-30-2020, 06:30 PM
#3
Archived author: MaxtorCoder • Posted: 2020-05-30T18:30:52.759000+00:00
Original source

And I am almost 100% sure it is built from ItemId, ItemModifiedAppearance and something else.
rektbyfaith
05-30-2020, 06:30 PM #3

Archived author: MaxtorCoder • Posted: 2020-05-30T18:30:52.759000+00:00
Original source

And I am almost 100% sure it is built from ItemId, ItemModifiedAppearance and something else.

rektbyfaith
Administrator
0
05-30-2020, 06:31 PM
#4
Archived author: MaxtorCoder • Posted: 2020-05-30T18:31:01.559000+00:00
Original source

<@456226577798135808>
rektbyfaith
05-30-2020, 06:31 PM #4

Archived author: MaxtorCoder • Posted: 2020-05-30T18:31:01.559000+00:00
Original source

<@456226577798135808>

rektbyfaith
Administrator
0
05-30-2020, 06:32 PM
#5
Archived author: Deleted User • Posted: 2020-05-30T18:32:54.910000+00:00
Original source

Okay. Thx for the help. I'l try it
rektbyfaith
05-30-2020, 06:32 PM #5

Archived author: Deleted User • Posted: 2020-05-30T18:32:54.910000+00:00
Original source

Okay. Thx for the help. I'l try it

rektbyfaith
Administrator
0
05-30-2020, 06:33 PM
#6
Archived author: MaxtorCoder • Posted: 2020-05-30T18:33:27.014000+00:00
Original source

Look at the VisibleItem structure
rektbyfaith
05-30-2020, 06:33 PM #6

Archived author: MaxtorCoder • Posted: 2020-05-30T18:33:27.014000+00:00
Original source

Look at the VisibleItem structure

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