Item Search
     
BG-Wiki Search
Page 16 of 24 FirstFirst ... 6 14 15 16 17 18 ... LastLast
Results 301 to 320 of 473
  1. #301
    Cerberus
    Join Date
    Jan 2009
    Posts
    465
    BG Level
    4
    FFXIV Character
    Bik Pik
    FFXIV Server
    Hyperion
    FFXI Server
    Cerberus

    Quote Originally Posted by Nirokun! View Post
    This is the debug log thing from this morning (idk if I'm supposed to give provide all of it or not.. so here it is lol)

    http://pastebin.com/te5ZZCG5

    I saved my .xml and reloaded SC after every tweak I made
    Ya best way to post your debug log would be to start sc, do what is causeing the problem, and close sc (if you're unsure on how to look through the debug log), but from what I can see SC is trying to equip Fenrir's crown on line 7848 of your pastebin, change your "showgearswaps" to true (at the top of the SC) and check to see if it's actually showing Fenrir's Crown going into your head slot. Other than that, then only thing I can think of is you're lagging and the game can't keep up with SC. Unless I'm missing something, which I could be.

    Just looked again, and found a confusing part

    Code:
    [8:50:03 AM] 3044:<0> Casting Spell: /raw /pet "Eclipse Bite" <t>
    [8:50:03 AM] 3044:<10> is not <st>, waiting
    [8:50:04 AM] 3044:<621> waited for midcast delay done.
    [8:50:04 AM] 3044:<0> Starting Midcast
    [8:50:04 AM] 3044:<0> Equipping Midcast Gears
    [8:50:04 AM] 3044:<0> Equipping Astute Cape into back
    [8:50:04 AM] 3044:<0> Sending Command to Windower: input /raw /equip back "Astute Cape"
    [8:50:04 AM] 3044:<0> Equipping Summoner's Dblt. into body
    [8:50:04 AM] 3044:<0> Sending Command to Windower: input /raw /equip body "Summoner's Dblt."
    [8:50:04 AM] 3044:<0> Not equipping Summoner's Pgch. ID 15146 due to current equipped ID 15146
    [8:50:04 AM] 3044:<0> Not equipping Smn. Bracers +1 ID 14923 due to current equipped ID 14923
    [8:50:04 AM] 3044:<0> Equipping Fenrir's Crown into head
    [8:50:04 AM] 3044:<0> Sending Command to Windower: input /raw /equip head "Fenrir's Crown"
    [8:50:04 AM] 3044:<10> Equipping Evk. Spats +1 into legs
    [8:50:04 AM] 3044:<0> Sending Command to Windower: input /raw /equip legs "Evk. Spats +1"
    [8:50:04 AM] 3044:<0> Equipping Sacrifice Torque into neck
    [8:50:04 AM] 3044:<0> Sending Command to Windower: input /raw /equip neck "Sacrifice Torque"
    [8:50:04 AM] 3044:<0> Equipping Summoning Belt into waist
    [8:50:04 AM] 3044:<0> Sending Command to Windower: input /raw /equip waist "Summoning Belt"
    [8:50:04 AM] 3044:<0> Equipping Smn. Earring into r.ear
    [8:50:04 AM] 3044:<0> Sending Command to Windower: input /raw /equip r.ear "Smn. Earring"
    [8:50:04 AM] 3044:<0> gear changing complete for Midcast
    [8:50:04 AM] 3044:<10> Finished Midcast
    [8:50:04 AM] 3836:<491> IncNormalCmd: /equip Hands "Smn. Bracers +1"
    [8:50:04 AM] 3836:<10> IncNormalCmd: /equip Head "Evk. Horn +1"
    [8:50:04 AM] 3836:<0> IncNormalCmd: /equip Body "Royal Redingote"
    [8:50:04 AM] 3836:<0> IncNormalCmd: /equip Legs "Evk. Spats +1"
    [8:50:04 AM] 3836:<0> IncNormalCmd: /equip Feet "Summoner's Pgch."
    [8:50:04 AM] 3836:<0> IncNormalCmd: /equip Back "Astute Cape"
    [8:50:04 AM] 3836:<10> IncNormalCmd: /equip Neck "Sacrifice Torque"
    [8:50:04 AM] 3836:<0> IncNormalCmd: /equip Ear2 "Smn. Earring"
    I'm not sure why that last set is trying to equip, but that looks like your problem, but again I could be totally wrong.

    Oh and you have your idle|aftercast rule in twice, once at the beginning, and once at the end, not sure if that is causing anything.

  2. #302
    BG is my LJ
    Join Date
    Apr 2005
    Posts
    4,222
    BG Level
    7
    FFXIV Character
    Lovely Nirokun
    FFXIV Server
    Excalibur

    Ok, it is equipping it, but then swaps over to Evoker's Horn +1 for some reason.

    I hit [+] on the numpad to block gearswap to see if it flashed over, and it did, but if I leave it alone, you never see Fenrir's Crown, you just see me go from af2+1 horn to af1+1 horn ShowGearSwaps set to true does not show Evoker's Horn +1 in the log in precast/midcast/aftercast

    http://pastebin.com/235Qczar

    Edit:

    Also, I'm noticing that the elemental siphon snippet is acting funny. It is Earthsday now, with wind weather. I use siphon, and it summons Earth Spirit instead of Wind Spirit, which I think it knew to cast wind before. Idk anything about the more advanced stipulations in SC

  3. #303
    Relic Weapons
    Join Date
    Mar 2007
    Posts
    368
    BG Level
    4

    RNG XML

    Quote Originally Posted by Pharaun View Post
    Does anyone here have a decent ranger xml? I looked at the ones on windower.net, but the all seemed pretty clunky and a pain to adapt to my use.
    Here is my variation of "IneptVagrant's Ranger" from windower wiki. I removed some stuff and streamlined some stuff to make it better for my use

    Spoiler: show
    Your RA marco should look like this:
    Code:
    //sc var set ammo "Acid Bolt"
    /ra
    Changing ammo will change the weapon. You can select weapons to use a bit down in the xml.

    Code:
    <?xml version="1.0" ?>
    <spellcast>
     
    	<config
    			RequireVersion="2.30"
    			Debug="true"
    			ShowGearSwaps="false" />
    	<sets>
     
    		<group default="yes" name="RNG">
     
    			<set name="healing">
    				<!-- no gear -->
    			</set>
     
    			<set name="town">
    			    <head></head>
    			    <legs></legs>
    			    <feet>Trotter Boots</feet>
    			</set>
     
    			<set name="TP">
    		            <head>Hunter's Beret</head>
            		    <neck>Peacock Charm</neck>
    	        	    <lear>Drone Earring</lear>
    	        	    <rear>Vision Earring</rear>
    		            <body>Hunter's Jerkin</body>
            		    <hands>Deadeye Gloves</hands>
    		            <lring>Behemoth Ring</lring>
            		    <rring>Behemoth Ring</rring>
    	        	    <back>Amemet Mantle +1</back>
    	        	    <waist>Scout's Belt</waist>
    		            <legs>Jaridah Salvars</legs>
            		    <feet>Jaridah Nails</feet>
    			</set>
     
    			<set name="WS">
    		  	    <ammo>$ammo</ammo>
    			    <body></body>
    			    <neck></neck>
    			    <head>Optical Hat</head>
    		            <hands></hands>
            		    <feet></feet>
    			    <lring></lring>
    			</set>
    
    			<set name="USWS">
    		  	    <ammo>$ammo</ammo>
    			    <body>Shikaree Aketon</body>
    			    <neck>Ranger's Necklace</neck>
    			    <head>Hunter's Beret</head>
    		            <hands></hands>
            		    <feet></feet>
    			    <lring>Rajas Ring</lring>
    			</set>
     
    		</group>
     
    	</sets>
    
    	<variables clear="true">
    <!-- Dont mess with these --> 
    		<var name="Ut">Ichi</var>
    		<var name="SanityCheck">0</var>
    		<var name="USset">false</var>
    		<var name="Ammo">Scorpion Arrow</var>
    		<var name="oldWeaponTYpe">Unknown</var>
    		<var name="USammo">Gld.Msk. Bolt</var>
    		<var name="WSammo">Darksteel Bolt</var>
     
     <!-- Put your weapons here. Put all weapons here so they wont be filtered out. -->
    		<var name="bows">Selene's Bow|War Bow +1</var>
    		<var name="xbows">Othinus' Bow|Staurobow</var>
    		<var name="guns">Hellfire +1</var>
    	</variables>
     
    	<rules>
    		<if advanced='"$AE_firstrun"!="false"'>
    			<cmd>input //sc var set AE_firstrun false</cmd>
    			<cmd>ae registerq 23000 jobchange_* ae load autoexec.xml</cmd>
    			<cmd>ae registerq 23001 losebuff_Unlimited_Shot input /equip ammo\;sc var set ammo 
    
    "\$WSAmmo"\;wait .4\;input /equip ammo "\$ammo"\;input /echo \!!!~~~ Sanity-US %equipammo~~~!!!</cmd>
    		</if>
     
    		<if advanced='$SanityCheck &gt; 10'>
    		<var cmd="set SanityCheck 0" />
    			<action type="addtochat">!!---Ammo Empty--- $ammo ---!!</action>
    			<cancelspell />
    			<return />
    		</if>
    		<else><var cmd="inc SanityCheck" /></else>
     
    <!-- These will auto equip weapons on changing the ammo. Put the main weapons you want here -->
    		<if advanced='strmatch("$ammo","Acid bolt|Darksteel Bolt|Holy Bolt")' notequiprange="$xbows">
    			<equip><range>Othinus' Bow</range><ammo>$ammo</ammo></equip>
    			<cmd>wait .1;%spell</cmd>
    			<cancelspell />
    			<return />
    		</if>
    		<elseif advanced='"$ammo"=="Scorpion Arrow"'  notequiprange="$bows">
    			<equip><range>Selene's Bow</range><ammo>$ammo</ammo></equip>
    			<cmd>wait .1;%spell</cmd>
    			<cancelspell />
    			<return />
    		</elseif>
    		<elseif advanced='"$ammo"=="Silver Bullet"' notequiprange="$guns">
    			<equip><range>Hellfire +1</range><ammo>$ammo</ammo></equip>
    			<cmd>wait .1;%spell</cmd>
    			<cancelspell />
    			<return />
    		</elseif>
     
    <!-- Put the ammo you want to use here -->
    		<if notequiprange="$oldWeaponType">
    			<var cmd='set oldweapontype "%Equiprange"' />
    			<if Equiprange="$bows">
    				<var cmd='set ammo "Scorpion Arrow"' />
    				<var cmd='set USammo "Cmb.Cst. Arrow"' />
    				<var cmd='set WSammo "Demon Arrow"' />
    			</if>
    			<elseif Equiprange="$xbows">
    				<var cmd='set ammo "Acid Bolt"' />
    				<var cmd='set USammo "Gld.Msk. Bolt"' />
    				<var cmd='set WSammo "Darksteel Bolt"' />
    			</elseif>
    			<elseif Equiprange="$guns">
    				<var cmd='set ammo "Silver Bullet"' />
    				<var cmd='set USammo "Silver Bullet"' />
    				<var cmd='set WSammo "Silver Bullet"' />
    			</elseif>
    			<else>
    				<action type="addtochat">!!!!---- WeaponType: Unknown ----!!!!</action>
    				<action type="cancelspell" />
    				<action type="return" />
    			</else>
    		</if>
     
    		<if spell="autoset">
    			<if status="engaged">
    				<equip when="engaged" set="TP" />
    			</if>
    			<elseif status="idle">
    				<equip when="idle" set="town" />
    			</elseif>
    		</if>
     
     
    		<if buffactive="unlimited Shot">
    			<action type="var" cmd='set ammo $USammo' />
    		</if>
    		<elseif mode="OR" spell="eagle eye shot" type="weaponskill">
    			<action type="var" cmd='set ammo $WSammo' />
    		</elseif>
    		<if notequipammo="$ammo">
    			<equip>
    				<ammo>$ammo</ammo>
    			</equip>
    			<cmd>wait .1;%spell</cmd>
    			<cancelspell />
    			<return />
    		</if>
     
    		<if equipammo="">
    			<action type="addtochat">!!---Ammo Empty--- $ammo ---!!</action>
    			<action type="cancelspell" />
    			<action type="return" />
    		</if>
     
    		<var cmd="set SanityCheck 0" />
     
    		<if type="WeaponSkill">
    			<if nottplt="100" status="engaged" advanced='%spelltargetdistance &lt; 15.8'>
    				<if spell="slug shot|Sidewinder">
    					<if Equiprange="$guns|$xbows">
    						<changespell spell="Slug shot" />
    					</if>
    					<else>
    						<changespell spell="Sidewinder" />
    					</else>
    				</if>
    				<if buffactive="unlimited Shot">
    					<equip when="precast" set="USWS" />
    				</if>
    				<else>
    					<equip when="precast" set="WS" />
    				</else>
    
    				<if spell="Slug shot|Sidewinder">
    					<equip when="precast">
    						<neck>Breeze Gorget</neck>
    					</equip>
    				</if>
    
    			</if>
    		</if>
    
    		<if spell="Sharpshot">
    			<action type="equip" when="precast" delay=".2">
    				<legs>Hunter's Braccae</legs></action>
    		</if>
    
    		<if spell="Scavenge">
    			<action type="equip" when="precast">
    				<feet>Hunter's Socks</feet></action>
    		</if>
    
    		<if spell="Camouflage">
    			<action type="equip" when="precast">
    				<body>Hunter's Jerkin</body></action>
    		</if>
    
    		<else>
    			<!--Ninjutsu stuff-->
    			<if spell="Utsusemi: Ichi">
    				<action type="midcastdelay" delay="2.4" />
    				<if advanced='"$Ut"=="Ni"'>
    					<!--Cancel currently active shadows if last cast was Ni.-->
    					<!--Needs the cancel pluugin to be loaded aswell-->
    					<action type="Command" when="midcast">cancel 66</action>
    					<action type="var" cmd="set Ut Ichi" />
    				</if>
    			</if>
    			<elseif spell="Utsusemi: Ni">
    				<action type="var" cmd="set Ut Ni" />
    			</elseif>
    			<elseif spell="Ranged" spelltargettype="MONSTER|NPC" status="engaged" >
    				<equip set="TP" />
    			</elseif>
    		</else>
    	</rules>
    </spellcast>

  4. #304
    Relic Shield
    Join Date
    Jul 2007
    Posts
    1,662
    BG Level
    6
    FFXIV Character
    Issah Grimes
    FFXIV Server
    Balmung
    FFXI Server
    Phoenix

    Had a question this might have been mentioned already in this thread, but I didn't bother reading through so sorry if this is a repeat.

    I wanted to add an aggressor rule into my spellcast to change gear when the buff is active. I'm new to spellcast and have never actually written my own melee one before. I just want it to equip the aggressor set when the buff is active and i engage.

    Thanks in Advance

  5. #305
    Hydra
    Join Date
    Aug 2007
    Posts
    132
    BG Level
    3
    FFXI Server
    Ramuh

    Something along the line of...

    Code:
    <if buffactive="Aggressor">
         <equip set="Aggressor" when="Engaged|Aftercast" />
    <elseif NotBuffActive="Aggressor"> 
        <equip set="NoAggressor" when="Engaged|Aftercast" />
    </elseif>
    </if>
    Just a quick one, don't know if it works 100% or not, just to get you started.

  6. #306
    Hydra
    Join Date
    Aug 2007
    Posts
    132
    BG Level
    3
    FFXI Server
    Ramuh

    Quote Originally Posted by nakedsnake09 View Post
    You're welcome for the XML. The cure issue is obviously in here:

    Code:
    <if advanced='"%SubJob"="WHM|RDM"'>
    			<if skill="HealingMagic">
    				<if spell="Cure|Cure II|Cure III|Curaga*">
    					<action type="equip" when="precast" set="Cure" />
    				</if>
    			</if>
    I haven't been on my cor account in forever, I'll toy around with it later, and let you know what I find. However, I will guess it is going to be the subjob part causing the issue. I remember my cure set working just fine, but I think all I changed was my staff, which was handled by the spell element swap, so I'm not positive atm.
    The cure issue is definitely that, use this one. It works perfectly. Tested to make sure.

    Code:
    <if SubJob="WHM|RDM">
    			<if skill="HealingMagic">
    				<if spell="Cure|Cure II|Cure III|Curaga*">
    					<action type="equip" when="precast" set="Cure" />
    				</if>
    			</if>
    		</if>
    It should work, if not let me know and I'll see what I can do to help.

  7. #307
    Melee Summoner
    Join Date
    May 2009
    Posts
    44
    BG Level
    1
    FFXI Server
    Unicorn

    Quote Originally Posted by Iremire View Post
    Had a question this might have been mentioned already in this thread, but I didn't bother reading through so sorry if this is a repeat.

    I wanted to add an aggressor rule into my spellcast to change gear when the buff is active. I'm new to spellcast and have never actually written my own melee one before. I just want it to equip the aggressor set when the buff is active and i engage.

    Thanks in Advance
    I have a rule setup for that in my xml, I can post/pm it to you if you want when I get home. Sadly that won't be for at least 8 hours :/

  8. #308
    New Merits
    Join Date
    Apr 2009
    Posts
    242
    BG Level
    4
    FFXI Server
    Leviathan

    I just tried redownloading the spellcast file from windower page, and the file downloaded isn't recognized as a plugin like the rest (doesn't have the gear symobol on its icon) and attempting to load it results in fail, saying module not found. Is the dl broken or am I missing something?

  9. #309
    Puppetmaster
    Join Date
    Jan 2010
    Posts
    70
    BG Level
    2
    FFXI Server
    Leviathan

    Quote Originally Posted by Thunder View Post
    Don't want to turn this into "what's better?" thread, questions about optimal/doing-your-best-with-what-you-have gear questions go there.

    I'd just replace gear sets with, and say you're doing rdm para/slow set, this:

    Code:
    - <set name="EnfeeblingMagic-WhiteMagic" BaseSet="Standard">
      <main>XXX</main> 
      </set>
    I disagree with this, unless set names are very clearly labeled or are commented properly. I've seen a lot of XMLs where the sets are labeled very poorly like "normal" or "yak". If they had examples, they'd have been much easier to decipher.

  10. #310
    BG is my LJ
    Join Date
    Apr 2005
    Posts
    4,222
    BG Level
    7
    FFXIV Character
    Lovely Nirokun
    FFXIV Server
    Excalibur

    yay new problems

    So I was looking to see if any gear changes were necessary though my Notepad++ thing, and lo and behold, my scholar .xml was full of blm stuff So I spent the afternoon recreating it (and by that I mean modifying one from windower.net :D), working one problem out by myself (woo!) but I can't seem to fix this one. For some reason spellcast is putting me back into idle gear all the time and not taking sublimation status into account.

    http://pastebin.com/35GGM57a

    (Still havent fixed the Fenrir's crown problem either, if anyone was interested :D)

  11. #311
    New Merits
    Join Date
    Apr 2009
    Posts
    242
    BG Level
    4
    FFXI Server
    Leviathan

    Just grabbed Aikars xml for blm and edited the gear, but for some reason its not equiping any of my staves for nuking or resting or anything. Any idea why? Also there seems to be like a 1 second delay from when I hit a macro to do anything and the spell actually starting, as well as a major freeze spike or something for like the second that it sits there before casting, any reason for this? The smn I used doesn't do this.

    Edit: Obis arent changing as well.

    Code:
    <?xml version="1.0" ?>
    <!-- 
    ===================================================
      ||
      ||       Aikar's BLM SpellCast Template
      ||
      || This file is designed to be easily used by others.
      || Simply editing in your own gear and modifying the variables up top
      || should be all that is needed to make use of this file.
      ||
      || Please be sure to configure the variables prior to use.
      ||
      || If you have any questions - Please post on the forums.
    ===================================================
     -->
    <spellcast>
    	<config RequireVersion="2.22" />
    	<variables>
    		<!-- Sleep timers, announces to chat when sleep is wearing off. Set to 0 to not use. -->
    		<!-- (note: this is sort of very obvious usage of 3rd party programs, so turn off when around people you dont trust -->
    		<var name="SleepTimers">0</var>
    		<!-- use BLM AF2 pants or not? Set to 0 if you do not have it -->
    		<var name="BLMAF2Pants">1</var>
    		<!-- use Sorc ring or not? set to 0 if you do not have it or dangerous location -->
    		<var name="Ring">0</var>
    		<!-- use Ugg Pendant or not? set to 0 if you do not have it. -->
    		<var name="UggPendant">1</var>
    		<!-- Set HP Variables for what the maximum amount of HP you can have to trigger sorc ring is for each subjob -->
    		<var name="RDMRingHP">597</var>
    		<var name="WHMRingHP">583</var>
    		<var name="NINRingHP">597</var>
    		<!-- Elemental Grips, set to 1 for each you have -->
    		<var name="LightGrip">0</var>
    		<var name="DarkGrip">0</var>
    		<var name="ThunderGrip">0</var>
    		<var name="IceGrip">0</var>
    		<var name="FireGrip">0</var>
    		<var name="WindGrip">0</var>
    		<var name="WaterGrip">0</var>
    		<var name="EarthGrip">0</var>
    		<!-- Elemental Staffs, input what staff to use for each element here -->
    		<var name="IceStaff">Ice Staff</var>
    		<var name="DarkStaff">Pluto's Staff</var>
    		<var name="ThunderStaff">Jupiter's Staff</var>
    		<var name="WindStaff">Wind Staff</var>
    		<var name="FireStaff">Vulcan's Staff</var>
    		<var name="EarthStaff">Terra's Staff</var>
    		<var name="LightStaff">Apollo's Staff</var>
    		<var name="WaterStaff">Water Staff</var>
    		<!-- Elemental Obi's, set to 1 for the ones you have. -->
    		<var name="DarkObi">0</var>
    		<var name="LightObi">0</var>
    		<var name="ThunderObi">1</var>
    		<var name="IceObi">1</var>
    		<var name="FireObi">0</var>
    		<var name="WindObi">1</var>
    		<var name="WaterObi">0</var>
    		<var name="EarthObi">0</var>
    	</variables>
    	<sets>
    		<group name="Main" default="yes">
    			<set name="Standard">
    				<main>$EarthStaff</main>
    				<sub>Staff Strap</sub>
    				<ammo>Fortune Egg</ammo>
    				<neck>Elemental Torque</neck>
    				<lear>Moldavite Earring</lear>
    				<rear>Magnetic Earring</rear>
    				<body>Sorcerer's Coat</body>
    				<hands>Zenith Mitts</hands>
    				<lring>Balrahn's Ring</lring>
    				<rring>Diamond Ring</rring>
    				<back>Rainbow Cape</back>
    				<waist>Penitent's Rope</waist>
    				<legs>Errant Slops</legs>
    				<feet>Rostrum Pumps</feet>
    				<head>Wizard's Petasos</head>
    			</set>
    			<set name="FastCast">
    				<feet>Rostrum Pumps</feet>
    				<waist>Moblin Cest</waist>
    			</set>
    			<set name="Resting" BaseSet="Standard">
    				<body>Errant Hpl.</body>
    				<main>$DarkStaff</main>
    				<head>Zenith Crown</head>
    				<waist>Hierarch Belt</waist>
    				<hands>Zenith Mitts</hands>
    				<neck>Beak Necklace</neck>
    				<rear>Magnetic Earring</rear>
    				<legs>Sorcerer's </legs>
    				<back>Merciful Cape</back>
    			</set>
    			<set name="MinusHP">
    				
    			</set>
    			<set name="FullDamage" BaseSet="Standard">
    				<sub>Staff Strap</sub>
    				<ammo>Fortune Egg</ammo>
    				<neck>Elemental Torque</neck>
    				<lear>Moldavite Earring</lear>
    				<rear>Abyssal Earring</rear>
    				<head>Wzd. Petasos</head>
    				<body>Igqira Weskit</body>
    				<hands>Zenith Mitts</hands>
    				<lring>Balrahn's Ring</lring>
    				<rring>Blizzard Ring</rring>
    				<back>Rainbow Cape</back>
    				<legs>Errant Slops</legs>
    				<feet>Rostrum Pumps</feet>
    			</set>
    			<set name="HighResist" BaseSet="FullDamage">
    				<hands>Wizard's Gloves +1</hands>
    				<feet>Rostrum Pumps</feet>
    				<back>Merciful Cape</back>
    				<neck>Elemental Torque</neck>
    			</set>
    			<set name="MidResist" BaseSet="FullDamage">
    				<back>Merciful Cape</back>
    				<hands>Wizard's Gloves +1</hands>
    			</set>			
    			<set name="LightResist" BaseSet="FullDamage">
     
    			</set>					
    			<set name="DarkMagic">
    				<legs>Wizard's Tonban</legs>
    				<lear>Moldavite Earring</lear>
    				<rear>Abyssal Earring</rear>
    				<head>Walahra Turban</head>
    				<waist>Swift Belt</waist>
    				<body>Errant Hpl.</body>
    				<feet>Sorcerer's Sabots</feet>
    				<back>Merciful Cape</back>
    			</set>
    			<set name="EnfeeblingMagic">
    				<body>Wizard's Coat</body>
    				<head>Igqira Tiara</head>
    				<hands>Wizard Gloves +1</hands>
    				<legs>Igqira Lappa</legs>
    				<feet>Wizard's Sabots</feet>
    				<waist>Moblin Cest</waist>
    			</set>
    			<set name="HealingMagic" />
    			<set name="DivineMagic" />
    			<set name="EnhancingMagic">
    				<main lock="yes">$WaterStaff</main>
    				<body>Errant Hpl.</body>
    				<head>Zenith Crown</head>
    				<feet>Rostrum Pumps</feet>
    				<waist>Moblin Cest</waist>
    			</set>
    		</group>
    	</sets>
    	<rules>
     
    		<!-- utility: if targetting a monster, but casting a spell that can not be cast on monsters, then cast on self (buffs). -->
    		<if SpellTargetType="MONSTER" NotValidTarget="*Enemy*" ValidTarget="*Self*">
    			<action type="changetarget" target="&lt;me&gt;" />
    		</if>	
    		<if SpellTargetType="NONE" ValidTarget="*Self*">
    			<action type="changetarget" target="&lt;me&gt;" />
    		</if>
    		<if Spell="Escape|Warp|Warp II|Retrace|Teleport-*|Reraise|Tractor"> <action type="return" /> </if>
    		<!-- set of gear to equip when finished casting a spell or coming back from resting mp (idle set) -->
    		<action type="equip" when="Idle|aftercast" set="Standard" />
    		<!-- set of gear to equip when resting -->
    		<action type="equip" when="Resting" set="Resting" />
     
    		<if Spell="Stun">
    			<!-- equip gear that helps stun, and nothing else -->
    			<action type="equip" set="DarkMagic|FastCast">
    				<main>$ThunderStaff</main>
    				<waist>Swift Belt</waist>
    				<head>Walahra Turban</head>
    				<feet>Rostrum Pumps</feet>
    			</action>
    			<!-- these codes just print Stun in auto translate into chat. -->
    			<action type="command">input /p \xFD\x07\x02\x12\xFC\xFD &gt;&gt; &lt;%SpellTarget&gt;</action>
    		</if>
    		<else>
    			<!-- equip fast cast gear -->
    			<action type="equip" Set="FastCast" />
    			<!-- Elemental Grip checks. Are we casting an enfeeble, or are we casting on a resistant mob? -->
    			<if mode="OR" NotSkill="ElementalMagic" Spell="Frost|Drown|Rasp|Burn|Shock|Choke" SpellTargetName="Tiamat|Genbu|Suzaku|Seiryu|Byakko|Kirin|Jormungand|Ouryu|Vrtra|Cerberus|Khimaira|Fafnir|Nidhogg|Aspidochelone|King Behemoth|Tinnin|Sarameya|Tyger|Jailer of Love">
    				<if Advanced='"$%SpellElementGrip" == "1"'>
    					<action type="equip" when="midcast">
    						<sub lock="true">%SpellElement Grip</sub>
    					</action>
    				</if>
    			</if>
    			<!-- if were handling spells -->
    			<if Skill="*Magic">
    				<!-- if this is elemental magic (nukes/dot's, then do special handling -->
    				<if Skill="ElementalMagic">
    					<if Spell="Frost|Drown|Rasp|Burn|Shock|Choke">
    						<!-- equip elemental/INT gear for DoT's -->
    						<action type="equip" when="precast|midcast" Set="HighResist" />	
    					</if>
    					<else>
    						<!-- this is an actual nuke. Check target to be a known high resist mob (and that ES is not active) -->
    						<if SpellTargetName="Tiamat|Genbu|Suzaku|Seiryu|Byakko|Kirin|Jormungand|Vrtra|Cerberus|Khimaira|Tyger|Jailer of Love|Sarameya" NotBuffActive="Elemental Seal">
    							<action type="equip" when="precast|midcast" Set="HighResist" />	
    						</if>
    						<else>
    							<!-- if mob is not high resist, is it a mid resist mob? -->
    							<if SpellTargetName="Fafnir|Nidhogg|Aspidochelone|King Behemoth|Tinnin|Ouryu" NotBuffActive="Elemental Seal">
    								<action type="equip" when="precast|midcast" Set="MidResist" />	
    							</if>
    							<else>
    								<!-- Normal mob, go full damage gear. -->
    								<if mode="or" Area="Dynamis *|Hazhalm*" SpellTargetName="Lambton Worm|Sandworm|Guivre|King Arthro|Serket">
    									<if NotBuffActive="Elemental Seal">
    										<action type="equip" when="precast|midcast" Set="LightResist" />
    									</if>
    									<else>
    										<action type="equip" when="precast|midcast" Set="FullDamage" />	
    									</else>
    								</if>
    								<else>
    									<action type="equip" when="precast|midcast" Set="FullDamage" />	
    								</else>
    								<!-- only equip pendant in situations you would equip full damage gear -->
    								<if MPPAfterCastLT="50" Advanced="$UggPendant==1">
    									<action type="equip" when="midcast">
    										<neck lock="yes">Uggalepih Pendant</neck>
    									</action>
    								</if>
    							</else>
    							<!-- check for Sorc Ring if mid or low resist mob. HP values to compare to are in variables above. -->
    							<if advanced='$Ring == 1'>
    								<!-- make sure we have an HP variable set for current subjob -->
    								<if Advanced='"$%SubJobRingHP" !="\$%SubJobRingHP"'>
    									<if Advanced='%HP &gt; $%SubJobRingHP'>
    										<!-- if you have too much HP at the time of casting, equip minus hp -->
    										<action type="equip" set="MinusHP" />
    									</if>
    								</if>
    								<else>
    									<!-- if no HP amount is specified for the current subjob, just always equip minushp as precast -->
    									<action type="equip" set="MinusHP" />
    								</else>
     
    								<action type="equip" when="midcast">
    										<lring>Sorcerer's Ring</lring>
    								</action>
    							</if>
    						</else>
    					</else>
    				</if>
    				<else>
    					<!-- for any other type of spell, just equip matching set name. -->
    					<action type="equip" when="precast|midcast" Set="Standard|%Skill" />	
    				</else>
    			</if>
    			<else>
    				<action type="equip" when="precast|midcast" Set="Standard" />
    			</else>				
    			<!-- so i can see in general how much my drain did. If Ring=0 then its a dangerous spot and shouldnt drop HP. -->
    			<if Spell="Drain" Advanced="$Ring==1">
    					<action type="equip" set="MinusHP" />
    			</if>
    			<!-- Handle Elemental Obi's -->
    			<if Advanced='("%SpellElement" = "%WeatherElement" OR "%SpellElement" = "%DayElement") AND "$%SpellElementObi" = "1"'>
    				<if     Element="Dark"><action type="equip" when="midcast"><waist lock="yes">Anrin Obi</waist></action></if>
    				<elseif Element="Light"><action type="equip" when="midcast"><waist lock="yes">Korin Obi</waist></action></elseif>
    				<elseif Element="Thunder"><action type="equip" when="midcast"><waist lock="yes">Rairin Obi</waist></action></elseif>
    				<elseif Element="Ice"><action type="equip" when="midcast"><waist lock="yes">Hyorin Obi</waist></action></elseif>
    				<elseif Element="Fire"><action type="equip" when="midcast"><waist lock="yes">Karin Obi</waist></action></elseif>
    				<elseif Element="Wind"><action type="equip" when="midcast"><waist lock="yes">Furin Obi</waist></action></elseif>
    				<elseif Element="Water"><action type="equip" when="midcast"><waist lock="yes">Suirin Obi</waist></action></elseif>
    				<elseif Element="Earth"><action type="equip" when="midcast"><waist lock="yes">Dorin Obi</waist></action></elseif>
    			</if>
    			<!-- Handle AFv2 Pants, but do not equip pants if we already have Weather x2 and day bonuses from obi alone as obi alone hits the 35% damage cap. -->
    			<if Advanced='(!((regex)%Weather=^.* x2$(/regex) AND "%WeatherElement" = "%SpellElement" AND "$%SpellElementObi" = "1") OR !("%WeatherElement" = "%spellElement")) AND ("%SpellElement" = "%DayElement" AND "$BLMAF2Pants" = "1") AND ("%skill"="ElementalMagic")'>
    				<action type="equip" when="midcast">
    					<legs lock="yes">Sorcerer's Tonban</legs>
    				</action>
    			</if>
    			<!-- Timers for when sleep is wearing off. -->
    			<if advanced='"$SleepTimers"="1"'>
    				<if Spell="Sleep II|Sleepga II">
    					<action type="command" when="aftercast">spellcast var inc sleepid;wait 45;input /p [$sleepid:%spell] &lt;%target&gt; Wearing off in 45s</action>
    					<action type="command" when="aftercast">wait 75;input /echo [$sleepid:%spell] &lt;%target&gt; Wearing off in 15s</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 45;input /echo [$sleepid:%spell] &lt;%target&gt; Wearing off in 15s</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>
    			<!-- 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.8" />
    			</if>
    			<if spell="Utsusemi: Ichi" BuffActive="Copy Image">
    				<action type="midcastdelay" delay="3.0" />
    				<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="4.8" />
    			</elseif>
    			<elseif Spell="Blink" BuffActive="Blink">
    				<action type="command" when="midcast">cancel 36</action>
    				<action type="midcastdelay" delay="4.5" />
    			</elseif>
    			<!-- finally, equip our staff! -->
    			<action type="equip" when="midcast">
    				<main>$%SpellElementStaff</main>
    			</action>
    		</else>
    	</rules>
    </spellcast>

  12. #312
    New Spam Forum
    Join Date
    Jul 2008
    Posts
    173
    BG Level
    3
    FFXI Server
    Leviathan

    Trying to get a RDM.xml to work for myself and no equip seems to proc. :/ Same for when I do //sc set name. I'm not very good at creating my own spell cast outside of gear sets. Someone posted it as a suggestion to use a couple of weeks ago on a previous page. Some of the code isn't mine so it's probably useless for what I'm trying to go for.
    Code:
    <?xml version="1.0" ?>
    <spellcast>
        <config
            RequiredVersion="2.30"
            Debug="False"
            HideErrors="False"
            ShowGearSwaps="False"
            />
        <sets>
            <group default="yes" name="RDM">
            <set name="Standard">
            <main>$EarthStaff</main>
            <sub>Bugard Strap +1</sub>
            <range>Lamian Kamen</range>
            <head>Duelist's Chapeau</head>
            <neck>Elemental Torque</neck>
            <lear>Moldavite Earring</lear>
            <rear>Novio Earring</rear>
            <!--<rear>Abyssal Earring</rear>-->
            <body>Duelist's Tabard</body>
            <hands>Zenith Mitts</hands>
            <lring>Jelly Ring</lring>
            <rring>Tamas Ring</rring>
            <back>Lamia Mantle +1</back>
            <waist>Penitent's Rope</waist>
            <legs>Mahatma Slops</legs>
            <feet>Goliard Clogs</feet>
            </set>
            <set name="Resting" BaseSet="Standard">
            <main>Pluto's Staff</main>
            <sub>Bugard Strap +1</sub>
            <head>Duelist's Chapeau</head>
            <neck>Beak Necklace +1</neck>
            <lear>Relaxing Earring</lear>
            <rear>Magnetic Earring</rear>
            <body>Errant Hpl.</body>
            <back>Invigorating Cape</back>
            <waist>Qiqirn Sash +1</waist>
            <feet>Goliard Clogs</feet>
            <legs>Baron's Slops</legs>
            </set>
                <set name="Engaged" BaseSet="Standard">
            <main>Joyeuse</main>
            <sub>Genbu's Shield</sub>
            <range>Lamian Kamen</range>
            <head>Walhara Turban</head>
            <neck>Peacock Charm</neck>
            <lear>Loq. Earring</lear>
            <rear>Magnetic Earring</rear>
            <body>Scorpion Harness +1</body>
            <hands>Dusk Gloves</hands>
            <lring>Lava's Ring</lring>
            <rring>Kusha's Ring</rring>
            <back>Amement Mantle +1</back>
            <waist>Virtuoso Belt</waist>
            <legs>Nashira Seraweels</legs>
            <feet>Dusk Ledelsens</feet>
            </set>
            <set name="CB" BaseSet="Standard">
            <main>Joyeuse</main>
            <sub>Genbu's Shield</sub>
            <ammo>Fullmetal Bullet</ammo>
            <head>Walhara Turban</head>
            <neck>Peacock Charm</neck>
            <lear>Loq. Earring</lear>
            <rear>Magnetic Earring</rear>
            <body>Scorpion Harness +1</body>
            <hands>Dusk Gloves</hands>
            <lring>Lava's Ring</lring>
            <rring>Kusha's Ring</rring>
            <back>Amement Mantle +1</back>
            <waist>Virtuoso Belt</waist>
            <legs>Nashira Seraweels</legs>
            <feet>Dusk Ledelsens</feet>
                </set>
                <!-- Start of Condition Specific Sets-->
                <set name="Fastcast" Baseset="Standard">
            <sub>Sentinal Shield</sub>
            <head>Walhalra Turban</head>
            <rear>Loquac. Earring</rear>
            <body>Duelist's Tabard</body>
            <hands>Dusk Gloves</hands>
            <legs>Nashira Seraweels</legs>
            <feet>Dusk Ledelsens</feet>
                </set>
                <!-- Start of Specific Magic Sets-->
                <set name="DarkMagic" BaseSet="Fastcast">
            <sub>Dark Grip</sub>
            <neck>Dark Torque</neck>
            <rear>Abyssal Earring</rear>
            <body>Errant Hpl.</body>
                </set>
                <set name="DivineMagic" BaseSet="Fastcast" />
                <set name="EnhancingMagic" BaseSet="Fastcast">
                    <head>Duelist's Chapeau</head>
                    <hands>Nashira Gages</hands>
                    <body>Nashira Manteel</body>
                    <back>Merciful Cape</back>
                    <waist>Swift Belt</waist>
                </set>
                <set name="ElementalMagic" BaseSet="Fastcast">
            <sub>Bugard Strap +1</sub>
            <ammo>Phantom Tathlum</ammo>
            <neck>Elemental Torque</neck>
            <lear>Moldavite Earring</lear>
            <!--<rear>Abyssal Earring</rear>-->
            <rear>Novio Earring</rear>
            <head>Warlock's Chapeau</head>
            <body>Errant Hpl.</body>
            <hands>Zenith Mitts</hands>
            <lring>Snow Ring</lring>
            <rring>Tamas Ring</rring>
            <back>Prism Cape</back>
            <legs>Mahatma Slops</legs>
            <feet>Goliard Clogs</feet>
                </set>
                <set name="EnfeeblingBase" BaseSet="Fastcast">
            <head>Duelist's Chapeau</head>
            <neck>Enfeebling Torque</neck>
            <lear>Loq. Earring</lear>
            <rear>Magnetic Earring</rear>
            <body>Warlock's Tabard +1</body>
            <rring>Tamas Ring</rring>
            <back>Prism Cape</back>
            <waist>Penitent's Rope</waist>
            <legs>Mahatma Slops</legs>
            <feet>Goliard Clogs</feet>
                </set>
                <set name="EnfeeblingBlackMagic" BaseSet="EnfeeblingBase">
            <sub>Bugard Strap +1</sub>
            <lring>Snow Ring</lring>
            <rring>Tamas Ring</rring>
            <feet>Goliard Clogs</feet>
            <ammo>Phantom Tathlum</ammo>
                </set>
                <set name="EnfeeblingWhiteMagic" BaseSet="EnfeeblingBase">
            <sub>Raptor Strap +1</sub>
            <hands>Dvt. Mitts +1</hands>
            <feet>Mahatma Pigaches</feet>
                </set>
            <set name="MND">            
            <main>$WaterStaff</main>
            <sub>Raptor Strap +1</sub>
            <head>Duelist's Chapeau</head>
            <neck>Morgana's Choker</neck>
            <lear>Loq. Earring</lear>
            <rear>Magnetic Earring</rear>
            <body>Errant houppelande</body>
            <hands>Dvt. Mitts +1</hands>
            <lring>Serket Ring</lring>
            <rring>Tamas Ring</rringback>
            <back>Prism Cape</back>
            <waist>Penitent's Rope</waist>
            <legs>Mahatma Slops</legs>
            <feet>Mahatma Pigaches</feet>
                </set>
                <set name="INT">            
            <main>$IceStaff</main>
            <sub>Bugard Strap +1</sub>
            <head>Warlock's Chapeau</head>
            <neck></neck>
            <lear>Abyssal Earring</lear>
            <rear>Magnetic Earring</rear>
            <body>Errant houppelande</body>
            <hands>Duelist's Gloves</hands>
            <lring>SNow Ring</lring>
            <rring>Tamas Ring</rringback>
            <back>Prism Cape</back>
            <waist>Penitent's Rope</waist>
            <legs>Mahatma Slops</legs>
            <feet>Goliard Clogs</feet>
                </set>
                <set name="HealingMagic" BaseSet="Fastcast">
            <main>$LightStaff</main>
            <sub>Raptor Strap +1</sub>
            <head>Duelist's Chapeau</head>
            <neck>Morgana's Choker</neck>
            <lear>Loq. Earring</lear>
            <rear>Magnetic Earring</rear>
            <body>Errant houppelande</body>
            <hands>Dvt. Mitts +1</hands>
            <lring>Serket Ring</lring>
            <rring>Tamas Ring</rringback>
            <back>Prism Cape</back>
            <waist>Penitent's Rope</waist>
            <legs>Mahatma Slops</legs>
            <feet>Mahatma Pigaches</feet>
                </set>
            <set name="EnhancingMagic" BaseSet="Fastcast">
            <main lock="yes">$WaterStaff</main>
            <sub>Raptor Strap +1</sub>
            <body>Errant Hpl.</body>
            <neck>Enhancing Torque</neck>
            <hands>Devotee's Mitts +1</hands>
            <back>Prism Cape</back>
            <waist>Penitant's Rope</waist>
            <legs>Mahatma Slops</legs>
            <feet>Mahatma Pigaches</feet>
                </set>
                <!-- Start of HQ Staff/Obi sets-->
                <set name="FireStaff">
                    <main>Vulcan's Staff</main>
                    <sub>Bugard Leather Strap +1</sub>
                </set>
                <set name="IceStaff">
                    <main>Aquilo's Staff</main>
                    <sub>Ice Grip</sub>
                </set>
                <set name="WindStaff">
                    <main>Auster's Staff</main>
                    <sub>Wind Grip</sub>
                </set>
                <set name="EarthStaff">
                    <main>Terra's Staff</main>
                    <sub>Bugard Leather Strap +1</sub>
                </set>
                <set name="ThunderStaff">
                    <main>Jupiter's Staff</main>
                    <sub>Thunder Grip</sub>
                </set>
                <set name="WaterStaff">
                    <main>Neptune's Staff</main>
                    <sub>Water Grip</sub>
                </set>
                <set name="LightStaff">
                    <main>Apollo's Staff</main>
                    <sub>Bugard Leather Strap +1</sub>
                </set>
                <set name="DarkStaff">
                    <main>Pluto's Staff</main>
                    <sub>Dark Grip</sub>
                </set>
                <set name="ThunderObi">
                    <waist lock="true">Rairin Obi</waist>
                </set>
                <set name="IceObi">
                    <waist lock="true">Hyorin Obi</waist>
                </set>
                <set name="DarkObi">
                    <waist lock="true">Anrin Obi</waist>
                </set>
                <set name="WindObi">
                    <waist lock="true">Furin Obi</waist>
                </set>
                <set name="LightObi">
                    <waist lock="true">Korin 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">
                <equip when="resting" set="Resting" />
                <equip when="idle" set="Standard" />
                <equip when="engaged" set="Engaged" />
            </if>
            <!-- Control for Town Gear-->
            <if Area="*Windurst*|*San d'Oria*|*Bastok*|*Jeuno*|*Whitegate|Al Zahbi" NotArea="Dynamis*">
                <equip when="idle" set="Town" />
            </if>
            <!-- Control for Engagement and Weaponskill Sets-->
            <if NotStatus="Engaged">
                <equip when="aftercast" set="Standard" />
            </if>
            <else>
                <equip when="aftercast" set="Engaged" />
            </else>
            <if TPGT="10">
                <disable slot="main|sub|ranged" />
            </if>
            <else>
                <enable slot="main|sub|ranged" />
            </else>
            <if Type="WeaponSkill" NotTPLT="100">
                <castdelay delay=".2" />
                <equip when="Precast" set="WeaponSkill" />
            </if>
            <if CommandPrefix="/ra">
                <defaulttarget target="&lt;t&gt;" />
                <equip when="precast|midcast" set="Engaged" />
            </if>
            <elseif ValidTarget="Self">
                <defaulttarget target="&lt;me&gt;" />
            </elseif>
            <elseif ValidTarget="Enemy">
                <defaulttarget target="&lt;stnpc&gt;" />
            </elseif>
            <elseif ValidTarget="*Enemy*|Unknown">
                <defaulttarget target="&lt;st&gt;" />
            </elseif>
            <else>
                <defaulttarget target="&lt;stpc&gt;" />
            </else>
            <!-- Control for Disabling Convert Sets (Currently working on streamlining this)-->
            <if advanced='%MP&gt;=$HighMP'>
                <disable slot="neck|lear|rear|body|hands|lring|rring|back|legs|feet" />
                <!-- disable ALL +MP GEAR slots-->
            </if>
            <if advanced='%MP&lt;($HighMP-10)'>
                <enable slot="body" />
            </if>
            <if advanced='%MP&lt;($HighMP-54)'>
                <enable slot="neck" />
            </if>
            <if advanced='%MP&lt;($HighMP-84)'>
                <enable slot="legs" />
            </if>
            <if advanced='%MP&lt;($HighMP-114)'>
                <enable slot="feet" />
            </if>
            <if advanced='%MP&lt;($HighMP-134)'>
                <enable slot="hands" />
            </if>
            <if advanced='%MP&lt;($HighMP-184)'>
                <enable slot="rring" />
            </if>
            <if advanced='%MP&lt;($HighMP-209)'>
                <enable slot="lring" />
            </if>
            <if advanced='%MP&lt;($HighMP-224)'>
                <enable slot="lear" />
            </if>
            <if advanced='%MP&lt;($HighMP-254)'>
                <enable slot="rear" />
            </if>
            <if advanced='%MP&lt;($HighMP-280)'>
                <enable slot="back" />
            </if>
            <!-- Control for Specific Magic Sets-->
            <if Advanced='BuffActive("Allied Tags")' set="CB">
                    </if>
        <if Skill="ElementalMagic">
        <if Spell="Frost|Drown|Rasp|Burn|Shock|Choke">
            <!-- equip elemental/INT gear for DoT's -->
            <action type="equip" when="precast|midcast" Set="INT" />    
            </if>
            <if Skill="DarkMagic">
        <if Spell="Bio|Bio II|Drain|Aspir">
            <action type="equip" when="precast|midcast" Set="DarkMagic" />    
            </if>
            <!-- Enhancing Magic-->
            <!-- auto cancel sneak/utsu/stoneskin/blink when recasting them. Requires Cancel Plugin -->
            <if Spell="Sneak" BuffActive="Sneak" advanced='"%SpellTarget"="%PlayerName" OR "%SpellTarget"="&lt;me&gt;" OR ("%target"="%PlayerName" AND "%SpellTarget"="&lt;t&gt;")'>
                <command when="midcast">cancel 71</command>
                <midcastdelay delay="1.1" />
            </if>
            <if spell="Utsusemi: Ichi" BuffActive="Copy Image">
                <midcastdelay delay="1.5" />
                <command when="midcast">cancel 66</command>
            </if>
            <elseif Spell="Stoneskin" BuffActive="Stoneskin">
                <command when="midcast">cancel 37</command>
                <midcastdelay delay="3.5" />
            </elseif>
            <elseif Spell="Blink" BuffActive="Blink">
                <command when="midcast">cancel 36</command>
                <midcastdelay delay="3.5" />
            </elseif>
            <elseif Skill="EnfeeblingMagic">
                <equip when="precast" set="Fastcast" />
                <equip when="midcast" set="Enfeebling%Type" />
            </elseif>
            <elseif Skill="ElementalMagic">
                <equip when="precast" set="Fastcast" />
                <equip when="midcast" set="Elementalmagic" />
                <if MPPAfterCastLT="50" NotSpell="Rasp|Frost|Drown|Burn|Choke|Shock">
                    <equip when="midcast">
                        <neck lock="true">Uggalepih Pendant</neck>
                    </equip>
                </if>
            </elseif>
            <if mplt="%MPCost">
                <action type="addtochat" color="50">Out of MP cock sucker.</action>
                <action type="CancelSpell" />
                <action type="return" /> 
                            </if>
            <!-- Timers for when sleep is wearing off. -->
        <if advanced='"$SleepTimers"="1"'>
        <if Spell="Sleep II|Sleepga II">
            <action type="command" when="aftercast">spellcast var inc sleepid;wait 45;input /echo [$sleepid:%spell] &lt;%target&gt; Wearing off in 45s</action>
            <action type="command" when="aftercast">wait 75;input /echo [$sleepid:%spell] &lt;%target&gt; Wearing off in 15s</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 45;input /echo [$sleepid:%spell] &lt;%target&gt; Wearing off in 15s</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>
            <!-- Control for Obi's-->
            <if advanced='("%WeatherElement"="%SpellElement") OR ("%DayElement"="%SpellElement")'>
                <equip when="midcast" set="%SpellElementObi" />
            </if>
            <!-- Control for Spell Detection for Skill Sets, setting the gear and staffs-->
            <elseif CommandPrefix="/ma|/magic" NotSpell="Stoneskin" NotSkill="EnfeeblingMagic">
                <equip when="midcast" set="%Skill" />
            </elseif>
            <if advanced='(string)"%SpellElement"=="Unknown"' />
            <elseif advanced='(string)"%SpellElement"=="None"' />
            <else>
                <equip when="precast" set="FastCast" />
                <equip when="midcast" set="%SpellElementStaff" />
            </else>
            <elseif Skill="BlueMagic">
                <if advanced='(string)"%SpellElement"==Unknown'>
                    <equip when="midcast" set="BlueMagic-Physical" />
                </if>
                <else>
                    <equip when="midcast" set="BlueMagic-Magical" />
                </else>
            </elseif>
            <!-- Control to Change Cure Spells based on available MP-->
            <if Spell="Cure IV" MPLT="88">
                <changespell Spell="Cure III" />
            </if>
            <elseif Spell="Cure III" MPLT="46">
                <changespell Spell="Cure II" />
            </elseif>
            <elseif Spell="Cure II" MPLT="24">
                <changespell Spell="Cure" />
            </elseif>
        </rules>
    </spellcast>

  13. #313
    Hydra
    Join Date
    Oct 2008
    Posts
    120
    BG Level
    3

    Quote Originally Posted by Iremire View Post
    Had a question this might have been mentioned already in this thread, but I didn't bother reading through so sorry if this is a repeat.

    I wanted to add an aggressor rule into my spellcast to change gear when the buff is active. I'm new to spellcast and have never actually written my own melee one before. I just want it to equip the aggressor set when the buff is active and i engage.

    Thanks in Advance
    This is my WAR .xml that does that, it may be a bit unorganized, but if you can follow .xml it's all in there.

    Code:
    <?xml version="1.0" ?>
    <spellcast>
    	<config RequireVersion="2.22" />
    			DefaultAftercast="$
    	<sets>
    		<group name="Main" default="Yes">
    			<set name="Idle" BaseSet="Not Set">
    					<neck>Orochi Nodowa</neck>
    					<hands>Askar Manopolas</hands>
    					<feet>Hermes' Sandals</feet>
    					<rring>Ulthalam's Ring</rring>
    			</set>		
    			<set name="Not Set">
    					<head>Walahra Turban</head>
    					<neck>Peacock Charm</neck>
    					<lear>Brutal Earring</lear>
    					<rear>Hollow Earring</rear>
    					<body>Adaman Hauberk</body>
    					<hands>Dusk Gloves</hands>
    					<lring>Rajas Ring</lring>
    					<rring>Blitz Ring</rring>
    					<back>Forager's Mantle</back>
    					<waist>Swift Belt</waist>
    					<legs>Byakko's Haidate</legs>
    					<feet>Aurum Sabatons</feet>
    					<ammo>Fire Bomblet</ammo>
    			</set>
    			<set name="Aggressor Set" BaseSet="Not Set">
    					<rear>Pixie Earring</rear>
    			</set>
    			<set name="Haste" BaseSet="Not Set">
    					<head>Walahra Turban</head>
    					<hands>Dusk Gloves</hands>
    					<waist>Swift Belt</waist>
    					<legs>Byakko's Haidate</legs>
    					<feet>Aurum Sabatons</feet>
    			</set>
    			<set name="FastCast" BaseSet="Not Set">
    					<lear>Loquacious Earring</lear>
    					<head>Walahra Turban</head>
    					<hands>Dusk Gloves</hands>
    					<waist>Swift Belt</waist>
    					<legs>Byakko's Haidate</legs>
    					<feet>Aurum Sabatons</feet>
    			</set>
    			<set name="Raging Rush" BaseSet="Not Set">
    					<head>Hecatomb Cap</head>
    					<neck>Snow Gorget</neck>
    					<hands>Hecatomb Mittens</hands>
    					<waist>Warwolf Belt</waist>
    					<feet>Hecatomb Leggings</feet>
    					<rring>Flame Ring</rring>
    			</set>
    			<set name="King's Justice" BaseSet="Raging Rush">
    					<neck>Soil Gorget</neck>
    					<legs>Warrior's Cuisses</legs>
    					<hands>Alkyoneus's Bracelets</hands>
    					<rear>Triumph Earring</rear>
    			</set>
    			<set name="Steel Cyclone" BaseSet="King's Justice">
    					<neck>Snow Gorget</neck>
    					<ammo>Bibiki Seashell</ammo>
    					<head>Genbu's Kabuto</head>
    			</set>
    		</group>
    		<group name="Polearm">
    			<set name="Not Set" BaseGroup="Main">
    				<head>Walahra Turban</head>
    				<neck>Peacock Charm</neck>
    				<lear>Brutal Earring</lear>
    				<rear>Hollow Earring</rear>
    				<body>Adaman Hauberk</body>
    				<hands>Askar Manopolas</hands>
    				<lring>Rajas Ring</lring>
    				<rring>Ulthalam's Ring</rring>
    				<back>Forager's Mantle</back>
    				<waist>Swift Belt</waist>
    				<legs>Byakko's Haidate</legs>
    				<feet>Aurum Sabatons</feet>
    				<ammo>Fire Bomblet</ammo>
    			</set>
    			<set name="Aggressor Set" BaseSet="Not Set">
    				<rring>Blitz Ring</rring>
    			</set>
    			<set name="Idle" BaseSet="Not Set">
    					<neck>Orochi Nodowa</neck>
    					<hands>Askar Manopolas</hands>
    			</set>		
    			<set name="Haste" BaseGroup="Main" BaseSet="Not Set">
    					<head>Walahra Turban</head>
    					<hands>Dusk Gloves</hands>
    					<waist>Swift Belt</waist>
    					<legs>Byakko's Haidate</legs>
    					<feet>Aurum Sabatons</feet>
    			</set>
    			<set name="FastCast" BaseGroup="Main" BaseSet="Not Set">
    					<lear>Loquacious Earring</lear>
    					<head>Walahra Turban</head>
    					<hands>Dusk Gloves</hands>
    					<waist>Swift Belt</waist>
    					<legs>Byakko's Haidate</legs>
    					<feet>Aurum Sabatons</feet>
    			</set>
    			<set name="Penta Thrust">
    					<head>Hecatomb Cap</head>
    					<neck>Peacock Charm</neck>
    					<lear>Brutal Earring</lear>
    					<rear>Hollow Earring</rear>
    					<body>Adaman Hauberk</body>
    					<hands>Hecatomb Mittens</hands>
    					<lring>Rajas Ring</lring>
    					<rring>Ulthalam's Ring</rring>
    					<back>Forager's Mantle</back>
    					<waist>Life Belt</waist>
    					<legs>Byakko's Haidate</legs>
    					<feet>Ares's Sollerets</feet>
    					<ammo>Fire Bomblet</ammo>
    			</set>
    		</group>
    	</sets>
    	<variables clear="True">
    		<var name="AggressorOrNot">Not</var>
    	</variables>
    	<rules>
    		<if mode="OR" buffactive="Aggressor">
    			<action Type="Var" cmd="set AggressorOrNot Aggressor"/>
    		</if>
    		<elseif notbuffactive="Aggressor">
    			<action Type="Var" cmd="set AggressorOrNot Not"/>
    		</elseif>
    		<equip when="idle|aftercast" set="Idle"/>
    		<equip when="engaged" set="$AggressorOrNot Set" />
    		<if commandprefix="/weaponskill|/ws">
    			<if mode="OR" advanced='%spelltargetdistance &gt; 3.9' tplt="100">
    				<action type="cancelspell" />
    				<action type="return" />
    			</if>
    			<elseif spell="Raging Rush">
    				<equip when="precast" set="Raging Rush"/>
    				<equip when="aftercast" set="$AggressorOrNot Set"/>
    			</elseif>
    			<elseif spell="King's Justice">
    				<equip when="precast" set="King's Justice"/>
    				<equip when="aftercast" set="$AggressorOrNot Set"/>
    			</elseif>
    			<elseif spell="Steel Cyclone">
    				<equip when="precast" set="Steel Cyclone"/>
    				<equip when="aftercast" set="$AggressorOrNot Set"/>
    			</elseif>
    			<elseif spell="Penta Thrust">
    				<equip when="precast" set="Penta Thrust"/>
    				<equip when="aftercast" set="$AggressorOrNot Set"/>
    			</elseif>
    		</if>
    		<if status="engaged">
    			<if buffactive="Aggressor">
    				<equip when="aftercast" set="$AggressorOrNot Set" />
    			</if>
    			<else>
    				<equip when="aftercast" set="$AggressorOrNot Set" />
    			</else>
    		</if>
    		<elseif spell="Utsusemi: Ni">
    			<equip when="Precast" set="FastCast" />
    			<if status="Idle">
    				<equip set="Idle" when="aftercast" />
    			</if>
    		</elseif>	
            <if spell="Utsusemi: Ichi" BuffActive="Copy Image">
    			<equip when="Precast" set="FastCast" />
                <midcastdelay delay="3.0" />
                <command when="midcast">cancel 66</command>
            </if>
    		<elseif spell="Mono*" BuffActive="Sneak">
    			<action type="command" when="midcast">cancel 71</action>
    			<action type="midcastdelay" delay="2.2" />
    			<Equip set="Idle" when="aftercast" />
    		</elseif>
    		<elseif Spell="Spectral Jig">
    			<if BuffActive="Sneak">
    				<action Type="Command" When="PreCast">cancel 71</action>
    			</if>
    			<equip set="Idle" when="aftercast" />
    		</elseif>
    		<elseif Spell="Aggressor">
    			<equip set="Aggressor Set" when="aftercast" />
    		</elseif>
    	</rules>
    </spellcast>

  14. #314
    Hydra
    Join Date
    Oct 2008
    Posts
    120
    BG Level
    3

    Quote Originally Posted by Natsuchii View Post
    Trying to get a RDM.xml to work for myself and no equip seems to proc. :/ Same for when I do //sc set name. I'm not very good at creating my own spell cast outside of gear sets. Someone posted it as a suggestion to use a couple of weeks ago on a previous page. Some of the code isn't mine so it's probably useless for what I'm trying to go for.
    Try this, there were a few places in your gear sets that you had </rringback> and also there were two <if> tags that you didn't have closed that were conflicting with your </rules> tag at the bottom. I fixed those problems, but don't have RDM so can't test.

    Code:
    <?xml version="1.0" ?>
    <spellcast>
        <config
            RequiredVersion="2.30"
            Debug="False"
            HideErrors="False"
            ShowGearSwaps="False"
            />
        <sets>
            <group default="yes" name="RDM">
    			<set name="Standard">
    				<main>$EarthStaff</main>
    				<sub>Bugard Strap +1</sub>
    				<range>Lamian Kamen</range>
    				<head>Duelist's Chapeau</head>
    				<neck>Elemental Torque</neck>
    				<lear>Moldavite Earring</lear>
    				<rear>Novio Earring</rear>
    				<!--<rear>Abyssal Earring</rear>-->
    				<body>Duelist's Tabard</body>
    				<hands>Zenith Mitts</hands>
    				<lring>Jelly Ring</lring>
    				<rring>Tamas Ring</rring>
    				<back>Lamia Mantle +1</back>
    				<waist>Penitent's Rope</waist>
    				<legs>Mahatma Slops</legs>
    				<feet>Goliard Clogs</feet>
    			</set>
    			<set name="Resting" BaseSet="Standard">
    				<main>Pluto's Staff</main>
    				<sub>Bugard Strap +1</sub>
    				<head>Duelist's Chapeau</head>
    				<neck>Beak Necklace +1</neck>
    				<lear>Relaxing Earring</lear>
    				<rear>Magnetic Earring</rear>
    				<body>Errant Hpl.</body>
    				<back>Invigorating Cape</back>
    				<waist>Qiqirn Sash +1</waist>
    				<feet>Goliard Clogs</feet>
    				<legs>Baron's Slops</legs>
    			</set>
                <set name="Engaged" BaseSet="Standard">
    				<main>Joyeuse</main>
    				<sub>Genbu's Shield</sub>
    				<range>Lamian Kamen</range>
    				<head>Walhara Turban</head>
    				<neck>Peacock Charm</neck>
    				<lear>Loq. Earring</lear>
    				<rear>Magnetic Earring</rear>
    				<body>Scorpion Harness +1</body>
    				<hands>Dusk Gloves</hands>
    				<lring>Lava's Ring</lring>
    				<rring>Kusha's Ring</rring>
    				<back>Amement Mantle +1</back>
    				<waist>Virtuoso Belt</waist>
    				<legs>Nashira Seraweels</legs>
    				<feet>Dusk Ledelsens</feet>
    			</set>
    			<set name="CB" BaseSet="Standard">
    				<main>Joyeuse</main>
    				<sub>Genbu's Shield</sub>
    				<ammo>Fullmetal Bullet</ammo>
    				<head>Walhara Turban</head>
    				<neck>Peacock Charm</neck>
    				<lear>Loq. Earring</lear>
    				<rear>Magnetic Earring</rear>
    				<body>Scorpion Harness +1</body>
    				<hands>Dusk Gloves</hands>
    				<lring>Lava's Ring</lring>
    				<rring>Kusha's Ring</rring>
    				<back>Amement Mantle +1</back>
    				<waist>Virtuoso Belt</waist>
    				<legs>Nashira Seraweels</legs>
    				<feet>Dusk Ledelsens</feet>
                </set>
                <!-- Start of Condition Specific Sets-->
                <set name="Fastcast" Baseset="Standard">
    				<sub>Sentinal Shield</sub>
    				<head>Walhalra Turban</head>
    				<rear>Loquac. Earring</rear>
    				<body>Duelist's Tabard</body>
    				<hands>Dusk Gloves</hands>
    				<legs>Nashira Seraweels</legs>
    				<feet>Dusk Ledelsens</feet>
                </set>
                <!-- Start of Specific Magic Sets-->
                <set name="DarkMagic" BaseSet="Fastcast">
    				<sub>Dark Grip</sub>
    				<neck>Dark Torque</neck>
    				<rear>Abyssal Earring</rear>
    				<body>Errant Hpl.</body>
                </set>
                <set name="DivineMagic" BaseSet="Fastcast" />
                <set name="EnhancingMagic" BaseSet="Fastcast">
                    <head>Duelist's Chapeau</head>
                    <hands>Nashira Gages</hands>
                    <body>Nashira Manteel</body>
                    <back>Merciful Cape</back>
                    <waist>Swift Belt</waist>
                </set>
                <set name="ElementalMagic" BaseSet="Fastcast">
    				<sub>Bugard Strap +1</sub>
    				<ammo>Phantom Tathlum</ammo>
    				<neck>Elemental Torque</neck>
    				<lear>Moldavite Earring</lear>
    				<!--<rear>Abyssal Earring</rear>-->
    				<rear>Novio Earring</rear>
    				<head>Warlock's Chapeau</head>
    				<body>Errant Hpl.</body>
    				<hands>Zenith Mitts</hands>
    				<lring>Snow Ring</lring>
    				<rring>Tamas Ring</rring>
    				<back>Prism Cape</back>
    				<legs>Mahatma Slops</legs>
    				<feet>Goliard Clogs</feet>
                </set>
                <set name="EnfeeblingBase" BaseSet="Fastcast">
    				<head>Duelist's Chapeau</head>
    				<neck>Enfeebling Torque</neck>
    				<lear>Loq. Earring</lear>
    				<rear>Magnetic Earring</rear>
    				<body>Warlock's Tabard +1</body>
    				<rring>Tamas Ring</rring>
    				<back>Prism Cape</back>
    				<waist>Penitent's Rope</waist>
    				<legs>Mahatma Slops</legs>
    				<feet>Goliard Clogs</feet>
                </set>
                <set name="EnfeeblingBlackMagic" BaseSet="EnfeeblingBase">
    				<sub>Bugard Strap +1</sub>
    				<lring>Snow Ring</lring>
    				<rring>Tamas Ring</rring>
    				<feet>Goliard Clogs</feet>
    				<ammo>Phantom Tathlum</ammo>
                </set>
                <set name="EnfeeblingWhiteMagic" BaseSet="EnfeeblingBase">
    				<sub>Raptor Strap +1</sub>
    				<hands>Dvt. Mitts +1</hands>
    				<feet>Mahatma Pigaches</feet>
                </set>
    			<set name="MND">            
    				<main>$WaterStaff</main>
    				<sub>Raptor Strap +1</sub>
    				<head>Duelist's Chapeau</head>
    				<neck>Morgana's Choker</neck>
    				<lear>Loq. Earring</lear>
    				<rear>Magnetic Earring</rear>
    				<body>Errant houppelande</body>
    				<hands>Dvt. Mitts +1</hands>
    				<lring>Serket Ring</lring>
    				<rring>Tamas Ring</rring>
    				<back>Prism Cape</back>
    				<waist>Penitent's Rope</waist>
    				<legs>Mahatma Slops</legs>
    				<feet>Mahatma Pigaches</feet>
                </set>
                <set name="INT">            
    				<main>$IceStaff</main>
    				<sub>Bugard Strap +1</sub>
    				<head>Warlock's Chapeau</head>
    				<neck></neck>
    				<lear>Abyssal Earring</lear>
    				<rear>Magnetic Earring</rear>
    				<body>Errant houppelande</body>
    				<hands>Duelist's Gloves</hands>
    				<lring>SNow Ring</lring>
    				<rring>Tamas Ring</rring>
    				<back>Prism Cape</back>
    				<waist>Penitent's Rope</waist>
    				<legs>Mahatma Slops</legs>
    				<feet>Goliard Clogs</feet>
                </set>
                <set name="HealingMagic" BaseSet="Fastcast">
    				<main>$LightStaff</main>
    				<sub>Raptor Strap +1</sub>
    				<head>Duelist's Chapeau</head>
    				<neck>Morgana's Choker</neck>
    				<lear>Loq. Earring</lear>
    				<rear>Magnetic Earring</rear>
    				<body>Errant houppelande</body>
    				<hands>Dvt. Mitts +1</hands>
    				<lring>Serket Ring</lring>
    				<rring>Tamas Ring</rring>
    				<back>Prism Cape</back>
    				<waist>Penitent's Rope</waist>
    				<legs>Mahatma Slops</legs>
    				<feet>Mahatma Pigaches</feet>
                </set>
    			<set name="EnhancingMagic" BaseSet="Fastcast">
    				<main lock="yes">$WaterStaff</main>
    				<sub>Raptor Strap +1</sub>
    				<body>Errant Hpl.</body>
    				<neck>Enhancing Torque</neck>
    				<hands>Devotee's Mitts +1</hands>
    				<back>Prism Cape</back>
    				<waist>Penitant's Rope</waist>
    				<legs>Mahatma Slops</legs>
    				<feet>Mahatma Pigaches</feet>
                </set>
                <!-- Start of HQ Staff/Obi sets-->
                <set name="FireStaff">
                    <main>Vulcan's Staff</main>
                    <sub>Bugard Leather Strap +1</sub>
                </set>
                <set name="IceStaff">
                    <main>Aquilo's Staff</main>
                    <sub>Ice Grip</sub>
                </set>
                <set name="WindStaff">
                    <main>Auster's Staff</main>
                    <sub>Wind Grip</sub>
                </set>
                <set name="EarthStaff">
                    <main>Terra's Staff</main>
                    <sub>Bugard Leather Strap +1</sub>
                </set>
                <set name="ThunderStaff">
                    <main>Jupiter's Staff</main>
                    <sub>Thunder Grip</sub>
                </set>
                <set name="WaterStaff">
                    <main>Neptune's Staff</main>
                    <sub>Water Grip</sub>
                </set>
                <set name="LightStaff">
                    <main>Apollo's Staff</main>
                    <sub>Bugard Leather Strap +1</sub>
                </set>
                <set name="DarkStaff">
                    <main>Pluto's Staff</main>
                    <sub>Dark Grip</sub>
                </set>
                <set name="ThunderObi">
                    <waist lock="true">Rairin Obi</waist>
                </set>
                <set name="IceObi">
                    <waist lock="true">Hyorin Obi</waist>
                </set>
                <set name="DarkObi">
                    <waist lock="true">Anrin Obi</waist>
                </set>
                <set name="WindObi">
                    <waist lock="true">Furin Obi</waist>
                </set>
                <set name="LightObi">
                    <waist lock="true">Korin 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">
                <equip when="resting" set="Resting" />
                <equip when="idle" set="Standard" />
                <equip when="engaged" set="Engaged" />
            </if>
            <!-- Control for Town Gear-->
            <if Area="*Windurst*|*San d'Oria*|*Bastok*|*Jeuno*|*Whitegate|Al Zahbi" NotArea="Dynamis*">
                <equip when="idle" set="Town" />
            </if>
            <!-- Control for Engagement and Weaponskill Sets-->
            <if NotStatus="Engaged">
                <equip when="aftercast" set="Standard" />
            </if>
            <else>
                <equip when="aftercast" set="Engaged" />
            </else>
            <if TPGT="10">
                <disable slot="main|sub|ranged" />
            </if>
            <else>
                <enable slot="main|sub|ranged" />
            </else>
            <if Type="WeaponSkill" NotTPLT="100">
                <castdelay delay=".2" />
                <equip when="Precast" set="WeaponSkill" />
            </if>
            <if CommandPrefix="/ra">
                <defaulttarget target="&lt;t&gt;" />
                <equip when="precast|midcast" set="Engaged" />
            </if>
            <elseif ValidTarget="Self">
                <defaulttarget target="&lt;me&gt;" />
            </elseif>
            <elseif ValidTarget="Enemy">
                <defaulttarget target="&lt;stnpc&gt;" />
            </elseif>
            <elseif ValidTarget="*Enemy*|Unknown">
                <defaulttarget target="&lt;st&gt;" />
            </elseif>
            <else>
                <defaulttarget target="&lt;stpc&gt;" />
            </else>
            <!-- Control for Disabling Convert Sets (Currently working on streamlining this)-->
            <if advanced='%MP&gt;=$HighMP'>
                <disable slot="neck|lear|rear|body|hands|lring|rring|back|legs|feet" />
                <!-- disable ALL +MP GEAR slots-->
            </if>
            <if advanced='%MP&lt;($HighMP-10)'>
                <enable slot="body" />
            </if>
            <if advanced='%MP&lt;($HighMP-54)'>
                <enable slot="neck" />
            </if>
            <if advanced='%MP&lt;($HighMP-84)'>
                <enable slot="legs" />
            </if>
            <if advanced='%MP&lt;($HighMP-114)'>
                <enable slot="feet" />
            </if>
            <if advanced='%MP&lt;($HighMP-134)'>
                <enable slot="hands" />
            </if>
            <if advanced='%MP&lt;($HighMP-184)'>
                <enable slot="rring" />
            </if>
            <if advanced='%MP&lt;($HighMP-209)'>
                <enable slot="lring" />
            </if>
            <if advanced='%MP&lt;($HighMP-224)'>
                <enable slot="lear" />
            </if>
            <if advanced='%MP&lt;($HighMP-254)'>
                <enable slot="rear" />
            </if>
            <if advanced='%MP&lt;($HighMP-280)'>
                <enable slot="back" />
            </if>
            <!-- Control for Specific Magic Sets-->
            <if Advanced='BuffActive("Allied Tags")' set="CB">
            </if>
    		<if Skill="ElementalMagic">
    			<if Spell="Frost|Drown|Rasp|Burn|Shock|Choke">
            <!-- equip elemental/INT gear for DoT's -->
    				<action type="equip" when="precast|midcast" Set="INT" />    
    			</if>
    		</if>
            <if Skill="DarkMagic">
    			<if Spell="Bio|Bio II|Drain|Aspir">
    				<action type="equip" when="precast|midcast" Set="DarkMagic" />    
    			</if>
    		</if>
            <!-- Enhancing Magic-->
            <!-- auto cancel sneak/utsu/stoneskin/blink when recasting them. Requires Cancel Plugin -->
            <if Spell="Sneak" BuffActive="Sneak" advanced='"%SpellTarget"="%PlayerName" OR "%SpellTarget"="&lt;me&gt;" OR ("%target"="%PlayerName" AND "%SpellTarget"="&lt;t&gt;")'>
                <command when="midcast">cancel 71</command>
                <midcastdelay delay="1.1" />
            </if>
            <if spell="Utsusemi: Ichi" BuffActive="Copy Image">
                <midcastdelay delay="1.5" />
                <command when="midcast">cancel 66</command>
            </if>
            <elseif Spell="Stoneskin" BuffActive="Stoneskin">
                <command when="midcast">cancel 37</command>
                <midcastdelay delay="3.5" />
            </elseif>
            <elseif Spell="Blink" BuffActive="Blink">
                <command when="midcast">cancel 36</command>
                <midcastdelay delay="3.5" />
            </elseif>
            <elseif Skill="EnfeeblingMagic">
                <equip when="precast" set="Fastcast" />
                <equip when="midcast" set="Enfeebling%Type" />
            </elseif>
            <elseif Skill="ElementalMagic">
                <equip when="precast" set="Fastcast" />
                <equip when="midcast" set="Elementalmagic" />
                <if MPPAfterCastLT="50" NotSpell="Rasp|Frost|Drown|Burn|Choke|Shock">
                    <equip when="midcast">
                        <neck lock="true">Uggalepih Pendant</neck>
                    </equip>
                </if>
            </elseif>
            <if mplt="%MPCost">
                <action type="addtochat" color="50">Out of MP cock sucker.</action>
                <action type="CancelSpell" />
                <action type="return" /> 
                            </if>
            <!-- Timers for when sleep is wearing off. -->
        <if advanced='"$SleepTimers"="1"'>
        <if Spell="Sleep II|Sleepga II">
            <action type="command" when="aftercast">spellcast var inc sleepid;wait 45;input /echo [$sleepid:%spell] &lt;%target&gt; Wearing off in 45s</action>
            <action type="command" when="aftercast">wait 75;input /echo [$sleepid:%spell] &lt;%target&gt; Wearing off in 15s</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 45;input /echo [$sleepid:%spell] &lt;%target&gt; Wearing off in 15s</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>
            <!-- Control for Obi's-->
            <if advanced='("%WeatherElement"="%SpellElement") OR ("%DayElement"="%SpellElement")'>
                <equip when="midcast" set="%SpellElementObi" />
            </if>
            <!-- Control for Spell Detection for Skill Sets, setting the gear and staffs-->
            <elseif CommandPrefix="/ma|/magic" NotSpell="Stoneskin" NotSkill="EnfeeblingMagic">
                <equip when="midcast" set="%Skill" />
            </elseif>
            <if advanced='(string)"%SpellElement"=="Unknown"' />
            <elseif advanced='(string)"%SpellElement"=="None"' />
            <else>
                <equip when="precast" set="FastCast" />
                <equip when="midcast" set="%SpellElementStaff" />
            </else>
            <elseif Skill="BlueMagic">
                <if advanced='(string)"%SpellElement"==Unknown'>
                    <equip when="midcast" set="BlueMagic-Physical" />
                </if>
                <else>
                    <equip when="midcast" set="BlueMagic-Magical" />
                </else>
            </elseif>
            <!-- Control to Change Cure Spells based on available MP-->
            <if Spell="Cure IV" MPLT="88">
                <changespell Spell="Cure III" />
            </if>
            <elseif Spell="Cure III" MPLT="46">
                <changespell Spell="Cure II" />
            </elseif>
            <elseif Spell="Cure II" MPLT="24">
                <changespell Spell="Cure" />
            </elseif>
        </rules>
    </spellcast>

  15. #315
    New Spam Forum
    Join Date
    Jul 2008
    Posts
    173
    BG Level
    3
    FFXI Server
    Leviathan

    Quote Originally Posted by LilWhmMan View Post
    Try this, there were a few places in your gear sets that you had </rringback> and also there were two <if> tags that you didn't have closed that were conflicting with your </rules> tag at the bottom. I fixed those problems, but don't have RDM so can't test.
    The if tags were probably my fault. The rring back thing was there when I was told to give it a try. Thank you again for fixing this btw. As soon as I get to test it out I'll let you know.

  16. #316
    Relic Weapons
    Join Date
    Jun 2008
    Posts
    314
    BG Level
    4

    I tried to use the ninja xml here, even with the autoexe file, and it crashes my spellcast everytime. I'm not sure why =/ halp!

  17. #317
    Melee Summoner
    Join Date
    May 2009
    Posts
    44
    BG Level
    1
    FFXI Server
    Unicorn

    Unless you post an error log file or give us some...... actual information besides "it crashes" we really can't help you -_-

  18. #318
    Relic Weapons
    Join Date
    Jun 2008
    Posts
    314
    BG Level
    4

    I realized that just now *face palm* it's the one that was posted here

    http://www.bluegartr.com/forum/showt...=82323&page=10

    by Sylvenmyst, I followed the steps of even having the text file for the autoexec, and just tried to use the xml, without my own personal editing of gear, and it will always crash Spellcast, everytime. I'm not quite sure how to get the error log for it though =( or i'd post that up as well.

  19. #319
    MaachaQ
    Guest

    Copied post to the other spellcast thread, it really belonged there anyway ^^;

  20. #320
    mcb
    mcb is offline
    New Merits
    Join Date
    May 2009
    Posts
    210
    BG Level
    4
    FFXI Server
    Quetzalcoatl

    Quote Originally Posted by Deimos View Post
    I'm not going to be using other peoples' XMLs, almost all of the ones posted in this thread have been for the purpose of "something in here is broken, help me" not "here's one for you to use". Even the ones that have been submitted often have problems in them, like noodles355's THF one (not to pick on you, just the most recent example).
    where are your starter xml's located? i couldn't find them in this thread or on the windower page.

Page 16 of 24 FirstFirst ... 6 14 15 16 17 18 ... 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