sylvanaar / prat-3-0

Prat-3.0 is a chat enhancement addon for world of warcraft
https://www.curseforge.com/wow/addons/prat-3-0
GNU General Public License v3.0
25 stars 45 forks source link

Prat shows errors during RP sequences involving NPC chatbubbles - SetBackdropBorderColor in modules\Bubbles.lua #199

Open Kream opened 3 years ago

Kream commented 3 years ago

Prat shows errors during RP sequences involving NPC chatbubbles - SetBackdropBorderColor in modules\Bubbles.lua

During quest RP sequences when chatbubbles are used, Prat encounters the following errors:

1452x Prat-3.0-3.9.1\modules\Bubbles.lua:479: attempt to call method 'SetBackdropBorderColor' (a nil value)
[string "@Prat-3.0-3.9.1\modules\Bubbles.lua"]:479: in function `?'
[string "@Prat-3.0-3.9.1\modules\Bubbles.lua"]:533: in function `IterateChatBubbles'
[string "@Prat-3.0-3.9.1\modules\Bubbles.lua"]:437: in function `FormatBubbles'
[string "@Prat-3.0-3.9.1\modules\Bubbles.lua"]:402: in function <Prat-3.0\modules\Bubbles.lua:398>

Locals:
self = <table> {
 SetDefaultModuleLibraries = <function> defined @Ace3\AceAddon-3.0\AceAddon-3.0.lua:367
 Enable = <function> defined @Ace3\AceAddon-3.0\AceAddon-3.0.lua:294
 NewModule = <function> defined @Ace3\AceAddon-3.0\AceAddon-3.0.lua:235
 update = <unnamed> {
 }
 EnableModule = <function> defined @Ace3\AceAddon-3.0\AceAddon-3.0.lua:332
 modules = <table> {
 }
 GetModule = <function> defined @Ace3\AceAddon-3.0\AceAddon-3.0.lua:210
 IterateEmbeds = <function> defined @Ace3\AceAddon-3.0\AceAddon-3.0.lua:442
 FormatCallback = <function> defined @Prat-3.0\modules\Bubbles.lua:449
 defaultModuleLibraries = <table> {
 }
 IterateChatBubbles = <function> defined @Prat-3.0\modules\Bubbles.lua:522
 SetDefaultModulePrototype = <function> defined @Ace3\AceAddon-3.0\AceAddon-3.0.lua:409
 font = true
 name = "Prat_Bubbles"
 IsEnabled = <function> defined @Ace3\AceAddon-3.0\AceAddon-3.0.lua:451
 orderedModules = <table> {
 }
 DisableModule = <function> defined @Ace3\AceAddon-3.0\AceAddon-3.0.lua:350
 FormatBubbles = <function> defined @Prat-3.0\modules\Bubbles.lua:436
 OnModuleDisable = <function> defined @Prat-3.0\modules\Bubbles.lua:432
 APLyOptions = <function> defined @Prat-3.0\modules\Bubbles.lua:410
 throttle = 0.100000
 fontsize = 14
 IsModule = <function> defined @Ace3\AceAddon-3.0\AceAddon-3.0.lua:217
 db = <table> {
 }
 SetDefaultModuleState = <function> defined @Ace3\AceAddon-3.0\AceAddon-3.0.lua:387
 PL = <table> {
 }
 icons = true
 SetEnabledState = <function> defined @Ace3\AceAddon-3.0\AceAddon-3.0.lua:424
 format = true
 enabledState = true
 color = true
 shorten = false
 baseName = "Prat-3.0"
 OnModuleEnable = <function> defined @Prat-3.0\modules\Bubbles.lua:393
 RestoreDefaultsCallback = <function> defined @Prat-3.0\modules\Bubbles.lua:516
 RestoreDefaults = <function> defined @Prat-3.0\modules\Bubbles.lua:440
 IterateModules = <function> defined @Ace3\AceAddon-3.0\AceAddon-3.0.lua:437
 OnValueChanged = <function> defined @Prat-3.0\modules\Bubbles.lua:426
 transparent = false
 GetName = <function> defined @Ace3\AceAddon-3.0\AceAddon-3.0.lua:279
 moduleName = "Bubbles"
 defaultModuleState = true
 Disable = <function> defined @Ace3\AceAddon-3.0\AceAddon-3.0.lua:314
}
frame = <unnamed> {
 0 = <userdata>
 isSkinnedElvUI = true
 Name = <unnamed> {
 }
 holder = <unnamed> {
 }
}
fontstring = <unnamed> {
 0 = <userdata>
 fontStyle = "NONE"
 font = "ElvUI\Media\Fonts\PTSansNarrow.ttf"
 fontSize = 11.900000
}
text = ""
(*temporary) = nil
(*temporary) = <unnamed> {
 0 = <userdata>
 isSkinnedElvUI = true
 Name = <unnamed> {
 }
 holder = <unnamed> {
 }
}
(*temporary) = 0.999998
(*temporary) = 0.999998
(*temporary) = 0.999998
(*temporary) = 0.999998
(*temporary) = "attempt to call method 'SetBackdropBorderColor' (a nil value)"
MAX_CHATBUBBLE_WIDTH = 300

To Reproduce

  1. turn in a quest where NPCs speak in speech bubbles. I turned in the quest you get after killing Sire Denathrius in Castle Nathria

Expected behavior No errors

Screenshots

Version Information (please complete the following information):

Addons you are running ElvUI