EQ2Interface

EQ2Interface (https://www.eq2interface.com/forums/index.php)
-   ProfitUI (https://www.eq2interface.com/forums/forumdisplay.php?f=41)
-   -   Quick Raid Button, How should I set up the macro? (https://www.eq2interface.com/forums/showthread.php?t=8864)

ShadoFox 10-30-2007 08:30 PM

the

Code:

<Data Name="Button2" Macro="useabilityonplayer Parent.Target &quot;Elegy of Awakening&quot;
raidsay &quot;Group Rezzing Parent.target&apos;s group!&quot;" Tooltip="Group"/>

Litterally pastes Parten.target's

also tried

Code:

<Data Name="Button2" Macro="useabilityonplayer Parent.Target &quot;Elegy of Awakening&quot;
raidsay &quot;Group Rezzing Parent.target &apos;s group!&quot;" Tooltip="Group"/>

and it litterally pasted Parent.target 's

any ideas?

ravnn 11-04-2007 08:45 AM

I currently don't use the quickraid buttons but would like to start to clear up some hotbar space. All of the buttons work but I can't get the text to show for /raid, /say or /tell.

Code:

<Page Name="Dirge">
                <Data Name="Button1" Macro="useabilityonplayer Parent.Target &quot;Elegy at Death&apos;s Door&quot;" Tooltip="Single Rez"/>
                raidsay &quot;Rezzing Parent.target!&quot;" Tooltip="Single Rez"/>
                tell Parent.target &quot;INC REZ!&quot;" Tooltip="Single Rez"/>
                <Data Name="Button2" Macro="useabilityonplayer Parent.Target Elegy of Awakening" Tooltip="Group Rez"/>
                raidsay &quot;Rezzing Parent.target&apos;s group!&quot;" Tooltip="Group Rez"/>
                say &quot;Rezzing Parent.Target&apos;s!&quot;" Tooltip="Group Rez"/>
                <Data Name="Button3" Macro="useabilityonplayer Parent.Target Oration of Sacrifice" Tooltip="Heal"/>
                tell Parent.target &quot;Have a Heal!&quot;" Tooltip="Heal"/>
                <Data Name="Button4" Macro=" " Tooltip="NO MACRO CONFIGURED"/>
                <Data Name="Button5" Macro=" " Tooltip="NO MACRO CONFIGURED"/>

Fixed spelling

Othesus 11-04-2007 01:27 PM

This won't fix your &apos; problems but " is written &quot; not &qout; in XML.

The next update may give us a better way to encode some of those characters.

ravnn 11-04-2007 03:07 PM

Ok so I went back and correct all my spelling mistakes...any other clues as to why the chat text isn't coming through?

gm9 11-04-2007 03:46 PM

Yes, you must not enclose the Parent.Target into the &quot; as well. The correct code would be like this (this is SOE's strange notion of correct XML encoding... let's hope they really fix it due to recent discussions):

<Data Name="Button5" Macro="useabilityonplayer Parent.Target Elegy of Awakening
raidsay Group Rezzing Parent.Target &quot;&apos;s&quot; group" Tooltip="Group"/>

ravnn 11-04-2007 04:09 PM

Thanks I will give that a try. Also i don't know a thing about XML coding unless i copy and paste. but woudln't

say Group Rezzing Parent.Target&quot;&apos;&quot;s group" Tooltip="Group"/>


come out looking like Parent.target" 'S " group ?

So now it looks like this.
Code:

<Page Name="Dirge">
                <Data Name="Button1" Macro="useabilityonplayer Parent.Target &quot;Elegy at Death&apos;s Door&quot;" Tooltip="Single Rez"/>
                raidsay Rezzing Parent.target! " Tooltip="Single Rez"/>
                tell Parent.target &quot;INC REZ!&quot;" Tooltip="Single Rez"/>
                <Data Name="Button2" Macro="useabilityonplayer Parent.Target Elegy of Awakening" Tooltip="Group Rez"/>
                raidsay Rezzing Parent.target&quot;&apos;&quot;s " Tooltip="Group Rez"/>
                say Rezzing Parent.target&quot;&apos;&quot;s Group!" Tooltip="Group Rez"/>
                <Data Name="Button3" Macro="useabilityonplayer Parent.Target Oration of Sacrifice" Tooltip="Heal"/>
                tell Parent.target &quot;Have a Heal!&quot;" Tooltip="Heal"/>

Edited to reflect changes.

gm9 11-04-2007 04:18 PM

No, it will come out fine, that's why I said it's SOE's strange way of doing it. The outer &quot; serves as an indicator not to parse the &apos; within as code, but rather as text. You could also theoretically not encode the &apos; but I prefer to do it.
Another strange things is that if you put the &quot; directly after the ' then the game will add a space after the ' during runtime, which is why I put the &quot; only after the 's. Not saying it makes any sense, just coping with how it works here. :p

ravnn 11-04-2007 10:41 PM

Ok tried the quick buttons listed above on tonights raid, the buttons themselves work. But i still can't get the text to work.

gm9 11-05-2007 03:12 AM

It worked in my testing. Try to copy&paste exactly like above. I changed it back to raidsay what you originally wanted so you won't have to change anything (or keep the say for testing purposes).

ShadoFox 11-06-2007 06:48 PM

<Data Name="Button2" Macro="useabilityonplayer Parent.Target Elegy of Awakening
raidsay Group Rezzing Parent.Target&quot;&apos;s&quot; group" Tooltip="Group"/>

Didn't work HOWEVER

<Data Name="Button2" Macro="useabilityonplayer Parent.Target Elegy of Awakening
raidsay Group Rezzing Parent.Target &quot;&apos;s&quot; group" Tooltip="Group"/>

Did

Thanks for all the help

gm9 11-07-2007 03:05 AM

Ah hmm, where have I lost that space - thanks!

gh0stx 11-07-2007 03:50 PM

Level Specific skills
 
would it be possible to set these buttons up with if then variables lets say for a guardian it would be if player level = or < 70 cast interceed if player level = or < 60 cast such and such on the same button would make this a nice way of not having to do so much editing for alts :) any feed back would be appreciated

gm9 11-07-2007 05:21 PM

Yes it works
 
Good question. Was going to post this for RoK next week when everybody moves into T8 and gets shiny new spells, but I guess I can post it right now. This is also a FAQ entry, hence you get some nice coloring. :)
  1. Poor man's level detection
    The easy way of coding level dependant macro buttons is like this:

    useabilityonplayer Parent.Target SpellForLevel70
    useabilityonplayer Parent.Target SpellForLevel56
    useabilityonplayer Parent.Target SpellForLevel42
    useabilityonplayer Parent.Target SpellForLevel28
    useabilityonplayer Parent.Target SpellForLevel14
    clearallqueuedabilities
    The disadvantage is that you cannot queue those spells if you do it like that, but that's probably only a minor disadvantage.

    To edit this, you would replace the blue SpellForLevelXX with the name of the spell/ability in a line.

    Example:
    If in one line you only get spells at levels 25, 50, and 75, you would therefore have only three useabilityonplayer lines where you add the respective spellnames at the end. Always order your abilities from the highest level ability to the lowest, in this example 75, 50, 25.

  2. Exact Level Detection
    A bit harder to code would be an exact level based algorithm, but that is possible as well like this:
    SpellForMyLevel=SpellForLevel70
    COND=(Parent.Parent.Parent.GroupMembers.GroupMember0.MemberInfoPage.Level.Text < 70)
    SpellForMyLevel=COND ? SpellForLevel56 : SpellForMyLevel
    COND=(Parent.Parent.Parent.GroupMembers.GroupMember0.MemberInfoPage.Level.Text < 56)
    SpellForMyLevel=COND ? SpellForLevel42 : SpellForMyLevel
    COND=(Parent.Parent.Parent.GroupMembers.GroupMember0.MemberInfoPage.Level.Text < 42)
    SpellForMyLevel=COND ? SpellForLevel28 : SpellForMyLevel
    COND=(Parent.Parent.Parent.GroupMembers.GroupMember0.MemberInfoPage.Level.Text < 28)
    SpellForMyLevel=COND ? SpellForLevel14 : SpellForMyLevel
    useabilityonplayer Parent.Target SpellForMyLevel
    To edit this, you would again replace the blue SpellForLevelXX with the name of the spell/ability in a line. In addition, replace the red number with the exact levels the spells/abilities in that line get updated.

    Example:
    If in one spell line you get spells at levels 25, 50, and 75, you would put the lvl75 spellname in the first line, the lvl50 spellname in the third line and the lvl25 spellname in the fifth line.

    You would then change the number in the second line to 75 and the number in the fourth line to 50.

    In this example, you would remove all lines after the fifth line since the are not needed if you only get 3 versions of the spell in the entire line.

gh0stx 11-07-2007 05:29 PM

guess i should have dug a little deeper for the info thank ya for the quick response now time to incorporate it into the quick raid :)

