Closed Spiderkeg closed 1 year ago
WoW Retail
A bug happened!
When clicking on the volume icon to mute sounds, I receive a CVar error.
Message: ...nterface/AddOns/Broker_Everything/modules/volume.lua:307: attempt to call global 'BlizzardOptionsPanel_GetCVarSafe' (a nil value) Time: Wed Nov 2 11:34:11 2022 Count: 1 Stack: ...nterface/AddOns/Broker_Everything/modules/volume.lua:307: attempt to call global 'BlizzardOptionsPanel_GetCVarSafe' (a nil value) [string "@Interface/AddOns/Broker_Everything/modules/volume.lua"]:307: in function `func' [string "@Interface/AddOns/Broker_Everything/shared.lua"]:1961: in function `func' [string "@Interface/AddOns/Broker_Everything/modules.lua"]:69: in function `OnClick' [string "@Interface/AddOns/Bazooka/Bazooka.lua"]:1417: in function <Interface/AddOns/Bazooka/Bazooka.lua:1414> Locals: (*temporary) = nil (*temporary) = "Sound_EnableAllSound" (*temporary) = nil (*temporary) = "Sound_EnableAllSound" (*temporary) = "attempt to call global 'BlizzardOptionsPanel_GetCVarSafe' (a nil value)" updateBroker = <function> defined @Interface/AddOns/Broker_Everything/modules/volume.lua:51 createTooltip = <function> defined @Interface/AddOns/Broker_Everything/modules/volume.lua:135 tt = Frame { 0 = <userdata> parent = <table> { } OnBackdropLoaded = <function> defined @Interface/AddOns/Blizzard_Deprecated/Deprecated_9_1_5.lua:12 GetBackdropColor = <function> defined @Interface/SharedXML/SharedTooltipTemplates.lua:191 key = "VolumeTT" SetBackdropBorderColor = <function> defined @Interface/SharedXML/SharedTooltipTemplates.lua:195 scrollChild = Frame { } ApplyBackdrop = <function> defined @Interface/AddOns/Blizzard_Deprecated/Deprecated_9_1_5.lua:22 SetBackdrop = <function> defined @Interface/AddOns/Blizzard_Deprecated/Deprecated_9_1_5.lua:27 ClearBackdrop = <function> defined @Interface/AddOns/Blizzard_Deprecated/Deprecated_9_1_5.lua:34 GetBackdropBorderColor = <function> defined @Interface/SharedXML/SharedTooltipTemplates.lua:199 GetBackdrop = <function> defined @Interface/AddOns/Blizzard_Deprecated/Deprecated_9_1_5.lua:19 height = 355.000423 SetBorderBlendMode = <function> defined @Interface/SharedXML/SharedTooltipTemplates.lua:203 regularFont = GameTooltipText { } layoutType = "TooltipDefaultLayout" headerFont = GameTooltipHeaderText { } SetupTextureCoordinates = <function> defined @Interface/AddOns/Blizzard_Deprecated/Deprecated_9_1_5.lua:16 GetBackdropCoordValue = <function> defined @Interface/AddOns/Blizzard_Deprecated/Deprecated_9_1_5.lua:15 HasBackdropInfo = <function> defined @Interface/AddOns/Blizzard_Deprecated/Deprecated_9_1_5.lua:18 mode = <table> { } scrollFrame = ScrollFrame { } elapsed = 0.044000 GetEdgeSize = <function> defined @Interface/AddOns/Blizzard_Deprecated/Deprecated_9_1_5.lua:14 NineSlice = Frame { } scripts = <table> { } OnHide = <function> defined @Interface/AddOns/Broker_Everything/modules/volume.lua:234 colspans = <table> { } TooltipBackdropOnLoad = <function> defined @Interface/SharedXML/SharedTooltipTemplates.lua:172 width = 249.000004 lines = <table> { } labelProvider = <table> { } SetupPieceVisuals = <function> defined @Interface/AddOns/Blizzard_Deprecated/Deprecated_9_1_5.lua:17 SetBackdropColor = <function> defined @Interface/SharedXML/SharedTooltipTemplates.lua:187 OnBackdropSizeChanged = <function> defined @Interface/AddOns/Blizzard_Deprecated/Deprecated_9_1_5.lua:13 columns = <table> { } }
Bazooka in my tests.
SetCVar("Sound_EnableAllSound", GetCVar("Sound_EnableAllSound")=="0" and "1" or "0");
Seems to fix the issue.
WoW client
WoW Retail
What happened?
A bug happened!
When clicking on the volume icon to mute sounds, I receive a CVar error.
Lua Error Message?
Other addons?
Bazooka in my tests.