Spellcast Help

Language: JP EN DE FR
2010-09-08
New Items
users online
Forum » FFXI » Jobs » Red Mage » Spellcast Help
Spellcast Help
Offline
Posts: 7
By Slimshade 2012-10-05 07:37:02
Link | Quote | Reply
 
Hey guys can someone over look this i of course took from someone else but was looking to put the new ws and the empy ws into it i think ive put it into the right place when when i load it comes up with an error on line 0 lol >.< please help ;;

<xml version="1.0" >
<spellcast xmlns="http://www.windower.net/spellcast/"
xmlns:xi="http://www.w3.org/2001/XInclude"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.windower.net/spellcast/ spellcast.xsd">
<!-- Last modified: 9/23/2012 9:16:27 PM -->

<config Debug="false"
ShowGearSwaps="false"
ShowSpellInfo="false"
RequireVersion="2.30"
/>

<!-- Set default variable values -->
<variables>
<!-- General configuration -->
<xi:include href="Mote-Config-Include.xml" xpointer="/includes/include[@name='ConfigurationVars']/*" />

<!-- Configuration var overrides. -->
<var name="CritWS">Evisceration|Vorpal Blade</var>
<var name="MagicalWS">Sanguine Blade</var>
<var name="HasEvasion">No</var>

<!-- General utility -->
<xi:include href="Mote-Config-Include.xml" xpointer="/includes/include[@name='UtilityVars']/*" />
<xi:include href="Mote-Config-Include.xml" xpointer="/includes/include[@name='ElementalStaves']/*" />
<xi:include href="Mote-Config-Include.xml" xpointer="/includes/include[@name='SchWeatherConstants']/*" />
<xi:include href="Mote-Config-Include.xml" xpointer="/includes/include[@name='ElementalGear']/*" />
<xi:include href="Mote-Config-Include.xml" xpointer="/includes/include[@name='FastCastVars']/*" />
<xi:include href="Mote-Config-Include.xml" xpointer="/includes/include[@name='RecastDurations']/*" />

<!-- Utility default var overrides. -->
<var name="TPWeapon">Default</var>
<var name="TankMode">PDT</var>

<!-- Local vars -->


<!-- Count: Set bonus gained for the number of +2 AF3 pieces available.
10 for 2 pieces, 20 for 3 pieces, 30 for 4 pieces, 50 for 5 pieces. -->
<var name="EstoqueurSetBonus">50</var>
<!-- Cape: 0 for don't have; 1 for have. -->
<var name="EstoqueurCape">1</var>
<!-- Feet: 0 for don't have; 1 for +1; 2 for +2 -->
<var name="EstoqueurFeet">2</var>

<var name="TPWeapon">DaggerOrSword</var>

<!-- Move certain equip timings if spontaneity is up -->
<var name="SpontTime">Midcast</var>

<var name="MeleeWeapons">Chimeric Fleuret|Joyeuse|Twilight Knife|Aluh Jambiya|Swiftwing</var>

</variables>

<sets>
<group name="Outside-Group" default="true">
<set name="None">
</set>

<!-- General high HP/MP gear to use as a base. -->
<set name="Idle-Town-*|Idle-Field-*">
<main>$Staff-PDT</main>
<sub>Verse Strap +1</sub>
<ammo>Demonry Stone</ammo>
<head>Nefer Khat</head>
<neck>Wiglen Gorget</neck>
<lear>Hearty Earring</lear>
<rear>Loquacious Earring</rear>
<body>Heka's kalasiris</body>
<hands>Serpentes Cuffs</hands>
<lring>Sheltered Ring</lring>
<rring>Paguroidea Ring</rring>
<back>Cheviot Cape</back>
<waist>Goading Belt</waist>
<legs>Nares trews</legs>
<feet>Serpentes Sabots</feet>
</set>

<set name="Kite|Move">
<legs>Crimson Cuisses</legs>
</set>

<set name="Resting-Normal">
<main>$Staff-HMP</main>
</set>

<set name="AutoRefresh">
<head>Duelist's Chapeau +2</head>
<body>Estoqueur's Sayon +2</body>
<hands>Serpentes Cuffs</hands>
<feet>Serpentes Sabots</feet>
</set>