gh0stx 11-08-2007 04:36 PM

okay a slight twist for ya got the level dependant spell to work fine, but seems a waste to have 5 hotbars on your own name you can't use, so is it possible to do dual cond macro's for the same button to lets say cond group0.member = parent.target then possibly setup self buffs on it using again level dependant codin lol extravagant i know but still something i'd like to try :)
thanks in advance

gm9 11-08-2007 04:59 PM

At the rate you are going I'll refer you to this thread. It explains all the operators.

To get your name you can refer to Parent.Parent.Parent.GroupMembers.GroupMember0.MemberInfoPage.Name.Text.

So you would add a line at the beginning

ITSME=(Parent.Parent.Parent.GroupMembers.GroupMember0.MemberInfoPage.Name.Text== Parent.Target)

and then add a line

SpellForMyLevel=ITSME ? BuffForLevel56 : SpellForMyLevel

for each level. :)

ravnn 12-01-2007 06:56 PM

I finally got my quick raid buttons to work except for one small problem ( and it's probably something i'm doing wrong). What i'm running into is my first chat text will work but my second does not. I thought it might be the sequence so I tried putting the /tell before /raidsay, now i get the tells to work but not the other.


Quote:

<Data Name="Button1" Macro="useabilityonplayer Parent.Target &quot;Gravitas&quot;
tell Parent.Target You now have Improved Healing" Tooltip="Gravitas"/>
raidsay Improved Healing for Parent.Target" Tooltip="Gravitas"/>
<Data Name="Button2" Macro="useabilityonplayer Parent.Target &quot;Elegy at Death&apos;s Door&quot;
tell Parent.Target &quot;Inc Rez &quot;" Tooltip="Single Rez"/>
raidsay Rezzing Parent.Target" Tooltip="Single Rez"/>
<Data Name="Button3" Macro="useabilityonplayer Parent.Target Elegy of Awakening
raidsay Group Rezzing Parent.Target &quot;&apos;s&quot; group" Tooltip="Group"/>
say Group Rezzing Parent.Target &quot;&apos;s&quot; group" Tooltip="Group"/>
<Data Name="Button4" Macro="useabilityonplayer Parent.Target Speech of Sacrifice" Tooltip="Heal"/>

