General How does one remove a buff from a character or pet?
Reply
How does one remove a buff from a character or pet?
Is there a mechanism for removing an active buff from a toon and or pet? Say I have Spirit of Eagle active on myself and my pet and I want to remove it. If someone could point me in the right direction. I have scanned the forums but haven't found anything. Many thanks!
R
Fri Mar 06, 2015 5:41 pm
There is no special command I know of. MQ2 can do it exactly like you would do it: left click on the buff icon in the buff window. The command is not the most intuitive of names, but you want to use /notify.
Fri Mar 06, 2015 11:13 pm
Senior Project Member
Thanks Grumble..
Sounds like a pain. Have to decide which buff is where and determine where on the screen to use /notify. I don't think it is gonna be worth the effort.
Basically have run into an isolated issue on StormHaven. Their buffer in the lobby casts a slew of buffs on ya.. but it won't over-write it's own SOE spell.. so ya need to cancel the ssoe spell you have on yourself before getting buffs. Well, that's not so bad, unless you have to go through the entire group and pets. Hopefully they will get around to fixing it soon and it will be a non-issue.
Thanks for the info tho..
Cheers
R
Sat Mar 07, 2015 12:06 am
Look at the examples in the wiki entry I linked. "Remove buff by name" is there.
Sat Mar 07, 2015 2:59 pm
Senior Project Member
OK, I feel like a dork now. I went to the link before, but I completely missed that.
Thanks for pointing it out. That works like a charm for my character..
But I can't seem to get it to do the same for the PetInfoWindow.
Any suggestions?
Thanks again..
R
Sat Mar 07, 2015 4:10 pm
Try PetBuff instead of Buff.

Aside:
Windows and components are controlled by the UI and the UI is controlled by the xml files in the <EQ>/UIFiles/<name of UI> directory. Open EQUI_BuffWindow.xml and scroll to the bottom and you'll find:
Macro
More +
  <Screen item="BuffWindow">
    <Text>Effects</Text>
    <RelativePosition>false</RelativePosition>
    <Location>
                        <X>415</X>
                        <Y>0</Y>
    </Location>
    <Size>
                        <CX>104</CX>
                        <CY>395</CY>
    </Size>
    <Style_HScroll>false</Style_HScroll>
    <Style_Transparent>true</Style_Transparent>
    <DrawTemplate>WDT_Rounded</DrawTemplate>
    <Style_Titlebar>true</Style_Titlebar>
    <Style_Closebox>true</Style_Closebox>
    <Style_Minimizebox>true</Style_Minimizebox>
    <Style_Border>true</Style_Border>
    <Style_Sizable>true</Style_Sizable>
    <Pieces>TileLayoutBox:BW_Buttons</Pieces>
  </Screen>


The <Pieces> part tells us that the BuffWindow has one child element: the tilelayoutbox named BW_Buttons. Let's see what that is... Next, look for TileLayoutBox:BW_Buttons in that same document. It happens to be just above:

Macro
More +
  <TileLayoutBox item="BW_Buttons">
                <RelativePosition>true</RelativePosition>
                <AutoStretch>true</AutoStretch>
                <BottomAnchorToTop>false</BottomAnchorToTop>
                <RightAnchorToLeft>false</RightAnchorToLeft>
                <Style_Transparent>true</Style_Transparent>
                <Spacing>0</Spacing>
                <SecondarySpacing>0</SecondarySpacing>
                <HorizontalFirst>false</HorizontalFirst>
                <AnchorToTop>true</AnchorToTop>
                <AnchorToLeft>false</AnchorToLeft>
                <FirstPieceTemplate>true</FirstPieceTemplate>
                <Pieces>BW_Buff0_Button</Pieces>
                <Pieces>BW_Buff1_Button</Pieces>
                <Pieces>BW_Buff2_Button</Pieces>
                <Pieces>BW_Buff3_Button</Pieces>
                <Pieces>BW_Buff4_Button</Pieces>
                <Pieces>BW_Buff5_Button</Pieces>
                <Pieces>BW_Buff6_Button</Pieces>
                <Pieces>BW_Buff7_Button</Pieces>
                <Pieces>BW_Buff8_Button</Pieces>
                <Pieces>BW_Buff9_Button</Pieces>
                <Pieces>BW_Buff10_Button</Pieces>
                <Pieces>BW_Buff11_Button</Pieces>
                <Pieces>BW_Buff12_Button</Pieces>
                <Pieces>BW_Buff13_Button</Pieces>
                <Pieces>BW_Buff14_Button</Pieces>
                <Pieces>BW_Buff15_Button</Pieces>
                <Pieces>BW_Buff16_Button</Pieces>
                <Pieces>BW_Buff17_Button</Pieces>
                <Pieces>BW_Buff18_Button</Pieces>
                <Pieces>BW_Buff19_Button</Pieces>
                <Pieces>BW_Buff20_Button</Pieces>
                <Pieces>BW_Buff21_Button</Pieces>
                <Pieces>BW_Buff22_Button</Pieces>
                <Pieces>BW_Buff23_Button</Pieces>
                <Pieces>BW_Buff24_Button</Pieces>
                <Pieces>BW_Buff25_Button</Pieces>
                <Pieces>BW_Buff26_Button</Pieces>
                <Pieces>BW_Buff27_Button</Pieces>
                <Pieces>BW_Buff28_Button</Pieces>
                <Pieces>BW_Buff29_Button</Pieces>
        </TileLayoutBox>


