Forums WoW Modding Support Archives WoWModding Threads [DiscordArchive] Redgouf - Item Slot 20

[DiscordArchive] Redgouf - Item Slot 20

[DiscordArchive] Redgouf - Item Slot 20

Pages (4): Previous 1 2 3 4 Next
rektbyfaith
Administrator
0
05-17-2024, 08:42 PM
#21
Archived author: Redgouf • Posted: 2024-05-17T20:42:32.277000+00:00
Original source

so from what I've found - there's 2 spots where things are updated for what certain items are categorized as in the client:
> SQL DB:
> `item_template` table
> `InventoryItem` column (2 is neck, 19 is tabard)

> DBC:
> `Item.dbc`
> `InventoryType` column (2 is neck, 19 is tabard - the same as above)

If I were simply to tell my custom item to be inventory type `2`, it will crawl through how the slot is setup via the code and output - no matter what setup I tried for textures, it doesn't know "what folder" to pull the textures from. If it was a clothing item, like tabard `19`, it knows to pull from specific folders:, like: `ITEM\TEXTURECOMPONENTS\TorsoUpperTexture`.

I can't simply tell an item to be another item without it affecting where the item is equipped in the inventory, or what "body" slots it uses to render clothes.
rektbyfaith
05-17-2024, 08:42 PM #21

Archived author: Redgouf • Posted: 2024-05-17T20:42:32.277000+00:00
Original source

so from what I've found - there's 2 spots where things are updated for what certain items are categorized as in the client:
> SQL DB:
> `item_template` table
> `InventoryItem` column (2 is neck, 19 is tabard)

> DBC:
> `Item.dbc`
> `InventoryType` column (2 is neck, 19 is tabard - the same as above)

If I were simply to tell my custom item to be inventory type `2`, it will crawl through how the slot is setup via the code and output - no matter what setup I tried for textures, it doesn't know "what folder" to pull the textures from. If it was a clothing item, like tabard `19`, it knows to pull from specific folders:, like: `ITEM\TEXTURECOMPONENTS\TorsoUpperTexture`.

I can't simply tell an item to be another item without it affecting where the item is equipped in the inventory, or what "body" slots it uses to render clothes.

rektbyfaith
Administrator
0
05-17-2024, 08:45 PM
#22
Archived author: Redgouf • Posted: 2024-05-17T20:45:33.067000+00:00
Original source

Here's a snippet example from `ItemDisplayInfo.dbc` - each of these columns dictate what texture to pull - and if you see there's no "folder" it's pointing to... so it has to know where it's looking already
[Image: image.png?ex=690c602d&is=690b0ead&hm=c77...a1ef91904&]
rektbyfaith
05-17-2024, 08:45 PM #22

Archived author: Redgouf • Posted: 2024-05-17T20:45:33.067000+00:00
Original source

Here's a snippet example from `ItemDisplayInfo.dbc` - each of these columns dictate what texture to pull - and if you see there's no "folder" it's pointing to... so it has to know where it's looking already
[Image: image.png?ex=690c602d&is=690b0ead&hm=c77...a1ef91904&]

rektbyfaith
Administrator
0
05-17-2024, 08:45 PM
#23
Archived author: Redgouf • Posted: 2024-05-17T20:45:56.836000+00:00
Original source

and the folders in question (ignore the number in the begging, that was for my own reference)
[Image: image.png?ex=690c6044&is=690b0ec4&hm=07e...178e56035&]
rektbyfaith
05-17-2024, 08:45 PM #23

Archived author: Redgouf • Posted: 2024-05-17T20:45:56.836000+00:00
Original source

and the folders in question (ignore the number in the begging, that was for my own reference)
[Image: image.png?ex=690c6044&is=690b0ec4&hm=07e...178e56035&]

rektbyfaith
Administrator
0
05-17-2024, 08:47 PM
#24
Archived author: Widget • Posted: 2024-05-17T20:47:41.617000+00:00
Original source

