Lua error on Login on sod 1.15.4
Closed this issue ยท 4 comments
Describe the problem
with BasicChatMods v11.0.0
5x BasicChatMods/BasicConfig.lua:409: attempt to index global 'BCM_EditBoxScale_SliderHigh' (a nil value)
[string "@BasicChatMods/BasicConfig.lua"]:409: in function `?'
[string "@BasicChatMods/BasicCore.lua"]:119: in function `?'
[string "@BasicChatMods/BasicCore.lua"]:7: in function <BasicChatMods/BasicCore.lua:7>
Locals:
bcm = BCM {
name = "BasicChatMods"
settingsCategory = <table> {
}
}
bcmTitle = FontString {
}
bcmDesc = FontString {
}
panelDesc = BCMPanelDesc {
}
enableBtn = BCMEnableButton {
Text = BCMEnableButtonText {
}
}
enableBtnText = FontString {
}
warn = BCM_Warning {
}
optionsWarn = BCM_OptionsWarn {
}
editBoxBGBtn = BCM_EditBoxBG_Button {
Text = BCM_EditBoxBG_ButtonText {
}
}
editBoxBGBtnText = FontString {
}
editBoxSlider = BCM_EditBoxScale_Slider {
}
(*temporary) = nil
(*temporary) = nil
(*temporary) = "OnValueChanged"
(*temporary) = nil
(*temporary) = "BCM_EditBoxScale_Slider"
(*temporary) = <table> {
order = 38
ID = 38
parentCategory = <table> {
}
name = "Edit Box"
subcategories = <table> {
}
}
(*temporary) = nil
(*temporary) = true
(*temporary) = Frame {
secureAttributeResults = <table> {
}
}
(*temporary) = "register-category"
(*temporary) = "register-category"
(*temporary) = <table> {
1 = <table> {
}
3 = true
}
(*temporary) = "attempt to index global 'BCM_EditBoxScale_SliderHigh' (a nil value)"
BCM = <table> {
CHATLOG = "Always log chat."
chatFuncs = <table> {
}
BCM_BNet = "Customize the brackets or add color to the various Real Id events such as whispers, conversations, and friends logging on."
BCM_Sticky = "Customize your 'sticky' chat. Makes the chat edit box remember the last chat type you used so that you don't need to re-enter it again next time you chat."
BCM_Fade = "Fade out the chat frames completely instead of partially when moving your mouse away from a chat frame."
TOP = "Top"
BCM_AutoLog = "Automatically log chat after logging on and automatically log the combat log when in a raid instance."
GUILDRECRUIT = "GuildRecruitment"
BOTTOM = "Bottom"
BCM_Font = "Change the font name, size, and style of your chat frames & edit box."
SHOWLEVELS = "Player level next to name."
COMBATLOG = "Log combat in a raid instance."
BCM_EditBox = "Customize the Edit Box (the box you type in) like moving it to the top, hiding the background, and increasing the size."
info = <table> {
}
PLAYERBRACKETS = "Player Brackets:"
RIGHT = "Right"
OPTIONS = "<<More options may be available after enabling this module>>"
CUSTOMCHANNEL = "Custom Channel"
CHANNELNUMBER = "Channel Number"
Events = Frame {
}
modules = <table> {
}
chatFrames = 10
chatFuncsPerFrame = <table> {
}
chatFrameRefs = <table> {
}
protectedText = "<Protected Text>"
BCM_Resize = "Allows you to change the size of the chat frame to sizes smaller/bigger than what Blizz allows."
CLICKTOCOPY = "Shift-click to copy chat."
COLORMISC = "Class color friend/guild logon."
LOCALDEFENSE = "LocalDefense"
BCM_Timestamp = "Customize the timestamps you want your chat to use. Choose a color or no color at all, then choose the exact format of the timestamp."
BCM_ButtonHide = "Completely hides the chat frame side buttons from view for the people that have no use for them."
BCM_History = "Choose how many lines of chat history your chat frames remember."
TRADE = "Trade"
LFG = "LookingForGroup"
BCM_ScrollDown = "Create a small clickable arrow over your chat frames that flashes if you're not at the very bottom."
WORLDDEFENSE = "WorldDefense"
TRADE_SERVICES = "Trade (Services)"
BCM_TellTarget = "Allows you to whisper/tell your current target with the command /tt message or /wt message."
BCM_PlayerNames = "Customize the player name in chat with player level/group (if known) or remove/change brackets. E.g. [85:|cFFFFFFFFCoolPriest|r:5]"
CENTER = "Center"
GENERAL = "General"
LEFT = "Left"
BCM_ChannelNames = "Selectively replace the channel names with custom names of your liking. E.g. [Party] >> [P]"
BCM_ChatCopy = "This module allows you to copy chat directly from your chat frame by |cFFFFFFFFSHIFT-clicking|r the chat frame tab."
BCM_Highlight = "Play a sound if your name is mentioned in chat, also class color it. You can enter the short version of your name in the box below."
BCM_URLCopy = "Turn websites in your chat frame into clickable links for you to easily copy. E.g. |cFFFFFFFF[www.battle.net]|r"
BCM_GMOTD = "Re-display the
if i comment these lines and the 2 next, i get an other error with BCM_FontSizeHigh line 527
I also have this error which may be related to a broken xml template
10x Blizzard_FrameXML/DeprecatedTemplates.xml:37 Couldn't find inherited node: UISliderTemplateWithLabels
Indeed
local editBoxSlider = CreateFrame("Slider", "BCM_EditBoxScale_Slider", BCM_EditBox, "OptionsSliderTemplate")
and
local fontSizeSlider = CreateFrame("Slider", "BCM_FontSize", BCM_Font, "OptionsSliderTemplate")
<Slider name="OptionsSliderTemplate" inherits="UISliderTemplateWithLabels" virtual="true">
<Size x="144" y="17"/>
</Slider>
UISliderTemplateWithLabels is defined in SliderTemplates.xml which is missing in Blizzard_SharedXML_Vanilla.toc
No real plans to address this: Stanzilla/WoWUIBugs#645