The BW_Buttons tilelayoutbox has 30 similar pieces. Each looks to be a buff slot.

Macro
More +
        <Button item="BW_Buff29_Button">
                <ScreenID>Buff29</ScreenID>
                <RelativePosition>true</RelativePosition>
                <ButtonDrawTemplate>
                        <Normal>BlueIconBackground</Normal>
                        <NormalDecal>BuffIcons</NormalDecal>
                </ButtonDrawTemplate>
                <DecalOffset>
                        <X>2</X>
                        <Y>2</Y>
                </DecalOffset>
                <DecalSize>
                        <CX>30</CX>
                        <CY>30</CY>
                </DecalSize>
        </Button>


This button has no pieces. It's the end. The last child. A leaf at the end of a tree. The ScreenID says "Buff29". When you /notify BuffWindow Buff29 leftmouseup - that button is clicked.

The PetInfoWindow (and every other Window) works similarly.

Macro
More +
        <Screen item="PetInfoWindow">
                <RelativePosition>false</RelativePosition>
                <Location>
                        <X>50</X>
                        <Y>160</Y>
                </Location>
                <Size>
                        <CX>154</CX>
                        <CY>192</CY>
                </Size>
                <Style_VScroll>false</Style_VScroll>
                <Style_HScroll>false</Style_HScroll>
                <Style_Transparent>false</Style_Transparent>
                <Text>Pet Info</Text>
                <DrawTemplate>WDT_Rounded</DrawTemplate>
                <Style_Titlebar>true</Style_Titlebar>
                <Style_Closebox>true</Style_Closebox>
                <Style_Minimizebox>true</Style_Minimizebox>
                <Style_Border>true</Style_Border>
                <Style_Sizable>true</Style_Sizable>

                <Pieces>PIW_PetHPGauge</Pieces>
                <Pieces>PIW_PetTargetHPGauge</Pieces>
                <Pieces>PIW_Pet0_Button</Pieces>
            <Pieces>PIW_Pet1_Button</Pieces>
                <Pieces>PIW_Pet2_Button</Pieces>
                <Pieces>PIW_Pet3_Button</Pieces>
                <Pieces>PIW_Pet4_Button</Pieces>
                <Pieces>PIW_Pet5_Button</Pieces>
                <Pieces>PIW_Pet6_Button</Pieces>
                <Pieces>PIW_Pet7_Button</Pieces>
                <Pieces>PIW_Pet8_Button</Pieces>
                <Pieces>PIW_Pet9_Button</Pieces>
                <Pieces>PIW_Pet10_Button</Pieces>
                <Pieces>PIW_Pet11_Button</Pieces>
                <Pieces>PIW_Pet12_Button</Pieces>              
                <Pieces>PIW_Pet13_Button</Pieces>      
                <Pieces>PIW_BuffWindow</Pieces>

        </Screen>


Lots of Pet Buttons and one BuffWindow. Look in BuffWindow:

Macro
More +
        <Screen item="PIW_BuffWindow">
                <ScreenID>BuffWindow</ScreenID>
                <RelativePosition>true</RelativePosition>
                <AutoStretch>true</AutoStretch>
                <LeftAnchorOffset>112</LeftAnchorOffset>
                <TopAnchorOffset>4</TopAnchorOffset>
                <RightAnchorOffset>4</RightAnchorOffset>
                <BottomAnchorOffset>4</BottomAnchorOffset>
                <TopAnchorToTop>true</TopAnchorToTop>
                <BottomAnchorToTop>false</BottomAnchorToTop>
                <RightAnchorToLeft>false</RightAnchorToLeft>
                <LeftAnchorToLeft>true</LeftAnchorToLeft>
                <Style_VScroll>false</Style_VScroll>
                <Style_HScroll>false</Style_HScroll>
                <Style_Transparent>false</Style_Transparent>
                <TooltipReference>Buffs on your pet will show here</TooltipReference>
                <DrawTemplate>WDT_Inner</DrawTemplate>
                <Style_Titlebar>false</Style_Titlebar>
                <Style_Closebox>false</Style_Closebox>
                <Style_Minimizebox>false</Style_Minimizebox>
                <Style_Border>true</Style_Border>
                <Style_Sizable>false</Style_Sizable>
                <Pieces>TileLayoutBox:PIW_Buttons</Pieces>
        </Screen>


