All right, sorry for not being too specific yesterday. This is what's happening now:
I replaced all the occurences of Button in the xml files resulting in this:
AuctionHouse.xml
Code:
<Ui xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.blizzard.com/wow/ui/">
<Script file="AuctionHouse.lua"></Script>
<ItemButton name="AltoAuctionEntryTemplate" virtual="true">
<Size x="615" y="41" />
<Layers>
<Layer level="BACKGROUND">
<FontString name="$parentName" inherits="GameFontNormal" justifyH="LEFT">
<Size x="220" y="14" />
<Anchors>
<Anchor point="TOPLEFT" x="53" y="0" />
</Anchors>
</FontString>
<FontString name="$parentTimeLeft" inherits="GameFontNormal" justifyH="LEFT">
<Size x="220" y="10" />
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentName" relativePoint="BOTTOMLEFT" x="0" y="-2" />
</Anchors>
</FontString>
<FontString name="$parentHighBidder" inherits="GameFontNormal">
<Size x="160" y="32" />
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentName" relativePoint="TOPRIGHT" x="5" y="0" />
</Anchors>
</FontString>
<FontString name="$parentPrice" inherits="GameFontNormal" justifyH="RIGHT">
<Size x="150" y="32" />
<Anchors>
<Anchor point="BOTTOMLEFT" relativeTo="$parentHighBidder" relativePoint="BOTTOMRIGHT" x="5" y="0" />
</Anchors>
</FontString>
</Layer>
</Layers>
<Frames>
<ItemButton name="$parentItem">
<Anchors>
<Anchor point="TOPLEFT" x="10" y="0" />
</Anchors>
<Scripts>
<OnEnter>
Altoholic.AuctionHouse:OnEnter(self)
</OnEnter>
<OnLeave>
GameTooltip:Hide();
</OnLeave>
<OnClick>
Altoholic.AuctionHouse:OnClick(self, button)
</OnClick>
</Scripts>
</ItemButton>
</Frames>
<Scripts>
<OnLoad>
self:RegisterForClicks("LeftButtonDown", "RightButtonDown");
</OnLoad>
<OnClick>
if button == "RightButton" then
ToggleDropDownMenu(1, nil, AltoholicFrameAuctionsRightClickMenu, self:GetName(), 0, -5);
end
</OnClick>
</Scripts>
<HighlightTexture name="$parentHighlight" file="Interface\HelpFrame\HelpFrameButton-Highlight" alphaMode="ADD">
<Size x="555" y="37" />
<Anchors>
<Anchor point="TOPLEFT" x="55" y="0" />
</Anchors>
<TexCoords left="0" right="1.0" top="0" bottom="0.578125"/>
</HighlightTexture>
</ItemButton>
<Frame name="AltoholicFrameAuctions" parent="AltoholicTabCharacters" hidden="true">
<Size x="615" y="306" />
<Anchors>
<Anchor point="TOPRIGHT" x="39" y="-105" />
</Anchors>
<Frames>
<ScrollFrame name="$parentScrollFrame" inherits="AltoBaseScrollFrameTemplate" hidden="true">
<Scripts>
<OnVerticalScroll>
self:OnVerticalScroll(offset, 41, Altoholic.AuctionHouse.Update)
</OnVerticalScroll>
</Scripts>
</ScrollFrame>
<ItemButton name="$parentEntry1" inherits="AltoAuctionEntryTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentScrollFrame" relativePoint="TOPLEFT" x="0" y="0" />
</Anchors>
</ItemButton>
<ItemButton name="$parentEntry2" inherits="AltoAuctionEntryTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentEntry1" relativePoint="BOTTOMLEFT" />
</Anchors>
</ItemButton>
<ItemButton name="$parentEntry3" inherits="AltoAuctionEntryTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentEntry2" relativePoint="BOTTOMLEFT" />
</Anchors>
</ItemButton>
<ItemButton name="$parentEntry4" inherits="AltoAuctionEntryTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentEntry3" relativePoint="BOTTOMLEFT" />
</Anchors>
</ItemButton>
<ItemButton name="$parentEntry5" inherits="AltoAuctionEntryTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentEntry4" relativePoint="BOTTOMLEFT" />
</Anchors>
</ItemButton>
<ItemButton name="$parentEntry6" inherits="AltoAuctionEntryTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentEntry5" relativePoint="BOTTOMLEFT" />
</Anchors>
</ItemButton>
<ItemButton name="$parentEntry7" inherits="AltoAuctionEntryTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentEntry6" relativePoint="BOTTOMLEFT" />
</Anchors>
</ItemButton>
</Frames>
</Frame>
</Ui>
Mails.xml
Code:
<Ui xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.blizzard.com/wow/ui/">
<Script file="Mails.lua"></Script>
<ItemButton name="AltoMailEntryTemplate" virtual="true">
<Size x="615" y="41" />
<Layers>
<Layer level="BACKGROUND">
<FontString name="$parentName" inherits="GameFontNormal" justifyH="LEFT">
<Size x="220" y="32" />
<Anchors>
<Anchor point="TOPLEFT" x="53" y="0" />
</Anchors>
</FontString>
<FontString name="$parentCharacter" inherits="GameFontNormal">
<Size x="130" y="32" />
<Anchors>
<Anchor point="BOTTOMLEFT" relativeTo="$parentName" relativePoint="BOTTOMRIGHT" x="5" y="0" />
</Anchors>
</FontString>
<FontString name="$parentExpiry" inherits="GameFontNormal">
<Size x="200" y="32" />
<Anchors>
<Anchor point="BOTTOMLEFT" relativeTo="$parentCharacter" relativePoint="BOTTOMRIGHT" x="5" y="0" />
</Anchors>
</FontString>
</Layer>
</Layers>
<Frames>
<ItemButton name="$parentItem">
<Anchors>
<Anchor point="TOPLEFT" x="10" y="0" />
</Anchors>
<Scripts>
<OnEnter>
Altoholic.Mail:OnEnter(self)
</OnEnter>
<OnLeave>
GameTooltip:Hide();
</OnLeave>
<OnClick>
Altoholic.Mail:OnClick(self, button)
</OnClick>
</Scripts>
</ItemButton>
</Frames>
<HighlightTexture name="$parentHighlight" file="Interface\HelpFrame\HelpFrameButton-Highlight" alphaMode="ADD">
<Size x="560" y="37" />
<Anchors>
<Anchor point="TOPLEFT" x="50" y="0" />
</Anchors>
<TexCoords left="0" right="1.0" top="0" bottom="0.578125"/>
</HighlightTexture>
</ItemButton>
<Frame name="AltoholicFrameMail" parent="AltoholicTabCharacters" hidden="true">
<Size x="615" y="306" />
<Anchors>
<Anchor point="TOPRIGHT" x="39" y="-105" />
</Anchors>
<Frames>
<ScrollFrame name="$parentScrollFrame" parentKey="ScrollFrame" inherits="AltoBaseScrollFrameTemplate" hidden="true">
<Scripts>
<OnVerticalScroll>
self:OnVerticalScroll(offset, 41, Altoholic.Mail.Update)
</OnVerticalScroll>
</Scripts>
<!--
<KeyValues>
<KeyValue key="numRows" value="7" type="number" />
<KeyValue key="rowTemplate" value="AltoMailEntryTemplate" />
</KeyValues>
-->
</ScrollFrame>
<ItemButton name="$parentEntry1" inherits="AltoMailEntryTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentScrollFrame" relativePoint="TOPLEFT" x="0" y="0" />
</Anchors>
</ItemButton>
<ItemButton name="$parentEntry2" inherits="AltoMailEntryTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentEntry1" relativePoint="BOTTOMLEFT" />
</Anchors>
</ItemButton>
<ItemButton name="$parentEntry3" inherits="AltoMailEntryTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentEntry2" relativePoint="BOTTOMLEFT" />
</Anchors>
</ItemButton>
<ItemButton name="$parentEntry4" inherits="AltoMailEntryTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentEntry3" relativePoint="BOTTOMLEFT" />
</Anchors>
</ItemButton>
<ItemButton name="$parentEntry5" inherits="AltoMailEntryTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentEntry4" relativePoint="BOTTOMLEFT" />
</Anchors>
</ItemButton>
<ItemButton name="$parentEntry6" inherits="AltoMailEntryTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentEntry5" relativePoint="BOTTOMLEFT" />
</Anchors>
</ItemButton>
<ItemButton name="$parentEntry7" inherits="AltoMailEntryTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentEntry6" relativePoint="BOTTOMLEFT" />
</Anchors>
</ItemButton>
</Frames>
</Frame>
</Ui>
When I go to Altoholic's "Characters" tab now, there is no "Couldn't find inherited node: ItemButtonTemplate" error message any more.
Instead, now when I try to look at the "Auction House" or "Mails" view, I get errors.
But these errors are not even what I ment by "breaks everything"!
Because if I do a gui /reload now, I find myself having no message console any more and this error pops up:
Code:
Message: Interface\FrameXML\ChatAlertFrameMixin.lua:6: attempt to index global 'DEFAULT_CHAT_FRAME' (a nil value)
Time: Wed Mar 27 12:47:31 2019
Count: 1
Stack: Interface\FrameXML\ChatAlertFrameMixin.lua:6: attempt to index global 'DEFAULT_CHAT_FRAME' (a nil value)
Interface\FrameXML\ChatAlertFrameMixin.lua:6: in function <Interface\FrameXML\ChatAlertFrameMixin.lua:3>
Locals: self = ChatAlertFrame {
0 = <userdata>
SetSubSystemAnchorPriority = <function> defined @Interface\FrameXML\AlertFrames.lua:350
shouldQueueAlertsFlags = <table> {
}
SetJustification = <function> defined @Interface\FrameXML\AlertFrames.lua:377
CreateSubSystem = <function> defined @Interface\FrameXML\AlertFrames.lua:311
CreateQueuedSubSystem = <function> defined @Interface\FrameXML\AlertFrames.lua:328
SetEnabledFlag = <function> defined @Interface\FrameXML\AlertFrames.lua:277
SetVariablesLoaded = <function> defined @Interface\FrameXML\AlertFrames.lua:294
SetAlertsEnabled = <function> defined @Interface\FrameXML\AlertFrames.lua:299
AreAlertsEnabled = <function> defined @Interface\FrameXML\AlertFrames.lua:303
AddQueuedAlertFrameSubSystem = <function> defined @Interface\FrameXML\AlertFrames.lua:338
AddAlertFrameSubSystem = <function> defined @Interface\FrameXML\AlertFrames.lua:342
GetJustification = <function> defined @Interface\FrameXML\AlertFrames.lua:384
OnLoad = <function> defined @Interface\FrameXML\ChatAlertFrameMixin.lua:3
justification = "LEFT"
AddExternallyAnchoredSubSystem = <function> defined @Interface\FrameXML\AlertFrames.lua:318
CleanAnchorPriorities = <function> defined @Interface\FrameXML\AlertFrames.lua:360
OnEvent = <function> defined @Interface\FrameXML\AlertFrames.lua:269
AddAutoAnchoredSubSystem = <function> defined @Interface\FrameXML\AlertFrames.lua:323
SetChatButtonSide = <function> defined @Interface\FrameXML\ChatAlertFrameMixin.lua:10
AddSimpleAlertFrameSubSystem = <function> defined @Interface\FrameXML\AlertFrames.lua:332
SetPlayerEnteredWorld = <function> defined @Interface\FrameXML\AlertFrames.lua:289
alertFrameSubSystems = <table> {
}
UpdateAnchors = <function> defined @Interface\FrameXML\AlertFrames.lua:368
GetPointsForJustification = <function> defined @Interface\FrameXML\AlertFrames.lua:402
AddAlertFrame = <function> defined @Interface\FrameXML\AlertFrames.lua:409
}
(*temporary) = <function> defined =[C]:-1
(*temporary) = ChatAlertFrame {
0 = <userdata>
SetSubSystemAnchorPriority = <function> defined @Interface\FrameXML\AlertFrames.lua:350
shouldQueueAlertsFlags = <table> {
}
SetJustification = <function> defined @Interface\FrameXML\AlertFrames.lua:377
CreateSubSystem = <function> defined @Interface\FrameXML\AlertFrames.lua:311
CreateQueuedSubSystem = <function> defined @Interface\FrameXML\AlertFrames.lua:328
SetEnabledFlag = <function> defined @Interface\FrameXML\AlertFrames.lua:277
SetVariablesLoaded = <function> defined @Interface\FrameXML\AlertFrames.lua:294
SetAlertsEnabled = <function> defined @Interface\FrameXML\AlertFrames.lua:299
AreAlertsEnabled = <function> defined @Interface\FrameXML\AlertFrames.lua:303
AddQueuedAlertFrameSubSystem = <function> defined @Interface\FrameXML\AlertFrames.lua:338
AddAlertFrameSubSystem = <function> defined @Interface\FrameXML\AlertFrames.lua:342
GetJustification = <function> defined @Interface\FrameXML\AlertFrames.lua:384
OnLoad = <function> defined @Interface\FrameXML\ChatAlertFrameMixin.lua:3
justification = "LEFT"
AddExternallyAnchoredSubSystem = <function> defined @Interface\FrameXML\AlertFrames.lua:318
CleanAnchorPriorities = <function> defined @Interface\FrameXML\AlertFrames.lua:360
OnEvent = <function> defined @Interface\FrameXML\AlertFrames.lua:269
AddAutoAnchoredSubSystem = <function> defined @Interface\FrameXML\AlertFrames.lua:323
SetChatButtonSide = <function> defined @Interface\FrameXML\ChatAlertFrameMixin.lua:10
AddSimpleAlertFrameSubSystem = <function> defined @Interface\FrameXML\AlertFrames.lua:332
SetPlayerEnteredWorld =
Similarly, I have no bag icons any more and trying to open my bags pressing "B" results in:
Code:
Message: Interface\FrameXML\ContainerFrame.lua:982: attempt to index local 'itemButton' (a nil value)
Time: Wed Mar 27 12:49:11 2019
Count: 1
Stack: Interface\FrameXML\ContainerFrame.lua:982: attempt to index local 'itemButton' (a nil value)
Interface\FrameXML\ContainerFrame.lua:982: in function `ContainerFrame_GenerateFrame'
Interface\FrameXML\ContainerFrame.lua:118: in function `ToggleBag'
Interface\FrameXML\ContainerFrame.lua:140: in function `ToggleBackpack'
Interface\FrameXML\ContainerFrame.lua:364: in function `OpenBackpack'
Interface\FrameXML\ContainerFrame.lua:1507: in function `ToggleAllBags'
[string "OPENALLBAGS"]:1: in function <[string "OPENALLBAGS"]:1>
Locals: frame = ContainerFrame1 {
0 = <userdata>
PortraitButton = ContainerFrame1PortraitButton {
}
Portrait = ContainerFrame1Portrait {
}
ExtraBagSlotsHelpBox = ContainerFrame1ExtraBagSlotsHelpBox {
}
ClickableTitleFrame = <unnamed> {
}
bags = <table> {
}
forceExtended = false
FilterDropDown = ContainerFrame1FilterDropDown {
}
bagsShown = 0
FilterIcon = <unnamed> {
}
allBags = true
size = 16
}
size = 16
id = 0
name = "ContainerFrame1"
bgTextureTop = ContainerFrame1BackgroundTop {
0 = <userdata>
}
bgTextureMiddle = ContainerFrame1BackgroundMiddle1 {
0 = <userdata>
}
bgTextureMiddle2 = ContainerFrame1BackgroundMiddle2 {
0 = <userdata>
}
bgTextureBottom = ContainerFrame1BackgroundBottom {
0 = <userdata>
}
bgTexture1Slot = ContainerFrame1Background1Slot {
0 = <userdata>
}
columns = 4
rows = 4
backpackFirstButtonOffset = -225
secured = false
baseSize = 16
index = 16
itemButton = nil
(for index) = 1
(for limit) = 16
(for step) = 1
i = 1
(*temporary) = <table> {
UpdateOnBarHighlightMarksBySpell = <function> defined @Interface\FrameXML\ActionButton.lua:74
ERR_OUT_OF_CHI = "Not enough chi"
DH_HAVOC_CORE_ABILITY_2 = "Strong melee attack that consumes Fury. If it critical strikes, some Fury is refunded."
MultiCastActionButton6Cooldown = MultiCastActionButton6Cooldown {
}
GetTrainerServiceTypeFilter = <function> defined =[C]:-1
UNIT_NAMES_COMBATLOG_TOOLTIP = "Color unit names."
SetTrainerServiceTypeFilter = <function> defined =[C]:-1
LE_GAME_ERR_CHAT_RAID_RESTRICTED_TRIAL = 740
SPELL_FAILED_CUSTOM_ERROR_71 = "This partygoer wants to dance with you."
LE_GAME_ERR_PET_SPELL_TARGETS_DEAD = 398
ERROR_CLUB_TICKET_COUNT_AT_MAX_COMMUNITY = "Can't create any more invite links for this community."
RecruitAFriendFrame = RecruitAFriendFrame {
}
CompactUnitFrameProfilesGeneralOptionsFrameHealthTextDropdownButtonNormalTexture = CompactUnitFrameProfilesGeneralOptionsFrameHealthTextDropdownButtonNormalTexture {
}
TutorialFrameLeft19 = TutorialFrameLeft19 {
}
MultiCastActionButton2Cooldown = MultiCastActionButton2Cooldown {
}
ERR_TRADE_EQUIPPED_BAG = "You can't trade equipped bags."
PVP_RANK_6_1 = "Corporal"
BOOKTYPE_PROFESSION = "professions"
AudioOptionsVoicePanelOutputDeviceDropdownButtonHighlightTexture = AudioOptionsVoicePanelOutputDeviceDropdownButtonHighlightTexture {
}
VideoOptionsFrameDefaults = VideoOptionsFrameDefaults {
}
MerchantItem1AltCurrencyFrameItem1Text = MerchantItem1AltCurrencyFrameItem1Text {
}
OPTION_TOOLTIP_ACTION_BUTTON_USE_KEY_DOWN = "Action button keybinds will respond on key down, rather than on key up."
BINDING_NAME_NAMEPLATES = "Show Enemy Name Plates"
INSTANCE_UNAVAILABLE_OTHER_TEMPORARILY_DISABLED = "%s cannot enter. This instance is temporarily disabled."
MultiBarBottomRightButton8Shine5 = MultiBarBottomRightButton8Shine5 {
}
IsReferAFriendLinked = <function> defined =[C]:-1
MAIL_LETTER_TOOLTIP = "Click to make a permanent
copy of this letter."
UnitFrameManaBar_UnregisterDefaultEvents = <function> defined @Interface\FrameXML\UnitFrame.lua:794
PaperDollTitlesPaneButton12BgTop = PaperDollTitlesPaneButton12BgTop {
}
ERR_NOAMMO_S = "%s"
CHAT_CONFIG_OTHER_COMBAT = <table> {
}
FCFDockOverflowButton_OnClick = <function> defined @Interface\FrameXML\FloatingChatFrame.lua:2372
TutorialFrameRight19 = Tut
This behaviour persists until I completely quit and restart WoW.
Then it's the same again. Everything OK before I go on Altoholic's "Character" tab (NB without any error messages so far) and then /reload -> leading to the "completely broken" state.
Does this make any sense to you?