Skip to content

npc_text

Structure ​

FieldTypeAttributesKeyNullDefaultExtraCommentSource in sniff
IDintunsignedPRINO0SMSG_QUERY_NPC_TEXT_RESPONSE (before 9.2.5)
Probability0floatNO0SMSG_QUERY_NPC_TEXT_RESPONSE (before 9.2.5)
Probability1floatNO0SMSG_QUERY_NPC_TEXT_RESPONSE (before 9.2.5)
Probability2floatNO0SMSG_QUERY_NPC_TEXT_RESPONSE (before 9.2.5)
Probability3floatNO0SMSG_QUERY_NPC_TEXT_RESPONSE (before 9.2.5)
Probability4floatNO0SMSG_QUERY_NPC_TEXT_RESPONSE (before 9.2.5)
Probability5floatNO0SMSG_QUERY_NPC_TEXT_RESPONSE (before 9.2.5)
Probability6floatNO0SMSG_QUERY_NPC_TEXT_RESPONSE (before 9.2.5)
Probability7floatNO0SMSG_QUERY_NPC_TEXT_RESPONSE (before 9.2.5)
BroadcastTextID0intunsignedNO0fetched from hotfixes db (via wpp)
BroadcastTextID1intunsignedNO0fetched from hotfixes db (via wpp)
BroadcastTextID2intunsignedNO0fetched from hotfixes db (via wpp)
BroadcastTextID3intunsignedNO0fetched from hotfixes db (via wpp)
BroadcastTextID4intunsignedNO0fetched from hotfixes db (via wpp)
BroadcastTextID5intunsignedNO0fetched from hotfixes db (via wpp)
BroadcastTextID6intunsignedNO0fetched from hotfixes db (via wpp)
BroadcastTextID7intunsignedNO0fetched from hotfixes db (via wpp)
VerifiedBuildintsignedNO0generated
 

Description of fields ​

ID ​

This is the ID of the text entry.

Since patch 9.2.5, the SMSG_GOSSIP_MESSAGE system uses BroadcastTextID instead of TextID (CMSG_QUERY_NPC_TEXT) so that neither the ID nor the probabilities can be obtained.

If a new text will be added (and its ID is unknown) it should be within the ID range of the current expansion when the creature using this text was added first on retail. The ID ranges are defined as followed:

ExpansionID range startID range end
Vanilla (1.x)500000509999
The Burning Crusade (2.x)510000519999
Wrath of the Lich King (3.x)520000529999
Cataclysm (4.x)530000539999
Mists of Pandaria (5.x)540000549999
Warlords of Draenor (6.x)550000559999
Legion (7.x)560000569999
Battle for Azeroth (8.x)570000579999
Shadowlands (9.x)580000589999
Dragonflight (10.x)590000599999
The War Within (11.x)600000609999
 

Probability0 - Probability7 ​

The percent-chance (probability) that the NPC will say related BroadcastTextID<index>. 1 will always show this text, while 0.5 will show this text 50% of the time and then choose another text in the current row. The total of all probabilities in the current row should equal 1.  

BroadcastTextID0 - BroadcastTextID7 ​

References to broadcast_text.ID  

VerifiedBuild ​

This field is used by the TrinityDB Team to determine whether a template has been verified from WDB files.

If value is 0 then it has not been parsed yet.

If value is above 0 then it has been parsed with WDB files from that specific client build.

If value is -1 then it is just a place holder until proper data are found on WDBs.

If value is -Client Build then it was parsed with WDB files from that specific client build and manually edited later for some special necessity.