Another tilelayoutbox:

Macro
More +
        <TileLayoutBox item="PIW_Buttons">
                <RelativePosition>true</RelativePosition>
                <AutoStretch>true</AutoStretch>
                <BottomAnchorToTop>false</BottomAnchorToTop>
                <RightAnchorToLeft>false</RightAnchorToLeft>
                <Style_Transparent>true</Style_Transparent>
                <Spacing>0</Spacing>
                <SecondarySpacing>0</SecondarySpacing>
                <HorizontalFirst>false</HorizontalFirst>
                <AnchorToTop>true</AnchorToTop>
                <AnchorToLeft>true</AnchorToLeft>
                <FirstPieceTemplate>true</FirstPieceTemplate>
                <Pieces>PIW_PetBuff0_Button</Pieces>
                <Pieces>PIW_PetBuff1_Button</Pieces>
                <Pieces>PIW_PetBuff2_Button</Pieces>
                <Pieces>PIW_PetBuff3_Button</Pieces>
                <Pieces>PIW_PetBuff4_Button</Pieces>
                <Pieces>PIW_PetBuff5_Button</Pieces>
                <Pieces>PIW_PetBuff6_Button</Pieces>
                <Pieces>PIW_PetBuff7_Button</Pieces>
                <Pieces>PIW_PetBuff8_Button</Pieces>
                <Pieces>PIW_PetBuff9_Button</Pieces>
                <Pieces>PIW_PetBuff10_Button</Pieces>
                <Pieces>PIW_PetBuff11_Button</Pieces>
                <Pieces>PIW_PetBuff12_Button</Pieces>
                <Pieces>PIW_PetBuff13_Button</Pieces>
                <Pieces>PIW_PetBuff14_Button</Pieces>
                <Pieces>PIW_PetBuff15_Button</Pieces>
                <Pieces>PIW_PetBuff16_Button</Pieces>
                <Pieces>PIW_PetBuff17_Button</Pieces>
                <Pieces>PIW_PetBuff18_Button</Pieces>
                <Pieces>PIW_PetBuff19_Button</Pieces>
                <Pieces>PIW_PetBuff20_Button</Pieces>
                <Pieces>PIW_PetBuff21_Button</Pieces>
                <Pieces>PIW_PetBuff22_Button</Pieces>
                <Pieces>PIW_PetBuff23_Button</Pieces>
                <Pieces>PIW_PetBuff24_Button</Pieces>
                <Pieces>PIW_PetBuff25_Button</Pieces>
                <Pieces>PIW_PetBuff26_Button</Pieces>
                <Pieces>PIW_PetBuff27_Button</Pieces>
                <Pieces>PIW_PetBuff28_Button</Pieces>
                <Pieces>PIW_PetBuff29_Button</Pieces>
                <Pieces>PIW_PetBuff30_Button</Pieces>
                <Pieces>PIW_PetBuff31_Button</Pieces>
                <Pieces>PIW_PetBuff32_Button</Pieces>
                <Pieces>PIW_PetBuff33_Button</Pieces>
                <Pieces>PIW_PetBuff34_Button</Pieces>
                <Pieces>PIW_PetBuff35_Button</Pieces>
                <Pieces>PIW_PetBuff36_Button</Pieces>
                <Pieces>PIW_PetBuff37_Button</Pieces>
                <Pieces>PIW_PetBuff38_Button</Pieces>
                <Pieces>PIW_PetBuff39_Button</Pieces>
                <Pieces>PIW_PetBuff40_Button</Pieces>
                <Pieces>PIW_PetBuff41_Button</Pieces>
                <Pieces>PIW_PetBuff42_Button</Pieces>
                <Pieces>PIW_PetBuff43_Button</Pieces>
                <Pieces>PIW_PetBuff44_Button</Pieces>
                <Pieces>PIW_PetBuff45_Button</Pieces>
                <Pieces>PIW_PetBuff46_Button</Pieces>
                <Pieces>PIW_PetBuff47_Button</Pieces>
                <Pieces>PIW_PetBuff48_Button</Pieces>
                <Pieces>PIW_PetBuff49_Button</Pieces>
                <Pieces>PIW_PetBuff50_Button</Pieces>
                <Pieces>PIW_PetBuff51_Button</Pieces>
                <Pieces>PIW_PetBuff52_Button</Pieces>
                <Pieces>PIW_PetBuff53_Button</Pieces>
                <Pieces>PIW_PetBuff54_Button</Pieces>
                <Pieces>PIW_PetBuff55_Button</Pieces>
                <Pieces>PIW_PetBuff56_Button</Pieces>
                <Pieces>PIW_PetBuff57_Button</Pieces>
                <Pieces>PIW_PetBuff58_Button</Pieces>
                <Pieces>PIW_PetBuff59_Button</Pieces>
                <Pieces>PIW_PetBuff60_Button</Pieces>
                <Pieces>PIW_PetBuff61_Button</Pieces>
                <Pieces>PIW_PetBuff62_Button</Pieces>
                <Pieces>PIW_PetBuff63_Button</Pieces>
                <Pieces>PIW_PetBuff64_Button</Pieces>
                <Pieces>PIW_PetBuff65_Button</Pieces>
                <Pieces>PIW_PetBuff66_Button</Pieces>
                <Pieces>PIW_PetBuff67_Button</Pieces>
                <Pieces>PIW_PetBuff68_Button</Pieces>
                <Pieces>PIW_PetBuff69_Button</Pieces>
                <Pieces>PIW_PetBuff70_Button</Pieces>
                <Pieces>PIW_PetBuff71_Button</Pieces>
                <Pieces>PIW_PetBuff72_Button</Pieces>
                <Pieces>PIW_PetBuff73_Button</Pieces>
                <Pieces>PIW_PetBuff74_Button</Pieces>
                <Pieces>PIW_PetBuff75_Button</Pieces>
                <Pieces>PIW_PetBuff76_Button</Pieces>
                <Pieces>PIW_PetBuff77_Button</Pieces>
                <Pieces>PIW_PetBuff78_Button</Pieces>
                <Pieces>PIW_PetBuff79_Button</Pieces>
                <Pieces>PIW_PetBuff80_Button</Pieces>
                <Pieces>PIW_PetBuff81_Button</Pieces>
                <Pieces>PIW_PetBuff82_Button</Pieces>
                <Pieces>PIW_PetBuff83_Button</Pieces>
                <Pieces>PIW_PetBuff84_Button</Pieces>
        </TileLayoutBox>


