Forums WoW Modding Support Archives WoWModding Support Archives [DiscordArchive] So you are just looking for a fix to material?

[DiscordArchive] So you are just looking for a fix to material?

[DiscordArchive] So you are just looking for a fix to material?

Pages (2): Previous 1 2
rektbyfaith
Administrator
0
06-19-2023, 11:41 AM
#11
Archived author: <o> • Posted: 2023-06-19T11:41:32.492000+00:00
Original source

yeah i assumed i wouldn't be able to override the actual thing, but with no sound at all i have some room to play with i guess
rektbyfaith
06-19-2023, 11:41 AM #11

Archived author: <o> • Posted: 2023-06-19T11:41:32.492000+00:00
Original source

yeah i assumed i wouldn't be able to override the actual thing, but with no sound at all i have some room to play with i guess

rektbyfaith
Administrator
0
06-19-2023, 11:53 AM
#12
Archived author: robinsch • Posted: 2023-06-19T11:53:02.573000+00:00
Original source

This is how the client reads it:
```cpp
if ( itemID >= g_ItemDB.m_minID && itemID <= g_ItemDB.m_maxID && (itemRec = g_ItemDB.Rows[itemID - g_ItemDB.m_minID]) != 0 )
m_displayInfoID = itemRec ->m_displayInfoID;
else
m_displayInfoID = 0;

if ( ItemDisplayInfoDB::GetRecord(&g_ItemDisplayInfoDB, m_displayInfoID, &itemDisplayInfoRec) )
{
if ( itemDisplayInfoRec.m_groupSoundIndex < g_ItemGroupSoundsDB.m_minID || itemDisplayInfoRec.m_groupSoundIndex > g_ItemGroupSoundsDB.m_maxID )
this->m_soundKit = 0;
else
this->m_soundKit = g_ItemGroupSoundsDB.Rows[itemDisplayInfoRec.m_groupSoundIndex - g_ItemGroupSoundsDB.m_minID];
}
else
{
this->m_soundKit = 0;
}
```
rektbyfaith
06-19-2023, 11:53 AM #12

Archived author: robinsch • Posted: 2023-06-19T11:53:02.573000+00:00
Original source

This is how the client reads it:
```cpp
if ( itemID >= g_ItemDB.m_minID && itemID <= g_ItemDB.m_maxID && (itemRec = g_ItemDB.Rows[itemID - g_ItemDB.m_minID]) != 0 )
m_displayInfoID = itemRec ->m_displayInfoID;
else
m_displayInfoID = 0;

if ( ItemDisplayInfoDB::GetRecord(&g_ItemDisplayInfoDB, m_displayInfoID, &itemDisplayInfoRec) )
{
if ( itemDisplayInfoRec.m_groupSoundIndex < g_ItemGroupSoundsDB.m_minID || itemDisplayInfoRec.m_groupSoundIndex > g_ItemGroupSoundsDB.m_maxID )
this->m_soundKit = 0;
else
this->m_soundKit = g_ItemGroupSoundsDB.Rows[itemDisplayInfoRec.m_groupSoundIndex - g_ItemGroupSoundsDB.m_minID];
}
else
{
this->m_soundKit = 0;
}
```

rektbyfaith
Administrator
0
06-19-2023, 11:56 AM
#13
Archived author: robinsch • Posted: 2023-06-19T11:56:37.140000+00:00
Original source

I guess the easiest for you is to point it to an invalid itemdisplayinfo and then just play the sound yourself in lua.
rektbyfaith
06-19-2023, 11:56 AM #13

Archived author: robinsch • Posted: 2023-06-19T11:56:37.140000+00:00
Original source

I guess the easiest for you is to point it to an invalid itemdisplayinfo and then just play the sound yourself in lua.

rektbyfaith
Administrator
0
06-19-2023, 11:58 AM
#14
Archived author: <o> • Posted: 2023-06-19T11:58:47.655000+00:00
Original source

that's what i can do with the existing patch since it doesn't play any sound at all for non-entries. if i ever feel like fixing the patch itself i might go the client route so i appreciate the links, but for this job i'm not getting paid enough to re something like that
rektbyfaith
06-19-2023, 11:58 AM #14

Archived author: <o> • Posted: 2023-06-19T11:58:47.655000+00:00
Original source

that's what i can do with the existing patch since it doesn't play any sound at all for non-entries. if i ever feel like fixing the patch itself i might go the client route so i appreciate the links, but for this job i'm not getting paid enough to re something like that

Pages (2): Previous 1 2
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)