<!-- Reduce cast/recast times. -->
<set name="FastCast">
<head>Hyaline Hat</head>
<rear>Loquacious Earring</rear>
<body>Anhur robe</body> <!-- This needs to be replaced Duelist's Tabard +2 -->
<lring>Prolix Ring</lring>
<back>Swith Cape</back>
<waist>Witful Belt</waist>
<feet>Chelona Boots</feet>
</set>

<set name="CureFastCast" BaseSet="FastCast">
<body>Heka's Kalasiris</body>
<head>Hyaline Hat</head>
<legs>Praeco Slacks</legs>
</set>

<set name="HasteCast">
<rear>Loquacious Earring</rear>
<head>Zelus Tiara</head>
<body>Hedera cotehardie</body>
<hands>Brego Gloves</hands>
<waist>Phasmida Belt</waist> <!-- Replace with Goading Belt -->
</set>

<set name="InterruptDown">
<!-- <ammo>Impatiens</ammo> -->
<!-- <main>Eremite's Wand</main>
<sub>Eremite's Wand</sub> -->
<!-- <head>Nashira Turban</head>
<neck>Willpower Torque</neck> -->
<body>Warlock's Tabard</body>
<!-- <waist>Druid's Rope</waist> -->
</set>

<!-- For cures only, +healing skill, +mnd, +conserve MP -->
<set name="Cure">
<main>$Staff-Cures</main>
<sub>Verse Strap +1</sub>
<ammo>Clarus Stone</ammo>
<head>Hyaline Hat</head>
<neck>Fylgja Torque +1</neck>
<lear>Roundel Earring</lear>
<rear>Loquacious Earring</rear>
<body>Heka's Kalasiris</body>
<hands>Augur's Gloves</hands>
<lring>Ephedra Ring</lring>
<rring>Sirona's Ring</rring>
<back>Tempered Cape</back>
<waist>Phasmida Belt</waist>
<legs>Praeco Slacks</legs>
<feet>Estoqueur's Houseaux +2</feet>
</set>

<!-- For general enhancing spells that benefit from higher skill. -->
<set name="Enhancing">
<neck>Enhancing Torque</neck>
<body>Duelist's Tabard +2</body>
<hands>Duelist's Gloves</hands> <!-- Needs Duelist's Gloves +2 -->
<back>Estoqueur's Cape</back>
<waist>Cascade Belt</waist> <!-- Needs Another Olympus Sash -->
<legs>Portent Pants</legs>
<feet>Estoqueur's Houseaux +2</feet>
</set>

<!-- Gear that increases the duration of enhancing magic spells -->
<set name="EnhanceDuration">
<back>Estoqueur's Cape</back>
<feet>Estoqueur's Houseaux +2</feet>
</set>

<!-- AF3+2 set bonus adds duration with Composure up when casting on others -->
<set name="ComposureDuration">
<head>Estoqueur's Chappel +2</head>
<body>Estoqueur's Sayon +2</body>
<hands>Estoqueur's Gantherots +2</hands>
<legs>Estoqueur's Fuseau +2</legs>
<feet>Estoqueur's Houseaux +2</feet>
</set>

<set name="Spikes">
<legs>Duelist's Tights</legs> <!-- Needs Duelist's Tights +2 -->
</set>

<!-- This is the sets of gear for mnd-based enfeebles. Low acc focuses
mostly on +mnd for max potentcy; as it moves to high acc, mnd is
replaced by skill and +m.acc where that's an improvement. -->
<set name="EnfeebleMnd-Potency">
<ammo>Sturm's Report</ammo>
<head>Estoqueur's Chappel +2</head>
<neck>Estoqueur's Collar</neck>
<body>Estoqueur's Sayon +2</body>
<hands>Estoqueur's Gantherots +2</hands>
<lring>Solemn Ring</lring>
<back>Estoqueur's Cape</back>
<waist>Cascade Belt</waist>
<legs>Augur's Brais</legs>
<feet>Estoqueur's Houseaux +2</feet>
</set>
<set name="EnfeebleMnd-Accuracy" BaseSet="EnfeebleMnd-Potency">
<head>Duelist's Chapeau +2</head>
</set>

