EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > Featured Projects > ProfitUI

Reply
Thread Tools Search this Thread Display Modes
  #1  
Unread 04-05-2010, 03:18 PM
Soothing Soothing is offline
A Brown Bear
 
Join Date: Mar 2010
Server: Unkown
Posts: 10
Default Quick Raid Button Issue

So I went on a journey to modify my quick raid buttons to suit my needs as the default illusionist buttons did not. I got Mana Flow and Time Warp working ok however buttons 3 - 5 don't work. This is the code I have in there maybe someone can identify what I did wrong and show me a solution to fix this problem.

</Page>
<Page Name="Illusionist">
<Data Name="Button1" Macro="useabilityonplayer Parent.Target 1945409072" Tooltip="(AA) Mana Flow"/>
<Data Name="Button2" Macro="SpellForMyLevel=&quot;Time Warp&quot;
useabilityonplayer Parent.Target SpellForMyLevel
tell Parent.Target you have been sent into a time warp" Tooltip="(AA) Time Warp"/>
<Data Name="Button3" Macro="SpellForMyLevel=&quot;Synergism V&quot; useabilityonplayer Parent.Target SpellForMyLevel" Tooltip="(85) Synergism"/>
<Data Name="Button4" Macro="SpellForMyLevel=&quot;Prismatic Chaos VI&quot; useabilityonplayer Parent.Target SpellForMyLevel" Tooltip="(90) Prismatic Chaos"/>
<Data Name="Button5" Macro="SpellForMyLevel=&quot;Spellshield&quot; useabilityonplayer Parent.Target SpellForMyLevel" Tooltip="Spellshield"/>
</Page>

Thank you in advance
__________________
Reply With Quote
  #2  
Unread 04-05-2010, 03:25 PM
Papabard's Avatar
Papabard Papabard is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Mar 2007
Server: Unrest
Posts: 647
Default

it could be that you are missing the conditions see the below code. For the 1st two there isn't really a condition to check because there is no other levels to be checked against.
<Page Name="Illusionist">
<Data Name="Button1" Macro="useabilityonplayer Parent.Target Mana Flow
tell Parent.Target Mana Flow on You
gsay Incoming Manaflow on Parent.Target" Tooltip="(AA) Mana Flow"/>
<Data Name="Button2" Macro="SpellForMyLevel='Synergism IV'
COND=(Parent.Parent.Parent.Parent.Custom.ProfitUI_QuickRaidButtons.ActualLevel.T ext < 75)
SpellForMyLevel=COND ? 'Synergism III' : SpellForMyLevel
COND=(Parent.Parent.Parent.Parent.Custom.ProfitUI_QuickRaidButtons.ActualLevel.T ext < 63)
SpellForMyLevel=COND ? 'Synergism II' : SpellForMyLevel
COND=(Parent.Parent.Parent.Parent.Custom.ProfitUI_QuickRaidButtons.ActualLevel.T ext < 49)
SpellForMyLevel=COND ? 'Synergism' : SpellForMyLevel
useabilityonplayer Parent.Target SpellForMyLevel
tell Parent.Target '>>> Incoming Tandem <<< Now burn them up'" Tooltip="(35) Synergism
(49) Synergism II
(63) Synergism III
(75) Synergism IV"/>
<Data Name="Button3" Macro="useabilityonplayer Parent.Target Illusory Arm
tell Parent.Target IA On you" Tooltip="(AA) Illusory Arm"/>
<Data Name="Button4" Macro="useabilityonplayer Parent.Target Time Compression
tell Parent.Target Time Compression on you" Tooltip="Time Compression"/>
<Data Name="Button5" Macro="tell Parent.Target Heart&apos;/&apos;Shard please" Tooltip="Heart/Shard request"/>
</Page>
Reply With Quote
  #3  
Unread 04-05-2010, 03:49 PM
Landiin Landiin is offline
Slayer of clock cycles
This person is a EQ2Map developer.
Featured
 
Join Date: Nov 2004
Server: Oasis
Posts: 3,464
Default

The reason why buttons 3-5 don't work is because EQ2 executes scripts top to bottom right to left. Buttons 3-5 are all one lines so it trying to do useabilityonplayer before you are setting the spellformylevel variable. Add CR like in buttons 1 and 2, then I bet your journey will come to an end! ;p

Quote:
Originally Posted by Soothing View Post
So I went on a journey to modify my quick raid buttons to suit my needs as the default illusionist buttons did not. I got Mana Flow and Time Warp working ok however buttons 3 - 5 don't work. This is the code I have in there maybe someone can identify what I did wrong and show me a solution to fix this problem.

</Page>
<Page Name="Illusionist">
<Data Name="Button1" Macro="useabilityonplayer Parent.Target 1945409072" Tooltip="(AA) Mana Flow"/>
<Data Name="Button2" Macro="SpellForMyLevel=&quot;Time Warp&quot;
useabilityonplayer Parent.Target SpellForMyLevel
tell Parent.Target you have been sent into a time warp" Tooltip="(AA) Time Warp"/>
<Data Name="Button3" Macro="SpellForMyLevel=&quot;Synergism V&quot; useabilityonplayer Parent.Target SpellForMyLevel" Tooltip="(85) Synergism"/>
<Data Name="Button4" Macro="SpellForMyLevel=&quot;Prismatic Chaos VI&quot; useabilityonplayer Parent.Target SpellForMyLevel" Tooltip="(90) Prismatic Chaos"/>
<Data Name="Button5" Macro="SpellForMyLevel=&quot;Spellshield&quot; useabilityonplayer Parent.Target SpellForMyLevel" Tooltip="Spellshield"/>
</Page>

Thank you in advance
__________________
Landiin's EQ2MAP Updater Discussion Download

Last edited by Landiin : 04-05-2010 at 03:52 PM.
Reply With Quote
  #4  
Unread 04-06-2010, 11:53 AM
Soothing Soothing is offline
A Brown Bear
 
Join Date: Mar 2010
Server: Unkown
Posts: 10
Default

Tyvm the fix worked and I know how my stuff setup the way I want.
__________________
Reply With Quote
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 10:34 AM.


Our Network
EQInterface | EQ2Interface | WoWInterface | LoTROInterface | ESOUI | MMOUI