Some (a lot!) PetBuff buttons:

Macro
More +
        <Button item="PIW_PetBuff84_Button">
                <ScreenID>PetBuff84</ScreenID>
                <RelativePosition>true</RelativePosition>
                <Size>
                        <CX>24</CX>
                        <CY>24</CY>
                </Size>
                <Style_VScroll>false</Style_VScroll>
                <Style_HScroll>false</Style_HScroll>
                <Style_Transparent>false</Style_Transparent>
                <Style_Checkbox>false</Style_Checkbox>
                <ButtonDrawTemplate>
                        <Normal>PetRedIconBackground</Normal>
                        <NormalDecal>BuffIcons</NormalDecal>
                </ButtonDrawTemplate>
                <DecalOffset>
                        <X>2</X>
                        <Y>2</Y>
                </DecalOffset>
                <DecalSize>
                        <CX>20</CX>
                        <CY>20</CY>
                </DecalSize>
        </Button>


Another child/leaf node. No more pieces. The end. The ScreenID says PetBuff84. That should be the "controlname" to use /notify nomenclature.
Sat Mar 07, 2015 5:09 pm
Senior Project Member
Wow!!
That was absolutely awesome! Thank you!
OK, enough with the exclamation points, lol...

Really tho..
I was looking through all the documentation trying to find this info. I had already arrived at the PIW_BuffWindow and using PetBuff and was trying to use other mq2 commands to determine what children where available, etc, and was really getting frustrated. I came back to the forum to ask if you could point me to a resource that would show the info I was looking for and viola!
Above and beyond, grumble!
When I began this little exercise, I had no idea I was going to be getting into something completely new and exciting. This aspect of mq2 has had me confused for a while now. Always fun to learn something new.
It'll be ironic if they fix this buff issue tomorrow, but I really learned something worthwhile because of it.
Thanks again..
R
Sat Mar 07, 2015 5:45 pm
General How does one remove a buff from a character or pet?
Reply