Burek 12-02-2007 12:26 PM

Quote:

<Data Name="Button1" Macro="useabilityonplayer Parent.Target &quot;Gravitas&quot;
tell Parent.Target You now have Improved Healing
raidsay Improved Healing for Parent.Target" Tooltip="Gravitas"/>
<Data Name="Button2" Macro="useabilityonplayer Parent.Target &quot;Elegy at Death&apos;s Door&quot;
tell Parent.Target &quot;Inc Rez &quot;
raidsay Rezzing Parent.Target" Tooltip="Single Rez"/>
<Data Name="Button3" Macro="useabilityonplayer Parent.Target Elegy of Awakening
raidsay Group Rezzing Parent.Target &quot;&apos;s&quot; group
say Group Rezzing Parent.Target &quot;&apos;s&quot; group" Tooltip="Group"/>
<Data Name="Button4" Macro="useabilityonplayer Parent.Target Speech of Sacrifice" Tooltip="Heal"/>
Reply With Quote
Try this :)

Burek 12-02-2007 05:08 PM

I'm having a bit of a different problem. Mainly, I want to keep the 1st button from fading out and have tried to alter the code without success. Help appreciated.

gm9 12-03-2007 11:29 AM

Quote:

Originally Posted by Burek (Post 67352)
I'm having a bit of a different problem. Mainly, I want to keep the 1st button from fading out and have tried to alter the code without success. Help appreciated.

I don't think I understand what you are trying to do. :confused:

ravnn 12-03-2007 11:57 AM

That fixed mine.
Thanks

ShadoFox 12-05-2007 07:30 PM

I realize you probably have a new Quick Raid buttons file in the works but...

here is what I have..

Code:

<Page Name="Dirge">
                <Data Name="Button1" Macro="useabilityonplayer Parent.Target &quot;Elegy at Death&apos;s Door&quot; 
raidsay Single Target Rezzing Parent.Target!" Tooltip="Single" />
                <Data Name="Button2" Macro="useabilityonplayer Parent.Target Elegy of Awakening
raidsay Group Rezzing Parent.Target &quot;&apos;s&quot; group!" Tooltip="Group"/>
                <Data Name="Button3" Macro="useabilityonplayer Parent.Target &quot;Oration of Sacrifice&quot;" Tooltip="Oration"/>
                <Data Name="Button4" Macro="useabilityonplayer Parent.Target Gravitas
raidsay Gravitas on Parent.Target!
tell Parent.Target You have Gravitas! Enjoy! " Tooltip="Gravitas"/>
                <Data Name="Button5" Macro="NONE" Tooltip="NO MACRO CONFIGURED"/>
        </Page>

Now... for button 4, lets say for instance... I wanted to have it send "You have Gravitas! Enjoy <3" How would I get the "<" in there I tried using symbol code like &lt; but all it did was put a space or the word "true" in it's place and then the 3... I know, I'm picky but meh I tried various ways. I miss HTML where I litterally just typed something :D

I also tried < but that did nothing

Still new to Xml -.-

Thanks

gm9 12-06-2007 03:57 AM

You must enclose it in &apos;

ShadoFox 12-06-2007 07:27 AM

Lol that's so nuts because in the line of code above is &apos; is surrounded by &quot; O.o I'll give it a try.

ShadoFox 12-14-2007 12:44 PM

Thanks man worked great


All times are GMT -5. The time now is 01:57 AM.

vBulletin® - Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
© MMOUI