Item Search
     
BG-Wiki Search
Page 23 of 24 FirstFirst ... 13 21 22 23 24 LastLast
Results 441 to 460 of 473
  1. #441
    Salvage Bans
    Join Date
    Oct 2007
    Posts
    771
    BG Level
    5

    Quote Originally Posted by Cesaria View Post
    Haven't got a username registered on the windower forums but I'll mention it here in case it's confusing anyone else.

    The new BST pet job abilities that coincide with BLU spells (ie Wild Carrot, Sheep Song) are being blocked out by spellcast and giving command errors occurring. Hate to reference Alla but the BST forums generally have a brain...

    http://ffxi.allakhazam.com/forum.htm...8112529&page=1

    May sort some people out who are head scratching wondering what's going on.
    Happens with shivas sleepga the work around is actually using the raw command in a tag like this one :

    <Command when = "Precast">input /raw /ja sleepga &lt;me&gt;</Command>

  2. #442
    New Merits
    Join Date
    Jan 2008
    Posts
    219
    BG Level
    4

    Quote Originally Posted by Cesaria View Post
    Haven't got a username registered on the windower forums but I'll mention it here in case it's confusing anyone else.

    The new BST pet job abilities that coincide with BLU spells (ie Wild Carrot, Sheep Song) are being blocked out by spellcast and giving command errors occurring. Hate to reference Alla but the BST forums generally have a brain...

    http://ffxi.allakhazam.com/forum.htm...8112529&page=1

    May sort some people out who are head scratching wondering what's going on.
    This was brought up here in the random question thread a while ago too.
    MercilessTurtle proposed this.
    http://www.bluegartr.com/forum/showp...postcount=1295
    Partial quote:
    "You'll have to change your macro to "/raw /pet "Foot Kick" <me>" (I haven't actually tested that but I think it will work)".

  3. #443
    RIDE ARMOR
    Join Date
    Sep 2008
    Posts
    14
    BG Level
    1
    FFXI Server
    Asura
    I've noticed that ever since I started to use spellcast last year I started to randomly crash. Before it I never really had any problems, with the exception of disconnecting periodically. I obtained my spellcast files from a friend and I am wondering if there isn't a particular part in these files that are causing this. The crash only comes about when I am in the process of changing gear for whatever reason, be it a spell, or healing, or getting back up after healing. Again it's random... some times it is working fine for hours and other times it could happen multiple times in a row after logging back in.

    If anyone has the time and can look over them and possibly identify any issue it would be really appreciated.

    BLM:
    Spoiler: show

    Code:
    <spellcast>
    		<config
    			requireversion = "2.20"
    			showgearswaps = "False"
    			showspellinfo = "False"
    		/>
     <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="UPendant">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">0</var>
      <var name="WHMRingHP">0</var>
      <var name="NINRingHP">0</var>
      <!-- Elemental Grips, set to 1 for each you have -->
      <var name="LightGrip">0</var>
      <var name="DarkGrip">1</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">Aquilo's Staff</var>
      <var name="DarkStaff">Pluto's Staff</var>
      <var name="ThunderStaff">Jupiter's Staff</var>
      <var name="LightStaff">Apollo's Staff</var>
      <var name="WindStaff">Auster's Staff</var>
      <var name="FireStaff">Vulcan's Staff</var>
      <var name="EarthStaff">Terra's Staff</var>
      <var name="WaterStaff">Neptune's Staff</var>
      <!-- Elemental Obi's, set to 1 for the ones you have. -->
      <var name="DarkObi">1</var>
      <var name="LightObi">0</var>
      <var name="ThunderObi">1</var>
      <var name="IceObi">1</var>
      <var name="FireObi">0</var>
      <var name="WindObi">0</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>Wise Strap</sub>
    	<ammo>Phantom Tathlum</ammo>
        <neck>Lmg. Medallion</neck>
    	<lear>Loquac. Earring</lear>
    	<rear>Moldavite Earring</rear>
    	<body>Black Cloak</body>
        <hands>Errant Cuffs</hands>
    	<lring>Omega Ring</lring>
    	<rring>Tamas Ring</rring>
        <back>Ixion Cape</back>
        <waist>Witch Sash</waist>
        <legs>Jet Seraweels</legs>
        <feet>Goliard Clogs</feet>
       </set>
        <set name="INT">
    	<head>Wizard's Petasos</head>
    	<neck>Lmg. Medallion</neck>
    	<body>Errant Hpl.</body>
    	<sub>Bugard Strap +1</sub>
       </set>
    	<set name="FastCast">
       <lear>Loquac. Earring</lear>
       </set>
        <set name="Resting" BaseSet="Standard">
        <main>$DarkStaff</main>
    	<head>Wizard's Petasos</head>
    	<body>Errant Hpl.</body>
    	<neck>Grandiose Chain</neck>
        <lear>Magnetic Earring</lear>
        <waist>Hierarch Belt</waist>
       </set>
        <set name="MinusHP" BaseSet="Standard">
       </set>
    	<set name="FullDamage" BaseSet="Standard">
        <ammo>Phantom Tathlum</ammo>
    	<sub>Wise Strap</sub>
    	<head>Wizard's Petasos</head>
    	<neck>Lmg. Medallion</neck>
    	<lear>Loquac. Earring</lear>
    	<neck>Lmg. Medallion</neck>
    	<body>Genie Weskit</body>
        <legs>Jet Seraweels</legs>
    	<waist>Witch Sash</waist>
       </set>
       <set name="HighResist" BaseSet="MidResist">
    	<neck>Elemental Torque</neck>
    	<hands>Wizard's Gloves</hands>
    	</set>
    	<set name="MidResist" BaseSet="FullDamage">
    	<head>Wizard's Petasos</head>
    	<hands>Wizard's Gloves</hands>
    	<waist></waist>
       </set> 
       <set name="LightResist" BaseSet="FullDamage">
       </set>
       <set name="DarkMagic">
    	<ammo>Phantom Tathlum</ammo>
        <head>Wizard's Petasos</head>
        <neck>Dark Torque</neck>
        <lear>Loquac. Earring</lear>
        <rear>Magnetic Earring</rear>
        <body>Errant Hpl.</body>
        <hands>Errant Cuffs</hands>
        <waist>Witch Sash</waist>
        <legs>Wizard's Tonban</legs>
       </set>
       <set name="Stun" BaseSet="DarkMagic">
        <neck lock="True">Dark torque</neck>
        <lear lock="True">Loquac. Earring</lear>
        <rear lock="True">Magnetic Earring</rear>
        <body lock="True">Errant Hpl.</body>
        <waist lock="True">Witch Sash</waist>
    	<hands lock="True">Wizard's Gloves</hands>
    	</set>
       <set name="EnfeeblingMagic">
        <sub>Bugard Strap +1</sub>
    	<head>Igqira Tiara</head>
        <neck>Spider Torque</neck>
        <rear>Magnetic Earring</rear>
        <body>Wizard's Coat</body>
        <waist>Witch Sash</waist>
        <legs>Igqira Lappa</legs>
       </set>
       <set name="HealingMagic">
       <main lock="yes">$LightStaff</main>
        <lear>Loquac. Earring</lear>
    	<rear>Magnetic Earring</rear>
    	<head>Wizard's Petasos</head>
    	<body>Genie Weskit</body>
    	</set>
    	<set name="DivineMagic">
    	<main lock="yes">$WaterStaff</main>
    	<rear>Magnetic Earring</rear>
    	</set>
       <set name="EnhancingMagic" BaseSet="Standard">
        <main lock="yes">Kirin's Pole</main>
    	<sub>Reign Grip</sub>
    	<head>Wizard's Petasos</head>
        <neck>Uggalepih Pendant</neck>
        <lear>Loquac. Earring</lear>
    	<rear>Magnetic Earring</rear>
        <body>Errant Hpl.</body>
    	<waist>Witch Sash</waist>
        <legs>Jet Seraweels</legs>
       </set>
    	<set name="SneakInvis" BaseSet="Standard">
    	<back lock="t">Skulker's Cape</back>
    	</set>
       <set name="%SpellElementObi" />
    			<set name="UPendant">
    				<neck>Uggalepih Pendant</neck>
    			</set>
      </group>
     </sets>
     <rules>
    		<action type="equip" when="resting" set="Resting" />
    		<action type="command" when="resting">wait 16;input /equip body "Errant Hpl."</action>
    		<action type="equip" when="idle" set="Standard" />
    		<action Type="Equip" When="PostCast|Idle"><main>Earth Staff</main></action>
    		<action type="equip" when="engaged" set="DivineMagic" />
    		<action Type="Equip" When="PreCast" Set="FastCast" />	
    	<if Area="*Remnants|Nyzul*|Periqia|Ilrusi*|*Training Grounds|Lebros*|*Sanctum">
    		<action type="equip" when="precast|midcast|aftercast|idle">
    		<lring lock="True">Balrahn's Ring</lring>
    	</action>
    	</if>
    	<!-- Keep Wind Staff and Skulker's Cape equipped for Sneak and Invisible. -->
    	<if Spell="Sneak|Invisible">
    	<action type="equip" when="precast|midcast|aftercast" set="SneakInvis" />
    	</if>
      <!-- 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="Stun">
        <main>$ThunderStaff</main>
       </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|Sarameya|Nidhogg|Fafnir|Proto*|Jailer*|Armed*|Dynamis*" NotBuffActive="Elemental Seal">
    	   <action type="equip" when="precast" Set="MinusHP" />
    	   <action type="equip" when="midcast" Set="HighResist" />
          </if>
          <else>
           <!-- if mob is not high resist, is it a mid resist mob? -->
           <if SpellTargetName="Aspidochelone|King Behemoth|Tinnin|Ouryu|*Chariot|Jailer of Love|*aern" NotBuffActive="Elemental Seal">
    		<action type="equip" when="precast" Set="MinusHP" />
    	   <action type="equip" when="midcast" Set="Midresist" />
           </if>
           <else>
            <!-- Normal mob, go full damage gear. -->
            <if mode="or" Area="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">
    			<action type="equip" when="midcast" set="UPendant" />
    		</if>
           </else>
            <!-- 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>    
       <!-- 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 /p [$sleepid:%spell] &lt;%target&gt; Wearing off in 15s</action>
         <action type="command" when="aftercast">wait 85;input /p [$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 /p [$sleepid:%spell] &lt;%target&gt; Wearing off in 15s</action>
         <action type="command" when="aftercast">wait 55;input /p [$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>
       <elseif Spell="Stoneskin" BuffActive="Stoneskin">
        <action type="command" when="midcast">cancel 37</action>
        <action type="midcastdelay" delay="4.8" />
       </elseif>
       <elseif Spell="*Utsusemi*">
    	<action Type="Equip" When="PreCast" Set="HealingMagic" />
    	<if Spell="Utsusemi: Ichi"><action Type="MidCastDelay" Delay="2.5" /><action Type="Command" When="MidCast">cancel 66</action></if>
    	</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>


    RDM:
    Spoiler: show

    Code:
    <spellcast>
    		<config
    			requireversion = "2.20"
    			showgearswaps = "False"
    			showspellinfo = "False"
    		/>
    		<variables>
    			<var name="IceStaff">Aquilo's Staff</var>
    			<var name="WindStaff">Auster's Staff</var>
    			<var name="EarthStaff">Terra's Staff</var>
    			<var name="ThunderStaff">Jupiter's Staff</var>
    			<var name="WaterStaff">Neptune's Staff</var>
    			<var name="FireStaff">Vulcan's Staff</var>
    			<var name="DarkStaff">Pluto's Staff</var>
    			<var name="LightStaff">Apollo's Staff</var>
    			<var name="CureStaff">Apollo's Staff</var>
    			<var name="DRKGrip">Dark Grip</var>
    			<var name="MNDGrip">Reign Grip</var>
    			<var name="INTGrip">Bugard Strap +1</var>
    			<var name="DarkObi">1</var>
    			<var name="LightObi">0</var>
    			<var name="ThunderObi">1</var>
    			<var name="IceObi">1</var>
    			<var name="FireObi">0</var>
    			<var name="WindObi">0</var>
    			<var name="WaterObi">0</var>
    			<var name="EarthObi">0</var>
    			<var name="AssaultRing">Balrahn's Ring</var>
    		</variables>
     
    		<sets>
    			<group name="RDM" default="yes">
    				<set name="standard">
    					<main>$EarthStaff</main>
    					<sub>Bugard Strap +1</sub>
    					<ammo>Hedgehog Bomb</ammo>
    					<head>Duelist's Chapeau</head>
    					<body>Duelist's Tabard</body>
    					<neck>Uggalepih Pendant</neck>
    					<lear>Loquac. Earring</lear>
    					<rear>Magnetic Earring</rear>
    					<hands>Errant Cuffs</hands>
    					<lring>Omega Ring</lring>
    					<rring>Tamas Ring</rring>
    					<back>Prism Cape</back>
    					<waist>Witch Sash</waist>
    					<legs>Jet Seraweels</legs>
    					<feet>Goliard Clogs</feet>
    				</set>
    				<set name="Resting" Baseset="standard">
    					<main>$DarkStaff</main>
    					<head>Duelist's Chapeau</head>
    					<neck>Grandiose Chain</neck>
    					<lear>Loquac. Earring</lear>
    					<rear>Magnetic Earring</rear>
    					<body>Errant Hpl.</body>
    					<back>Prism Cape</back>
    					<waist>Hierarch Belt</waist>
    					<legs>Jet Seraweels</legs>
    					<feet>Goliard Clogs</feet>
    				</set>
    				<set name="Cure" BaseSet="Standard">
    					<head>Warlock's Chapeau</head>
    					<lear>Loquac. Earring</lear>
    					<rear>Novia Earring</rear>
    					<body>Duelist's Tabard</body>
    					<hands>Wise Gloves</hands>
    					<legs>Warlock's Tights</legs>
    				</set>
    				<set name="Cure4" BaseSet="Cure">
    					<head>Warlock's Chapeau</head>
    					<rear>Novia Earring</rear>
    					<body>Errant Hpl.</body>
    					<feet>Errant Pigaches</feet>
    				</set>
    				<set name="Enhancing" BaseSet="Standard">
    					<main>$WaterStaff</main>
    					<sub>Reign Grip</sub>
    					<head>Warlock's Chapeau</head>
    					<rear>Magnetic Earring</rear>
    					<neck>Enhancing Torque</neck>
    					<body>Duelist's Tabard</body>
    					<hands>Wise Gloves</hands>
    					<waist>Witch Sash</waist>
    					<back>Prism Cape</back>
    					<legs>Warlock's Tights</legs>
    				</set>
    				<set name="Utsu" BaseSet="Standard">
    					<head>Walahra's Turban</head>
    					<lear>Novia Earring</lear>
    					<back>Cheviot Cape</back>
    				</set>
    				<set name="Stoneskin" BaseSet="Standard">
    					<main>$WaterStaff</main>
    					<sub>Reign Grip</sub>
    					<head>Duelist's Chapeau</head>
    					<lear>Loquac. Earring</lear>
    					<rear>Magnetic Earring</rear>
    					<body>Errant Hpl.</body>
    					<hands>Wise Gloves</hands>
    					<waist>Witch Sash</waist>
    				</set>
    				<set name="Enfeebling" BaseSet="Standard">
    					<head>Duelist's Chapeau</head>
    					<neck>Spider Torque</neck>
    					<lear>Loquac. Earring</lear>
    					<rear>Novia Earring</rear>
    					<body>Warlock's Tabard</body>
    					<lring>Omega Ring</lring>
    					<back>Prism Cape</back>
    					<waist>Witch Sash</waist>
    					<legs>Jet Seraweels</legs>
    				</set>
    				<set name="MND" BaseSet="Enfeebling">
    					<sub>$MNDGrip</sub>
    					<hands>Wise Gloves</hands>
    					<legs>Jet Seraweels</legs>
    					<feet>Goliard Clogs</feet>
    				</set>
    				<set name="INT" BaseSet="Enfeebling">
    					<ammo>Phantom Tathlum</ammo>
    					<sub>$INTGrip</sub>
    					<neck>Lmg. Medallion</neck>
    					<hands>Errant Cuffs</hands>
    					<legs>Jet Seraweels</legs>
    					<feet>Goliard Clogs</feet>
    				</set>
    				<set name="Engaged"BaseSet="Standard">
    					<main>Martial Anelace</main>
    				</set>
    				<set name="Elemental" BaseSet="Standard">
    					<ammo>Phantom Tathlum</ammo>
    					<sub>$INTGrip</sub>
    					<head>Warlock's Chapeau</head>
    					<neck>Elemental Torque</neck>
    					<lear>Moldavite Earring</lear>
    					<rear>Novia Earring</rear>
    					<body>Errant Hpl.</body>
    					<lring>Omega Ring</lring>
    					<back>Prism Cape</back>
    					<waist>Witch Sash</waist>
    					<legs>Jet Seraweels</legs>
    					<feet>Goliard Clogs</feet>
    				</set>
    				<set name="Dark" BaseSet="Standard">
    					<ammo>Phantom Tathlum</ammo>
    					<head>Duelist's Chapeau</head>
    					<lear>Loquac. Earring</lear>
    					<rear>Magnetic Earring</rear>
    					<neck>Dark Torque</neck>
    					<body>Duelist's Tabard</body>
    					<hands>Errant Cuffs</hands>
    					<lring>Omega Ring</lring>
    					<rring>Tamas Ring</rring>
    					<waist>Witch Sash</waist>
    					<back>Prism Cape</back>
    					<legs>Jet Seraweels</legs>
    					<feet>Goliard Clogs</feet>
    				</set>
    				<set name="CSStun" BaseSet="Dark">
    					<body>Errant Hpl.</body>
    					<waist>Witch Sash</waist>
    					<feet>Errant Pigaches</feet>
    				</set>
    					<set name="SneakInvis" BaseSet="Standard">
    					<back lock="t">Skulker's Cape</back>
    				</set>
    			</group>
    		</sets>
    		<rules>
    				<action Type="Equip" When="PostCast"><main>Earth Staff</main></action>
    				<action type="equip" when="resting" set="Resting" />
    				<action type="command" when="resting">wait 16;input /equip body "Errant Hpl."</action>
    				<action type="equip" when="PostCast|Idle" set="Standard" />
    				<action type="equip" when="engaged" set="Engaged" />
    				</action>
    		</if>
    			 <if status="engaged">
    				<action type="equip" when="aftercast" set="engaged" />
    			</if>
    			<if notStatus="Engaged">
    				<action type="equip" when="aftercast" set="standard" />
    			</if>
    			<if skill="HealingMagic">
    				<if spell="Cure*|Cura*" NotSpell="Cure IV">
    					<action type="equip" when="precast" set="Cure" />
    				</if>
    							<if skill="HealingMagic">
    				<if spell="Cure*|Cura*" NotSpell="Cure IV">
    					<action type="equip" when="precast" set="Cure" />
    				</if>
    				<elseif Spell="Cure IV">
    					<action type="equip" when="precast" set="Cure4" />
    				</elseif>
    				<else>
    					<action type="equip" when="precast" set="Enhancing" />
    				</else>
    				</if>
    				</if>
    				<if Spell="Sneak|Invisible">
    				<action type="equip" when="precast|midcast|aftercast" set="SneakInvis" />
    				</if>
    				<if spell="Phalanx*|Bar*">
    					<action type="equip" when="precast" set="Enhancing" />
    				</if>
    				<if spell="Stoneskin">
    					<action type="equip" when="precast" set="Stoneskin" />
    				</if>
    				<if spell="Refresh|Haste">
    					<action type="equip" when="precast" set="Enhancing" />
    				</if>
    				<if spell="Paralyze*|Slow*|Silence">
    					<action type="equip" when="precast" set="MND" />
    				</if>
    				<if spell="Gravity|Bind|Blind|Poison*|Dispel|Sleep*">
    					<action type="equip" when="precast" set="INT" />
    				</if>
    				<if Spell="Sneak|Invisible">
    				<action type="equip" when="precast|midcast|aftercast" set="SneakInvis" />
    			</if>
    			</if>
    			<if skill="ElementalMagic">
    				<action type="equip" when="precast" set="Elemental" />
    				<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>
    			</if>
    			<if skill="DarkMagic">
    				<if notbuffActive="Chainspell">
    					<action type="equip" when="precast" set="Dark" />
    				</if>
    				<if buffActive="Chainspell">
    					<action type="equip" when="precast" set="CSStun" />
    				</if>
    			</if>
    			<if spell="Utsusemi: Ichi">
    				<action type="Equip" when="precast" set="Utsu" />
    			</if>
    			<if spell="Utsusemi: Ni">
    				<action type="Equip" when="precast" set="Utsu" />
    			</if>
    			<if Spell="Sneak" BuffActive="Sneak" SpellTargetType="Self">
    			<action type="command" when="midcast">cancel 71</action>
    			<action type="midcastdelay" delay="1.8" />
    			</if>
    			<if spell="Stoneskin">
    				<action type="midcastdelay" delay="3.0" />
    				<action type="Command" when="MidCast">cancel 37</action> 
    			</if>
    			<if area="*Remnants|Nyzul*|Periqia|Ilrusi*|*Training Grounds|Lebros*|*Sanctum">
    				<action type="equip" when="Engaged|Idle|Resting|Precast|Midcast|Aftercast">
    					<lring lock="t">$AssaultRing</lring>
    				</action>
    			</if>
    			<if notstatus="Engaged" NotSpell="Refresh|Haste|Stoneskin|Phalanx*|Stoneskin">
    				<action type="equip">
    					<main>$%SpellElementStaff</main>
    				</action>
    			</if>
    		</rules>
    	</spellcast>


    Thanks for the help. This has been bugging me quite a bit and causing me some problems during "important" events ; ;

  4. #444
    RIDE ARMOR
    Join Date
    Sep 2008
    Posts
    16
    BG Level
    1

    Just recently I updated the resources for spellcast2.22 and now i cant load it up at all.
    its not my xml's since they run fine on a friends.

    //load spellcast

    SpellCast encountered a fatal error and must be terminate. Error: Access violation in initialize method.

    i've search but can't find an answer, any help on this would be much appreciated.

  5. #445
    Hydra
    Join Date
    Oct 2008
    Posts
    120
    BG Level
    3

    To Maeth:
    BLM
    Spoiler: show

    Code:
    <spellcast>
    		<config
    			requireversion = "2.20"
    			showgearswaps = "False"
    			showspellinfo = "False"
    		/>
     <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="UPendant">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">0</var>
      <var name="WHMRingHP">0</var>
      <var name="NINRingHP">0</var>
      <!-- Elemental Grips, set to 1 for each you have -->
      <var name="LightGrip">0</var>
      <var name="DarkGrip">1</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">Aquilo's Staff</var>
      <var name="DarkStaff">Pluto's Staff</var>
      <var name="ThunderStaff">Jupiter's Staff</var>
      <var name="LightStaff">Apollo's Staff</var>
      <var name="WindStaff">Auster's Staff</var>
      <var name="FireStaff">Vulcan's Staff</var>
      <var name="EarthStaff">Terra's Staff</var>
      <var name="WaterStaff">Neptune's Staff</var>
      <!-- Elemental Obi's, set to 1 for the ones you have. -->
      <var name="DarkObi">1</var>
      <var name="LightObi">0</var>
      <var name="ThunderObi">1</var>
      <var name="IceObi">1</var>
      <var name="FireObi">0</var>
      <var name="WindObi">0</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>Wise Strap</sub>
    	<ammo>Phantom Tathlum</ammo>
        <neck>Lmg. Medallion</neck>
    	<lear>Loquac. Earring</lear>
    	<rear>Moldavite Earring</rear>
    	<body>Black Cloak</body>
        <hands>Errant Cuffs</hands>
    	<lring>Omega Ring</lring>
    	<rring>Tamas Ring</rring>
        <back>Ixion Cape</back>
        <waist>Witch Sash</waist>
        <legs>Jet Seraweels</legs>
        <feet>Goliard Clogs</feet>
       </set>
        <set name="INT">
    	<head>Wizard's Petasos</head>
    	<neck>Lmg. Medallion</neck>
    	<body>Errant Hpl.</body>
    	<sub>Bugard Strap +1</sub>
       </set>
    	<set name="FastCast">
       <lear>Loquac. Earring</lear>
       </set>
        <set name="Resting" BaseSet="Standard">
        <main>$DarkStaff</main>
    	<head>Wizard's Petasos</head>
    	<body>Errant Hpl.</body>
    	<neck>Grandiose Chain</neck>
        <lear>Magnetic Earring</lear>
        <waist>Hierarch Belt</waist>
       </set>
        <set name="MinusHP" BaseSet="Standard">
       </set>
    	<set name="FullDamage" BaseSet="Standard">
        <ammo>Phantom Tathlum</ammo>
    	<sub>Wise Strap</sub>
    	<head>Wizard's Petasos</head>
    	<neck>Lmg. Medallion</neck>
    	<lear>Loquac. Earring</lear>
    	<neck>Lmg. Medallion</neck>
    	<body>Genie Weskit</body>
        <legs>Jet Seraweels</legs>
    	<waist>Witch Sash</waist>
       </set>
       <set name="HighResist" BaseSet="MidResist">
    	<neck>Elemental Torque</neck>
    	<hands>Wizard's Gloves</hands>
    	</set>
    	<set name="MidResist" BaseSet="FullDamage">
    	<head>Wizard's Petasos</head>
    	<hands>Wizard's Gloves</hands>
    	<waist></waist>
       </set> 
       <set name="LightResist" BaseSet="FullDamage">
       </set>
       <set name="DarkMagic">
    	<ammo>Phantom Tathlum</ammo>
        <head>Wizard's Petasos</head>
        <neck>Dark Torque</neck>
        <lear>Loquac. Earring</lear>
        <rear>Magnetic Earring</rear>
        <body>Errant Hpl.</body>
        <hands>Errant Cuffs</hands>
        <waist>Witch Sash</waist>
        <legs>Wizard's Tonban</legs>
       </set>
       <set name="Stun" BaseSet="DarkMagic">
        <neck lock="True">Dark torque</neck>
        <lear lock="True">Loquac. Earring</lear>
        <rear lock="True">Magnetic Earring</rear>
        <body lock="True">Errant Hpl.</body>
        <waist lock="True">Witch Sash</waist>
    	<hands lock="True">Wizard's Gloves</hands>
    	</set>
       <set name="EnfeeblingMagic">
        <sub>Bugard Strap +1</sub>
    	<head>Igqira Tiara</head>
        <neck>Spider Torque</neck>
        <rear>Magnetic Earring</rear>
        <body>Wizard's Coat</body>
        <waist>Witch Sash</waist>
        <legs>Igqira Lappa</legs>
       </set>
       <set name="HealingMagic">
       <main lock="yes">$LightStaff</main>
        <lear>Loquac. Earring</lear>
    	<rear>Magnetic Earring</rear>
    	<head>Wizard's Petasos</head>
    	<body>Genie Weskit</body>
    	</set>
    	<set name="DivineMagic">
    	<main lock="yes">$WaterStaff</main>
    	<rear>Magnetic Earring</rear>
    	</set>
       <set name="EnhancingMagic" BaseSet="Standard">
        <main lock="yes">Kirin's Pole</main>
    	<sub>Reign Grip</sub>
    	<head>Wizard's Petasos</head>
        <neck>Uggalepih Pendant</neck>
        <lear>Loquac. Earring</lear>
    	<rear>Magnetic Earring</rear>
        <body>Errant Hpl.</body>
    	<waist>Witch Sash</waist>
        <legs>Jet Seraweels</legs>
       </set>
    	<set name="SneakInvis" BaseSet="Standard">
    	<back lock="t">Skulker's Cape</back>
    	</set>
       <set name="%SpellElementObi" />
    			<set name="UPendant">
    				<neck>Uggalepih Pendant</neck>
    			</set>
      </group>
     </sets>
     <rules>
    		<action type="equip" when="resting" set="Resting" />
    		<action type="command" when="resting">wait 16;input /equip body "Errant Hpl."</action>
    		<action type="equip" when="idle" set="Standard" />
    		<action Type="Equip" When="PostCast|Idle"><main>Earth Staff</main></action>
    		<action type="equip" when="engaged" set="DivineMagic" />
    		<action Type="Equip" When="PreCast" Set="FastCast" />	
    	<if Area="*Remnants|Nyzul*|Periqia|Ilrusi*|*Training Grounds|Lebros*|*Sanctum">
    		<action type="equip" when="precast|midcast|aftercast|idle">
    		<lring lock="True">Balrahn's Ring</lring>
    	</action>
    	</if>
    	<!-- Keep Wind Staff and Skulker's Cape equipped for Sneak and Invisible. -->
    	<if Spell="Sneak|Invisible">
    	<action type="equip" when="precast|midcast|aftercast" set="SneakInvis" />
      <!-- 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="Stun">
        <main>$ThunderStaff</main>
       </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|Sarameya|Nidhogg|Fafnir|Proto*|Jailer*|Armed*|Dynamis*" NotBuffActive="Elemental Seal">
    	   <action type="equip" when="precast" Set="MinusHP" />
    	   <action type="equip" when="midcast" Set="HighResist" />
          </if>
          <else>
           <!-- if mob is not high resist, is it a mid resist mob? -->
           <if SpellTargetName="Aspidochelone|King Behemoth|Tinnin|Ouryu|*Chariot|Jailer of Love|*aern" NotBuffActive="Elemental Seal">
    		<action type="equip" when="precast" Set="MinusHP" />
    	   <action type="equip" when="midcast" Set="Midresist" />
           </if>
           <else>
            <!-- Normal mob, go full damage gear. -->
            <if mode="or" Area="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">
    			<action type="equip" when="midcast" set="UPendant" />
    		</if>
           </else>
            <!-- 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>
          </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>    
       <!-- 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 /p [$sleepid:%spell] &lt;%target&gt; Wearing off in 15s</action>
         <action type="command" when="aftercast">wait 85;input /p [$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 /p [$sleepid:%spell] &lt;%target&gt; Wearing off in 15s</action>
         <action type="command" when="aftercast">wait 55;input /p [$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>
       <elseif Spell="Stoneskin" BuffActive="Stoneskin">
        <action type="command" when="midcast">cancel 37</action>
        <action type="midcastdelay" delay="4.8" />
       </elseif>
       <elseif Spell="*Utsusemi*">
    	<action Type="Equip" When="PreCast" Set="HealingMagic" />
    	<if Spell="Utsusemi: Ichi"><action Type="MidCastDelay" Delay="2.5" /><action Type="Command" When="MidCast">cancel 66</action></if>
    	</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>


    RDM
    Spoiler: show

    Code:
    <spellcast>
    		<config
    			requireversion= "2.20"
    			showgearswaps = "False"
    			showspellinfo = "False"
    		/>
    		<variables>
    			<var name="IceStaff">Aquilo's Staff</var>
    			<var name="WindStaff">Auster's Staff</var>
    			<var name="EarthStaff">Terra's Staff</var>
    			<var name="ThunderStaff">Jupiter's Staff</var>
    			<var name="WaterStaff">Neptune's Staff</var>
    			<var name="FireStaff">Vulcan's Staff</var>
    			<var name="DarkStaff">Pluto's Staff</var>
    			<var name="LightStaff">Apollo's Staff</var>
    			<var name="CureStaff">Apollo's Staff</var>
    			<var name="DRKGrip">Dark Grip</var>
    			<var name="MNDGrip">Reign Grip</var>
    			<var name="INTGrip">Bugard Strap +1</var>
    			<var name="DarkObi">1</var>
    			<var name="LightObi">0</var>
    			<var name="ThunderObi">1</var>
    			<var name="IceObi">1</var>
    			<var name="FireObi">0</var>
    			<var name="WindObi">0</var>
    			<var name="WaterObi">0</var>
    			<var name="EarthObi">0</var>
    			<var name="AssaultRing">Balrahn's Ring</var>
    		</variables>
     
    		<sets>
    			<group name="RDM" default="yes">
    				<set name="standard">
    					<main>$EarthStaff</main>
    					<sub>Bugard Strap +1</sub>
    					<ammo>Hedgehog Bomb</ammo>
    					<head>Duelist's Chapeau</head>
    					<body>Duelist's Tabard</body>
    					<neck>Uggalepih Pendant</neck>
    					<lear>Loquac. Earring</lear>
    					<rear>Magnetic Earring</rear>
    					<hands>Errant Cuffs</hands>
    					<lring>Omega Ring</lring>
    					<rring>Tamas Ring</rring>
    					<back>Prism Cape</back>
    					<waist>Witch Sash</waist>
    					<legs>Jet Seraweels</legs>
    					<feet>Goliard Clogs</feet>
    				</set>
    				<set name="Resting" Baseset="standard">
    					<main>$DarkStaff</main>
    					<head>Duelist's Chapeau</head>
    					<neck>Grandiose Chain</neck>
    					<lear>Loquac. Earring</lear>
    					<rear>Magnetic Earring</rear>
    					<body>Errant Hpl.</body>
    					<back>Prism Cape</back>
    					<waist>Hierarch Belt</waist>
    					<legs>Jet Seraweels</legs>
    					<feet>Goliard Clogs</feet>
    				</set>
    				<set name="Cure" BaseSet="Standard">
    					<head>Warlock's Chapeau</head>
    					<lear>Loquac. Earring</lear>
    					<rear>Novia Earring</rear>
    					<body>Duelist's Tabard</body>
    					<hands>Wise Gloves</hands>
    					<legs>Warlock's Tights</legs>
    				</set>
    				<set name="Cure4" BaseSet="Cure">
    					<head>Warlock's Chapeau</head>
    					<rear>Novia Earring</rear>
    					<body>Errant Hpl.</body>
    					<feet>Errant Pigaches</feet>
    				</set>
    				<set name="Enhancing" BaseSet="Standard">
    					<main>$WaterStaff</main>
    					<sub>Reign Grip</sub>
    					<head>Warlock's Chapeau</head>
    					<rear>Magnetic Earring</rear>
    					<neck>Enhancing Torque</neck>
    					<body>Duelist's Tabard</body>
    					<hands>Wise Gloves</hands>
    					<waist>Witch Sash</waist>
    					<back>Prism Cape</back>
    					<legs>Warlock's Tights</legs>
    				</set>
    				<set name="Utsu" BaseSet="Standard">
    					<head>Walahra's Turban</head>
    					<lear>Novia Earring</lear>
    					<back>Cheviot Cape</back>
    				</set>
    				<set name="Stoneskin" BaseSet="Standard">
    					<main>$WaterStaff</main>
    					<sub>Reign Grip</sub>
    					<head>Duelist's Chapeau</head>
    					<lear>Loquac. Earring</lear>
    					<rear>Magnetic Earring</rear>
    					<body>Errant Hpl.</body>
    					<hands>Wise Gloves</hands>
    					<waist>Witch Sash</waist>
    				</set>
    				<set name="Enfeebling" BaseSet="Standard">
    					<head>Duelist's Chapeau</head>
    					<neck>Spider Torque</neck>
    					<lear>Loquac. Earring</lear>
    					<rear>Novia Earring</rear>
    					<body>Warlock's Tabard</body>
    					<lring>Omega Ring</lring>
    					<back>Prism Cape</back>
    					<waist>Witch Sash</waist>
    					<legs>Jet Seraweels</legs>
    				</set>
    				<set name="MND" BaseSet="Enfeebling">
    					<sub>$MNDGrip</sub>
    					<hands>Wise Gloves</hands>
    					<legs>Jet Seraweels</legs>
    					<feet>Goliard Clogs</feet>
    				</set>
    				<set name="INT" BaseSet="Enfeebling">
    					<ammo>Phantom Tathlum</ammo>
    					<sub>$INTGrip</sub>
    					<neck>Lmg. Medallion</neck>
    					<hands>Errant Cuffs</hands>
    					<legs>Jet Seraweels</legs>
    					<feet>Goliard Clogs</feet>
    				</set>
    				<set name="Engaged" BaseSet="Standard">
    					<main>Martial Anelace</main>
    				</set>
    				<set name="Elemental" BaseSet="Standard">
    					<ammo>Phantom Tathlum</ammo>
    					<sub>$INTGrip</sub>
    					<head>Warlock's Chapeau</head>
    					<neck>Elemental Torque</neck>
    					<lear>Moldavite Earring</lear>
    					<rear>Novia Earring</rear>
    					<body>Errant Hpl.</body>
    					<lring>Omega Ring</lring>
    					<back>Prism Cape</back>
    					<waist>Witch Sash</waist>
    					<legs>Jet Seraweels</legs>
    					<feet>Goliard Clogs</feet>
    				</set>
    				<set name="Dark" BaseSet="Standard">
    					<ammo>Phantom Tathlum</ammo>
    					<head>Duelist's Chapeau</head>
    					<lear>Loquac. Earring</lear>
    					<rear>Magnetic Earring</rear>
    					<neck>Dark Torque</neck>
    					<body>Duelist's Tabard</body>
    					<hands>Errant Cuffs</hands>
    					<lring>Omega Ring</lring>
    					<rring>Tamas Ring</rring>
    					<waist>Witch Sash</waist>
    					<back>Prism Cape</back>
    					<legs>Jet Seraweels</legs>
    					<feet>Goliard Clogs</feet>
    				</set>
    				<set name="CSStun" BaseSet="Dark">
    					<body>Errant Hpl.</body>
    					<waist>Witch Sash</waist>
    					<feet>Errant Pigaches</feet>
    				</set>
    					<set name="SneakInvis" BaseSet="Standard">
    					<back lock="t">Skulker's Cape</back>
    				</set>
    			</group>
    		</sets>
    		<rules>
    				<action Type="Equip" When="PostCast"><main>Earth Staff</main></action>
    				<action type="equip" when="resting" set="Resting" />
    				<action type="command" when="resting">wait 16;input /equip body "Errant Hpl."</action>
    				<action type="equip" when="PostCast|Idle" set="Standard" />
    				<action type="equip" when="engaged" set="Engaged" />
    			 <if status="engaged">
    				<action type="equip" when="aftercast" set="engaged" />
    			</if>
    			<if notStatus="Engaged">
    				<action type="equip" when="aftercast" set="standard" />
    			</if>
    			<if skill="HealingMagic">
    				<if spell="Cure*|Cura*" NotSpell="Cure IV">
    					<action type="equip" when="precast" set="Cure" />
    				</if>
    							<if skill="HealingMagic">
    				<if spell="Cure*|Cura*" NotSpell="Cure IV">
    					<action type="equip" when="precast" set="Cure" />
    				</if>
    				<elseif Spell="Cure IV">
    					<action type="equip" when="precast" set="Cure4" />
    				</elseif>
    				<else>
    					<action type="equip" when="precast" set="Enhancing" />
    				</else>
    				</if>
    				</if>
    				<if Spell="Sneak|Invisible">
    				<action type="equip" when="precast|midcast|aftercast" set="SneakInvis" />
    				</if>
    				<if spell="Phalanx*|Bar*">
    					<action type="equip" when="precast" set="Enhancing" />
    				</if>
    				<if spell="Stoneskin">
    					<action type="equip" when="precast" set="Stoneskin" />
    				</if>
    				<if spell="Refresh|Haste">
    					<action type="equip" when="precast" set="Enhancing" />
    				</if>
    				<if spell="Paralyze*|Slow*|Silence">
    					<action type="equip" when="precast" set="MND" />
    				</if>
    				<if spell="Gravity|Bind|Blind|Poison*|Dispel|Sleep*">
    					<action type="equip" when="precast" set="INT" />
    				</if>
    				<if Spell="Sneak|Invisible">
    				<action type="equip" when="precast|midcast|aftercast" set="SneakInvis" />
    			</if>
    			<if skill="ElementalMagic">
    				<action type="equip" when="precast" set="Elemental" />
    				<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>
    			</if>
    			<if skill="DarkMagic">
    				<if notbuffActive="Chainspell">
    					<action type="equip" when="precast" set="Dark" />
    				</if>
    				<if buffActive="Chainspell">
    					<action type="equip" when="precast" set="CSStun" />
    				</if>
    			</if>
    			<if spell="Utsusemi: Ichi">
    				<action type="Equip" when="precast" set="Utsu" />
    			</if>
    			<if spell="Utsusemi: Ni">
    				<action type="Equip" when="precast" set="Utsu" />
    			</if>
    			<if Spell="Sneak" BuffActive="Sneak" SpellTargetType="Self">
    			<action type="command" when="midcast">cancel 71</action>
    			<action type="midcastdelay" delay="1.8" />
    			</if>
    			<if spell="Stoneskin">
    				<action type="midcastdelay" delay="3.0" />
    				<action type="Command" when="MidCast">cancel 37</action> 
    			</if>
    			<if area="*Remnants|Nyzul*|Periqia|Ilrusi*|*Training Grounds|Lebros*|*Sanctum">
    				<action type="equip" when="Engaged|Idle|Resting|Precast|Midcast|Aftercast">
    					<lring lock="t">$AssaultRing</lring>
    				</action>
    			</if>
    			<if notstatus="Engaged" NotSpell="Refresh|Haste|Stoneskin|Phalanx*|Stoneskin">
    				<action type="equip">
    					<main>$%SpellElementStaff</main>
    				</action>
    			</if>
    		</rules>
    	</spellcast>


    I'll be honest, I didn't look over your code, it all seemed fine, but I found lots of small problems. Too many ending tags, spaces and no-spaces where there didn't need to be, etcetc, I'd advise you to download Notepad++, it really makes xml easier if you don't understand/work with coding. If these don't work, I'll look at them more closely later, just post.

  6. #446
    Puppetmaster
    Join Date
    Dec 2009
    Posts
    59
    BG Level
    2
    FFXI Server
    Odin

    Quote Originally Posted by Gcatt View Post
    Just recently I updated the resources for spellcast2.22 and now i cant load it up at all.
    its not my xml's since they run fine on a friends.

    //load spellcast >

    SpellCast encountered a fatal error and must be terminate. Error: Access violation in initialize method.

    i've search but can't find an answer, any help on this would be much appreciated.
    Is there a reason you put > after it?

    //load spellcast

    Should work just fine. Unless I'm missing something here, I did just get up.

  7. #447
    RIDE ARMOR
    Join Date
    Sep 2008
    Posts
    16
    BG Level
    1

    sry ">" was just to say this happens after i type in to load spellcast..

    and after try and load it i got that message and then spellcast closes right after.

  8. #448
    Hydra
    Join Date
    Oct 2008
    Posts
    120
    BG Level
    3

    All I can think is maybe update to 2.3? The new resources may be interfering? I'm not sure what would make it crash like that...

  9. #449
    RIDE ARMOR
    Join Date
    Sep 2008
    Posts
    14
    BG Level
    1
    FFXI Server
    Asura

    Quote Originally Posted by LilWhmMan View Post
    All I can think is maybe update to 2.3? The new resources may be interfering? I'm not sure what would make it crash like that...
    I'll try to update it from 2.22 to 2.3 then. Also I got notepad++ just a few minutes ago as you suggested. It's better than EditPlus already, which my friend had recommended -_-. I don't know XML very well... some css and html from a few years ago but I'll try to clean up the tags and spacing you mentioned. I'm just afraid that I may miss one or delete one I did need ; ;...

    Thanks!

    Edit: Upgraded to 2.3. Cleaned up the excess tags you mentioned by loading the xml into firefox, then finding where they were at with the errors it reported. Now it's just a matter of time and seeing whether or not that fixes the issue.

  10. #450
    Hydra
    Join Date
    Oct 2008
    Posts
    120
    BG Level
    3

    Quote Originally Posted by Maeth View Post
    I'll try to update it from 2.22 to 2.3 then. Also I got notepad++ just a few minutes ago as you suggested. It's better than EditPlus already, which my friend had recommended -_-. I don't know XML very well... some css and html from a few years ago but I'll try to clean up the tags and spacing you mentioned. I'm just afraid that I may miss one or delete one I did need ; ;...

    Thanks!

    Edit: Upgraded to 2.3. Cleaned up the excess tags you mentioned by loading the xml into firefox, then finding where they were at with the errors it reported. Now it's just a matter of time and seeing whether or not that fixes the issue.

    I posted updated/cleaned up xmls for you You didn't have to do that yourself, but it's good you did so you can learn! And yes, notepad++ is by far one of the best I've seen to edit xmls.

  11. #451
    RIDE ARMOR
    Join Date
    Sep 2008
    Posts
    14
    BG Level
    1
    FFXI Server
    Asura

    Oops! My fault, I read it as just a quote at first and now looking back I see you did clean it up. >_<; I'm sorry about that lil... I appreciate your effort though and compare yours to mine and tidy em up some more.
    I had just put the current ones into the 2.3 "xml updater" (as far as I can tell it only added one line and indented things nicely) at windower then combed through them. I had also found I wrote "Earth Staff" instead of $EarthStaff on one line ~_~;...

  12. #452
    Sea Torques
    Join Date
    Apr 2006
    Posts
    467
    BG Level
    4
    FFXI Server
    Cerberus

    I looked around and can't really find anyhting but here's my problem.

    On PUP I have a gear set that I change in to for each maneuver to make sure I don't overload and use this line to return to my haste or evasion gear.

    Code:
    <action type="equip" when="aftercast|engaged" set="$Normal" />
    I also use this code to equip my Regen and Movement speed when I'm idle

    Code:
    		<action type="equip" when="idle" set="$Normal">
    			<feet>Hermes' Sandals</feet>
    			<neck>Orochi Nodowa</neck>
    		</action>
    However the problem is when i use a maneuver and I'm not in battle I get my haste hear and lose my movement speed. I've tried several different configurations and I can't get them to co exist without one overwriting the other. Any thoughts?

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

    Quote Originally Posted by Dakana View Post
    I looked around and can't really find anyhting but here's my problem.

    On PUP I have a gear set that I change in to for each maneuver to make sure I don't overload and use this line to return to my haste or evasion gear.

    Code:
    <action type="equip" when="aftercast|engaged" set="$Normal" />
    I also use this code to equip my Regen and Movement speed when I'm idle

    Code:
    		<action type="equip" when="idle" set="$Normal">
    			<feet>Hermes' Sandals</feet>
    			<neck>Orochi Nodowa</neck>
    		</action>
    However the problem is when i use a maneuver and I'm not in battle I get my haste hear and lose my movement speed. I've tried several different configurations and I can't get them to co exist without one overwriting the other. Any thoughts?
    Code:
    		<if status="Engaged">
    			<action type="equip" when="aftercast" set="$Normal" />
    		</if>
    		<if notStatus="Engaged">
    			<action type="equip" when="aftercast" set="Idle" />
    		</if>
    And just make an idle set in your gear sets that includes like, your eva/pdt/regen/move speed gear. And this should work for you, if not, get back.

  14. #454
    Sea Torques
    Join Date
    Apr 2006
    Posts
    467
    BG Level
    4
    FFXI Server
    Cerberus

    That worked. Thank you so much

  15. #455
    E. Body
    Join Date
    Jun 2008
    Posts
    2,365
    BG Level
    7
    FFXI Server
    Phoenix

    Okay normally I can figure out what's going on if my sc file is acting up but this one is strange.

    Got sorc ring and minus hp set a couple days ago and for some reason sc will occasionally leave random parts of the minushp set on for the nukes. Searching Windower forums this is usually caused by spells with short cast times but for me it happens with all spells. As far as I can tell it isn't even trying to switch in the normal nuking gear when this happens.

    It's a pain in the ass because it doesn't always happen and it is only certain slots that don't change(usually grip, lear, or feet).

    Using Aikar's BLM SC.

  16. #456
    CoP Dynamis
    Join Date
    Jan 2007
    Posts
    247
    BG Level
    4

    It might be easier if you posted a link to your specific file. The smallest change can make the biggest difference.

  17. #457
    E. Body
    Join Date
    Jun 2008
    Posts
    2,365
    BG Level
    7
    FFXI Server
    Phoenix

    Quote Originally Posted by diemos View Post
    It might be easier if you posted a link to your specific file. The smallest change can make the biggest difference.
    Iirc I've only changed gear and the chatmode for sleep timers. Also, I know there's a lot of redundant swaps in there that need cleaned up but it works(usually ).

    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.18" />
    	<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">1</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">1</var>
    		<!-- use Ugg Pendant or not? set to 0 if you do not have it. -->
    		<!-- Set HP Variables for what the maximum amount of HP you can have to trigger sorc ring is for each subjob -->
    		<var name="UggPendant">1</var>
    		<var name="RDMRingHP">826</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">1</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">Aquilo's Staff</var>
    		<var name="DarkStaff">Pluto's Staff</var>
    		<var name="ThunderStaff">Jupiter's Staff</var>
    		<var name="LightStaff">Light Staff</var>
    		<var name="WindStaff">Auster's Staff</var>
    		<var name="FireStaff">Vulcan's Staff</var>
    		<var name="EarthStaff">Terra's Staff</var>
    		<var name="WaterStaff">Water Staff</var>
    		<!-- Elemental Obi's, set to 1 for the ones you have. -->
    		<var name="DarkObi">1</var>
    		<var name="LightObi">0</var>
    		<var name="ThunderObi">1</var>
    		<var name="IceObi">1</var>
    		<var name="FireObi">0</var>
    		<var name="WindObi">0</var>
    		<var name="WaterObi">0</var>
    		<var name="EarthObi">0</var>
    	</variables>
    	<sets>
    		<group name="Main" default="yes">
    			<set name="Idle">
    				<main>$EarthStaff</main>
    				<sub>Bugard Strap +1</sub>
    				<ammo>Phantom Tathlum</ammo>
    				<head>igqira tiara</head>
    				<neck>Lmg. medallion</neck>
    				<lear>Moldavite Earring</lear>
    				<rear>abyssal earring</rear>
    				<body>sorcerer's coat</body>
    				<hands>zenith mitts</hands>
    				<lring>patronus ring</lring>
    				<rring>jelly ring</rring>
    				<back>cheviot cape</back>
    				<waist>Penitent's Rope</waist>
    				<legs>goliard trews</legs>
    				<feet>goliard clogs</feet>
    			</set>
    			<set name="FastCast">
    				<feet>Rostrum Pumps</feet>
    				<rear>Loquac. Earring</rear>
    			</set>
    			<set name="Resting" BaseSet="Idle">
    				<body>oracle's robe</body>
    				<main>$DarkStaff</main>
    				<sub>Raptor Strap +1</sub>
    				<head>Oracle's Cap</head>
    				<waist>Qiqirn Sash +1</waist>
    				<feet>goliard clogs</feet>
    				<hands>Oracle's Gloves</hands>
    				<neck>grandiose chain</neck>
    				<lear>Relaxing Earring</lear>
    				<rear>Antivenom Earring</rear>
    				<legs>yigit seraweels</legs>
    				<back>cheviot Cape</back>
    			</set>
    			<set name="MinusHP">
    				<sub>Dark grip</sub>
    				<head>Wivre hairpin</head>
    				<body>black cotehardie</body>
    				<back>blue Cape</back>
    				<lear>Astral earring</lear>
    				<rring>Ether ring</rring>
    				<lring>serket ring</lring>
    				<hands>Zenith Mitts</hands>
    				<legs>zenith slacks</legs>
    				<feet>Errant pigaches</feet>
    			</set>
    			<set name="FullDamage" BaseSet="Idle">
    			 <main lock="yes">Teiwaz</main>
    				<sub>Bugard Strap +1</sub>
    				<ammo>Phantom Tathlum</ammo>
    				<neck>Lmg. medallion</neck>
    				<lear>Moldavite Earring</lear>
    				<rear>Abyssal Earring</rear>
    				<head>Demon helm +1</head> 
    				<body>igqira weskit</body>
    				<hands>Zenith Mitts</hands>
    				<lring>snow Ring</lring>
    				<rring>snow Ring</rring>
    				<back>prism cape</back>
    				<waist>Penitent's Rope</waist>
    				<legs>teal Slops</legs>
    				<feet>goliard clogs</feet>
    			</set>
    			<set name="HighResist" BaseSet="FullDamage">
    				<hands>Wzd. Gloves +1</hands>
    				<body>igqira weskit</body>
    				<head>Sorcerer's Petas.</head>
    				<rring>Omega ring</rring>
    				<lring>Balrahn's ring</lring>
    				<neck>Elemental torque</neck>
    				<feet>Numerist Pumps</feet>
    				<back>merciful cape</back>
    			</set>
    			<set name="MidResist" BaseSet="FullDamage">
    				<body>igqira weskit</body>
    				<head>Demon helm +1</head>
    				<feet>Numerist Pumps</feet>
    			</set>			
    			<set name="LightResist" BaseSet="FullDamage">
    				<body>igqira weskit</body>
    			</set>					
    			<set name="DarkMagic">
    				<legs>Wizard's Tonban</legs>
    				<sub>dark grip</sub>
    				<lear>Dark Earring</lear>
    				<head>Nashira turban</head>
    				<feet>Igqira huaraches</feet>
    				<rear>Abyssal Earring</rear>
    				<waist>swift belt</waist>
    				<body>oracle's robe</body>
    				<hands>sorcerer's gloves</hands>
    				<rring>Omega ring</rring>
    				<lring>Balrahn's ring</lring>
    				<neck>Dark Torque</neck>
    				<back>merciful cape</back>
    			</set>
    			<set name="EnfeeblingMagic">
    				<body>Wzd. Coat +1</body>
    				<head>Igqira Tiara</head>
    				<neck>spider Torque</neck>
    				<hands>Mst.Cst. Bracelets</hands>
    				<lear>Enfeebling Earring</lear>
    				<legs>Igqira Lappa</legs>
    				<rring>Omega ring</rring>
    				<lring>Balrahn's ring</lring>
    			</set>
    			<set name="HealingMagic" />
    			<set name="DivineMagic" />
    			<set name="EnhancingMagic" BaseSet="Idle">
    				<main lock="yes">Kirin's pole</main>
    				<sub>Bugard Strap +1</sub>
    				<body>Errant Hpl.</body>
    				<neck>faith torque</neck>
    				<hands>devotee's mitts</hands>
    				<head>goliard chapeau</head>
    				<rring>omega ring</rring>
    				<back>prism cape</back>
    				<legs>mahatma slops</legs>
    				<feet>Igqira huaraches</feet>
    			</set>
    		</group>
    	</sets>
    	<rules>
    		<!-- utility: if you have no target currently, and casting a spell that can be cast on self, then cast on self (buffs). -->
    		<if ValidTargets="*Self*" TargetType="None" SpellTarget="&lt;t&gt;">
    			<action type="ChangeTarget" target="&lt;me&gt;" />
    		</if>
    		<!-- utility: if targetting a monster, but casting a spell that can not be cast on monsters, then cast on self (buffs). -->
    		<if SpellTarget="&lt;t&gt;" TargetType="MONSTER" NotValidTarget="*Enemy*" ValidTarget="*Self*">
    			<action type="changetarget" target="&lt;me&gt;" />
    		</if>	
    		<!-- dont parse this file if under level 73... ie capped areas 
    		<if MLVLLT="75"> <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="Idle" />
    		<!-- 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>
    			</action>
    			<!-- these codes just print Stun in auto translate into chat. -->
    			<action type="command">input /echo \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" target="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 Target="Tiamat|Genbu|Suzaku|Seiryu|Byakko|Kirin|Jormungand|Ouryu|Vrtra|Cerberus|Khimaira|Sarameya|Tyger|Jailer of Love" 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 target="Fafnir|Nidhogg|Aspidochelone|King Behemoth|Tinnin" 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*">
    									<action type="equip" when="precast|midcast" Set="LightResist" />
    								</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>
    					<if NotSpell="Blink|Sneak|Invisible|Warp|Warp II|Bar*">
    						<!-- for any other type of spell, just equip matching set name. -->
    						<action type="equip" when="precast|midcast" Set="Idle|%Skill" />	
    					</if>
    				</else>
    			</if>
    			<else>
    				<action type="equip" when="precast|midcast" Set="Idle" />
    			</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 /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>
    			<!-- 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;")'>
    				<action type="command" when="midcast">cancel 71</action>
    				<action type="midcastdelay" delay="2.1" />
    			</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>

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

    Add a precast delay and your problem is solved

  19. #459
    Melee Summoner
    Join Date
    Dec 2009
    Posts
    26
    BG Level
    1
    FFXI Server
    Leviathan
    WoW Realm
    Hellscream

    Had a quick question -

    I recently upgraded AF+2 pants for WHM. Is there a way I can put something like if spell = "healing magic" - equip when precast Orison Pantaloons +2.
    How would I write that in xml if it is possible to shorten.

    My whm xml is getting really sloppy because I have typed in each spell individually, and I was wondering if there was a way tp put entire schools of magic in instead of each spell individually from that school.

    Thank you kindly for the help.

  20. #460
    Relic Shield
    Join Date
    Dec 2005
    Posts
    1,970
    BG Level
    6
    FFXI Server
    Shiva

    MNK

    Sets:

    - Asuran Fists
    - Dragon Kick
    - Tornado Kick
    - Ascetic's Fury
    - Chakra
    - Chi Blast
    - Footwork TP
    - Casting Utsusemi (Counter, 26% Haste, Fast Cast)

    Functions:

    - Equips Temple Gloves +1 for Boost.
    - Equips Melee Gaiters for Counterstance.
    - Equips Temple Gaiters +1 for Dodge.
    - Equips Temple Crown +1 for Focus.
    - Prevents TP from being wasted if a mob moves too far away as you prepare to WS.

    Code:
    <?xml version="1.0" ?>
    <spellcast>
    
    
            <config
                    Debug="false"
                    HideErrors="false"
                    ShowGearSwaps="false"
                    ShowSpellInfo="false"
                    DefaultAftercast="Engaged"/>
            <sets>
                    <group default="yes" name="MNK">
    
                            <set name="Standing">
                                    <ammo>Tantra Tathlum</ammo>
                                    <head>Usukane Somen</head>
                                    <neck>Faith Torque</neck>
                                    <lear>Brutal Earring</lear>
                                    <rear>Ethereal Earring</rear>
                                    <body>Usukane Haramaki</body>
                                    <hands>Usukane Gote</hands>
                                    <lring>Spiral Ring</lring>
                                    <rring>Rajas Ring</rring>
                                    <back>Forager's Mantle</back>
                                    <waist>Black Belt</waist>
                                    <legs>Usukane Hizayoroi</legs>
                                    <feet>Hermes' Sandals</feet>
                            </set>
    
                            <set name="Engaged">
                                    <ammo>Tantra Tathlum</ammo>
                                    <head>Usukane Somen</head>
                                    <neck>Faith Torque</neck>
    				<lear>Brutal Earring</lear>
                                    <rear>Ethereal Earring</rear>
                                    <body>Usukane Haramaki</body>
                                    <hands>Usukane Gote</hands>
                                    <lring>Spiral Ring</lring>
                                    <rring>Rajas Ring</rring>
                                    <back>Forager's Mantle</back>
                                    <waist>Black Belt</waist>
                                    <legs>Usukane Hizayoroi</legs>
                                    <feet>Usukane Sune-ate</feet>
                            </set>
    
    
                            <set name="Chakra">
                                    <ammo>Tantra Tathlum</ammo>
                                    <head>Genbu's Kabuto</head>
                                    <neck>Medieval Collar</neck>
    				<lear>Brutal Earring</lear>
    				<rear>Kemas Earring</rear>
                                    <body>Temple Cyclas +1</body>
                                    <hands>Melee Gloves</hands>
                                    <lring>Spiral Ring</lring>
                                    <rring>Mercenary's Ring</rring>
                                    <back>Melee Cape</back>
                                    <waist>Warwolf Belt</waist>
                                    <legs>Kensei Sitabaki</legs>
                                    <feet>Power Sandals</feet>
                            </set>
    
                            <set name="Dodge">
                                    <feet>Temple Gaiters +1</feet>
                            </set>
                            <set name="Focus">
                                    <head>Temple Crown +1</head>
                            </set>
                            <set name="Boost">
                                    <hands>Temple Gloves +1</hands>
                            </set>
    
                            <set name="Counterstance">
                                    <feet>Melee Gaiters</feet>
                            </set>
    
                            <set name="FastCast">
                                    <lear>Loquacious Earring</lear>
    				<back>Ultion Mantle</back>
                                    <neck>Tiercel Necklace</neck>
                                    <head>Tantra Crown +1</head>
                                    <legs>Tantra Hose +1</legs>
                            </set>
    
    
                            <set name="ChiBlast">
                                    <head>Temple Crown +1</head>
                                    <neck>Faith Torque</neck>
    				<body>Kirin's Osode</body>
                                    <back>Melee Cape</back>
    				<legs>Temple Hose +1</legs>
                                    <feet>Suzaku's Sune-ate</feet>
                            </set>
    
    
                            <set name="WeaponSkill">
                                    <head>Anwig Salade</head>                                              			
    				<ammo>Tantra Tathlum</ammo>
                                    <neck>Faith Torque</neck>
                                    <lear>Brutal Earring</lear>
                                    <rear>Kemas Earring</rear>
                                    <body>Usukane Haramaki</body>
                                    <hands>Heafoc Mitts</hands>
                                    <lring>Spiral Ring</lring>
                                    <rring>Rajas Ring</rring>
                                    <back>Forager's Mantle</back>
                                    <waist>Virtuoso Belt</waist>
                                    <legs>Usukane Hizayoroi</legs>
                                    <feet>Usukane Sune-ate</feet>
                            </set>
    
                            <set name="AsuranFists">
                                    <head>Anwig Salade</head>                                
                                    <ammo>Tantra Tathlum</ammo>
                                    <neck>Faith Torque</neck>
                                    <lear>Aesir Ear Pendant</lear>
                                    <rear>Ethereal Earring</rear>
                                    <body>Usukane Haramaki</body>
                                    <hands>Usukane Gote</hands>
                                    <lring>Spiral Ring</lring>
                                    <rring>Rajas Ring</rring>
                                    <back>Forager's Mantle</back>
                                    <waist>Virtuoso Belt</waist>
                                    <legs>Usukane Hizayoroi</legs>
                                    <feet>Usukane Sune-ate</feet>
                            </set>
    
                            <set name="DragonKick">
                                    <head>Anwig Salade</head>
                                    <ammo>Tantra Tathlum</ammo>
                                    <neck>Thunder Gorget</neck>
                                    <lear>Brutal Earring</lear>
                                    <rear>Kemas Earring</rear>
                                    <body>Kirin's Osode</body>
                                    <hands>Heafoc Mitts</hands>
                                    <lring>Spiral Ring</lring>
                                    <rring>Rajas Ring</rring>
                                    <back>Forager's Mantle</back>
                                    <waist>Warwolf Belt</waist>
                                    <legs>Usukane Hizayoroi</legs>
                                    <feet>Poise Shoes</feet>
                            </set>
    
                            <set name="AsceticsFury">
                                    <head>Genbu's Kabuto</head>
                                    <ammo>Tantra Tathlum</ammo>
                                    <neck>Flame Gorget</neck>
                                    <lear>Brutal Earring</lear>
                                    <rear>Kemas Earring</rear>
                                    <body>Kirin's Osode</body>
                                    <hands>Heafoc Mitts</hands>
                                    <lring>Spiral Ring</lring>
                                    <rring>Rajas Ring</rring>
                                    <back>Forager's Mantle</back>
                                    <waist>Warwolf Belt</waist>
                                    <legs>Usukane Hizayoroi</legs>
                                    <feet>Usukane Sune-ate</feet>
                            </set>
    
                            <set name="TornadoKick">
                                    <head>Anwig Salade</head>
                                    <ammo>Tantra Tathlum</ammo>
                                    <neck>Thunder Gorget</neck>
                                    <lear>Brutal Earring</lear>
                                    <rear>Kemas Earring</rear>
                                    <body>Kirin's Osode</body>
                                    <hands>Heafoc Mitts</hands>
                                    <lring>Spiral Ring</lring>
                                    <rring>Rajas Ring</rring>
                                    <back>Forager's Mantle</back>
                                    <waist>Warwolf Belt</waist>
                                    <legs>Usukane Hizayoroi</legs>
                                    <feet>Poise Shoes</feet>
                            </set>
    
                            <set name="Footwork">
                                    <head>Usukane Somen</head>
                                    <ammo>Tantra Tathlum</ammo>
                                    <neck>Faith Torque</neck>
                                    <rear>Ethereal Earring</rear>
                                    <lear>Brutal Earring</lear>
                                    <body>Usukane Haramaki</body>
                                    <hands>Usukane Kote</hands>
                                    <lring>Spiral Ring</lring>
                                    <rring>Rajas Ring</rring>
                                    <back>Forager's Mantle</back>
                                    <waist>Black Belt</waist>
                                    <legs>Tantra Hose +1</legs>
                                    <feet>Poise Shoes</feet>
                            </set>
    
    
                    </group>
    
            </sets>
    
    
            <rules>
    
    
    		<if buffactive="footwork">
        			<action type="equip" when="Idle|Aftercast" set="Standing"/>
        			<action type="equip" when="Engaged" set="Footwork" />
            		<if status="Engaged">
               			<action type="equip" when="aftercast" set="Footwork" />
           			</if>
    		</if>
    		<else>
        			<action type="equip" when="Idle|Aftercast" set="Standing"/>
        			<action type="equip" when="Engaged" set="Engaged" />
            		<if status="Engaged">
                			<action type="equip" when="aftercast" set="Engaged" />
            		</if>
    		</else>
    
    
                    <if type="Ninjutsu">
                            <action type="equip" when="Precast" set="FastCast"/>
                            <if Spell="Utsusemi: Ichi">
                                    <action type="midcastdelay" delay="2.5"/>
                                    <action type="Command" when="midcast">cancel 66</action>
                            </if>
                    </if>
                    <elseif Type="WeaponSkill">
                            <if TPGT="99">
                                    <if advanced='%SpellTargetDistance &lt; 3.7'>
                                            <!--cancels the WS if out of range.  This won't work with ranged WS-->
                                            <action type="castdelay" delay=".2"/>
                                            <if Spell="Dragon Kick">
                                                    <action type="Equip" when="precast|midcast" set="DragonKick"/>
                                            </if>
                                            <elseif Spell="Tornado Kick">
                                                    <action type="Equip" when="precast|midcast" set="TornadoKick"/>
                                            </elseif>
                                            <elseif Spell="Asuran Fists">
                                                    <action type="Equip" when="precast|midcast" set="AsuranFists"/>
                                            </elseif>
                                            <elseif Spell="Ascetic's Fury">
                                                    <action type="Equip" when="precast|midcast" set="AsceticsFury"/>
                                            </elseif>
                                            <else>
                                                    <action type="Equip" when="precast|midcast" set="WeaponSkill"/>
                                            </else>
                                    </if>
                                    <else> 
                                            <action type="cancelspell"/> 
                                    </else>
                            </if>
                    </elseif>
                    <elseif type="JobAbility">
                            <if Spell="Chakra">
                                    <action type="equip" when="Precast" set="Chakra"/>
                            </if>
                            <elseif Spell="Chi Blast">
                                    <action type="equip" when="Precast" set="ChiBlast"/>
                            </elseif>
                            <elseif Spell="Dodge">
                                    <action type="equip" when="Precast" set="Dodge"/>
                            </elseif>
                            <elseif Spell="Focus">
                                    <action type="equip" when="Precast" set="Focus"/>
                            </elseif>
                            <elseif Spell="Boost">
                                    <action type="equip" when="Precast" set="Boost"/>
                            </elseif>
                            <elseif Spell="Counterstance">
                                    <action type="equip" when="Precast" set="Counterstance"/>
                            </elseif>
                    </elseif>
            </rules>
    
    </spellcast>
    Still undergoing tweaks here and there... not sure if I'm doing the best I can with Tantra Head +1 by equiping it during Utsusemi (for the added Counter damage)...

    Also, I've never bothered using Spellcast to equip Melee Cyclas while idling, as it COULD trigger nearby undead to aggro under the wrong conditions (+HP% pushes me to yellow).

Page 23 of 24 FirstFirst ... 13 21 22 23 24 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