[DiscordArchive] Redgouf - Item Slot 20
[DiscordArchive] Redgouf - Item Slot 20
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.
![[Image: image.png?ex=690c602d&is=690b0ead&hm=c77...a1ef91904&]](https://cdn.discordapp.com/attachments/1241112899301277818/1241129504814923988/image.png?ex=690c602d&is=690b0ead&hm=c770cd53626ecab4d9e0a191397bb0e946a633eca1200f22a785369a1ef91904&)
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&]](https://cdn.discordapp.com/attachments/1241112899301277818/1241129504814923988/image.png?ex=690c602d&is=690b0ead&hm=c770cd53626ecab4d9e0a191397bb0e946a633eca1200f22a785369a1ef91904&)
![[Image: image.png?ex=690c6044&is=690b0ec4&hm=07e...178e56035&]](https://cdn.discordapp.com/attachments/1241112899301277818/1241129604513661080/image.png?ex=690c6044&is=690b0ec4&hm=07eeb0a4ec80d11158688694b2dad94bac6007bfcde1f7e9094bf72178e56035&)
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&]](https://cdn.discordapp.com/attachments/1241112899301277818/1241129604513661080/image.png?ex=690c6044&is=690b0ec4&hm=07eeb0a4ec80d11158688694b2dad94bac6007bfcde1f7e9094bf72178e56035&)
![[Image: image.png?ex=690c60ad&is=690b0f2d&hm=627...2b9567100&]](https://cdn.discordapp.com/attachments/1241112899301277818/1241130043510493225/image.png?ex=690c60ad&is=690b0f2d&hm=627af3afaf828596861cd77d5f7eca73804e833613407d24328bead2b9567100&)
![[Image: image.png?ex=690c60ad&is=690b0f2d&hm=ab8...be17b525c&]](https://cdn.discordapp.com/attachments/1241112899301277818/1241130043925594112/image.png?ex=690c60ad&is=690b0f2d&hm=ab80933e7a5cc148bd5be0e3560308f20b3dc7978f2bdbee1690ebbbe17b525c&)
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&]](https://cdn.discordapp.com/attachments/1241112899301277818/1241130043510493225/image.png?ex=690c60ad&is=690b0f2d&hm=627af3afaf828596861cd77d5f7eca73804e833613407d24328bead2b9567100&)
![[Image: image.png?ex=690c60ad&is=690b0f2d&hm=ab8...be17b525c&]](https://cdn.discordapp.com/attachments/1241112899301277818/1241130043925594112/image.png?ex=690c60ad&is=690b0f2d&hm=ab80933e7a5cc148bd5be0e3560308f20b3dc7978f2bdbee1690ebbbe17b525c&)
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
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
Archived author: Widget • Posted: 2024-05-17T20:49:43.721000+00:00
Original source
BUT
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
Archived author: Widget • Posted: 2024-05-17T20:50:37.051000+00:00
Original source
another option
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