<!-- This is the sets of gear for int-based enfeebles. Low acc focuses
mostly on +int for max potentcy; as it moves to high acc, int is
replaced by skill and +m.acc where that's an improvement. -->
<set name="EnfeebleInt-Potency">
<ammo>Sturm's Report</ammo>
<head>Estoqueur's Chappel +2</head>
<neck>Spider Torque</neck>
<body>Estoqueur's Sayon +2</body>
<hands>Estoqueur's Gantherots +2</hands>
<lring>Strendu Ring</lring>
<rring>Diamond Ring</rring>
<back>Hecate's Cape</back>
<waist>Cognition Belt</waist>
<legs>Estoqueur's Fuseau +2</legs>
<feet>Chelona Boots</feet>
</set>
<set name="EnfeebleInt-Accuracy" BaseSet="EnfeebleInt-Potency">
</set>

<!-- This is the sets of gear for nukes. Low acc focuses
mostly on skill, MAB and +int for max potentcy; as it moves to
high acc, int is replaced by +m.acc where that's an improvement. -->
<set name="Nuke-Potency">
<sub>Wise Strap</sub>
<ammo>Witchstone</ammo>
<head>Estoqueur's Chappel +2</head>
<neck>Stoicheion Medal</neck>
<lear>Strophadic Earring</lear>
<rear>Hecate's Earring</rear>
<body>Estoqueur's Sayon +2</body>
<hands>Eradico Mitts</hands>
<lring>Demon's Ring</lring>
<rring>Strendu Ring</rring>
<back>Romanus Cape</back>
<waist>Cognition Belt</waist>
<legs>Estoqueur's Fuseau +2</legs>
<feet>Duelist's Boots</feet>
</set>
<set name="Nuke-Accuracy" BaseSet="Nuke-Potency">
<hands>Morrigan's Cuffs</hands>
<back>Hecate's Cape</back>
</set>


<!-- This is the sets of gear for dark magic spells. Since
dark magic is influenced only by skill and m.acc, adjust
only that and haste. -->
<set name="DarkMagic">
<head>Hyaline Hat</head>
<neck>Aesir Torque</neck>
<body>Estoqueur's Sayon +2</body>
<hands>Punishing Gloves</hands>
<rring>Strendu Ring</rring>
<back>Merciful Cape</back>
<waist>Phasmida Belt</waist>
<legs>Portent pants</legs>
<feet>Nares clogs</feet>
</set>
<set name="DarkMagic-Accuracy" BaseSet="DarkMagic">
<hands>Crimson Finger Gauntlets</hands>
</set>

<set name="DrainAndAspir">
<lring>Excelsis Ring</lring>
</set>

<!-- Don't put enmity gear on in basic set -->
<set name="Enmity">
</set>

<!-- Total of +375 MP in gear set -->
<!-- Rdm/sch: 1315/1356 HP, 1347 MP -->
<!-- Rdm/whm: 1314/1356 HP, 1362 MP -->
<!-- Rdm/blm: 1290/1331 HP, 1387 MP -->
<set name="Convert">
<ammo>Demonry Stone</ammo>
<head>Duelist's Chapeau +2</head>
<neck>Estoqueur's Collar</neck>
<lear>Bloodgem Earring</lear>
<rear>Loquacious Earring</rear>
<body>Goliard Saio</body>
<hands>Serpentes Cuffs</hands>
<lring>Dark Ring</lring>
<rring>Dark Ring</rring>
<back>Twilight Cape</back>
<waist>Hierarch Belt</waist>
<legs>Estoqueur's Fuseau +2</legs>
<feet>Serpentes Sabots</feet>
</set>

<set name="Chainspell">
<body>Duelist's Tabard +2</body>
</set>

<set name="BasePDT">
<neck>Wiglen Gorget</neck>
<lring>Dark Ring</lring>
<rring>Dark Ring</rring>
<back>Cheviot Cape</back>
<legs>Lefay brais</legs>
</set>
<set name="PhysDef-PDT|PhysDef-*" BaseSet="BasePDT">
<main>$Staff-PDT</main>
<sub>Verse Strap +1</sub>
</set>

