Item Search
     
BG-Wiki Search
Page 20 of 24 FirstFirst ... 10 18 19 20 21 22 ... LastLast
Results 381 to 400 of 473
  1. #381
    Puppetmaster
    Join Date
    Nov 2009
    Posts
    67
    BG Level
    2
    FFXI Server
    Alexander

    Quote Originally Posted by Silvenmyst View Post
    I know some people are still looking out for SP templates, mine are still posted on page 10 of this thread, I also have MNK and SAM up and running, though atm, SAM is focused on lvling the job, so the gear is meh. I will post those if requested. GL to everyone.
    Your templates have helped me a lot with just making things more efficient, so thanks to that!

    Mind posting your SAM template? Would help a lot in finally getting around to making my own SAM XML.

  2. #382
    D. Ring
    Join Date
    Feb 2007
    Posts
    4,736
    BG Level
    7
    FFXI Server
    Quetzalcoatl

    Spoiler: show
    <action type="command" when="resting">wait 17; sc set resting</action>
    <action type="equip" when="idle|aftercast" set="idle" />
    <if status="Engaged">
    <action type="equip" when="precast|midcast|aftercast">
    <main lock="t" />
    <sub lock="t" />
    </action>
    <action type="equip" when="aftercast" set="Engaged"/>
    <if MPPAftercastLT="50">
    <action type="equip" when="aftercast" set="Nobles"/>
    </if>
    <if spell="HexaStrike|Black Halo">
    <action type="Equip" when="precast|midcast" Set="Hexa"/>
    </if>
    </if>


    Trying to make melee additions to my whm (and rdm) spellcast since the templates wouldn't trigger melee sets for me for some reason.
    What do I do to fix the sets not swapping when I engage and presumably when I ws?

  3. #383
    Bagel
    Join Date
    Nov 2006
    Posts
    1,453
    BG Level
    6
    FFXIV Character
    Fallaci Isalie
    FFXIV Server
    Ultros
    FFXI Server
    Phoenix

    From personal experience, my melee rules for RDM only worked when I placed it at the very end, so consider moving them to bottom.

    Code:
    		<if status="engaged">
    			<action type="Disable" slot="main|sub|range"/>
    			<equip when="engaged|aftercast" set="Melee"/>
    			<if type="WeaponSkill">
    				<equip when="start" set="WS"/>
    			</if>	
    		</if>
    		<if status="idle">
    			<action type="enable" slot="main|sub|range"/>
    		</if>
    That is my current engaged rule. Now depending on how you have set up your gear sets and if you have any other "locked" equipment for certain spells, just putting a new "lock" on your weapon/sub may not be a viable way to make sure you don't lose TP.
    You are for sure missing equip when="engaged" part, as nothing in your current rule will actually equip anything the moment you go into that auto set. You have to preform an action for you to equip things.

  4. #384
    Hydra
    Join Date
    Jun 2007
    Posts
    113
    BG Level
    3

    I am just wondering since Aikar posts here if he has a new updated version of his Blm template. I tried using the xml converter on the spellcast site to update it from 2.22 to 2.30 but its giving alot of errors. Thanks.

  5. #385
    RIDE ARMOR
    Join Date
    Oct 2006
    Posts
    23
    BG Level
    1
    FFXI Server
    Leviathan

    Change AF2 pants rule to:

    Code:
    <if Advanced='(!((bool)strmatch("* x2","%Weather") AND "%WeatherElement" = "%SpellElement" AND "$%SpellElementObi" = "1") OR !("%WeatherElement" = "%spellElement")) AND ("%SpellElement" = "%DayElement" AND "$BLMAF2Pants" = "1") AND ("%skill"="ElementalMagic")'>

  6. #386
    D. Ring
    Join Date
    Feb 2007
    Posts
    4,736
    BG Level
    7
    FFXI Server
    Quetzalcoatl

    Spoiler: show

    <rules>
    <if spell="Teleport*|Warp*|Retrace">
    <action type="return" />
    </if>

    <action type="command" when="resting">wait 17; sc set resting</action>
    <action type="equip" when="idle|aftercast" set="idle" />

    <if spell="Cur*">
    <action type="equip" when="precast" set="Fast Cast" />
    <action type="equip" when="midcast" set="White Magic" />

    <if Advanced='("%SpellElement" = "%WeatherElement" OR "%SpellElement" = "%DayElement")'>
    <action type="equip" when="midcast"><waist lock="yes">Korin Obi</waist></action>
    </if>

    <if spell="cure V">
    <action type="equip" when="midcast" set="CureV" />
    </if>
    </if>

    <if spell="Silence">
    <action type="equip" when="precast" set="Fast Cast" />
    <action type="equip" when="midcast" set="Silence" />
    </if>

    <if spell="Paralyze*|Slow*">
    <action type="equip" when="precast" set="Fast Cast" />
    <action type="equip" when="midcast" set="MND Enfeebling" />
    </if>

    <if spell="*Raise|Blink|Regen*|Dia*|Aquaveil|*na">
    <action type="equip" when="precast" set="Fast Cast|Haste" />
    </if>

    <if spell="Haste">
    <action type="equip" when="precast" set="Fast Cast|Haste" />

    <if SpellTargetName="Khajit">
    <action type="command" when="aftercast">wait 150;input /echo [Khajit] Haste Wearing off soon</action>
    </if>
    </if>

    <if spell="Auspice">
    <action type="equip" when="precast" set="Fast Cast|Haste" />

    <if SpellTargetName="Khajit">
    <action type="command" when="aftercast">wait 150;input /echo [Khajit] Auspice Wearing off in 30s</action>
    </if>
    </if>

    <if spell="Blind|Poison*|Bind|Gravity|Dispel">
    <action type="equip" when="precast" set="Fast Cast" />
    <action type="equip" when="midcast" set="BLM Enfeebling" />
    </if>

    <if spell="Sleep*">
    <action type="equip" when="precast" set="Fast Cast" />
    <action type="equip" when="midcast" set="BLM Enfeebling" />

    <if Advanced='("%SpellElement" = "%WeatherElement" OR "%SpellElement" = "%DayElement")'>
    <action type="equip" when="midcast"><waist lock="yes">Anrin Obi</waist></action>
    </if>

    <if Spell="Sleep II">
    <action type="command" when="aftercast">spellcast var inc sleepid;wait 80;input /echo [$sleepid:%spell] &lt;%target&gt; Wearing off in 10s</action>
    <action type="command" when="aftercast">wait 85;input /echo [$sleepid:%spell] &lt;%target&gt; Wearing off in 5s;spellcast var dec sleepid;</action>
    </if>
    <elseif Spell="Sleep|Sleepga">
    <action type="command" when="aftercast">spellcast var inc sleepid;wait 50;input /echo [$sleepid:%spell] &lt;%target&gt; Wearing off in 10s</action>
    <action type="command" when="aftercast">wait 55;input /echo [$sleepid:%spell] &lt;%target&gt; Wearing off in 5s;spellcast var dec sleepid;</action>
    </elseif>
    </if>

    <if skill="ElementalMagic">
    <action type="equip" when="precast" set="Fast Cast" />
    <action type="equip" when="midcast" set="Elemental Magic" />

    <if mppaftercastlt="51">
    <action type="equip" when="midcast"><neck>Uggalepih Pendant</neck></action>
    </if>
    </if>

    <if skill="DarkMagic">
    <action type="equip" when="precast" set="Fast Cast" />
    <action type="equip" when="midcast" set="Dark Magic" />

    <if Advanced='("%SpellElement" = "%WeatherElement" OR "%SpellElement" = "%DayElement")' notspell="stun">
    <action type="equip" when="midcast"><waist lock="yes">Anrin Obi</waist></action>
    </if>
    </if>

    <if spell="Stoneskin">
    <action type="equip" when="precast" set="Fast Cast" />
    <action type="equip" when="midcast" set="Stoneskin" />

    </if>

    <if spell="Bar*|En*|*Spikes">
    <action type="equip" when="precast" set="Fast Cast" />
    <action type="equip" when="midcast" set="Enhancing" />
    </if>

    <if spell="Phalanx">
    <action type="equip" when="precast" set="Fast Cast" />
    <action type="equip" when="midcast" set="Enhancing" />
    </if>

    <if spell="Utsusemi: Ichi">
    <action type="equip" When="Precast" set="Fast cast" />
    <action type="equip" when="midcast" set="Haste" />
    </if>

    <if spell="Utsusemi: Ni">
    <action type="equip" When="Precast" set="Fast cast" />
    <action type="equip" when="midcast" set="haste" />
    </if>

    <if Skill="EnhancingMagic">
    <action type="equip" when="midcast" set="Enhancing" />
    <if Spell="Bar*">
    <action type="MidCastDelay" delay="0" />
    <action type="Equip" when="midcast">
    <body>Blessed Briault</body>
    <legs>Cleric's Pantaln.</legs>
    </action>
    </if>
    <if status="engaged">
    <action type="Disable" slot="main|sub|range"/>
    <equip when="engaged|aftercast" set="Engaged"/>
    <if type="WeaponSkill">
    <equip when="start" set="Hexa"/>
    </if>
    </if>
    <if status="idle">
    <action type="enable" slot="main|sub|range"/>
    </if>
    <if spell="Hexa Strike|Black Halo">
    <action type="Equip" when="precast|midcast" Set="Hexa"/>
    </if>
    <if spell="Mystic Boon">
    <action type="Equip" when="precast|midcast" Set="Boon"/>
    </if>
    </if>


    </rules>

    I Tried adding criz's lines but that didnt work so far.
    I just tested things as a fortification and nothing triggered except my idle gear during aftercast post ws which means i definitely did something wrong as my melee gear should be going on. I'm gonna revert to my old code in a moment since i'd at least managed to get the melee gear on when i engaged before while the aftercasts kept forcing on idle gear instead of melee. I copied off all my rules incase any of those are the problem. i can "manually" change to the gearsets so theres no problem in the way i set those up at least.

  7. #387
    Sea Torques
    Join Date
    Aug 2006
    Posts
    518
    BG Level
    5
    FFXI Server
    Leviathan

    For lolpup

    Where am I going wrong for this? Since it is not swapping.

    Code:
    <if spell="Dark Maneuver">
            		    <action type="equip" when="Precast" set="Maneuver" />

  8. #388
    Puppetmaster
    Join Date
    Dec 2009
    Posts
    59
    BG Level
    2
    FFXI Server
    Odin

    Quote Originally Posted by stamos View Post
    For lolpup

    Where am I going wrong for this? Since it is not swapping.

    Code:
    <if spell="Dark Maneuver">
            		    <action type="equip" when="Precast" set="Maneuver" />

    Code:
    <if spell="Dark Maneuver">
            		    <action type="equip" when="Precast" set="Maneuver"/>
    </if>

  9. #389
    Bagel
    Join Date
    Nov 2006
    Posts
    1,453
    BG Level
    6
    FFXIV Character
    Fallaci Isalie
    FFXIV Server
    Ultros
    FFXI Server
    Phoenix
    Quote Originally Posted by Khajit View Post
    Spoiler: show

    <rules>
    ...
    <action type="equip" when="idle|aftercast" set="idle" />

    ...
    <if status="engaged">
    <action type="Disable" slot="main|sub|range"/>
    <equip when="engaged|aftercast" set="Engaged"/>
    ....
    </if>




    </rules>
    At the top of your spellcast, take what I bolded out, it's not needed and is probably causing some problems. Since it's at the top, even if you're engaged it will equip that gear after every action first and then consider your "aftercast" process to be complete so SC won't care about what you stated while engaged.

    Also I'm sure your Weapon Skill stuff works fine, but just put it inside the <if type="WeaponSkill"> --- </if> if it doesn't. Like underneath the first line like in the sample code I showed before.

  10. #390
    Sea Torques
    Join Date
    Aug 2006
    Posts
    518
    BG Level
    5
    FFXI Server
    Leviathan

    NVM!!!!!!!!!!!

  11. #391
    Fake Numbers
    Join Date
    Feb 2010
    Posts
    80
    BG Level
    2

    I feel like an idiot not managing to do the one thing everybody managed to do, but I really can't seem to find what's wrong.

    Staves swapping for Quick Draw. I know there are a few ways to do this, I just tried one. (I'm not putting my whole xml, I'm about sure there isn't a major stupid error as everything else works fine)

    So, this is in my QD set:
    Code:
    <set name="DamageQD">
                    <main>$SetStaff</main>
    Variables:
    Code:
                <var name = "FireStaff">Vulcan's Staff</var>
                <var name = "IceStaff">Aquilo's Staff</var>
    etc.

    Rules:
    Code:
    <if type="CorsairShot">
                    <if Spell="Light Shot|Dark Shot">
                        <equip when="precast" set="PeaceQD" />
    		    <action type="Var" cmd="set SetStaff $%SpellElementStaff" />
                    </if>
                    <else>
                        <equip when="precast" set="DamageQD" />
    		    <action type="Var" cmd="set SetStaff $%SpellElementStaff" />
                    </else>
                </if>
    The weird thing is that it does equip the right staff when I use QD, but only half the time. I doubt it is because of lag, since all the other gears load even when the staff doesn't.

    What am I doing wrong? :/

  12. #392
    Bagel
    Join Date
    Nov 2006
    Posts
    1,453
    BG Level
    6
    FFXIV Character
    Fallaci Isalie
    FFXIV Server
    Ultros
    FFXI Server
    Phoenix

    I am going to take a guess and say it is because of how you ordered it in your XML. I'm guessing that right now it works if you repeated the same QuickDraw twice. As it stands now it looks like the first time you use the Ability it will equip the precast gear and THEN set your variable. You want to set the variable and then follow it with the precast gear. You can try to just switch the variable setting line with the precast line and see if that works.

    Something that looks like this should hopefully work. I'm no COR but this is similar to what SMN's do.

    Code:
    <if type="CorsairShot">
    	<action type="Var" cmd="set SetStaff %SpellElementStaff"/>
    	<if spell="LightShot|DarkShot">
    		<equip when="precast" set="PeaceQD"
    	</if>
    	<else>
    		<equip when="precast" set="DamageQD"
    	</else>
    </if>

  13. #393
    Fake Numbers
    Join Date
    Feb 2010
    Posts
    80
    BG Level
    2

    Wonderful, it's fixed. Thanks a lot.

  14. #394
    D. Ring
    Join Date
    Feb 2007
    Posts
    4,736
    BG Level
    7
    FFXI Server
    Quetzalcoatl

    Ok.. i played around with my backup coding to see wtf was going wrong and it seems that adding in my melee hexa and boon sets themselves is probably what's been causing my problems.
    Eg. i paste them in and reload and spellcast refuses to gearswap for any function.
    I then remove them and reload the xml file and everything goes back to normal.

    Spoiler: show

    <set name="Engaged" BaseSet="Idle">
    <main lock="true" />
    <sub lock="true" />
    <ammo lock="true" />
    <head>Walahra Turban</head>
    <body>Reverend Mail</body>
    <feet>Blessed Pumps</feet>
    <waist>Swift Belt</waist>
    <lring>Rajas Ring</lring>
    <rring>Blood Ring</rring>
    <lear>Suppanomimi</lear>
    <rear>Hollow Earring</rear>
    <neck>Chivalrous Chain</neck>
    </set>
    <set name="Hexa" BaseSet="Engaged">
    <body>Reverend Mail</body>
    <head>Optical hat</head>
    <hands>Hlr. Mitts +1</hands>
    <Lring>Rajas Ring</Lring>
    <rring>Thunder Ring</rring>
    <waist>Life belt</waist>
    <feet>Marine M Boots</feet>
    </set>
    <set name="Boon" BaseSet="Engaged">
    <body>Reverend Mail</body>
    <head>Healer's Cap</head>
    <lear>Coral Earring</lear>
    <Rear>Ruby Earring</rear>
    <hands>Hlr. Mitts</hands>
    <back>Rainbow Cape</back>
    <waist>Rainbow Obi</waist>
    <feet>Marine M Boots</feet>
    </set>



    From what im gathering via my testing/experimentation all of my current troubles go back to adding my ws gear causing this.
    I'm basically baffled as to WHY this could be causing things but for some reason it is.

    Edit. Testing individual sets and now hexa is online. gonna see what happens when i add in the rest but when i copy/pasted all 3 before everything when to shit.
    EDIT2: It appears that my mystic boon set for some reason causes ALL rules to cease to function. I've determined the problem but have no idea how to fix it so that i can actually USE mystic boon since putting it in appears to break everything.

  15. #395
    Sea Torques
    Join Date
    Nov 2007
    Posts
    548
    BG Level
    5
    FFXI Server
    Cerberus

    <if BuffActive="Allied Tags">
    <action type="equip" when="aftercast" set="Campaign" />
    </if>

    Should this not work for my gear when Im in campaign? Its not switching back for some reason

  16. #396
    New Spam Forum
    Join Date
    Dec 2007
    Posts
    186
    BG Level
    3
    FFXI Server
    Quetzalcoatl

    Quote Originally Posted by Maguile View Post
    <if BuffActive="Allied Tags">
    <action type="equip" when="aftercast" set="Campaign" />
    </if>

    Should this not work for my gear when Im in campaign? Its not switching back for some reason
    Post your entire XML, you likely have some other aftercast that's taking priority since you don't have an elseif based off of this buff.

    Edit: Consider creating a new group called "campaign" that inherits your primary group. And use AutoExec to "sc group Campaign" when you gainbuff Allied Tags. And back to normal when you lose them. It's a fairly easy solution that keeps your <if's> straightforward.

  17. #397
    Puppetmaster
    Join Date
    Dec 2009
    Posts
    65
    BG Level
    2
    FFXIV Character
    Virtuosus Jormungandr
    FFXIV Server
    Gilgamesh
    FFXI Server
    Quetzalcoatl

    Code:
    <?xml version="1.0" ?>
    <spellcast>
    	<config
    		RequiredVersion="2.15"
    		Debug="False"
    		HideErrors="False"
    		ShowGearSwaps="False" 
    		/>
     
    	<sets>
    		<group default="yes" name="RDM">	
    			<set name="Standard">
    				<main>Terra's Staff</main>
    				<sub>Bugard Strap +1</sub>
    				<lear>Moldavite Earring</lear>
    				<rear>Magnetic Earring</rear>
    				<neck>Uggalepih Pendant</neck>
    				<body>Royal Cloak</body>
    				<hands>Zenith Mitts</hands>
    				<lring>Jelly Ring</lring>
    				<rring>Omniscient Ring</rring>
    				<back>Cheviot Cape</back>
    				<waist>Penitent's Rope</waist>
    				<legs>Mahatma Slops</legs>
    				<feet>Yigit Crackows</feet>
    				<ammo>Phantom Tathlum</ammo>
    			</set>
    			<set name="Resting" BaseSet="Standard">
    				<main>Pluto's Staff</main>
    				<lear>Relaxing Earring</lear>
    				<head>Cobra Hat</head>
    				<neck>Beak Necklace +1</neck>
    				<body>Errant Hpl.</body>
    				<back>Invigorating Cape</back>
    				<waist>Qiqirn Sash +1</waist>
    				<legs>Baron's Slops</legs>
    				<feet>Avocat Pigaches</feet>
    			</set>
    			<set name="Engaged" BaseSet="Standard">
    				<main>Blau Dolch</main>
    				<sub>Genbu's Shield</sub>
    				<head>Walahra Turban</head>
    				<neck>Peacock Charm</neck>
    				<lear>Brutal Earring</lear>
    				<rear>Suppanomimi</rear>
    				<body>Scorpion Harness</body>
    				<hands>Dusk Gloves</hands>
    				<lring>Jaeger Ring</lring>
    				<rring>Rajas Ring</rring>
    				<back>Forager's Mantle</back>
    				<waist>Swift Belt</waist>
    				<feet>Dusk Ledelsens</feet>
    			</set>
     
    			<!-- Start of Specific Weaponskill Sets-->
    			<set name="WeaponSkill" BaseSet="Engaged">				
    			</set>
     
    			<!-- Start of Condition Specific Sets-->
    			<set name="Fastcast" Baseset="Standard">				
    				<head>Warlock's Chapeau</head>
    				<body>Errant Hpl.</body>
    			</set>
     
    			<!-- Start of Specific Magic Sets-->
    			<set name="DarkMagic" BaseSet="Fastcast">
    				<head>Wise Cap</head>
    				<neck>Dark Torque</neck>
    			</set>
    			<set name="DivineMagic" BaseSet="Fastcast" />
    			<set name="EnhancingMagic" BaseSet="Fastcast">
    			</set>
    			<set name="ElementalMagic" BaseSet="Fastcast">
    				<neck>Elemental Torque</neck>
    				<lring>Diamond Ring</lring>
    				<back>Prism Cape</back>				
    			</set>
    			<set name="EnfeeblingBase" BaseSet="Fastcast">
    				<head>Wise Cap</head>
    				<neck>Spider Torque</neck>
    				<body>Warlock's Tabard</body>
    				<back>Prism Cape</back>
    				<feet>Avocat Pigaches</feet>
    			</set>
    			<set name="EnfeeblingBlackMagic" BaseSet="EnfeeblingBase">
    				<hands>Errant Cuffs</hands>
    				<lring>Diamond Ring</lring>			
    			</set>
    			<set name="EnfeeblingWhiteMagic" BaseSet="EnfeeblingBase">
    				<lear>Geist Earring</lear>
    				<lring>Sapphire Ring</lring>
    				<sub>Reign Grip</sub>
    				<hands>Dvt. Mitts +1</hands>
    				<feet>Mahatma Pigaches</feet>
    				<rear>Geist Earring</rear>
    				<rring>Sapphire Ring</rring>
    			</set>
    			<set name="HealingMagic" BaseSet="Fastcast">
    				<lear>Geist Earring</lear>
    				<lring>Sapphire Ring</lring>
    				<sub>Reign Grip</sub>
    				<neck>Promise Badge</neck>
    				<hands>Dvt. Mitts +1</hands>
    				<back>Prism Cape</back>
    				<feet>Mahatma Pigaches</feet>	
    				<rear>Geist Earring</rear>
    				<rring>Sapphire Ring</rring>			
    			</set>			
    			<set name="Stoneskin">
    				<lear>Geist Earring</lear>
    				<lring>Sapphire Ring</lring>
    				<main>Water Staff</main>
    				<sub>Reign Grip</sub>
    				<head>Warlock's Chapeau</head>
    				<neck>Promise Badge</neck>
    				<body>Errant Hpl.</body>
    				<hands>Dusk Gloves</hands>
    				<back>Prism Cape</back>
    				<feet>Dusk Ledelsens</feet>
    				<rear>Geist Earring</rear>
    				<rring>Sapphire Ring</rring>
    			</set>	
     
    			<!-- Start of HQ Staff/Obi sets-->
    			<set name="FireStaff"> 
    				<main>Fire Staff</main>
    				<sub>Bugard Strap +1</sub>
    			</set>
    			<set name="IceStaff">
    				<main>Aquilo's Staff</main>
    				<sub>Bugard Strap +1</sub>
    			</set>
    			<set name="WindStaff">
    				<main>Auster's Staff</main>
    				<sub>Bugard Strap +1</sub>
    			</set>
    			<set name="EarthStaff">
    				<main>Terra's Staff</main>
    				<sub>Bugard Strap +1</sub>
    			</set>
    			<set name="ThunderStaff">
    				<main>Jupiter's Staff</main>
    				<sub>Bugard Strap +1</sub>
    			</set>
    			<set name="WaterStaff">
    				<main>Water Staff</main>
    				<sub>Bugard Strap +1</sub>
    			</set>
    			<set name="LightStaff">
    				<main>Apollo's Staff</main>
    				<sub>Bugard Strap +1</sub>
    			</set>
    			<set name="DarkStaff">
    				<main>Pluto's Staff</main>
    				<sub>Bugard Strap +1</sub>
    			</set>			
    			<set name="ThunderObi">
    				<waist lock="true">Rairin Obi</waist>
    			</set> 
    			<set name="IceObi">
    				<waist lock="true">Hyorin Obi</waist>
    			</set> 
    			<set name="Town">
    			</set>
    			<set name="%SpellElementObi" />
    			<set name="Ninjutsu" Baseset="Fastcast" />
    			<set name="Singing" Baseset="Fastcast" />
    			<set name="SummoningMagic" Baseset="Fastcast" />
    			<set name="BlueMagicBase" Baseset="Fastcast" />
    			<set name="BlueMagic-Physical" Baseset="BlueMagicBase" />
    			<set name="BlueMagic-Magic" Baseset="BlueMagicBase" />
    		</group>
    	</sets>
     
    	<variables>
    		<var name="HighMP">840</var>		<!-- ??? in Zenith/MP gear.... -->
    	</variables>
     
    	<rules>
    		<if spell="autoset"> 
    			<action type="equip" when="resting" set="Resting" /> 
    			<action type="equip" when="idle" set="Standard" /> 
    			<action type="equip" when="engaged" set="Engaged" /> 
    		</if> 
    		<if Spell="Stoneskin">
    			<action type="equip" set="Stoneskin">
    			</action>
    			<action type="command" when="midcast">cancel 37</action>
    				<action type="midcastdelay" delay="4.8" />
    		</if>
     		<!-- Control for Town Gear-->
    		<if Area="*Windurst*|*San d'Oria*|*Bastok*|*Jeuno*|*Whitegate|Al Zahbi" NotArea="Dynamis*">
    			<action type="equip" when="idle" set="Town">
    			</action>
    		</if>			
     
    		<!-- Control for Engagement and Weaponskill Sets-->
    		<if NotStatus="Engaged">
    			<action type="equip" when="aftercast" set="Standard" />
    		</if>
    		<else>
    			<action type="equip" when="aftercast" set="Engaged" />
    		</else> 
    		<if TPGT="10">
    			<action type="Disable" slot="main|sub|ranged" />	
    		</if>
    		<else>
    			<action type="Enable" slot="main|sub|ranged" />
    		</else> 
    		<if Type="WeaponSkill" NotTPLT="100">
    			<action type="castdelay" delay=".2" />
    			<action type="Equip" when="Precast" set="WeaponSkill" />
     
    		<!-- Control for Specific Magic Sets-->	
    		<elseif Skill="DarkMagic">
    			<if Subjob="DRK">
    				<action type="equip" when="midcast" set="%Skill" >
    					<back>Killer Mantel</back>
    				</action>
    			</if>
    		</elseif>
    
    		<!-- auto cancel sneak/utsu/stoneskin/blink when recasting them. Requires Cancel Plugin -->
    		<if Spell="Sneak" BuffActive="Sneak" SpellTargetType="Self">
    			<action type="command" when="midcast">cancel 71</action>
    			<action type="midcastdelay" delay=".2" />
    		</if>
    		<if spell="Utsusemi: Ichi" BuffActive="Copy Image">
    			<action type="midcastdelay" delay="1" />
    			<action type="Command" when="midcast">cancel 66</action>
    		</if>
    		<elseif Spell="Stoneskin" BuffActive="Stoneskin">
    			<action type="command" when="midcast">cancel 37</action>
    			<action type="midcastdelay" delay="3" />
    		</elseif>
    		<elseif Spell="Blink" BuffActive="Blink">
    			<action type="command" when="midcast">cancel 36</action>
    			<action type="midcastdelay" delay="2" />
    		</elseif>
    		<elseif Skill="EnfeeblingMagic">
    			<action type="equip" when="midcast" set="Enfeebling%Type" />
    		</elseif>
    		<elseif Skill="ElementalMagic">
    			<action type="equip" when="midcast" set="Elementalmagic" />
    			<if MPPAfterCastLT="50" NotSpell="Rasp|Frost|Drown|Burn|Choke|Shock">
    				<action type="equip" when="midcast">
    					<neck lock="true">Uggalepih Pendant</neck>
    					</action>
    				</if>			
    		</elseif>
    		<if advanced='("%WeatherElement"="%SpellElement") OR ("%DayElement"="%SpellElement")'>
    				<action type="equip" when="midcast" set="%SpellElementObi" />
    		</if>
     
    		<!-- Control for Spell Detection for Skill Sets, setting the gear and staffs-->
    		<elseif CommandPrefix="/ma|/magic" NotSpell="Stoneskin">
    			<action type="equip" when="midcast" set="%Skill" />
    		</elseif>
    		<if advanced='(string)"%SpellElement"=="Unknown"' />
    		<elseif advanced='(string)"%SpellElement"=="None"' />
    			<else>
    				<action type="equip" when="precast" set="FastCast" />
    				<action type="equip" when="midcast" set="%SpellElementStaff" />			
    			</else>
    		<elseif Skill="BlueMagic">
    			<if advanced='(string)"%SpellElement"==Unknown'>
    				<action type="equip" when="midcast" set="BlueMagic-Physical" />
    			</if>
    			<else>
    				<action type="equip" when="midcast" set="BlueMagic-Magical" />
    			</else>
    		</elseif>
     
    		<!-- Control to Change Cure Spells based on available MP-->
    		<if Spell="Cure IV" MPLT="88">
    			<action type="ChangeSpell" Spell="Cure III" />
    		</if>
    		<elseif Spell="Cure III" MPLT="46">
    			<action type="ChangeSpell" Spell="Cure II" />
    		</elseif>
    		<elseif Spell="Cure II" MPLT="24">
    			<action type="ChangeSpell" Spell="Cure" />
    		</elseif>		
    	</rules>
    </spellcast>
    My RDM XML. It swaps between my idle/resting gear when I rest and getup, and it swaps gear out for Stoneskin and cancels stoneskin at the correct time, but for all other spells no gear is swapped, and for blink/utsusemi/sneak, they are also not cancelled. Can anybody help? D:

    PS: I used this as a template: http://paste.windower.net/plugins/sp...silvenmyst_rdm

  18. #398
    Bagel
    Join Date
    Nov 2006
    Posts
    1,453
    BG Level
    6
    FFXIV Character
    Fallaci Isalie
    FFXIV Server
    Ultros
    FFXI Server
    Phoenix

    A lot of the problem is because of all the <elseif> and the fact that they are not just going off 1 condition but two. Try to just replace all of them with <if> and see how it works out.
    Code:
    <?xml version="1.0" ?>
    <spellcast>
    	<config
    		RequiredVersion="2.15"
    		Debug="False"
    		HideErrors="False"
    		ShowGearSwaps="False" 
    		/>
     
    	<sets>
    		<group default="yes" name="RDM">	
    			<set name="Standard">
    				<main>Terra's Staff</main>
    				<sub>Bugard Strap +1</sub>
    				<lear>Moldavite Earring</lear>
    				<rear>Magnetic Earring</rear>
    				<neck>Uggalepih Pendant</neck>
    				<body>Royal Cloak</body>
    				<hands>Zenith Mitts</hands>
    				<lring>Jelly Ring</lring>
    				<rring>Omniscient Ring</rring>
    				<back>Cheviot Cape</back>
    				<waist>Penitent's Rope</waist>
    				<legs>Mahatma Slops</legs>
    				<feet>Yigit Crackows</feet>
    				<ammo>Phantom Tathlum</ammo>
    			</set>
    			<set name="Resting" BaseSet="Standard">
    				<main>Pluto's Staff</main>
    				<lear>Relaxing Earring</lear>
    				<head>Cobra Hat</head>
    				<neck>Beak Necklace +1</neck>
    				<body>Errant Hpl.</body>
    				<back>Invigorating Cape</back>
    				<waist>Qiqirn Sash +1</waist>
    				<legs>Baron's Slops</legs>
    				<feet>Avocat Pigaches</feet>
    			</set>
    			<set name="Engaged" BaseSet="Standard">
    				<main>Blau Dolch</main>
    				<sub>Genbu's Shield</sub>
    				<head>Walahra Turban</head>
    				<neck>Peacock Charm</neck>
    				<lear>Brutal Earring</lear>
    				<rear>Suppanomimi</rear>
    				<body>Scorpion Harness</body>
    				<hands>Dusk Gloves</hands>
    				<lring>Jaeger Ring</lring>
    				<rring>Rajas Ring</rring>
    				<back>Forager's Mantle</back>
    				<waist>Swift Belt</waist>
    				<feet>Dusk Ledelsens</feet>
    			</set>
     
    			<!-- Start of Specific Weaponskill Sets-->
    			<set name="WeaponSkill" BaseSet="Engaged">				
    			</set>
     
    			<!-- Start of Condition Specific Sets-->
    			<set name="Fastcast" Baseset="Standard">				
    				<head>Warlock's Chapeau</head>
    				<body>Errant Hpl.</body>
    			</set>
     
    			<!-- Start of Specific Magic Sets-->
    			<set name="DarkMagic" BaseSet="Fastcast">
    				<head>Wise Cap</head>
    				<neck>Dark Torque</neck>
    			</set>
    			<set name="DivineMagic" BaseSet="Fastcast" />
    			<set name="EnhancingMagic" BaseSet="Fastcast">
    			</set>
    			<set name="ElementalMagic" BaseSet="Fastcast">
    				<neck>Elemental Torque</neck>
    				<lring>Diamond Ring</lring>
    				<back>Prism Cape</back>				
    			</set>
    			<set name="EnfeeblingBase" BaseSet="Fastcast">
    				<head>Wise Cap</head>
    				<neck>Spider Torque</neck>
    				<body>Warlock's Tabard</body>
    				<back>Prism Cape</back>
    				<feet>Avocat Pigaches</feet>
    			</set>
    			<set name="EnfeeblingBlackMagic" BaseSet="EnfeeblingBase">
    				<hands>Errant Cuffs</hands>
    				<lring>Diamond Ring</lring>			
    			</set>
    			<set name="EnfeeblingWhiteMagic" BaseSet="EnfeeblingBase">
    				<lear>Geist Earring</lear>
    				<lring>Sapphire Ring</lring>
    				<sub>Reign Grip</sub>
    				<hands>Dvt. Mitts +1</hands>
    				<feet>Mahatma Pigaches</feet>
    				<rear>Geist Earring</rear>
    				<rring>Sapphire Ring</rring>
    			</set>
    			<set name="HealingMagic" BaseSet="Fastcast">
    				<lear>Geist Earring</lear>
    				<lring>Sapphire Ring</lring>
    				<sub>Reign Grip</sub>
    				<neck>Promise Badge</neck>
    				<hands>Dvt. Mitts +1</hands>
    				<back>Prism Cape</back>
    				<feet>Mahatma Pigaches</feet>	
    				<rear>Geist Earring</rear>
    				<rring>Sapphire Ring</rring>			
    			</set>			
    			<set name="Stoneskin">
    				<lear>Geist Earring</lear>
    				<lring>Sapphire Ring</lring>
    				<main>Water Staff</main>
    				<sub>Reign Grip</sub>
    				<head>Warlock's Chapeau</head>
    				<neck>Promise Badge</neck>
    				<body>Errant Hpl.</body>
    				<hands>Dusk Gloves</hands>
    				<back>Prism Cape</back>
    				<feet>Dusk Ledelsens</feet>
    				<rear>Geist Earring</rear>
    				<rring>Sapphire Ring</rring>
    			</set>	
     
    			<!-- Start of HQ Staff/Obi sets-->
    			<set name="FireStaff"> 
    				<main>Fire Staff</main>
    				<sub>Bugard Strap +1</sub>
    			</set>
    			<set name="IceStaff">
    				<main>Aquilo's Staff</main>
    				<sub>Bugard Strap +1</sub>
    			</set>
    			<set name="WindStaff">
    				<main>Auster's Staff</main>
    				<sub>Bugard Strap +1</sub>
    			</set>
    			<set name="EarthStaff">
    				<main>Terra's Staff</main>
    				<sub>Bugard Strap +1</sub>
    			</set>
    			<set name="ThunderStaff">
    				<main>Jupiter's Staff</main>
    				<sub>Bugard Strap +1</sub>
    			</set>
    			<set name="WaterStaff">
    				<main>Water Staff</main>
    				<sub>Bugard Strap +1</sub>
    			</set>
    			<set name="LightStaff">
    				<main>Apollo's Staff</main>
    				<sub>Bugard Strap +1</sub>
    			</set>
    			<set name="DarkStaff">
    				<main>Pluto's Staff</main>
    				<sub>Bugard Strap +1</sub>
    			</set>			
    			<set name="ThunderObi">
    				<waist lock="true">Rairin Obi</waist>
    			</set> 
    			<set name="IceObi">
    				<waist lock="true">Hyorin Obi</waist>
    			</set> 
    			<set name="Town">
    			</set>
    			<set name="%SpellElementObi" />
    			<set name="Ninjutsu" Baseset="Fastcast" />
    			<set name="Singing" Baseset="Fastcast" />
    			<set name="SummoningMagic" Baseset="Fastcast" />
    			<set name="BlueMagicBase" Baseset="Fastcast" />
    			<set name="BlueMagic-Physical" Baseset="BlueMagicBase" />
    			<set name="BlueMagic-Magic" Baseset="BlueMagicBase" />
    		</group>
    	</sets>
     
    	<variables>
    		<var name="HighMP">840</var>		<!-- ??? in Zenith/MP gear.... -->
    	</variables>
     
    	<rules>
    		<if spell="autoset"> 
    			<action type="equip" when="resting" set="Resting" /> 
    			<action type="equip" when="idle" set="Standard" /> 
    			<action type="equip" when="engaged" set="Engaged" /> 
    		</if> 
    		<if Spell="Stoneskin">
    			<action type="equip" set="Stoneskin">
    			</action>
    			<action type="command" when="midcast">cancel 37</action>
    				<action type="midcastdelay" delay="4.8" />
    		</if>
     		<!-- Control for Town Gear-->
    		<if Area="*Windurst*|*San d'Oria*|*Bastok*|*Jeuno*|*Whitegate|Al Zahbi" NotArea="Dynamis*">
    			<action type="equip" when="idle" set="Town">
    			</action>
    		</if>			
     
    		<!-- Control for Engagement and Weaponskill Sets-->
    		<if NotStatus="Engaged">
    			<action type="equip" when="aftercast" set="Standard" />
    		</if>
    		<else>
    			<action type="equip" when="aftercast" set="Engaged" />
    		</else> 
    		<if TPGT="10">
    			<action type="Disable" slot="main|sub|ranged" />	
    		</if>
    		<else>
    			<action type="Enable" slot="main|sub|ranged" />
    		</else> 
    		<if Type="WeaponSkill" TPGT="99.9">
    			<action type="castdelay" delay=".2" />
    			<action type="Equip" when="Precast" set="WeaponSkill" />
    		</if>	
     
    		<!-- Control for Specific Magic Sets-->	
    		<if Skill="DarkMagic">
    			<action type="equip" when="midcast" set="%Skill" >		
    			<if Subjob="DRK">
    				<action type="equip" when="midcast">
    					<back>Killer Mantel</back>
    				</action>
    			</if>
    		</if>
    
    		<!-- auto cancel sneak/utsu/stoneskin/blink when recasting them. Requires Cancel Plugin -->
    		<if Spell="Sneak" BuffActive="Sneak" SpellTargetType="Self">
    			<action type="command" when="midcast">cancel 71</action>
    			<action type="midcastdelay" delay="1.0" />
    		</if>
    		<if spell="Utsusemi: Ichi" BuffActive="Copy Image">
    			<action type="midcastdelay" delay="1" />
    			<action type="Command" when="midcast">cancel 66</action>
    		</if>
    		<if Spell="Stoneskin" BuffActive="Stoneskin">
    			<action type="command" when="midcast">cancel 37</action>
    			<action type="midcastdelay" delay="3" />
    		</if>
    		<if Spell="Blink" BuffActive="Blink">
    			<action type="command" when="midcast">cancel 36</action>
    			<action type="midcastdelay" delay="2" />
    		</if>
    		<if Skill="EnfeeblingMagic">
    			<action type="equip" when="midcast" set="Enfeebling%Type" />
    		</if>
    		<if Skill="ElementalMagic">
    			<action type="equip" when="midcast" set="Elementalmagic" />
    			<if MPPAfterCastLT="50" NotSpell="Rasp|Frost|Drown|Burn|Choke|Shock">
    				<action type="equip" when="midcast">
    					<neck lock="true">Uggalepih Pendant</neck>
    				</action>
    			</if>			
    		</if>
    		<if advanced='("%WeatherElement"="%SpellElement") OR ("%DayElement"="%SpellElement")'>
    				<action type="equip" when="midcast" set="%SpellElementObi" />
    		</if>
     
    		<!-- Control for Spell Detection for Skill Sets, setting the gear and staffs-->
    		<if CommandPrefix="/ma|/magic" NotSpell="Stoneskin">
    			<action type="equip" when="midcast" set="%Skill" />
    		</if>
    		<if advanced='(string)"%SpellElement"=="Unknown"' />
    		<if advanced='(string)"%SpellElement"=="None"' />
    				<action type="equip" when="precast" set="FastCast" />
    				<action type="equip" when="midcast" set="%SpellElementStaff" />			
    		<if Skill="BlueMagic">
    			<if advanced='(string)"%SpellElement"==Unknown'>
    				<action type="equip" when="midcast" set="BlueMagic-Physical" />
    			</if>
    			<else>
    				<action type="equip" when="midcast" set="BlueMagic-Magical" />
    			</else>
    		</if>
     
    		<!-- Control to Change Cure Spells based on available MP-->
    		<if Spell="Cure IV" MPLT="88">
    			<action type="ChangeSpell" Spell="Cure III" />
    		</if>
    		<if Spell="Cure III" MPLT="46">
    			<action type="ChangeSpell" Spell="Cure II" />
    		</if>
    		<if Spell="Cure II" MPLT="24">
    			<action type="ChangeSpell" Spell="Cure" />
    		</if>		
    	</rules>
    </spellcast>

  19. #399
    Puppetmaster
    Join Date
    Dec 2009
    Posts
    65
    BG Level
    2
    FFXIV Character
    Virtuosus Jormungandr
    FFXIV Server
    Gilgamesh
    FFXI Server
    Quetzalcoatl

    Quote Originally Posted by Crizto View Post
    A lot of the problem is because of all the <elseif> and the fact that they are not just going off 1 condition but two. Try to just replace all of them with <if> and see how it works out.
    It didn't fix anything. ; ; None of the staves swap out, neither do any of the specified gear besides "Standard", "Resting", and "Stoneskin" sets. Stuff like "ElementalMagic", "EnfeeblingBlackMagic", "EnfeeblingWhiteMagic" won't swap out at all, and blink/sneak/utsu still don't get cancelled.

  20. #400
    Bagel
    Join Date
    Nov 2006
    Posts
    1,453
    BG Level
    6
    FFXIV Character
    Fallaci Isalie
    FFXIV Server
    Ultros
    FFXI Server
    Phoenix

    Are you using 2.3 or some version before that?

Page 20 of 24 FirstFirst ... 10 18 19 20 21 22 ... LastLast

Similar Threads

  1. FL - The Price is Right - Please help
    By Tajin in forum FFXI: Everything
    Replies: 64
    Last Post: 2008-07-01, 09:52
  2. Wings Of The Goddess .dat files
    By Shiriokumo in forum FFXI: Everything
    Replies: 1
    Last Post: 2007-11-21, 16:52
  3. The hills are alive, please help me out.
    By Ligro in forum FFXI: Everything
    Replies: 25
    Last Post: 2006-05-01, 19:29
  4. THE 4 NATION/KEY ITEMS I NEED THREAD
    By berticus in forum FFXI: Everything
    Replies: 71
    Last Post: 2004-09-23, 21:14