[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
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?
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
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.
Archived author: MaxtorCoder • Posted: 2020-05-30T18:31:01.559000+00:00
Original source
<@456226577798135808>
Archived author: Deleted User • Posted: 2020-05-30T18:32:54.910000+00:00
Original source
Okay. Thx for the help. I'l try it
Archived author: MaxtorCoder • Posted: 2020-05-30T18:33:27.014000+00:00
Original source
Look at the VisibleItem structure