<set name="MDT-*|Reist-*">
<main>$Staff-PDT</main>
<sub>Verse Strap +1</sub>
<ammo>Demonry Stone</ammo>
<neck>Twilight Torque</neck>
<lring>Dark Ring</lring>
<rring>Dark Ring</rring>
<back>Lamia Mantle +1</back>
</set>

<set name="WeakSet">
</set>

<set name="TP-DaggerOrSword-Normal-Normal"> <!-- TP-GEAR -->
<ammo></ammo>
<head>Zelus Tiara</head>
<neck>houyi's gorget</neck>
<lear>Brutal Earring</lear>
<rear>Suppanomimi</rear>
<body>Hedera cotehardie</body>
<hands>Punishing Gloves</hands>
<lring>Rajas Ring</lring>
<rring>Tyrant's Ring</rring>
<back>Atheling Mantle</back>
<waist>Phasmida belt</waist> <!-- Goading Belt mabye better -->
<legs>Rubeus spats</legs>
<feet>Eurus' Ledelsens</feet> <!-- Still Need These -->
</set>
<set name="TP-DaggerOrSword-*-PDT">
<!-- Defensive melee set -->
</set>
<set name="TP-DaggerOrSword-*-*">
</set>

<set name="TP-Default-*-*">
<!-- Any undefined weapon -->
</set>


<set name="Weaponskill">
<head>Optical Hat</head>
<lear>Brutal Earring</lear>
<rear>Aesir Ear Pendant</rear>
<hands>Morrigan's Cuffs</hands>
<lring>Rajas Ring</lring>
<rring>Excelcis Ring</rring>
<back>Atheling Mantle</back>
<waist>Cuchulain's Belt</waist>
<legs>Tumbler Trunks</legs>
</set>

<set name="WS-Evisceration-Normal" BaseSet="Weaponskill">
<neck>Soil Gorget</neck>
</set>
<set name="WS-Evisceration-Acc" BaseSet="WS-Evisceration-Normal">
</set>
<set name="WS-Evisceration-*" BaseSet="WS-Evisceration-Normal">
</set>

<set name="WS-Exenterator-Normal" BaseSet="Weaponskill">
<neck>Arctier's Torque</neck>
<rring>Solemn Ring</rring>
<legs>Urja Trousers</legs>
</set>
<set name="WS-Exenterator-Acc" BaseSet="WS-Exenterator-Normal">
</set>
<set name="WS-Exenterator-*" BaseSet="WS-Exenterator-Normal">
</set>

<set name="WS-Chant du Cygne-Normal" BaseSet="Weaponskill">
<neck></neck>
</set>
<set name="WS-Chant du Cygne-Acc" BaseSet="WS-Vorpal Blade-Normal">
</set>
<set name="WS-Chant du Cygne-*" BaseSet="WS-Vorpal Blade-Normal">
</set>

<set name="WS-Requiescat-Normal" BaseSet="Weaponskill">
<neck></neck>
</set>
<set name="WS-Requiescat-Acc" BaseSet="WS-Vorpal Blade-Normal">
</set>
<set name="WS-Requiescat-*" BaseSet="WS-Vorpal Blade-Normal">
</set>

<set name="WS-Vorpal Blade-Normal" BaseSet="Weaponskill">
<neck>Soil Gorget</neck>
</set>
<set name="WS-Vorpal Blade-Acc" BaseSet="WS-Vorpal Blade-Normal">
</set>
<set name="WS-Vorpal Blade-*" BaseSet="WS-Vorpal Blade-Normal">
</set>

<set name="WS-Death Blossom-Normal" BaseSet="Weaponskill">
<neck>Thunder Gorget</neck>
</set>
<set name="WS-Death Blossom-Acc" BaseSet="WS-Death Blossom-Normal">
</set>
<set name="WS-Death Blossom-*" BaseSet="WS-Death Blossom-Normal">
</set>

<set name="WS-Savage Blade-Normal" BaseSet="Weaponskill">
<neck>Thunder Gorget</neck>
</set>
<set name="WS-Savage Blade-Acc" BaseSet="WS-Savage Blade-Normal">
</set>
<set name="WS-Savage Blade-*" BaseSet="WS-Savage Blade-Normal">
</set>

