EQ2Interface

EQ2Interface (https://www.eq2interface.com/forums/index.php)
-   ProfitUI (https://www.eq2interface.com/forums/forumdisplay.php?f=41)
-   -   Editing Quick Raid Buttons (https://www.eq2interface.com/forums/showthread.php?t=14087)

AndiNeedham 04-13-2010 05:51 AM

Editing Quick Raid Buttons
 
I've been trying to add a gsay, raidsay and, tell component to my quick raid button for jesters cap and for some reason when i change the file my ui seems to reset itself to the original eq2 one.

As far as i can tell i've edited the info correctly according to the faq that was posted and wonderd if anyone could point out what mistake i've made

<Page Name="Troubador">
<Data Name="Button1" Macro="SpellForMyLevel=&quot;Jester&apos;s Cap&quot;
useabilityonplayer Parent.Target SpellForMyLevel
tell Parent.Target You have Jesters Cap
gsay Jesters Cap to Parent.Target
raidsay Jesters Cap to Parent.Target" Tooltip="(65) Jester&apos;s Cap"/>
<Data Name="Button2" Macro="assist Parent.Target" Tooltip="Assist target"/>
<Data Name="Button3" Macro="tell Parent.Target Heart&apos;/&apos;Shard please" Tooltip="Heart/Shard request"/>
<Data Name="Button4" Macro="NONE" Tooltip="NO MACRO CONFIGURED"/>
<Data Name="Button5" Macro="NONE" Tooltip="NO MACRO CONFIGURED"/>
</Page>

Lanceh 04-13-2010 09:37 AM

Funny, I was just trying to do this myself yesterday with my templar and ran into the same problem. After an hour of changing code, I finally got it to work correctly.

First, let me say I and a beginner myself when it comes to this, so don't take my advise until someone with more experience confirms what i'm saying is correct.


Quote:

<Data Name="Button1" Macro="SpellForMyLevel=&quot;Jester&apos;s Cap&quot;
useabilityonplayer Parent.Target SpellForMyLevel
tell Parent.Target You have Jesters Cap
gsay Jesters Cap to Parent.Target
raidsay Jesters Cap to Parent.Target" Tooltip="(65) Jester&apos;s Cap"/>
The problem I found is, if you start the new command lines (tell, gsay, raidsay, etc.) directly under "<Data Name" part, this will break the entire code and eq2 will default back to the original ui. Try putting your additional macro commands starting directly under the word "Macro".


Secondly, I don't know if this is a problem also, but I also used the actual spell number instead of the spell name. I think Jester's Cap is 2991120526.
I'm not shure if this works, but I would think the code would look like..

Code:

<Data Name="Button1" Macro="useabilityonplayer Parent.Target 2991120526
                    tell Parent.Target You have Jesters Cap
                    gsay Jesters Cap to Parent.Target
                    raidsay Jesters Cap to Parent.Target" Tooltip="(65) Jester&apos;s Cap"/>


gm9 04-13-2010 09:47 AM

How about the first paragraph of the relevant FAQ entry? :p

AndiNeedham 04-13-2010 10:25 AM

Quote:

Originally Posted by Lanceh (Post 89829)
Funny, I was just trying to do this myself yesterday with my templar and ran into the same problem. After an hour of changing code, I finally got it to work correctly.

Thanks will deffinatly try this when i got home :)

Quote:

Originally Posted by gm9 (Post 89830)
How about the first paragraph of the relevant FAQ entry? :p

I am using Notepad++ if thats the part your refering to as i said i did read the faq, i guess i just not that good at understanding it all especially as the the code examples don't marry up with the way they are entered into the file.

Soothing 04-13-2010 11:10 AM

Quote:

Originally Posted by AndiNeedham (Post 89828)
I've been trying to add a gsay, raidsay and, tell component to my quick raid button for jesters cap and for some reason when i change the file my ui seems to reset itself to the original eq2 one.

As far as i can tell i've edited the info correctly according to the faq that was posted and wonderd if anyone could point out what mistake i've made

<Page Name="Troubador">
<Data Name="Button1" Macro="SpellForMyLevel=&quot;Jester&apos;s Cap&quot;
useabilityonplayer Parent.Target SpellForMyLevel
tell Parent.Target You have Jesters Cap
gsay Jesters Cap to Parent.Target
raidsay Jesters Cap to Parent.Target" Tooltip="(65) Jester&apos;s Cap"/>
<Data Name="Button2" Macro="assist Parent.Target" Tooltip="Assist target"/>
<Data Name="Button3" Macro="tell Parent.Target Heart&apos;/&apos;Shard please" Tooltip="Heart/Shard request"/>
<Data Name="Button4" Macro="NONE" Tooltip="NO MACRO CONFIGURED"/>
<Data Name="Button5" Macro="NONE" Tooltip="NO MACRO CONFIGURED"/>
</Page>

I am not sure but isn't gsay supposed to be groupsay kind of like raidsay. I am pretty novice myself but, that looks like it could be a bad line in the code which could break it I think.

gm9 04-13-2010 02:31 PM

Quote:

Originally Posted by AndiNeedham (Post 89832)
I am using Notepad++ if thats the part your refering to as i said i did read the faq, i guess i just not that good at understanding it all especially as the the code examples don't marry up with the way they are entered into the file.

Yes, that's what I meant (make sure it's saving as UTF-8 but it should do so automatically). I do not see anything wrong with the code sample you posted.


All times are GMT -5. The time now is 12:38 AM.

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