Forums WoW Modding Support Archives TrinityCore Discord Archives [DiscordArchive] have anyone tried to create a tabard with displayID 0?

[DiscordArchive] have anyone tried to create a tabard with displayID 0?

[DiscordArchive] have anyone tried to create a tabard with displayID 0?

Pages (5): Previous 1 2 3 4 5 Next
rektbyfaith
Administrator
0
05-12-2019, 07:37 PM
#31
Archived author: MR.MUSTACHE • Posted: 2019-05-12T19:37:37.339000+00:00
Original source

nvm i will take notes
rektbyfaith
05-12-2019, 07:37 PM #31

Archived author: MR.MUSTACHE • Posted: 2019-05-12T19:37:37.339000+00:00
Original source

nvm i will take notes

rektbyfaith
Administrator
0
05-12-2019, 07:37 PM
#32
Archived author: Rochet2 • Posted: 2019-05-12T19:37:38.678000+00:00
Original source

Hmm. It needs more than that, since a lot of things check if (transmog) and that assumes that no transmog is 0.
If you use.. lets say 2^32-1 as "hide item", then I guess you can just edit all calls of `SetUInt32Value(PLAYER_VISIBLE_ITEM_1_ENTRYID` to first check if the entry is 2^32-1 and then use 0 instead.
rektbyfaith
05-12-2019, 07:37 PM #32

Archived author: Rochet2 • Posted: 2019-05-12T19:37:38.678000+00:00
Original source

Hmm. It needs more than that, since a lot of things check if (transmog) and that assumes that no transmog is 0.
If you use.. lets say 2^32-1 as "hide item", then I guess you can just edit all calls of `SetUInt32Value(PLAYER_VISIBLE_ITEM_1_ENTRYID` to first check if the entry is 2^32-1 and then use 0 instead.

rektbyfaith
Administrator
0
05-12-2019, 07:38 PM
#33
Archived author: Rochet2 • Posted: 2019-05-12T19:38:15.792000+00:00
Original source

And to fix mirror images etc you would need to also edit `target->SetUInt32Value(UNIT_VIRTUAL_ITEM_SLOT_ID` in the same way.
rektbyfaith
05-12-2019, 07:38 PM #33

Archived author: Rochet2 • Posted: 2019-05-12T19:38:15.792000+00:00
Original source

And to fix mirror images etc you would need to also edit `target->SetUInt32Value(UNIT_VIRTUAL_ITEM_SLOT_ID` in the same way.

rektbyfaith
Administrator
0
05-12-2019, 07:39 PM
#34
Archived author: Rochet2 • Posted: 2019-05-12T19:39:58.601000+00:00
Original source

Btw. you would probably need to edit the transmog checks as well (can transmog item with item), or you would need to just hardcode a button that skips all of such checks that are not really needed since we are just hiding an item.
rektbyfaith
05-12-2019, 07:39 PM #34

Archived author: Rochet2 • Posted: 2019-05-12T19:39:58.601000+00:00
Original source

Btw. you would probably need to edit the transmog checks as well (can transmog item with item), or you would need to just hardcode a button that skips all of such checks that are not really needed since we are just hiding an item.

rektbyfaith
Administrator
0
05-12-2019, 07:42 PM
#35
Archived author: MR.MUSTACHE • Posted: 2019-05-12T19:42:27.764000+00:00
Original source

hmm I start wondering
rektbyfaith
05-12-2019, 07:42 PM #35

Archived author: MR.MUSTACHE • Posted: 2019-05-12T19:42:27.764000+00:00
Original source

hmm I start wondering

rektbyfaith
Administrator
0
05-12-2019, 07:43 PM
#36
Archived author: MR.MUSTACHE • Posted: 2019-05-12T19:43:25.693000+00:00
Original source

what if I try to make a completely separated script about it
(character database that contains "hidden items by id")
rektbyfaith
05-12-2019, 07:43 PM #36

Archived author: MR.MUSTACHE • Posted: 2019-05-12T19:43:25.693000+00:00
Original source

what if I try to make a completely separated script about it
(character database that contains "hidden items by id")

rektbyfaith
Administrator
0
05-12-2019, 07:44 PM
#37
Archived author: MR.MUSTACHE • Posted: 2019-05-12T19:44:18.049000+00:00
Original source

in case of modifying the transmog, it can be a separated function to skip displaying those items
rektbyfaith
05-12-2019, 07:44 PM #37

Archived author: MR.MUSTACHE • Posted: 2019-05-12T19:44:18.049000+00:00
Original source

in case of modifying the transmog, it can be a separated function to skip displaying those items

rektbyfaith
Administrator
0
05-12-2019, 07:44 PM
#38
Archived author: MR.MUSTACHE • Posted: 2019-05-12T19:44:43.808000+00:00
Original source

if the charid and the item id exist in that char table (custom_char_hidden_items for example)
rektbyfaith
05-12-2019, 07:44 PM #38

Archived author: MR.MUSTACHE • Posted: 2019-05-12T19:44:43.808000+00:00
Original source

if the charid and the item id exist in that char table (custom_char_hidden_items for example)

rektbyfaith
Administrator
0
05-12-2019, 07:45 PM
#39
Archived author: MR.MUSTACHE • Posted: 2019-05-12T19:45:06.500000+00:00
Original source

or instead of the itemId
rektbyfaith
05-12-2019, 07:45 PM #39

Archived author: MR.MUSTACHE • Posted: 2019-05-12T19:45:06.500000+00:00
Original source

or instead of the itemId

rektbyfaith
Administrator
0
05-12-2019, 07:45 PM
#40
Archived author: MR.MUSTACHE • Posted: 2019-05-12T19:45:09.539000+00:00
Original source

to add the slotId?
rektbyfaith
05-12-2019, 07:45 PM #40

Archived author: MR.MUSTACHE • Posted: 2019-05-12T19:45:09.539000+00:00
Original source

to add the slotId?

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