</group>

<group name="Abyssea-Group" inherit="Outside-Group" />

<group name="Campaign-Group" inherit="Outside-Group" />

<group name="Voidwatch-Group" inherit="Outside-Group" />

<group name="Legion-Group" inherit="Outside-Group" />
</sets>


<rules>
<xi:include href="Mote-Rules-Include.xml" xpointer="/includes/include[@name='RunFirstUpdate']/*" />

<if mode="OR" EquipMain="$MeleeWeapons" status="Engaged">
<changelock slot="main|sub|range" when="All" lock="true" />
<var cmd="set TPWeapon DaggerOrSword" />
</if>
<else>
<var cmd="set TPWeapon Default" />
</else>
<!-- Make sure locks are in place before auto-changing gear. -->
<xi:include href="Mote-Rules-Include.xml" xpointer="/includes/include[@name='EquipmentLockRules']/*" />
<!-- Auto-change gear call via Aftercast to limit lag. -->
<xi:include href="Mote-Rules-Include.xml" xpointer="/includes/include[@name='ChangeGearAftercast']/*" />
<!-- Other general imports. -->
<xi:include href="Mote-Rules-Include.xml" xpointer="/includes/include[@name='LevelRequirement']/*" />
<xi:include href="Mote-Rules-Include.xml" xpointer="/includes/include[@name='ReturnRules']/*" />
<xi:include href="Mote-Rules-Include.xml" xpointer="/includes/include[@name='CleanTransportation']/*" />
<xi:include href="Mote-Rules-Include.xml" xpointer="/includes/include[@name='ElementalStaffRules']/*" />
<xi:include href="Mote-Rules-Include.xml" xpointer="/includes/include[@name='RecastWarnings']/*" />
<!-- <xi:include href="Mote-Rules-Include.xml" xpointer="/includes/include[@name='FastCastCalculations']/*" /> -->

<!-- First: Adjust values based on status checks. -->

<!-- Check for weakness -->
<if BuffActive="Weakness">
<var cmd="set WeaknessArmor WeakSet" />
</if>


<!-- Second: Update certain values when their status may drop, or when autoset changes. -->

<if spell="Update|autoset">
<!-- Autoset (engage/disengage/rest/etc) gets same checks as a Reset command -->
<xi:include href="Mote-Rules-Include.xml" xpointer="/includes/include[@name='AreaRules']/*" />

<if hppgt="50">
<var cmd="set Convert None" />
</if>

<!-- Check for buffs wearing off -->
<if NotBuffActive="Weakness">
<var cmd="set WeaknessArmor None" />
</if>

<!-- Ensure movement is set properly -->
<if status="Engaged" advanced='"$Movement"="Move"'>
<var cmd="set Movement None" />
</if>
<elseif status="Idle">
<var cmd="set Movement Move" />
</elseif>

<!-- Output current status if this is a manual update -->
<if SpellTargetRaw=".Manual">
<addtochat>Update. $TPWeapon - $OffenseMode/$DefenseMode, PD:$PhysicalDefense, MD:$MagicalDefense, $Movement</addtochat>
</if>
</if>


<!-- Third: Adjust configurations based on action/trigger. -->

<xi:include href="Mote-Rules-Include.xml" xpointer="/includes/include[@name='UniversalTriggerRules']/*" />

<!-- Job Ability equip rules -->
<if type="JobAbility">
<xi:include href="Mote-Rules-Include.xml" xpointer="/includes/include[@name='ConvertRule']/*" />

<if Spell="Chainspell">
<equip when="Precast" set="Chainspell" />
</if>
</if>


<!-- Fourth: Compile all adjustments into the final gear set. -->

<xi:include href="Mote-Rules-Include.xml" xpointer="//include[@name='DefineBaseLayer']/*" />

<!-- Compile all subsets into a single final set -->
<var cmd="set CurrentSet $BaseLayer|$WeaknessArmor|$PhysicalDefense|$MagicalDefense|$Convert|$Movement" />

