Hallo zusammen,
seit dem letzen Patch habe ich das Problem das nach jedem Login / ReloadUI ein anderes meiner Panels verschwindet.
Hier kann man die sehen das Panels fehlen...
http://img853.images...3/7769/m0th.jpg
Folgende Scripte haben einige Panel:
DPS Buttonnload
OnEvent
onclick
Chat Button:OnLoad
OnEvent
onclick
Show Buttonnclick
Hide Buttonnclick
seit dem letzen Patch habe ich das Problem das nach jedem Login / ReloadUI ein anderes meiner Panels verschwindet.
Hier kann man die sehen das Panels fehlen...
http://img853.images...3/7769/m0th.jpg
Folgende Scripte haben einige Panel:
DPS Buttonnload
Code:
self:RegisterEvent("PLAYER_ENTERING_WORLD")
self:RegisterEvent("GROUP_ROSTER_UPDATE")
if IsInRaid() or IsInGroup() then
SkadaBarWindowRecount:Show()
SkadaBarWindowOmen:Show()
else
SkadaBarWindowRecount:Hide()
SkadaBarWindowOmen:Hide()
end
OnEvent
Code:
if IsInRaid() or IsInGroup() then
SkadaBarWindowRecount:Show()
SkadaBarWindowOmen:Show()
else
SkadaBarWindowRecount:Hide()
SkadaBarWindowOmen:Hide()
end
onclick
Code:
if IsAddOnLoaded("Skada") and pressed then
if IsControlKeyDown() then
Skada:Reset()
PlaySoundFile("Sound\\Interface\\iAbilitiesTurnPageA.wav")
else
CombatLogClearEntries()
Skada:ToggleWindow()
if SkadaBarWindowRecount:IsShown() and SkadaBarWindowOmen:IsShown() then
PlaySoundFile("Sound\\Interface\\uCharacterSheetOpen.wav")
else
PlaySoundFile("Sound\\Interface\\uCharacterSheetClose.wav")
end
end
end
Code:
Chat Button:OnLoad
Code:
self:RegisterEvent("ZONE_CHANGED")
self:RegisterEvent("ZONE_CHANGED_NEW_AREA")
self:RegisterEvent("ZONE_CHANGED_INDOORS")
self:RegisterEvent("PLAYER_ENTERING_WORLD")
self:RegisterEvent("GROUP_ROSTER_UPDATE")
if IsResting() or IsInGroup() then
_G["ChatFrame1"]:Show()
_G["ChatFrame3"]:Show()
_G["ChatFrame1ButtonFrame"]:Show()
_G["ChatFrame3ButtonFrame"]:Show()
_G["ChatFrameMenuButton"]:Show()
_G["GeneralDockManager"]:Show()
_G["FriendsMicroButton"]:Show()
else
_G["ChatFrame1"]:Hide()
_G["ChatFrame3"]:Hide()
_G["ChatFrame1ButtonFrame"]:Hide()
_G["ChatFrame3ButtonFrame"]:Hide()
_G["ChatFrameMenuButton"]:Hide()
_G["GeneralDockManager"]:Hide()
_G["FriendsMicroButton"]:Hide()
end
OnEvent
Code:
if IsResting() or IsInGroup() then then
_G["ChatFrame1"]:Show()
_G["ChatFrame3"]:Show()
_G["ChatFrame1ButtonFrame"]:Show()
_G["ChatFrame3ButtonFrame"]:Show()
_G["ChatFrameMenuButton"]:Show()
_G["GeneralDockManager"]:Show()
_G["FriendsMicroButton"]:Show()
else
_G["ChatFrame1"]:Hide()
_G["ChatFrame3"]:Hide()
_G["ChatFrame1ButtonFrame"]:Hide()
_G["ChatFrame3ButtonFrame"]:Hide()
_G["ChatFrameMenuButton"]:Hide()
_G["GeneralDockManager"]:Hide()
_G["FriendsMicroButton"]:Hide()
end
onclick
Code:
if pressed then
if _G["ChatFrame1"]:IsShown() then
_G["ChatFrame1"]:Hide()
_G["ChatFrame3"]:Hide()
_G["ChatFrame1ButtonFrame"]:Hide()
_G["ChatFrame3ButtonFrame"]:Hide()
_G["ChatFrameMenuButton"]:Hide()
_G["GeneralDockManager"]:Hide()
_G["FriendsMicroButton"]:Hide()
PlaySoundFile("Sound\\Interface\\uCharacterSheetClose.wav")
else
_G["ChatFrame1"]:Show()
_G["ChatFrame3"]:Show()
_G["ChatFrame1ButtonFrame"]:Show()
_G["ChatFrame3ButtonFrame"]:Show()
_G["ChatFrameMenuButton"]:Show()
_G["GeneralDockManager"]:Show()
_G["FriendsMicroButton"]:Show()
PlaySoundFile("Sound\\Interface\\uCharacterSheetOpen.wav")
end
end
Show Buttonnclick
Code:
if IsAddOnLoaded("Skada") and pressed then
if not SkadaBarWindowOmen:IsShown() or not SkadaBarWindowRecount:IsShown() then
PlaySoundFile("Sound\\Interface\\uCharacterSheetOpen.wav")
end
SkadaBarWindowRecount:Show()
SkadaBarWindowOmen:Show()
end
if pressed then
_G["ChatFrame1"]:Show()
_G["ChatFrame3"]:Show()
_G["ChatFrame1ButtonFrame"]:Show()
_G["ChatFrame3ButtonFrame"]:Show()
_G["ChatFrameMenuButton"]:Show()
_G["GeneralDockManager"]:Show()
_G["FriendsMicroButton"]:Show()
end
Hide Buttonnclick
Code:
if IsAddOnLoaded("Skada") and pressed then
if SkadaBarWindowOmen:IsShown() or SkadaBarWindowRecount:IsShown() then
PlaySoundFile("Sound\\Interface\\uCharacterSheetClose.wav")
end
SkadaBarWindowRecount:Hide()
SkadaBarWindowOmen:Hide()
end
if pressed then
_G["ChatFrame1"]:Hide()
_G["ChatFrame3"]:Hide()
_G["ChatFrame1ButtonFrame"]:Hide()
_G["ChatFrame3ButtonFrame"]:Hide()
_G["ChatFrameMenuButton"]:Hide()
_G["GeneralDockManager"]:Hide()
_G["FriendsMicroButton"]:Hide()
end