#Is it possible to hide Boss Frames with WeakAura or is an external Addon needed?

59 messages · Page 1 of 1 (latest)

quiet ice
#

I would prefer to avoid using more addons, since my game gets quite FPS drop at times now with WA installed.

leaden shuttle
#

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

wraith pawnBOT
#

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&

leaden shuttle
#

During times when you experience issues, to see which auras might contribute

quiet ice
#

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

leaden shuttle
#
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.

quiet ice
# leaden shuttle (the performance impact in both cases is nothing here though)

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

leaden shuttle
#

I was just mentioning it because you said you wanted to avoid an add-on

quiet ice
#

And I'm no programmer. No clue how to write an addon.

quiet ice
quiet ice
leaden shuttle
#

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

quiet ice
#

Remember, you are talking to a dumbass (me) here.

leaden shuttle
#

An aura of the type text

quiet ice
#

Ah

leaden shuttle
#

It can be any aura if you want though, you're just using its on-init code block to run the code

quiet ice
leaden shuttle
#

And you have the correct frame name?

quiet ice
#

Or do I have to use the entire line of the name for it to work?

leaden shuttle
#

No, if it's called that then

BossTargetFrame:Hide()```
should be enough and not throw any errors
quiet ice
#

That's exactly what I typed and it didn't work

leaden shuttle
#

(unless you set the aura to load in combat only)

#

Well, what's your lua error then?

#

!bugsack

wraith pawnBOT
#

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

quiet ice
#

One sec, reproducing it

leaden shuttle
#

Oh, it's not called BossTargetFrame

quiet ice
#

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

leaden shuttle
#

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)

quiet ice
#

So I put several of those lines below each other in the code window?

leaden shuttle
#

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

quiet ice
#

Perfect, works

#

Thank you kindly

leaden shuttle
#

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)

quiet ice
#

And in most fights there aren't that many different mobs in dungeons in a boss fight

leaden shuttle
#

Your call, if it's just for you mainly and you like it this way then that's all that matters obviously

quiet ice
#

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.