<!-- And assign to appropriate sets for idle/aftercast/etc -->
<xi:include href="Mote-Rules-Include.xml" xpointer="//include[@name='HandleEquippingGear']/*" />



<if BuffActive="Spontaneity">
<var cmd="set SpontTime Precast" />
</if>
<else>
<var cmd="set SpontTime Midcast" />
</else>


<!-- Weaponskill equip rules -->
<if type="WeaponSkill">
<xi:include href="Mote-Rules-Include.xml" xpointer="//include[@name='DefineWeaponskillSet']/*" />
<equip when="Precast" set="$WSSet" />
</if>

<elseif type="BlackMagic">
<equip when="Precast" set="FastCast" />

<if Skill="DarkMagic">
<equip when="$SpontTime" set="DarkMagic" />

<if Spell="Drain|Aspir">
<equip when="$SpontTime" set="DrainAndAspir" />
</if>

<xi:include href="Mote-Rules-Include.xml" xpointer="//include[@name='ObiRingCape-DarkMagic']/*" />
</if>
<elseif Skill="ElementalMagic">
<equip when="Midcast" set="Nuke-$MagicAcc" />

<xi:include href="Mote-Rules-Include.xml" xpointer="//include[@name='ObiRingCape-ElementalMagic']/*" />
</elseif>
<elseif Skill="EnfeeblingMagic">
<if Spell="Dispel|Blind*">
<equip when="$SpontTime" set="EnfeebleInt-Accuracy" />
</if>
<elseif Spell="Gravity*|Sleep*">
<equip when="$SpontTime" set="EnfeebleInt-Accuracy|HasteCast" />
</elseif>
<else>
<!-- Break, Poison* -->
<equip when="$SpontTime" set="EnfeebleInt-$MagicAcc" />
</else>
</elseif>
<elseif Skill="EnhancingMagic">
<equip when="Precast">
<waist>Siegel Sash</waist>
</equip>
<equip when="Midcast" set="HasteCast" />
</elseif>
</elseif>

<elseif type="WhiteMagic">
<equip when="Precast" set="FastCast" />

<if Skill="HealingMagic">
<if Spell="Cure*|Cura*">
<equip when="Precast" set="Cure|CureFastCast|$Convert" />
<equip when="Midcast" set="Cure|$Convert" />
</if>
<elseif Spell="Raise*">
<equip when="Midcast" delay="0.07" set="HasteCast" />
</elseif>
</if>
<elseif Skill="EnhancingMagic">
<!-- Enhancing Fastcast -->
<equip when="Precast">
<waist>Siegel Sash</waist>
</equip>

<if Spell="Stoneskin">
<!-- Stoneskin Fastcast -->
<equip when="Precast">
<hands>Carapacho Cuffs</hands>
</equip>

<!-- Build for exactly enough mnd/skill to max stoneskin.
Lowest mnd is whm/blm with 80.
With 354 skill (369 with Esq+2 feet)
need ~57 total mnd to max stoneskin. Don't need any +mnd in gear.
Add haste for recast, and Siegel Sash for bonus damage absorbed.
-->
<equip when="Midcast" set="HasteCast" />

<equip when="Midcast">
<waist>Siegel Sash</waist>
</equip>
</if>
<elseif Spell="Refresh*">
<equip when="All">
<legs>Estoqueur's Fuseau +2</legs>
</equip>
</elseif>
<elseif Spell="Bar*|Phalanx*|*Storm|En*|Gain*">
<equip when="Midcast" set="Enhancing" />
</elseif>
<elseif Spell="*Spikes">
<equip when="Midcast" set="Enhancing|Spikes" />
</elseif>
<elseif Spell="Haste">
<equip when="Midcast" set="HasteCast" />
</elseif>
<else>
<equip when="Midcast" set="Enhancing" />
</else>

<equip when="$SpontTime" set="EnhanceDuration" />

<if SpellTargetType="PLAYER" BuffActive="Composure">
<equip when="$SpontTime" set="ComposureDuration" />
</if>

<if SpellTargetType="SELF" Spell="Protect*|Shell*">
<equip when="Precast|Midcast">
<lring>Sheltered Ring</lring>
</equip>
</if>
</elseif>
<elseif Skill="EnfeeblingMagic">
<!-- Enfeebling Fastcast -->
<equip when="Precast">
<head>Estoqueur's Chappel +2</head>
</equip>

