Loading...

AddonSkins DBM.lua error

#1
There seems to be a typo in the DBM.lua file causing errors to pop up during combat:

Code: Select all

2x AddOnSkins\Skins\DBM-8.1.1.18134.lua:30: attempt to call method 'AjustForTheme' (a nil value)
AddOnSkins\Skins\DBM-8.1.1.18134.lua:30: in function <AddOnSkins\Skins\DBM.lua:18>
[C]: in function `ApplyStyle'
AddOnSkins\Skins\DBM-8.1.1.18134.lua:90: in function <AddOnSkins\Skins\DBM.lua:7>
[C]: in function `CreateBar'
DBM-Core\DBM-Core-8.1.1.lua:10370: in function `Start'
DBM-DragonSoul\Blackhorn.lua:148: in function `OnCombatStart'
DBM-Core\DBM-Core-8.1.1.lua:5869: in function `StartCombat'
DBM-Core\DBM-Core-8.1.1.lua:5448: in function `handler'
DBM-Core\DBM-Core-8.1.1.lua:676: in function <DBM-Core\DBM-Core.lua:663>

Locals:
frame = DBT_Bar_5 {
 0 = <userdata>
 obj = <table> {
 }
}
tbar = DBT_Bar_5Bar {
 0 = <userdata>
}
icon1 = DBT_Bar_5BarIcon1 {
 0 = <userdata>
 overlay = DBT_Bar_5BarIcon1Overlay {
 }
}
icon2 = DBT_Bar_5BarIcon2 {
 0 = <userdata>
}
name = DBT_Bar_5BarName {
 0 = <userdata>
}
timer = DBT_Bar_5BarTimer {
 0 = <userdata>
}
(*temporary) = <function> defined =[C]:-1
(*temporary) = DBT_Bar_5BarIcon1Overlay {
 0 = <userdata>
}
(*temporary) = "BOTTOMRIGHT"
(*temporary) = DBT_Bar_5 {
 0 = <userdata>
 obj = <table> {
 }
}
(*temporary) = "BOTTOMLEFT"
(*temporary) = nil
(*temporary) = <table> {
 SkinAchievement = <function> defined @AddOnSkins\Skins\Blizzard\Achievement.lua:3
 Blizzard_Channels = <function> defined @AddOnSkins\Skins\Blizzard\Channels.lua:3
 Blizzard_AbilityButton = <function> defined @AddOnSkins\Skins\Blizzard\ExtraButtons.lua:3
 ArrowRotation = <table> {
 }
 modules = <table> {
 }
 CancelTimer = <function> defined @Ace3\AceTimer-3.0\AceTimer-3.0.lua:147
 FindFrameBySizeChild = <function> defined @AddOnSkins\Core\API.lua:988
 Blizzard_ItemSocketingUI = <function> defined @AddOnSkins\Skins\Blizzard\Character.lua:415
 Blank = "BUTTONS\WHITE8X8"
 LCG = <table> {
 }
 ES = <table> {
 }
 SkinIconButton = <function> defined @AddOnSkins\Core\API.lua:603
 ScheduleTimer = <function> defined @Ace3\AceTimer-3.0\AceTimer-3.0.lua:94
 AllTheThings = <function> defined @AddOnSkins\Skins\AllTheThings.lua:5
 ADDON_LOADED = <function> defined @AddOnSkins\Core\Core.lua:152
 SkinErrors = <table> {
 }
 BuildProfile = <function> defined @AddOnSkins\Core\Options.lua:878
 data = <table> {
 }
 UIScale = 0.640000
 db = <table> {
 }
 SkinBackdropFrame = <function> defined @AddOnSkins\Core\API.lua:854
 AdjustForTheme = <function> defined @AddOnSkins\Core\API.lua:898
 SetEnabledState = <function> defined @Ace3\AceAddon-3.0\AceAddon-3.0.lua:424
 Hook = <function> defined @Ace3\AceHook-3.0\AceHook-3.0.lua:274
 Options = <table> {
 }
 BugReportFrame = <function> defined @AddOnSkins\Core\Core.lua:369
 Font = "ElvUI\media\fonts\PT_Sans_Narrow.ttf"
 events = <table> {
 }
 Noop = <function> defined @AddOnSkins\Init.lua:20
 Blizzard_Mail = <function> defined @AddOnSkins\Skins\Blizzard\Mail.lua:3
 SkinWidgetContainer = <function> defined @AddOnSkins\Core\API.lua:1135
 NewModule = <function> defined @Ace3\AceAddon-3.0\AceAddon-3.0.lua:235
 SkinTooltip = <function> defined @AddOnSkins\Core\API.lua:875
 EmbedSystem_WindowResize = <function> defined @ElvUI_SLE\modules\AddOnSkins.lua:11
 WeakAuras = <function> defined @AddOnSkins\Skins\WeakAuras.lua:5
 EnumObjects = <function> defined @AddOnSkins\Core\API.lua:936
 Blizzard_Calendar = <function> defined @AddOnSkins\Skins\Blizzard\Calendar.lua:3
 GetChatWindowInfo = <function> defined @AddOnSkins\Embed\Core.lua:11
 EmbedEnterCombat = <function> defined @AddOnSkins\Embed\Core.lua:146
 GetName = <function> defined @Ace3\AceAddon-3.0\AceAddon-3.0.lua:279
 GetOptions = <function> defined @AddOnSkins\Core\Options.lua:1013
 Blizzard_DebugTools = <function> defined @AddOnSkins\Skins\Blizzard\DebugTools.lua:3
 name = "AddOnSkins"
 SkinIconTextAndCurrenciesWidget = <function> defined @AddOnSkins\Core\API.lua:1103
 SkinLibraries = <function> defined @AddOnSkins\Skins\Libraries.lua:154
 BugSack = <function> defined @AddOnSkins\Skins\BugSack.lua:5
 Unhook = <function> defined @Ace3\AceHook-3.0\AceHook-3.0.lua:418
 Print = <function> defined @AddOnSkins\Core\Core.lua:83
 preload = <table> {
 }
 Blizzard_IslandsPar

Code: Select all

2x AddOnSkins\Skins\DBM-8.1.1.18134.lua:37: attempt to call method 'AjustForTheme' (a nil value)
AddOnSkins\Skins\DBM-8.1.1.18134.lua:37: in function <AddOnSkins\Skins\DBM.lua:18>
[C]: ?
[C]: in function `ApplyStyle'
AddOnSkins\Skins\DBM-8.1.1.18134.lua:90: in function <AddOnSkins\Skins\DBM.lua:7>
[C]: in function `CreateBar'
DBM-Core\DBM-Core-8.1.1.lua:10370: in function `Start'
DBM-DragonSoul\Blackhorn.lua:122: in function `func'
DBM-Core\DBM-Core-8.1.1.lua:1600: in function <DBM-Core\DBM-Core.lua:1591>

Locals:
InCombatSkipped
Changing "AjustForTheme" to "AdjustForTheme" in the DBM.lua file seems to fix this.

Cheers and Happy New Year :)


D.

Who is online

Users browsing this forum: No registered users and 2 guests