#Is it possible to hide Boss Frames with WeakAura or is an external Addon needed?
59 messages · Page 1 of 1 (latest)
You can make a WA that runs the respective code. But that won't be any different than just making a small add-on with a handful lines of code.
At best it's equal.
Also, you can consider doing
!profiling
You can use WA's "profiling" to assist in identifying potential performance issues.
You may access the Real Time Profiling Window by:
• Right-Clicking the WA minimap icon.
• Using slash commands.
• Keybinding these commands directly in the Keybinding menu.
Slash commands:
/wa pstart to begin a new profile - optionally include combat, boss, or a number to profile only the next time you are in combat, fight a boss, or the specified amount of time in amount of seconds
/wa pstop to finish a profile, and prepare the results
/wa pprint to view the results
Profiling measures the time each aura took while profiling was active. Thus to profile, for example, an encounter, enable it directly before the pull and disable it directly after the pull.
For an explanation of what the profile results page means see #pins message
https://cdn.discordapp.com/attachments/276508307177603072/1215722618150326382/Wow_2024-03-08_19-01-12.mp4?ex=65fdc8eb&is=65eb53eb&hm=8c763249fe8bebc576bce19064fb6e47c58fdba13ba2cd279a5febf84426087b&
https://cdn.discordapp.com/attachments/276508307177603072/1215722618628603974/Wow_2024-03-08_19-03-32.mp4?ex=65fdc8eb&is=65eb53eb&hm=fd37b6d4df871551a27189851e5fe42d5823de43de2a04185ea329b6795d2871&
During times when you experience issues, to see which auras might contribute
Alright, I will look into the performance issues with that. I still don't know how I can get rid of the boss frames tho
FrameName:Hide()```
Find the frames names with /fstack
As I said: You won't get any better performance out of plugging this in the on init of some random aura than just making a simple add-on that does the same thing.
(the performance impact in both cases is nothing here though)
Also worth checking out if you can't do that with the built in edit mode, or the game settings, by now.
They've expanded the functionality there quite a bit.
I don't want to hide the Boss Target Frames because of performance but because they are kinda irrelevant since I created a custom UI for them via WA to replace them.
On the Screenshot the Blizzard default Boss Target Frames aren't visible but they are in combat visible, blocking the Quest log UI.
I could move them but there's really no free space anymore on the screen for them
I was just mentioning it because you said you wanted to avoid an add-on
The only actual addon rn focused on those frames is sadly 3 Expansions outdated.
A small addon that hides Blizzard default boss frames
25.0K Downloads | Addons
And I'm no programmer. No clue how to write an addon.
And that I already tried btw. Doesn't have any options for those yet to stay hidden. Only larger frames and cast bar besides them.
Tried that one, still works but gives me Lua Errors
You can just make a new text aura, remove all the text, and put that in on init -> actions -> custom
You'd have to find the frame names yourself though as I said
What you mean with "text aura"? A .txt file or what?
Remember, you are talking to a dumbass (me) here.
An aura of the type text
Ah
It can be any aura if you want though, you're just using its on-init code block to run the code
Doesn't work. Just gives me another Lua error and still shows it.
Yes. /fstack says it is BossTargetFrame
Or do I have to use the entire line of the name for it to work?
No, if it's called that then
BossTargetFrame:Hide()```
should be enough and not throw any errors
That's exactly what I typed and it didn't work
(unless you set the aura to load in combat only)
Well, what's your lua error then?
!bugsack
If you are having errors we need a copy of the entire error's text to be able to help.
See this message #pins message for details on getting detailed Lua errors
One sec, reproducing it
Oh, it's not called BossTargetFrame
Message: Lua error in aura 'New': init
WeakAuras Version: 5.17.1
Stack trace:
[string "return function() BossTargetFrame:Unregiste..."]:1: attempt to index global 'BossTargetFrame' (a nil value)
Time: Fri Oct 4 17:23:41 2024
Count: 1
Stack: Lua error in aura 'New': init
WeakAuras Version: 5.17.1
Stack trace:
[string "return function() BossTargetFrame:Unregiste..."]:1: attempt to index global 'BossTargetFrame' (a nil value)
[string "@Interface/AddOns/Blizzard_SharedXML/Mainline/SharedUIPanelTemplates.lua"]:154: in function <...izzard_SharedXML/Mainline/SharedUIPanelTemplates.lua:145>
Locals: self = WeakAurasOptionsCloseButton {
}
parent = WeakAurasOptions {
window = "default"
loadProgessVisible = false
TitleContainer = Frame {
}
importThumbnail = Frame {
}
Bg = WeakAurasOptionsBg {
}
dynamicTextCodesFrame = WeakAurasTextReplacements {
}
NineSlice = Frame {
}
mover = Frame {
}
tipPopup = Frame {
}
pendingInstallButton = <table> {
}
buttonsContainer = <table> {
}
tipFrame = Frame {
}
toolbarContainer = Frame {
}
container = <table> {
}
pendingUpdateButton = <table> {
}
loadProgress = FontString {
}
moversizer = Frame {
}
layoutType = "PortraitFrameTemplate"
pickedDisplay = "New"
PortraitContainer = Frame {
}
loadProgressNum = 9
filterInput = WeakAurasFilterInput {
}
TopTileStreaks = Texture {
}
buttonsScroll = <table> {
}
loadedButton = <table> {
}
bottomRightResizer = Button {
}
CloseButton = WeakAurasOptionsCloseButton {
}
MaxMinButtonFrame = Button {
}
selectedTab = "action"
unloadedButton = <table> {
}
}
continueHide = true
attempt to index global BossTargetFrame (a nil value)
It's not called BossTargetFrame
Check your screenshot again
It's called Boss3TargetFrame
(and Boss1 and Boss2 etc. for the others)
So I put several of those lines below each other in the code window?
Yes, once for each
You can also try doing the same for just BossTargetFrameContainer, as I'd guess they're all children of that one
But just doing it for each individual boss frame will work anyways
That I did try before (didn't test it tho), gave no Lua error
Perfect, works
Thank you kindly
Worth noting though, that what you have made there with WeakAuras doesn't fully replace Boss Frame functionality, as its not clickable
If that doesn't bother you, then whatever. But it might be significant functionality for some users (e.g. I couldn't do without proper Boss Unit Frames)
I'm using tab targetting for that usually
And in most fights there aren't that many different mobs in dungeons in a boss fight
Your call, if it's just for you mainly and you like it this way then that's all that matters obviously
It's mainly for better visibility so I can focus more on the middle of my screne instead of darting my eye at the side of the screen.