VoiceOver (Classic)

VoiceOver (Classic)

923k Downloads

Cata Update broke NPC Gossip Voice Reading

Akarficus opened this issue ยท 1 comments

commented

The affected code is in VoiceOver.lua and it causes errors to pop up when talking to NPCs because the get gossip text function and get number of active gossip quests function got renamed in the Cata Classic update.

On line 341 of VoiceOver.lua, "local gossipText = GetGossipText()" should now be "local gossipText = C_GossipInfo.GetText()"
On line 290 of VoiceOver.lua, "local numActiveQuests = GetNumGossipActiveQuests()" should now be "local numActiveQuests = C_GossipInfo.GetNumActiveQuests()"
On line 291 of VoiceOver.lua, "local numAvailableQuests = GetNumGossipAvailableQuests()" should now be "local numAvailableQuests = C_GossipInfo.GetNumActiveQuests()"

This fixes the errors and allows the NPCs to be voiced when talking to them, as intended.

commented

can you submit a PR with the fixes?