<if Spell="Slow*|Paralyze*|Addle">
<equip when="Midcast" set="EnfeebleMnd-$MagicAcc" />

</if>
<elseif Spell="Silence">
<equip when="Midcast" set="EnfeebleMnd-Accuracy" />
</elseif>

<if Spell="Dia III|Slow II">
<equip when="Midcast">
<head>Duelist's Chapeau +2</head>
</equip>
</if>
</elseif>
</elseif>

<elseif type="Ninjutsu">
<equip when="Precast" set="FastCast" />

<if Spell="Utsusemi*">
<if Spell="*Ichi">
<equip when="Midcast" set="HasteCast|InterruptDown" />
</if>
<else>
<equip when="Midcast" set="HasteCast" />
</else>
</if>
</elseif>

<elseif type="Waltz">
<!-- Waltzes for /dnc -->
<if NotSpell="Healing Waltz">
<if TargetType="Self">
<equip when="Precast" delay="0.1" set="CureWaltzMe" />
</if>
<else>
<equip when="Precast" delay="0.1" set="CureWaltz" />
</else>
</if>
</elseif>

</rules>
</spellcast>
 Phoenix.Esvedium
Offline
Server: Phoenix
Game: FFXI
user: Esvedium
Posts: 70
By Phoenix.Esvedium 2012-10-05 07:40:11
Link | Quote | Reply
 
Error line 0 is almost always an issue with your include.xml file. Check that everything you have referenced in your main xml actually exists in your include.
Offline
By Aeyela 2012-10-05 08:06:01
Link | Quote | Reply
 
First, unload spellcast then reload it. This fixes 99% of parse problems with modified scripts. After this load or activate some other scripts. Are they working okay? If so, then it's probably not your config, although the Line 0 error usually means your includes file is broken, like Esvedium said. I have noticed that sometimes a Line 0 error is given even when the error lies within the script. Usually doesn't, though.

If you have a backup of your old script try loading that. If it works and your new one doesn't, chances are your modifications are wrong. They look okay to me though. Have you referenced the weapon skill names correctly as per the resources file? That was a nightmare for me before when Spellcast originally didn't add a space between 'Grand Fall' for Leviathan.

If your backup works but your new script doesn't, can you post a copy of both here. That way we can see what you added as that is probably the cause.

Also, change '<config Debug="false"' to true, it might tell you what the problem is exactly rather than give you a generic error message. If you don't get any specific debug message, your script isn't even parsing which would almost certainly be an invalid config or included file. :)

Edit: Sorry for changing the post... I misread your problem originally. =D
Offline
Posts: 990
By Drjones 2012-10-05 10:30:37
Link | Quote | Reply
 
http://pastebin.com/

Learn to love it.
[+]
Offline
Posts: 513
By Wakabo 2012-10-05 10:39:08
Link | Quote | Reply
 
Slimshade said: »
Hey guys can someone over look this i of course took from someone else but was looking to put the new ws and the empy ws into it i think ive put it into the right place when when i load it comes up with an error on line 0 lol >.< please help ;;
 Bismarck.Tragedie
Offline
Server: Bismarck
Game: FFXI
Posts: 322
By Bismarck.Tragedie 2012-10-05 10:46:45
Link | Quote | Reply
 
Make sure you also download Motenten's include files, and put them in your spellcast folder. You need both Mote-Config-Include.xml and Mote-Rules-Include.xml (with those filenames, as your XML looks for them. If you did want to change the filenames for some reason, you'd have to change all the references - not worth the hassle). Motenten has them posted on his pastebin page.

If you already have the includes, ignore what I said. Motenten writes some amazing XMLs but I get lost trying to read them... I'm stubborn about making the move to using includes :(
 Ragnarok.Ashman
Offline
Server: Ragnarok
Game: FFXI
user: Ashman
Posts: 4248
By Ragnarok.Ashman 2012-10-05 10:52:42
Link | Quote | Reply
 
I'm sad because this could have been the first use of the red mage spellcast forum :<
Log in to post.