so packets are fixed, this is from the website u linked, so u cant send 2x tabard if that makes sense, you are also not sending item ids, but instead you are sending item display id and inventory type for each item slot, so client most likely looks up that display id and does its magic
[Image: image.png?ex=690c60ad&is=690b0f2d&hm=627...2b9567100&]

[Image: image.png?ex=690c60ad&is=690b0f2d&hm=ab8...be17b525c&]
rektbyfaith
05-17-2024, 08:47 PM #24

Archived author: Widget • Posted: 2024-05-17T20:47:41.617000+00:00
Original source

so packets are fixed, this is from the website u linked, so u cant send 2x tabard if that makes sense, you are also not sending item ids, but instead you are sending item display id and inventory type for each item slot, so client most likely looks up that display id and does its magic
[Image: image.png?ex=690c60ad&is=690b0f2d&hm=627...2b9567100&]

[Image: image.png?ex=690c60ad&is=690b0f2d&hm=ab8...be17b525c&]

rektbyfaith
Administrator
0
05-17-2024, 08:48 PM
#25
Archived author: Widget • Posted: 2024-05-17T20:48:52.753000+00:00
Original source

i am just assuming stuff here, but u could try to add display id for neck and add entry for that display id and see what happens
rektbyfaith
05-17-2024, 08:48 PM #25

Archived author: Widget • Posted: 2024-05-17T20:48:52.753000+00:00
Original source

i am just assuming stuff here, but u could try to add display id for neck and add entry for that display id and see what happens

rektbyfaith
Administrator
0
05-17-2024, 08:49 PM
#26
Archived author: Widget • Posted: 2024-05-17T20:49:06.567000+00:00
Original source

you could also send different display id dynamically on server depending on some hacky logic
rektbyfaith
05-17-2024, 08:49 PM #26

Archived author: Widget • Posted: 2024-05-17T20:49:06.567000+00:00
Original source

you could also send different display id dynamically on server depending on some hacky logic

rektbyfaith
Administrator
0
05-17-2024, 08:49 PM
#27
Archived author: Widget • Posted: 2024-05-17T20:49:43.721000+00:00
Original source

BUT
rektbyfaith
05-17-2024, 08:49 PM #27

Archived author: Widget • Posted: 2024-05-17T20:49:43.721000+00:00
Original source

BUT

rektbyfaith
Administrator
0
05-17-2024, 08:50 PM
#28
Archived author: Widget • Posted: 2024-05-17T20:50:18.672000+00:00
Original source

again im assuming stuff, client may have some hardcoded stuff like ignore stuff if its neck, therefore you could play around with inventory type when sending that packet
rektbyfaith
05-17-2024, 08:50 PM #28

Archived author: Widget • Posted: 2024-05-17T20:50:18.672000+00:00
Original source

again im assuming stuff, client may have some hardcoded stuff like ignore stuff if its neck, therefore you could play around with inventory type when sending that packet

rektbyfaith
Administrator
0
05-17-2024, 08:50 PM
#29
Archived author: Widget • Posted: 2024-05-17T20:50:37.051000+00:00
Original source

another option
rektbyfaith
05-17-2024, 08:50 PM #29

Archived author: Widget • Posted: 2024-05-17T20:50:37.051000+00:00
Original source

another option

rektbyfaith
Administrator
0
05-17-2024, 08:51 PM
#30
Archived author: Widget • Posted: 2024-05-17T20:51:32.895000+00:00
Original source

send hotfix to client that updates itemdisplayinfo.dbc (if its possible in wrath) purely for that one player and simply send fake displayinfo for given item so in the end it looks like u want it to look
rektbyfaith
05-17-2024, 08:51 PM #30

Archived author: Widget • Posted: 2024-05-17T20:51:32.895000+00:00
Original source

send hotfix to client that updates itemdisplayinfo.dbc (if its possible in wrath) purely for that one player and simply send fake displayinfo for given item so in the end it looks like u want it to look

Pages (4): Previous 1 2 3 4 Next
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)