|
10-30-2007, 08:30 PM
|
A Young Mystail Rat
|
|
Join Date: Oct 2006
Server: Vox
Posts: 6
|
|
the
Code:
<Data Name="Button2" Macro="useabilityonplayer Parent.Target "Elegy of Awakening"
raidsay "Group Rezzing Parent.target's group!"" Tooltip="Group"/>
Litterally pastes Parten.target's
also tried
Code:
<Data Name="Button2" Macro="useabilityonplayer Parent.Target "Elegy of Awakening"
raidsay "Group Rezzing Parent.target 's group!"" Tooltip="Group"/>
and it litterally pasted Parent.target 's
any ideas?
Last edited by ShadoFox : 10-30-2007 at 10:58 PM.
|
11-04-2007, 08:45 AM
|
|
Premium Member
|
|
Join Date: May 2005
Server: Antonia Bayle
Posts: 12
|
|
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 "Elegy at Death's Door"" Tooltip="Single Rez"/>
raidsay "Rezzing Parent.target!"" Tooltip="Single Rez"/>
tell Parent.target "INC REZ!"" Tooltip="Single Rez"/>
<Data Name="Button2" Macro="useabilityonplayer Parent.Target Elegy of Awakening" Tooltip="Group Rez"/>
raidsay "Rezzing Parent.target's group!"" Tooltip="Group Rez"/>
say "Rezzing Parent.Target's!"" Tooltip="Group Rez"/>
<Data Name="Button3" Macro="useabilityonplayer Parent.Target Oration of Sacrifice" Tooltip="Heal"/>
tell Parent.target "Have a Heal!"" Tooltip="Heal"/>
<Data Name="Button4" Macro=" " Tooltip="NO MACRO CONFIGURED"/>
<Data Name="Button5" Macro=" " Tooltip="NO MACRO CONFIGURED"/>
Fixed spelling
Last edited by ravnn : 11-04-2007 at 03:10 PM.
|
11-04-2007, 01:27 PM
|
|
A Griffon
|
|
Join Date: Mar 2005
Server: Lucan DLere
Posts: 847
|
|
This won't fix your ' problems but " is written " not &qout; in XML.
The next update may give us a better way to encode some of those characters.
|
11-04-2007, 03:07 PM
|
|
Premium Member
|
|
Join Date: May 2005
Server: Antonia Bayle
Posts: 12
|
|
Ok so I went back and correct all my spelling mistakes...any other clues as to why the chat text isn't coming through?
|
11-04-2007, 03:46 PM
|
gm10-1
|
|
Join Date: Feb 2006
Posts: 6,479
|
|
Yes, you must not enclose the Parent.Target into the " 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 "'s" group" Tooltip="Group"/>
Last edited by gm9 : 11-07-2007 at 03:04 AM.
Reason: fixed missing space
|
11-04-2007, 04:09 PM
|
|
Premium Member
|
|
Join Date: May 2005
Server: Antonia Bayle
Posts: 12
|
|
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"'"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 "Elegy at Death's Door"" Tooltip="Single Rez"/>
raidsay Rezzing Parent.target! " Tooltip="Single Rez"/>
tell Parent.target "INC REZ!"" Tooltip="Single Rez"/>
<Data Name="Button2" Macro="useabilityonplayer Parent.Target Elegy of Awakening" Tooltip="Group Rez"/>
raidsay Rezzing Parent.target"'"s " Tooltip="Group Rez"/>
say Rezzing Parent.target"'"s Group!" Tooltip="Group Rez"/>
<Data Name="Button3" Macro="useabilityonplayer Parent.Target Oration of Sacrifice" Tooltip="Heal"/>
tell Parent.target "Have a Heal!"" Tooltip="Heal"/>
Edited to reflect changes.
Last edited by ravnn : 11-04-2007 at 04:54 PM.
|
11-04-2007, 04:18 PM
|
gm10-1
|
|
Join Date: Feb 2006
Posts: 6,479
|
|
No, it will come out fine, that's why I said it's SOE's strange way of doing it. The outer " serves as an indicator not to parse the ' within as code, but rather as text. You could also theoretically not encode the ' but I prefer to do it.
Another strange things is that if you put the " directly after the ' then the game will add a space after the ' during runtime, which is why I put the " only after the 's. Not saying it makes any sense, just coping with how it works here.
Last edited by gm9 : 11-05-2007 at 11:44 AM.
Reason: was unclear
|
11-04-2007, 10:41 PM
|
|
Premium Member
|
|
Join Date: May 2005
Server: Antonia Bayle
Posts: 12
|
|
Ok tried the quick buttons listed above on tonights raid, the buttons themselves work. But i still can't get the text to work.
|
11-05-2007, 03:12 AM
|
gm10-1
|
|
Join Date: Feb 2006
Posts: 6,479
|
|
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).
|
11-06-2007, 06:48 PM
|
A Young Mystail Rat
|
|
Join Date: Oct 2006
Server: Vox
Posts: 6
|
|
<Data Name="Button2" Macro="useabilityonplayer Parent.Target Elegy of Awakening
raidsay Group Rezzing Parent.Target"'s" group" Tooltip="Group"/>
Didn't work HOWEVER
<Data Name="Button2" Macro="useabilityonplayer Parent.Target Elegy of Awakening
raidsay Group Rezzing Parent.Target "'s" group" Tooltip="Group"/>
Did
Thanks for all the help
|
11-07-2007, 03:05 AM
|
gm10-1
|
|
Join Date: Feb 2006
Posts: 6,479
|
|
Ah hmm, where have I lost that space - thanks!
|
11-07-2007, 03:50 PM
|
A Young Mystail Rat
|
|
Join Date: Jun 2007
Server: Antonia Bayle
Posts: 3
|
|
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
|
11-07-2007, 05:21 PM
|
gm10-1
|
|
Join Date: Feb 2006
Posts: 6,479
|
|
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.
- 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.
- 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.
|
11-07-2007, 05:29 PM
|
A Young Mystail Rat
|
|
Join Date: Jun 2007
Server: Antonia Bayle
Posts: 3
|
|
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
|
11-08-2007, 04:36 PM
|
A Young Mystail Rat
|
|
Join Date: Jun 2007
Server: Antonia Bayle
Posts: 3
|
|
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
|
11-08-2007, 04:59 PM
|
gm10-1
|
|
Join Date: Feb 2006
Posts: 6,479
|
|
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.
|
12-01-2007, 06:56 PM
|
|
Premium Member
|
|
Join Date: May 2005
Server: Antonia Bayle
Posts: 12
|
|
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 "Gravitas"
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 "Elegy at Death's Door"
tell Parent.Target "Inc Rez "" 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 "'s" group" Tooltip="Group"/>
say Group Rezzing Parent.Target "'s" group" Tooltip="Group"/>
<Data Name="Button4" Macro="useabilityonplayer Parent.Target Speech of Sacrifice" Tooltip="Heal"/>
|
|
12-02-2007, 12:26 PM
|
A Young Mystail Rat
|
|
Join Date: May 2005
Server: Antonia Bayle
Posts: 6
|
|
Quote:
<Data Name="Button1" Macro="useabilityonplayer Parent.Target "Gravitas"
tell Parent.Target You now have Improved Healing
raidsay Improved Healing for Parent.Target" Tooltip="Gravitas"/>
<Data Name="Button2" Macro="useabilityonplayer Parent.Target "Elegy at Death's Door"
tell Parent.Target "Inc Rez "
raidsay Rezzing Parent.Target" Tooltip="Single Rez"/>
<Data Name="Button3" Macro="useabilityonplayer Parent.Target Elegy of Awakening
raidsay Group Rezzing Parent.Target "'s" group
say Group Rezzing Parent.Target "'s" group" Tooltip="Group"/>
<Data Name="Button4" Macro="useabilityonplayer Parent.Target Speech of Sacrifice" Tooltip="Heal"/>
Reply With Quote
|
Try this
|
12-02-2007, 05:08 PM
|
A Young Mystail Rat
|
|
Join Date: May 2005
Server: Antonia Bayle
Posts: 6
|
|
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.
|
12-03-2007, 11:29 AM
|
gm10-1
|
|
Join Date: Feb 2006
Posts: 6,479
|
|
Quote:
Originally Posted by Burek
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.
|
12-03-2007, 11:57 AM
|
|
Premium Member
|
|
Join Date: May 2005
Server: Antonia Bayle
Posts: 12
|
|
That fixed mine.
Thanks
|
12-05-2007, 07:30 PM
|
A Young Mystail Rat
|
|
Join Date: Oct 2006
Server: Vox
Posts: 6
|
|
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 "Elegy at Death's Door"
raidsay Single Target Rezzing Parent.Target!" Tooltip="Single" />
<Data Name="Button2" Macro="useabilityonplayer Parent.Target Elegy of Awakening
raidsay Group Rezzing Parent.Target "'s" group!" Tooltip="Group"/>
<Data Name="Button3" Macro="useabilityonplayer Parent.Target "Oration of Sacrifice"" 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 < 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
I also tried < but that did nothing
Still new to Xml -.-
Thanks
Last edited by ShadoFox : 12-05-2007 at 08:00 PM.
Reason: Spelling error :/
|
12-06-2007, 03:57 AM
|
gm10-1
|
|
Join Date: Feb 2006
Posts: 6,479
|
|
You must enclose it in '
|
12-06-2007, 07:27 AM
|
A Young Mystail Rat
|
|
Join Date: Oct 2006
Server: Vox
Posts: 6
|
|
Lol that's so nuts because in the line of code above is ' is surrounded by " O.o I'll give it a try.
|
12-14-2007, 12:44 PM
|
A Young Mystail Rat
|
|
Join Date: Oct 2006
Server: Vox
Posts: 6
|
|
Thanks man worked great
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 03:52 PM.
|
|