SC XML
Server: Sylph
Game: FFXI
Posts: 2617
By Sylph.Hitetsu 2012-03-18 04:51:08
No worries, it's pretty much the same as Gimpness wrote down, he just used different sets opposed to writing it to a variable.
I can't remember, off the top of my head anyway, how to "not" an advanced statement, so atm this'll just keep setting the body variable over and over >_>; (main reason I didn't addtochat it like I do with everything else :D!)
Quetzalcoatl.Antz
Server: Quetzalcoatl
Game: FFXI
Posts: 25
By Quetzalcoatl.Antz 2012-03-19 11:58:11
I was wondering if anyone could check over the xml i have, its mostly just copy/pasted out of different ones. Its my first time trying SC so not 100% sure, lol.
Code
<?xml version="1.0" ?>
<spellcast>
<config
Debug="false"
HideErrors="false"
ShowGearSwaps="false"
ShowSpellInfo="false"
/>
<variables>
<var name="Day-Move">Danzo Sune-ate</var>
<var name="Night-Move">Ninja Kyahan +1</var>
</variables>
<sets>
<!-- Abyssea Sets -->
<group default="yes" name="Abyssea TP">
<!-- TP Set -->
<set name="Abyssea TP">
<head>Iga Zukin +2</head>
<neck>Iga Erimaki</neck>
<rear>Brutal Earring</rear>
<lear>Suppanomimi</lear>
<body>Ninja Chainmail</body>
<hands>Koga Tekko +2</hands>
<rring>Rajas Ring</rring>
<lring>Epona's Ring</lring>
<back>Atheling Mantle</back>
<waist>Twilight Belt</waist>
<legs>Iga Hakama +2</legs>
<feet>Iga Kyahan +2</feet>
<ammo>Qirmiz Tathlum</ammo>
</set>
<!-- Blade: Hi Set -->
<set name="Hi Inside" baseset="Abyssea TP">
<head>Oce. Headpiece +1</head>
<body>Loki's Kaftan</body>
<feet>Kog. Kyahan +2</feet>
<waist>Windbuffet Belt</waist>
<legs>Byakko's Haidate</legs>
<lring>Epona's Ring</lring>
<rring>Stormsoul Ring</rring>
<back>Atheling Mantle</back>
<neck>Houyi's Gorget</neck>
<rear>Brutal Earring</rear>
<lear>Centaurus Earring</lear>
<hands>Seiryu's Kote</hands>
</set>
<!-- Standard Non-Abyssea Sets -->
<!-- TP Sets -->
<set name="Voidwatch TP">
<head>Iga Zukin +2</head>
<neck>Agasaya's Collar</neck>
<rear>Brutal Earring</rear>
<lear>Suppanomimi</lear>
<body>Iga Ningi +2</body>
<hands>Koga Tekko +2</hands>
<rring>Rajas Ring</rring>
<lring>Epona's Ring</lring>
<back>Atheling Mantle</back>
<waist>Twilight Belt</waist>
<legs>Iga Hakama +2</legs>
<feet>Iga Kyahan +2</feet>
<ammo>Qirmiz Tathlum</ammo>
</set>
<set name="Outside TP">
<head>Iga Zukin +2</head>
<neck>Rancor Collar</neck>
<rear>Brutal Earring</rear>
<lear>Suppanomimi</lear>
<body>Iga Ningi +2</body>
<hands>Koga Tekko +2</hands>
<rring>Rajas Ring</rring>
<lring>Epona's Ring</lring>
<back>Atheling Mantle</back>
<waist>Twilight Belt</waist>
<legs>Iga Hakama +2</legs>
<feet>Iga Kyahan +2</feet>
<ammo>Qirmiz Tathlum</ammo>
</set>
<!-- Blade: Hi Set -->
<set name="Hi Outside" baseset="Outside TP">
<head>Oce. Headpiece +1</head>
<body>Iga Ningi +2</body>
<feet>Kog. Kyahan +2</feet>
<waist>Cuchulain's Belt</waist>
<legs>Byakko's Haidate</legs>
<lring>Epona's Ring</lring>
<rring>Rajas Ring</rring>
<back>Atheling Mantle</back>
<neck>Rancor Collar</neck>
<rear>Brutal Earring</rear>
<lear>Centaurus Earring</lear>
<hands>Iga Tekko +2</hands>
</set>
<!-- Multi-Purpose Misc Sets -->
<!-- Idle Set -->
<set name="Idle" baseset="Abyssea TP">
<head>Arh. Jinpachi +1</head>
<neck>Wiglen Gorget</neck>
<rear>Brutal Earring</rear>
<lear>Suppanomimi</lear>
<body>Arhat's Gi +1</body>
<hands>Melaco Mittens</hands>
<lring>Sheltered Ring</lring>
<rring>Paguroidea Ring Ring</rring>
<back>Boxer's Mantle</back>
<waist>Flume Belt</waist>
<legs>Hachiryu Haidate</legs>
<feet>Danzo Sune-Ate</feet>
<ammo>Qirmiz Tathlum</ammo>
</set>
<!-- Haste set - used for casting Utsusemi -->
<set name="Haste" baseset="$AbysseaOrOutside TP">
<head>Iga Zukin +2</head>
<hands>Koga Tekko +2</hands>
<neck>Magoraga Beads</neck>
<rear>Brutal Earring</rear>
<lear>Suppanomimi</lear>
<rring>Rajas Ring</rring>
<lring>Epona's Ring</lring>
<back>Boxer's Mantle</back>
<waist>Twilight Belt</waist>
<legs>Iga Hakama +2</legs>
<feet>Iga Kyahan +2</feet>
</set>
<!-- Evasion Set -->
<set name="Evasion">
<head>Iga Zukin +2</head>
<neck>Torero Torque</neck>
<lear>Brutal Earring</lear>
<rear>Suppanomimi</rear>
<body>Scorpion Harness</body>
<hands>Iga Tekko +2</hands>
<rring>Rajas Ring</rring>
<lring>Epona's Ring</lring>
<back>Boxer's Mantle</back>
<waist>Twilight Belt</waist>
<legs>Ocelot Trousers</legs>
<feet>Iga Kyahan +2</feet>
</set>
<!-- Damage Taken Sets -->
<set name="PDT">
<head>Arh. Jinpachi +1</head>
<body>Arhat's Gi +1</body>
<back>Boxer's Mantle</back>
<neck>Wiglen Gorget</neck>
<hands>Denali Wristbands</hands>
<waist>Flume Belt</waist>
<lear>Ethereal Earring</lear>
<lring>Dark Ring</lring>
<legs>Hachiryu Haidate</legs>
<rear>Brutal Earring</rear>
<rring>Jelly Ring</rring>
</set>
<set name="MDT" BaseSet="PDT">
<hands>Melaco Mittens</hands>
<body>Avalon Breastplate</body>
<back>Egulfer Cape</back>
<neck>Twilight Torque</neck>
<waist>Flume Belt</waist>
<lear>Merman's Earring</lear>
<lring>Shadow Ring</lring>
<rear>Merman's Earring</rear>
<rring>Minerva's Ring</rring>
</set>
</group>
</sets>
<rules>
<!-- Abyssea, Voidwatch & Outside -->
<if buffactive="Visitant" status="engaged">
<equip when="aftercast" set="Abyssea TP" />
</if>
<elseif buffactive="Voidwatcher" status="engaged">
<equip when="aftercast" set="Voidwatch TP" />
</elseif>
<else>
<equip when="aftercast" set="Outside TP" />
</else>
<!-- Idle Feet -->
<if TimeGT="7.00" TimeLT="17.00">
<var cmd="set MoveFeet $Day-Move" />
</if>
<else>
<var cmd="set MoveFeet $Night-Move" />
</else>
<!-- Cancel and Buffs -->
<if Spell="Sneak|Invisible">
<action type="midcastdelay" delay="1.5" />
<if Spell="Sneak" BuffActive="Sneak" advanced='"%SpellTarget"="%PlayerName" OR "%SpellTarget"="<me>" OR ("%target"="%PlayerName" AND "%SpellTarget"="<t>")'>
<action type="command" when="midcast">cancel 71</action>
</if>
</if>
<elseif Spell="Spectral Jig">
<action Type="Command" When="PreCast">cancel 71</action>
</elseif>
<!-- NIN Spells -->
<if spell="Utsusemi:*">
<action type="equip" when="precast" set="Haste" />
<if spell="*NI">
<action type="var" cmd="set Utsusemi Ni" />
</if>
<elseif spell="*Ichi">
<if advanced='"$Utsusemi"=="Ni"'>
<midcastdelay delay="3.0" />
<action type="command" when="midcast">cancel 66</action>
</if>
<action type="var" cmd="set Utsusemi Ichi" />
</elseif>
</if>
<elseif spell="Monomi*|Tonko*">
<if Spell="Monomi*" BuffActive="Sneak">
<action type="midcastdelay" delay="2.5" />
<action type="Command" when="midcast">cancel 71</action>
</if>
</elseif>
<if spell="Blade: Hi">
<if buffactive="Visitant">
<equip when="Precast" set="Hi Inside" />
</if>
<elseif buffactive="Voidwatcher">
<equip when="Precast" set="Hi Outside" />
</elseif>
<action type="castdelay" delay=".5" />
<action type="aftercastdelay" delay="7" />
<action type="Equip" when="aftercast" set="$AbysseaOrOutside TP" />
</if>
</rules>
</spellcast>
Not sure why the bottom has turned out all messy tho, looks fine in my notepad++ ><
Quetzalcoatl.Langly
Server: Quetzalcoatl
Game: FFXI
Posts: 684
By Quetzalcoatl.Langly 2012-03-19 12:43:23
Looks like it's fine Antz, albeit a bit jumbled.
There are a few logical abnormalities but that's just an aside, nothing that should make it not work.
If you want to see another NIN XML I can PM you mine to peruse and get any ideas.
Server: Sylph
Game: FFXI
Posts: 2617
By Sylph.Hitetsu 2012-03-19 13:17:16
There seems to be a lot of variables in there that I'm not noticing.
I can see: $Day-Move and $Night-Move
I've also noticed a few others referenced: $AbysseaOrOutside, $Utsusemi, $Move-Feet.
As Langly mentioned though, there's nothing in it that should stop it from working - it just won't work "properly".
Quetzalcoatl.Antz
Server: Quetzalcoatl
Game: FFXI
Posts: 25
By Quetzalcoatl.Antz 2012-03-19 13:30:06
Sure if you don't mind Langly.
Yes I wasn't sure on how to set some of the stuff up, will the rule where I have the 3 different TP sets depending on buffactive work like they are supposed to? Also how would I put in my idle set for when not engaged to anything at all?
Code
<!-- Abyssea, Voidwatch & Outside -->
<if buffactive="Visitant" status="engaged">
<equip when="aftercast" set="Abyssea TP" />
</if>
<elseif buffactive="Voidwatcher" status="engaged">
<equip when="aftercast" set="Voidwatch TP" />
</elseif>
<else>
<equip when="aftercast" set="Outside TP" />
</else>
Also how would I go about setting my Day/Dusk Feet into my idle set for when not engaged?
Code
<if TimeGT="7.00" TimeLT="17.00">
<var cmd="set MoveFeet $Day-Move" />
</if>
<else>
<var cmd="set MoveFeet $Night-Move" />
</else>
Also in my aftercast for Blade Hi how would I put it so that it switchs to the TP sets from inside the buffactive rule?
Server: Sylph
Game: FFXI
Posts: 2617
By Sylph.Hitetsu 2012-03-19 13:34:23
Your Abyssea/VW/Normal TP gear should be fine as it is and your Blade: Hi should switch sets aftercast accordingly.
Your feet rule needs a little rewriting, but it's just a switch from "var set" to "equip".
Code xml
<if TimeGT="7.00" TimeLT="17.00">
<equip when="idle">
<feet>$Day-Move<feet/>
</equip>
</if>
<else>
<equip when="idle">
<feet>$Night-Move<feet/>
</equip>
</else>
Quetzalcoatl.Antz
Server: Quetzalcoatl
Game: FFXI
Posts: 25
By Quetzalcoatl.Antz 2012-03-19 13:40:34
Ok, tyvm Hitetsu.
Stupid question but I will need to use autoexe to enable the buffstatus sets, correct? If so how would I go about doing that, sorry to sound so dumb, just never did anything to do with spellcast before, lol.
Again tyvm for the help.
Server: Sylph
Game: FFXI
Posts: 2617
By Sylph.Hitetsu 2012-03-19 13:54:29
You can use AutoExec to do it immediately, otherwise it'll work fine after you perform an action.
Quetzalcoatl.Antz
Server: Quetzalcoatl
Game: FFXI
Posts: 25
By Quetzalcoatl.Antz 2012-03-19 14:24:02
Hmm, I'm getting "[ERROR] XML Parsing Error line 197 - Error reading end tag." when trying to launch it.
Here it is again complete with the stuff added that you said:
Code
<?xml version="1.0" ?>
<spellcast>
<config
Debug="false"
HideErrors="false"
ShowGearSwaps="false"
ShowSpellInfo="false"
/>
<variables>
<var name="Day-Move">Danzo Sune-ate</var>
<var name="Night-Move">Ninja Kyahan +1</var>
</variables>
<sets>
<!-- Abyssea Sets -->
<group default="yes" name="Abyssea TP">
<!-- TP Set -->
<set name="Abyssea TP">
<head>Iga Zukin +2</head>
<neck>Iga Erimaki</neck>
<rear>Brutal Earring</rear>
<lear>Suppanomimi</lear>
<body>Ninja Chainmail</body>
<hands>Koga Tekko +2</hands>
<rring>Rajas Ring</rring>
<lring>Epona's Ring</lring>
<back>Atheling Mantle</back>
<waist>Twilight Belt</waist>
<legs>Iga Hakama +2</legs>
<feet>Iga Kyahan +2</feet>
<ammo>Qirmiz Tathlum</ammo>
</set>
<!-- Blade: Hi Set -->
<set name="Hi Inside" baseset="Abyssea TP">
<head>Oce. Headpiece +1</head>
<body>Loki's Kaftan</body>
<feet>Kog. Kyahan +2</feet>
<waist>Windbuffet Belt</waist>
<legs>Byakko's Haidate</legs>
<lring>Epona's Ring</lring>
<rring>Stormsoul Ring</rring>
<back>Atheling Mantle</back>
<neck>Houyi's Gorget</neck>
<rear>Brutal Earring</rear>
<lear>Centaurus Earring</lear>
<hands>Seiryu's Kote</hands>
</set>
<!-- Standard Non-Abyssea Sets -->
<!-- TP Sets -->
<set name="Voidwatch TP">
<head>Iga Zukin +2</head>
<neck>Agasaya's Collar</neck>
<rear>Brutal Earring</rear>
<lear>Suppanomimi</lear>
<body>Iga Ningi +2</body>
<hands>Koga Tekko +2</hands>
<rring>Rajas Ring</rring>
<lring>Epona's Ring</lring>
<back>Atheling Mantle</back>
<waist>Twilight Belt</waist>
<legs>Iga Hakama +2</legs>
<feet>Iga Kyahan +2</feet>
<ammo>Qirmiz Tathlum</ammo>
</set>
<set name="Outside TP">
<head>Iga Zukin +2</head>
<neck>Rancor Collar</neck>
<rear>Brutal Earring</rear>
<lear>Suppanomimi</lear>
<body>Iga Ningi +2</body>
<hands>Koga Tekko +2</hands>
<rring>Rajas Ring</rring>
<lring>Epona's Ring</lring>
<back>Atheling Mantle</back>
<waist>Twilight Belt</waist>
<legs>Iga Hakama +2</legs>
<feet>Iga Kyahan +2</feet>
<ammo>Qirmiz Tathlum</ammo>
</set>
<!-- Blade: Hi Set -->
<set name="Hi Outside" baseset="Outside TP">
<head>Oce. Headpiece +1</head>
<body>Iga Ningi +2</body>
<feet>Kog. Kyahan +2</feet>
<waist>Cuchulain's Belt</waist>
<legs>Byakko's Haidate</legs>
<lring>Epona's Ring</lring>
<rring>Rajas Ring</rring>
<back>Atheling Mantle</back>
<neck>Rancor Collar</neck>
<rear>Brutal Earring</rear>
<lear>Centaurus Earring</lear>
<hands>Iga Tekko +2</hands>
</set>
<!-- Multi-Purpose Misc Sets -->
<!-- Idle Set -->
<set name="Idle" baseset="Abyssea TP">
<head>Arh. Jinpachi +1</head>
<neck>Wiglen Gorget</neck>
<rear>Brutal Earring</rear>
<lear>Suppanomimi</lear>
<body>Arhat's Gi +1</body>
<hands>Melaco Mittens</hands>
<lring>Sheltered Ring</lring>
<rring>Paguroidea Ring</rring>
<back>Boxer's Mantle</back>
<waist>Flume Belt</waist>
<legs>Hachiryu Haidate</legs>
<feet>Danzo Sune-Ate</feet>
<ammo>Qirmiz Tathlum</ammo>
</set>
<!-- Haste set - used for casting Utsusemi -->
<set name="Haste" baseset="$AbysseaOrOutside TP">
<head>Iga Zukin +2</head>
<hands>Koga Tekko +2</hands>
<neck>Magoraga Beads</neck>
<rear>Brutal Earring</rear>
<lear>Suppanomimi</lear>
<rring>Rajas Ring</rring>
<lring>Epona's Ring</lring>
<back>Boxer's Mantle</back>
<waist>Twilight Belt</waist>
<legs>Iga Hakama +2</legs>
<feet>Iga Kyahan +2</feet>
</set>
<!-- Evasion Set -->
<set name="Evasion">
<head>Iga Zukin +2</head>
<neck>Torero Torque</neck>
<lear>Brutal Earring</lear>
<rear>Suppanomimi</rear>
<body>Scorpion Harness</body>
<hands>Iga Tekko +2</hands>
<rring>Rajas Ring</rring>
<lring>Epona's Ring</lring>
<back>Boxer's Mantle</back>
<waist>Twilight Belt</waist>
<legs>Ocelot Trousers</legs>
<feet>Iga Kyahan +2</feet>
</set>
<!-- Damage Taken Sets -->
<set name="PDT">
<head>Arh. Jinpachi +1</head>
<body>Arhat's Gi +1</body>
<back>Boxer's Mantle</back>
<neck>Wiglen Gorget</neck>
<hands>Denali Wristbands</hands>
<waist>Flume Belt</waist>
<lear>Ethereal Earring</lear>
<lring>Dark Ring</lring>
<legs>Hachiryu Haidate</legs>
<rear>Brutal Earring</rear>
<rring>Jelly Ring</rring>
</set>
<set name="MDT" BaseSet="PDT">
<hands>Melaco Mittens</hands>
<body>Avalon Breastplate</body>
<back>Egulfer Cape</back>
<neck>Twilight Torque</neck>
<waist>Flume Belt</waist>
<lear>Merman's Earring</lear>
<lring>Shadow Ring</lring>
<rear>Merman's Earring</rear>
<rring>Minerva's Ring</rring>
</set>
</group>
</sets>
<rules>
<!-- Abyssea, Voidwatch & Outside -->
<if buffactive="Visitant" status="engaged">
<equip when="aftercast" set="Abyssea TP" />
</if>
<elseif buffactive="Voidwatcher" status="engaged">
<equip when="aftercast" set="Voidwatch TP" />
</elseif>
<else>
<equip when="aftercast" set="Outside TP" />
</else>
<action type="equip" when="Idle" set="Idle" />
<!-- Idle Feet -->
<if TimeGT="7.00" TimeLT="17.00">
<equip when="idle">
<feet>$Day-Move<feet/>
</equip>
</if>
<else>
<equip when="idle">
<feet>$Night-Move<feet/>
</equip>
</else>
<!-- Cancel and Buffs -->
<if Spell="Sneak|Invisible">
<action type="midcastdelay" delay="1.5" />
<if Spell="Sneak" BuffActive="Sneak" advanced='"%SpellTarget"="%PlayerName" OR "%SpellTarget"="<me>" OR ("%target"="%PlayerName" AND "%SpellTarget"="<t>")'>
<action type="command" when="midcast">cancel 71</action>
</if>
</if>
<elseif Spell="Spectral Jig">
<action Type="Command" When="PreCast">cancel 71</action>
</elseif>
<!-- NIN Spells -->
<if spell="Utsusemi: Ni">
<action type="equip" when="precast" set="Haste" />
<action type="castdelay" delay=".1" />
<action type="aftercastdelay" delay="2" />
<action type="Equip" when="aftercast" set="Abyssea TP" />
<if status="NotEngaged">
<action type="Equip" set="Idle" />
</if>
</if>
<if spell="Utsusemi: Ichi">
<action type="Equip" when="precast" set="Haste" />
<action type="castdelay" delay=".1" />
<action type="midcastdelay" delay="3" />
<action type="aftercastdelay" delay="2" />
<action type="Equip" when="aftercast" set="Day Set" />
</if>
<if spell = "Utsusemi: Ichi" buffactive = "Copy Image*">
<if NotBuffActive = "Copy Image (3)|Copy Image (4+)">
<midcastdelay delay = "2.5" />
<cmd when = "midcast">cancel 66</cmd>
<cmd when = "midcast">cancel 444</cmd>
</if>
<else>
<cancelspell />
<return />
</else>
</if>
<elseif spell="Monomi*|Tonko*">
<if Spell="Monomi*" BuffActive="Sneak">
<action type="midcastdelay" delay="2.5" />
<action type="Command" when="midcast">cancel 71</action>
</if>
</elseif>
<if spell="Futae">
<equip when="precast">
<hands>Iga Tekko +2</hands>
</equip>
</if>
<if spell="Migawari: Ichi">
<equip when="precast">
<body>Iga Ningi +2</body>
</equip>
</if>
<if mode="OR" spell="Yonin" Buffactive="Yonnin">
<equip when = "precast">
<legs lock="true">Iga Hakama +2</legs>
</equip>
</if>
<elseif mode="OR" spell="Innin" Buffactive="Innin">
<equip when = "precast">
<head lock="true">Iga Zukin +1</head>
</equip>
</elseif>
<if spell="Blade: Hi">
<if buffactive="Visitant">
<equip when="Precast" set="Hi Inside" />
</if>
<elseif buffactive="Voidwatcher">
<equip when="Precast" set="Hi Outside" />
</elseif>
<action type="castdelay" delay=".5" />
<action type="aftercastdelay" delay="7" />
<action type="Equip" when="aftercast" set="$AbysseaOrOutside TP" />
</if>
</rules>
</spellcast>
Server: Sylph
Game: FFXI
Posts: 2617
By Sylph.Hitetsu 2012-03-19 14:32:19
Oops, I closed the equip part wrong XD
Change <feet/> to </feet> and it should be fine.
Cerberus.Draupnir
Server: Cerberus
Game: FFXI
Posts: 2119
By Cerberus.Draupnir 2012-03-19 14:35:40
Code
<if spell="Convert">
<if subjob="RDM">
<castdelay delay="1.2" />
<aftercastdelay delay="0" />
<command when="aftercast">input /raw /ma "Magic Fruit" <me> </command>
</if>
<else>
<command when="aftercast">input /raw /ma "Cure IV" <me> </command>
<aftercastdelay delay="3" />
<command when="aftercast">input /raw /ma "Cure III" <me> </command>
</else>
</if>
Ok now here is a quick question, I'm not sure where to put my set for equipping my healing set when I convert, I convert then automatically start casting Magic Fruit. Can anyone help with that?
Server: Sylph
Game: FFXI
Posts: 2617
By Sylph.Hitetsu 2012-03-19 14:43:55
This may be a silly question, but why are you /raw'ing spells if you're wanting to change gear for those spells?
The problem is, "/raw" will stop Spellcast from parsing rules on those spells, which makes changing gear for them much more difficult.
I'd consider something more like this:
Code xml
<command when="aftercast">input /ma "Magic Fruit" <me></command>
<if spell="Magic Fruit|Cure III|Cure IV">
<equip when="precast|midcast" set="Epic_Cures" />
</if>
Cerberus.Draupnir
Server: Cerberus
Game: FFXI
Posts: 2119
By Cerberus.Draupnir 2012-03-19 14:48:05
Tbh idk why it has the raws in there was told to use that when setting up the convert part.
Cerberus.Draupnir
Server: Cerberus
Game: FFXI
Posts: 2119
By Cerberus.Draupnir 2012-03-19 14:51:12
Ok took out the /raw and it worked, now my question is what does the 2nd set of <else> do? Not really sure why that is in there.
Server: Sylph
Game: FFXI
Posts: 2617
By Sylph.Hitetsu 2012-03-19 14:51:16
Hmm, I can't think of any reason off the top of my head, but I have my Convert macro setup to Cure me afterwards, so it's all handled like it usually would, so I've not really dealt with it too much - in fact, the only Convert stuff I have in my Spellcast(s) are to make sure I have Mana Wall up on BLM before I convert >_>;
EDIT: The else statement is the "if SJ isn't RDM" part, it'll use Cure4/3
Cerberus.Draupnir
Server: Cerberus
Game: FFXI
Posts: 2119
By Cerberus.Draupnir 2012-03-19 14:56:20
Ok, I was thinking something along those lines. Now another painful question that has had me stumped for a very long time, I have a set up for when if my hp falls below 50% it equips my evasion set but only after an aftercast, how would I use autoexec to do that for me w/o having it having to use an aftercast?
Server: Sylph
Game: FFXI
Posts: 2617
By Sylph.Hitetsu 2012-03-19 15:00:32
Hmm, I'm no expert with AutoExec, but you could try: <register event="hpplt_51">sc set evasiongear</register>
Quetzalcoatl.Langly
Server: Quetzalcoatl
Game: FFXI
Posts: 684
By Quetzalcoatl.Langly 2012-03-19 16:10:32
Cerberus.Draupnir said:
» Ok took out the /raw and it worked, now my question is what does the 2nd set of <else> do? Not really sure why that is in there.
Presumably the else is for when you're RDM ~main~. You would use Cure IV/III after a convert.
Necro Bump Detected!
[121 days between previous and next post]
Lakshmi.Muginn
Server: Lakshmi
Game: FFXI
Posts: 4
By Lakshmi.Muginn 2012-07-19 00:39:09
I was wondering if someone could tell me what I am doing wrong. This is my first time writing a script so I'm not sure. I used Antz scritp as a base.
I'm getting "[ERROR] XML Parsing Error line 310 - Error reading end tag." when trying to launch it.
Please Help, Thanks!
Code
<?xml version="1.0" ?>
<spellcast>
<config
Debug="false"
HideErrors="false"
ShowGearSwaps="false"
ShowSpellInfo="false"
/>
<variables>
<var name="Day-Move">Danzo Sune-ate</var>
<var name="Night-Move">Ninja Kyahan</var>
</variables>
<sets>
<group name="nin">
<set name="NINcGearCollector" load="yes">
<main>Kannagi</main>
<main>Kamome</main>
<head>Iga Zukin +2</head>
<head>Oce. Headpiece</head>
<neck>Rancor Collar</neck>
<neck>Hope Torque</neck>
<ear>Brutal Earring</ear>
<ear>Suppanomimi</ear>
<ear>Centaurus Earring</ear>
<body>Ninja Chainmail +1</body>
<body>Iga Ningi+2</body>
<body>Athos's Tabard</body>
<hands>Koga Tekko +2</hands>
<hands>Seiryu's Kote</hands>
<ring>Oneiros Ring</ring>
<ring>Epona's Ring</ring>
<ring>Rajas Ring</ring>
<ring>Stormsoul Ring</ring>
<back>Atheling Mantle</back>
<back>Rancorous Mantle</back>
<back>Boxer's Mantle</back>
<waist>Twillight Belt</waist>
<waist>Windbuffet Belt</waist>
<waist>Anguinus Belt</waist>
<waist>Flume Belt</waist>
<legs>Byakko's Haidate</legs>
<legs>Ambusher's Hose</legs>
<legs>Iga Hakama +2</legs>
<feet>Iga Kyahan +2</feet>
<feet>Kog. Kyahan +2</feet>
<feet>Ninja Kyahan</feet>
<feet>Danzo Sune-ate</feet>
<ammo>Qirmiz Tathlum</ammo>
</set>
<!-- Abyssea Sets -->
<group default="yes" name="Abyssea TP">
<!-- TP Set -->
<set name="Abyssea TP">
<head>Iga Zukin +2</head>
<neck>Rancor Collar</neck>
<rear>Brutal Earring</rear>
<lear>Suppanomimi</lear>
<body>Ninja Chainmail +1</body>
<hands>Koga Tekko +2</hands>
<rring>Oneiros Ring</rring>
<lring>Epona's Ring</lring>
<back>Atheling Mantle</back>
<waist>Twilight Belt</waist>
<legs>Byakko's Haidate</legs>
<feet>Iga Kyahan +2</feet>
<ammo>Qirmiz Tathlum</ammo>
</set>
<!-- Blade: Hi Set -->
<set name="Hi Inside" baseset="Abyssea TP">
<head>Oce. Headpiece</head>
<body>Athos's Tabard</body>
<feet>Kog. Kyahan +2</feet>
<waist>Windbuffet Belt</waist>
<legs>Ambusher's Hose</legs>
<lring>Epona's Ring</lring>
<rring>Stormsoul Ring</rring>
<back>Rancorous Mantle</back>
<neck>Hope Torque</neck>
<rear>Brutal Earring</rear>
<lear>Centaurus Earring</lear>
<hands>Seiryu's Kote</hands>
</set>
<!-- Standard Non-Abyssea Sets -->
<!-- TP Sets -->
<set name="Voidwatch TP">
<head>Iga Zukin +2</head>
<neck>Rancor Collar</neck>
<rear>Brutal Earring</rear>
<lear>Suppanomimi</lear>
<body>Ninja Chainmail +1</body>
<hands>Koga Tekko +2</hands>
<rring>Rajas Ring</rring>
<lring>Epona's Ring</lring>
<back>Atheling Mantle</back>
<waist>Twilight Belt</waist>
<legs>Byakko's Haidate</legs>
<feet>Iga Kyahan +2</feet>
<ammo>Qirmiz Tathlum</ammo>
</set>
<set name="Outside TP">
<head>Iga Zukin +2</head>
<neck>Rancor Collar</neck>
<rear>Brutal Earring</rear>
<lear>Suppanomimi</lear>
<body>Iga Ningi +2</body>
<hands>Koga Tekko +2</hands>
<rring>Rajas Ring</rring>
<lring>Epona's Ring</lring>
<back>Atheling Mantle</back>
<waist>Twilight Belt</waist>
<legs>Byakko's Haidate</legs>
<feet>Iga Kyahan +2</feet>
<ammo>Qirmiz Tathlum</ammo>
</set>
<!-- Blade: Hi Set -->
<set name="Hi Outside" baseset="Outside TP">
<head>Oce. Headpiece +1</head>
<body>Athos's Tabard</body>
<feet>Kog. Kyahan +2</feet>
<waist>Anguinus Belt</waist>
<legs>Byakko's Haidate</legs>
<lring>Epona's Ring</lring>
<rring>Stormsoul Ring</rring>
<back>Rancorous Mantle</back>
<neck>Hope Torque</neck>
<rear>Brutal Earring</rear>
<lear>Centaurus Earring</lear>
<hands>Seiryu's Kote</hands>
</set>
<!-- Multi-Purpose Misc Sets -->
<!-- Idle Set -->
<set name="Idle" baseset="Abyssea TP">
<head>Arh. Jinpachi +1</head>
<neck>Wiglen Gorget</neck>
<rear>Brutal Earring</rear>
<lear>Suppanomimi</lear>
<body>Arhat's Gi +1</body>
<hands>Melaco Mittens</hands>
<lring>Sheltered Ring</lring>
<rring>Paguroidea Ring</rring>
<back>Boxer's Mantle</back>
<waist>Flume Belt</waist>
<legs>Iga Hakama +2</legs>
<feet>Danzo Sune-Ate</feet>
<ammo>Qirmiz Tathlum</ammo>
</set>
<!-- Haste set - used for casting Utsusemi -->
<set name="Haste" baseset="$AbysseaOrOutside TP">
<head>Iga Zukin +2</head>
<hands>Koga Tekko +2</hands>
<neck>Magoraga Beads</neck>
<rear>Brutal Earring</rear>
<lear>Suppanomimi</lear>
<rring>Oneiros Ring</rring>
<lring>Epona's Ring</lring>
<back>Boxer's Mantle</back>
<waist>Twilight Belt</waist>
<legs>Iga Hakama +2</legs>
<feet>Iga Kyahan +2</feet>
</set>
<!-- Evasion Set -->
<set name="Evasion">
<head>Iga Zukin +2</head>
<neck>Torero Torque</neck>
<lear>Brutal Earring</lear>
<rear>Suppanomimi</rear>
<body>Ninja Chainmail +1</body>
<hands>Iga Tekko +2</hands>
<rring>Oneiros Ring</rring>
<lring>Epona's Ring</lring>
<back>Boxer's Mantle</back>
<waist>Twilight Belt</waist>
<legs>Byakko's Haidate</legs>
<feet>Iga Kyahan +2</feet>
</set>
<!-- Damage Taken Sets -->
<set name="PDT">
<head>Arh. Jinpachi +1</head>
<body>Arhat's Gi +1</body>
<back>Boxer's Mantle</back>
<neck>Wiglen Gorget</neck>
<hands>Denali Wristbands</hands>
<waist>Flume Belt</waist>
<lear>Ethereal Earring</lear>
<lring>Dark Ring</lring>
<legs>Byakko's Haidate</legs>
<rear>Brutal Earring</rear>
<rring>Jelly Ring</rring>
</set>
</group>
</sets>
<rules>
<!-- Abyssea, Voidwatch & Outside -->
<if buffactive="Visitant" status="engaged">
<equip when="aftercast" set="Abyssea TP" />
</if>
<elseif buffactive="Voidwatcher" status="engaged">
<equip when="aftercast" set="Voidwatch TP" />
</elseif>
<else>
<equip when="aftercast" set="Outside TP" />
</else>
<action type="equip" when="Idle" set="Idle" />
<!-- Idle Feet -->
<if TimeGT="7.00" TimeLT="17.00">
<equip when="idle">
<feet>$Day-Move</feet>
</equip>
</if>
<else>
<equip when="idle">
<feet>$Night-Move</feet>
</equip>
</else>
<!-- Cancel and Buffs -->
<if Spell="Sneak|Invisible">
<action type="midcastdelay" delay="1.5" />
<if Spell="Sneak" BuffActive="Sneak" advanced='"%SpellTarget"="%PlayerName" OR "%SpellTarget"="<me>" OR ("%target"="%PlayerName" AND "%SpellTarget"="<t>")'>
<action type="command" when="midcast">cancel 71</action>
</if>
</if>
<elseif Spell="Spectral Jig">
<action Type="Command" When="PreCast">cancel 71</action>
</elseif>
<!-- NIN Spells -->
<if spell="Utsusemi: Ni">
<action type="equip" when="precast" set="Haste" />
<action type="castdelay" delay=".1" />
<action type="aftercastdelay" delay="2" />
<action type="Equip" when="aftercast" set="Abyssea TP" />
<if status="NotEngaged">
<action type="Equip" set="Idle" />
</if>
</if>
<if spell="Utsusemi: Ichi">
<action type="Equip" when="precast" set="Haste" />
<action type="castdelay" delay=".1" />
<action type="midcastdelay" delay="3" />
<action type="aftercastdelay" delay="2" />
<action type="Equip" when="aftercast" set="Day Set" />
</if>
<if spell = "Utsusemi: Ichi" buffactive = "Copy Image*">
<if NotBuffActive = "Copy Image (3)|Copy Image (4+)">
<midcastdelay delay = "2.5" />
<cmd when = "midcast">cancel 66</cmd>
<cmd when = "midcast">cancel 444</cmd>
</if>
<else>
<cancelspell />
<return />
</else>
</if>
<elseif spell="Monomi*|Tonko*">
<if Spell="Monomi*" BuffActive="Sneak">
<action type="midcastdelay" delay="2.5" />
<action type="Command" when="midcast">cancel 71</action>
</if>
</elseif>
<if spell="Futae">
<equip when="precast">
<hands>Iga Tekko +2</hands>
</equip>
</if>
<if spell="Migawari: Ichi">
<equip when="precast">
<body>Iga Ningi +2</body>
</equip>
</if>
<if mode="OR" spell="Yonin" Buffactive="Yonnin">
<equip when = "precast">
<legs lock="true">Iga Hakama +2</legs>
</equip>
</if>
<elseif mode="OR" spell="Innin" Buffactive="Innin">
<equip when = "precast">
<head lock="true">Iga Zukin +1</head>
</equip>
</elseif>
<if spell="Blade: Hi">
<if buffactive="Visitant">
<equip when="Precast" set="Hi Inside" />
</if>
<elseif buffactive="Voidwatcher">
<equip when="Precast" set="Hi Outside" />
</elseif>
<action type="castdelay" delay=".5" />
<action type="aftercastdelay" delay="7" />
<action type="Equip" when="aftercast" set="$AbysseaOrOutside TP" />
</if>
</rules>
</spellcast>
Server: Phoenix
Game: FFXI
Posts: 43
By Phoenix.Professoroak 2012-07-19 00:48:27
I'm still amateur at finding spec. errors, but from what I've gathered tinkering with mine is that kind of error means you're missing a tag somewhere. It can be as small as some </if> at the end or a whole section is messed up. Anytime you edit scripts and you aren't good at it like me just save it every few things you edit, then try to /sc reload and make sure it works still if it doesn't then you known what is wrong. I would pull up the base xml and check what you've changed piece by piece. (I know i didn't answer the the question but i hope i helped troubleshoot future problems.) Once you get a customized xml working you just wanna keep getting more, a sense of accomplishment.
By Ashandarei 2012-07-19 00:53:29
Just briefly looking through it, should be a </group> on line 52 to close out your gear collector group.
Bismarck.Snprphnx
Server: Bismarck
Game: FFXI
Posts: 2693
By Bismarck.Snprphnx 2012-07-19 01:00:27
I was wondering if someone could tell me what I am doing wrong. This is my first time writing a script so I'm not sure. I used Antz scritp as a base.
I'm getting "[ERROR] XML Parsing Error line 310 - Error reading end tag." when trying to launch it.
Please Help, Thanks!
Code
<?xml version="1.0" ?>
<spellcast>
<config
Debug="false"
HideErrors="false"
ShowGearSwaps="false"
ShowSpellInfo="false"
/>
<variables>
<var name="Day-Move">Danzo Sune-ate</var>
<var name="Night-Move">Ninja Kyahan</var>
</variables>
<sets>
<group name="nin">
<set name="NINcGearCollector" load="yes">
<main>Kannagi</main>
<main>Kamome</main>
<head>Iga Zukin +2</head>
<head>Oce. Headpiece</head>
<neck>Rancor Collar</neck>
<neck>Hope Torque</neck>
<ear>Brutal Earring</ear>
<ear>Suppanomimi</ear>
<ear>Centaurus Earring</ear>
<body>Ninja Chainmail +1</body>
<body>Iga Ningi+2</body>
<body>Athos's Tabard</body>
<hands>Koga Tekko +2</hands>
<hands>Seiryu's Kote</hands>
<ring>Oneiros Ring</ring>
<ring>Epona's Ring</ring>
<ring>Rajas Ring</ring>
<ring>Stormsoul Ring</ring>
<back>Atheling Mantle</back>
<back>Rancorous Mantle</back>
<back>Boxer's Mantle</back>
<waist>Twillight Belt</waist>
<waist>Windbuffet Belt</waist>
<waist>Anguinus Belt</waist>
<waist>Flume Belt</waist>
<legs>Byakko's Haidate</legs>
<legs>Ambusher's Hose</legs>
<legs>Iga Hakama +2</legs>
<feet>Iga Kyahan +2</feet>
<feet>Kog. Kyahan +2</feet>
<feet>Ninja Kyahan</feet>
<feet>Danzo Sune-ate</feet>
<ammo>Qirmiz Tathlum</ammo>
</set>
<!-- Abyssea Sets -->
<group default="yes" name="Abyssea TP">
<!-- TP Set -->
<set name="Abyssea TP">
<head>Iga Zukin +2</head>
<neck>Rancor Collar</neck>
<rear>Brutal Earring</rear>
<lear>Suppanomimi</lear>
<body>Ninja Chainmail +1</body>
<hands>Koga Tekko +2</hands>
<rring>Oneiros Ring</rring>
<lring>Epona's Ring</lring>
<back>Atheling Mantle</back>
<waist>Twilight Belt</waist>
<legs>Byakko's Haidate</legs>
<feet>Iga Kyahan +2</feet>
<ammo>Qirmiz Tathlum</ammo>
</set>
<!-- Blade: Hi Set -->
<set name="Hi Inside" baseset="Abyssea TP">
<head>Oce. Headpiece</head>
<body>Athos's Tabard</body>
<feet>Kog. Kyahan +2</feet>
<waist>Windbuffet Belt</waist>
<legs>Ambusher's Hose</legs>
<lring>Epona's Ring</lring>
<rring>Stormsoul Ring</rring>
<back>Rancorous Mantle</back>
<neck>Hope Torque</neck>
<rear>Brutal Earring</rear>
<lear>Centaurus Earring</lear>
<hands>Seiryu's Kote</hands>
</set>
<!-- Standard Non-Abyssea Sets -->
<!-- TP Sets -->
<set name="Voidwatch TP">
<head>Iga Zukin +2</head>
<neck>Rancor Collar</neck>
<rear>Brutal Earring</rear>
<lear>Suppanomimi</lear>
<body>Ninja Chainmail +1</body>
<hands>Koga Tekko +2</hands>
<rring>Rajas Ring</rring>
<lring>Epona's Ring</lring>
<back>Atheling Mantle</back>
<waist>Twilight Belt</waist>
<legs>Byakko's Haidate</legs>
<feet>Iga Kyahan +2</feet>
<ammo>Qirmiz Tathlum</ammo>
</set>
<set name="Outside TP">
<head>Iga Zukin +2</head>
<neck>Rancor Collar</neck>
<rear>Brutal Earring</rear>
<lear>Suppanomimi</lear>
<body>Iga Ningi +2</body>
<hands>Koga Tekko +2</hands>
<rring>Rajas Ring</rring>
<lring>Epona's Ring</lring>
<back>Atheling Mantle</back>
<waist>Twilight Belt</waist>
<legs>Byakko's Haidate</legs>
<feet>Iga Kyahan +2</feet>
<ammo>Qirmiz Tathlum</ammo>
</set>
<!-- Blade: Hi Set -->
<set name="Hi Outside" baseset="Outside TP">
<head>Oce. Headpiece +1</head>
<body>Athos's Tabard</body>
<feet>Kog. Kyahan +2</feet>
<waist>Anguinus Belt</waist>
<legs>Byakko's Haidate</legs>
<lring>Epona's Ring</lring>
<rring>Stormsoul Ring</rring>
<back>Rancorous Mantle</back>
<neck>Hope Torque</neck>
<rear>Brutal Earring</rear>
<lear>Centaurus Earring</lear>
<hands>Seiryu's Kote</hands>
</set>
<!-- Multi-Purpose Misc Sets -->
<!-- Idle Set -->
<set name="Idle" baseset="Abyssea TP">
<head>Arh. Jinpachi +1</head>
<neck>Wiglen Gorget</neck>
<rear>Brutal Earring</rear>
<lear>Suppanomimi</lear>
<body>Arhat's Gi +1</body>
<hands>Melaco Mittens</hands>
<lring>Sheltered Ring</lring>
<rring>Paguroidea Ring</rring>
<back>Boxer's Mantle</back>
<waist>Flume Belt</waist>
<legs>Iga Hakama +2</legs>
<feet>Danzo Sune-Ate</feet>
<ammo>Qirmiz Tathlum</ammo>
</set>
<!-- Haste set - used for casting Utsusemi -->
<set name="Haste" baseset="$AbysseaOrOutside TP">
<head>Iga Zukin +2</head>
<hands>Koga Tekko +2</hands>
<neck>Magoraga Beads</neck>
<rear>Brutal Earring</rear>
<lear>Suppanomimi</lear>
<rring>Oneiros Ring</rring>
<lring>Epona's Ring</lring>
<back>Boxer's Mantle</back>
<waist>Twilight Belt</waist>
<legs>Iga Hakama +2</legs>
<feet>Iga Kyahan +2</feet>
</set>
<!-- Evasion Set -->
<set name="Evasion">
<head>Iga Zukin +2</head>
<neck>Torero Torque</neck>
<lear>Brutal Earring</lear>
<rear>Suppanomimi</rear>
<body>Ninja Chainmail +1</body>
<hands>Iga Tekko +2</hands>
<rring>Oneiros Ring</rring>
<lring>Epona's Ring</lring>
<back>Boxer's Mantle</back>
<waist>Twilight Belt</waist>
<legs>Byakko's Haidate</legs>
<feet>Iga Kyahan +2</feet>
</set>
<!-- Damage Taken Sets -->
<set name="PDT">
<head>Arh. Jinpachi +1</head>
<body>Arhat's Gi +1</body>
<back>Boxer's Mantle</back>
<neck>Wiglen Gorget</neck>
<hands>Denali Wristbands</hands>
<waist>Flume Belt</waist>
<lear>Ethereal Earring</lear>
<lring>Dark Ring</lring>
<legs>Byakko's Haidate</legs>
<rear>Brutal Earring</rear>
<rring>Jelly Ring</rring>
</set>
</group>
</sets>
<rules>
<!-- Abyssea, Voidwatch & Outside -->
<if buffactive="Visitant" status="engaged">
<equip when="aftercast" set="Abyssea TP" />
</if>
<elseif buffactive="Voidwatcher" status="engaged">
<equip when="aftercast" set="Voidwatch TP" />
</elseif>
<else>
<equip when="aftercast" set="Outside TP" />
</else>
<action type="equip" when="Idle" set="Idle" />
<!-- Idle Feet -->
<if TimeGT="7.00" TimeLT="17.00">
<equip when="idle">
<feet>$Day-Move</feet>
</equip>
</if>
<else>
<equip when="idle">
<feet>$Night-Move</feet>
</equip>
</else>
<!-- Cancel and Buffs -->
<if Spell="Sneak|Invisible">
<action type="midcastdelay" delay="1.5" />
<if Spell="Sneak" BuffActive="Sneak" advanced='"%SpellTarget"="%PlayerName" OR "%SpellTarget"="<me>" OR ("%target"="%PlayerName" AND "%SpellTarget"="<t>")'>
<action type="command" when="midcast">cancel 71</action>
</if>
</if>
<elseif Spell="Spectral Jig">
<action Type="Command" When="PreCast">cancel 71</action>
</elseif>
<!-- NIN Spells -->
<if spell="Utsusemi: Ni">
<action type="equip" when="precast" set="Haste" />
<action type="castdelay" delay=".1" />
<action type="aftercastdelay" delay="2" />
<action type="Equip" when="aftercast" set="Abyssea TP" />
<if status="NotEngaged">
<action type="Equip" set="Idle" />
</if>
</if>
<if spell="Utsusemi: Ichi">
<action type="Equip" when="precast" set="Haste" />
<action type="castdelay" delay=".1" />
<action type="midcastdelay" delay="3" />
<action type="aftercastdelay" delay="2" />
<action type="Equip" when="aftercast" set="Day Set" />
</if>
<if spell = "Utsusemi: Ichi" buffactive = "Copy Image*">
<if NotBuffActive = "Copy Image (3)|Copy Image (4+)">
<midcastdelay delay = "2.5" />
<cmd when = "midcast">cancel 66</cmd>
<cmd when = "midcast">cancel 444</cmd>
</if>
<else>
<cancelspell />
<return />
</else>
</if>
<elseif spell="Monomi*|Tonko*">
<if Spell="Monomi*" BuffActive="Sneak">
<action type="midcastdelay" delay="2.5" />
<action type="Command" when="midcast">cancel 71</action>
</if>
</elseif>
<if spell="Futae">
<equip when="precast">
<hands>Iga Tekko +2</hands>
</equip>
</if>
<if spell="Migawari: Ichi">
<equip when="precast">
<body>Iga Ningi +2</body>
</equip>
</if>
<if mode="OR" spell="Yonin" Buffactive="Yonnin">
<equip when = "precast">
<legs lock="true">Iga Hakama +2</legs>
</equip>
</if>
<elseif mode="OR" spell="Innin" Buffactive="Innin">
<equip when = "precast">
<head lock="true">Iga Zukin +1</head>
</equip>
</elseif>
<if spell="Blade: Hi">
<if buffactive="Visitant">
<equip when="Precast" set="Hi Inside" />
</if>
<elseif buffactive="Voidwatcher">
<equip when="Precast" set="Hi Outside" />
</elseif>
<action type="castdelay" delay=".5" />
<action type="aftercastdelay" delay="7" />
<action type="Equip" when="aftercast" set="$AbysseaOrOutside TP" />
</if>
</rules>
</spellcast>
if copy and pasted,and didn't get an error at line 310, but at 203. after taking a quick look, i see that you started your <group name="nin">, listed your gear collector set, then started another group sets with your actual gear sets, but only ended one of the groups.
add another </group> at line 203, right below your other one.
Bismarck.Snprphnx
Server: Bismarck
Game: FFXI
Posts: 2693
By Bismarck.Snprphnx 2012-07-19 01:01:01
Just briefly looking through it, should be a </group> on line 52 to close out your gear collector group.
or there
VIP
Server: Siren
Game: FFXI
Posts: 14552
By Siren.Kalilla 2012-07-19 01:08:25
Try this, I can't check right now if it will give an error or not.
Code xml
<?xml version="1.0" ?>
<spellcast>
<config
Debug="false"
HideErrors="false"
ShowGearSwaps="false"
ShowSpellInfo="false"
/>
<variables>
<var name="Day-Move">Danzo Sune-ate</var>
<var name="Night-Move">Ninja Kyahan</var>
</variables>
<sets>
<group name="nin">
<set name="NINcGearCollector" load="yes">
<main>Kannagi</main>
<main>Kamome</main>
<head>Iga Zukin +2</head>
<head>Oce. Headpiece</head>
<neck>Rancor Collar</neck>
<neck>Hope Torque</neck>
<ear>Brutal Earring</ear>
<ear>Suppanomimi</ear>
<ear>Centaurus Earring</ear>
<body>Ninja Chainmail +1</body>
<body>Iga Ningi+2</body>
<body>Athos's Tabard</body>
<hands>Koga Tekko +2</hands>
<hands>Seiryu's Kote</hands>
<ring>Oneiros Ring</ring>
<ring>Epona's Ring</ring>
<ring>Rajas Ring</ring>
<ring>Stormsoul Ring</ring>
<back>Atheling Mantle</back>
<back>Rancorous Mantle</back>
<back>Boxer's Mantle</back>
<waist>Twillight Belt</waist>
<waist>Windbuffet Belt</waist>
<waist>Anguinus Belt</waist>
<waist>Flume Belt</waist>
<legs>Byakko's Haidate</legs>
<legs>Ambusher's Hose</legs>
<legs>Iga Hakama +2</legs>
<feet>Iga Kyahan +2</feet>
<feet>Kog. Kyahan +2</feet>
<feet>Ninja Kyahan</feet>
<feet>Danzo Sune-ate</feet>
<ammo>Qirmiz Tathlum</ammo>
</set>
</group>
<!-- Abyssea Sets -->
<group default="yes" name="Abyssea TP">
<!-- TP Set -->
<set name="Abyssea TP">
<head>Iga Zukin +2</head>
<neck>Rancor Collar</neck>
<rear>Brutal Earring</rear>
<lear>Suppanomimi</lear>
<body>Ninja Chainmail +1</body>
<hands>Koga Tekko +2</hands>
<rring>Oneiros Ring</rring>
<lring>Epona's Ring</lring>
<back>Atheling Mantle</back>
<waist>Twilight Belt</waist>
<legs>Byakko's Haidate</legs>
<feet>Iga Kyahan +2</feet>
<ammo>Qirmiz Tathlum</ammo>
</set>
<!-- Blade: Hi Set -->
<set name="Hi Inside" baseset="Abyssea TP">
<head>Oce. Headpiece</head>
<body>Athos's Tabard</body>
<feet>Kog. Kyahan +2</feet>
<waist>Windbuffet Belt</waist>
<legs>Ambusher's Hose</legs>
<lring>Epona's Ring</lring>
<rring>Stormsoul Ring</rring>
<back>Rancorous Mantle</back>
<neck>Hope Torque</neck>
<rear>Brutal Earring</rear>
<lear>Centaurus Earring</lear>
<hands>Seiryu's Kote</hands>
</set>
<!-- Standard Non-Abyssea Sets -->
<!-- TP Sets -->
<set name="Voidwatch TP">
<head>Iga Zukin +2</head>
<neck>Rancor Collar</neck>
<rear>Brutal Earring</rear>
<lear>Suppanomimi</lear>
<body>Ninja Chainmail +1</body>
<hands>Koga Tekko +2</hands>
<rring>Rajas Ring</rring>
<lring>Epona's Ring</lring>
<back>Atheling Mantle</back>
<waist>Twilight Belt</waist>
<legs>Byakko's Haidate</legs>
<feet>Iga Kyahan +2</feet>
<ammo>Qirmiz Tathlum</ammo>
</set>
<set name="Outside TP">
<head>Iga Zukin +2</head>
<neck>Rancor Collar</neck>
<rear>Brutal Earring</rear>
<lear>Suppanomimi</lear>
<body>Iga Ningi +2</body>
<hands>Koga Tekko +2</hands>
<rring>Rajas Ring</rring>
<lring>Epona's Ring</lring>
<back>Atheling Mantle</back>
<waist>Twilight Belt</waist>
<legs>Byakko's Haidate</legs>
<feet>Iga Kyahan +2</feet>
<ammo>Qirmiz Tathlum</ammo>
</set>
<!-- Blade: Hi Set -->
<set name="Hi Outside" baseset="Outside TP">
<head>Oce. Headpiece +1</head>
<body>Athos's Tabard</body>
<feet>Kog. Kyahan +2</feet>
<waist>Anguinus Belt</waist>
<legs>Byakko's Haidate</legs>
<lring>Epona's Ring</lring>
<rring>Stormsoul Ring</rring>
<back>Rancorous Mantle</back>
<neck>Hope Torque</neck>
<rear>Brutal Earring</rear>
<lear>Centaurus Earring</lear>
<hands>Seiryu's Kote</hands>
</set>
<!-- Multi-Purpose Misc Sets -->
<!-- Idle Set -->
<set name="Idle" baseset="Abyssea TP">
<head>Arh. Jinpachi +1</head>
<neck>Wiglen Gorget</neck>
<rear>Brutal Earring</rear>
<lear>Suppanomimi</lear>
<body>Arhat's Gi +1</body>
<hands>Melaco Mittens</hands>
<lring>Sheltered Ring</lring>
<rring>Paguroidea Ring</rring>
<back>Boxer's Mantle</back>
<waist>Flume Belt</waist>
<legs>Iga Hakama +2</legs>
<feet>Danzo Sune-Ate</feet>
<ammo>Qirmiz Tathlum</ammo>
</set>
<!-- Haste set - used for casting Utsusemi -->
<set name="Haste" baseset="$AbysseaOrOutside TP">
<head>Iga Zukin +2</head>
<hands>Koga Tekko +2</hands>
<neck>Magoraga Beads</neck>
<rear>Brutal Earring</rear>
<lear>Suppanomimi</lear>
<rring>Oneiros Ring</rring>
<lring>Epona's Ring</lring>
<back>Boxer's Mantle</back>
<waist>Twilight Belt</waist>
<legs>Iga Hakama +2</legs>
<feet>Iga Kyahan +2</feet>
</set>
<!-- Evasion Set -->
<set name="Evasion">
<head>Iga Zukin +2</head>
<neck>Torero Torque</neck>
<lear>Brutal Earring</lear>
<rear>Suppanomimi</rear>
<body>Ninja Chainmail +1</body>
<hands>Iga Tekko +2</hands>
<rring>Oneiros Ring</rring>
<lring>Epona's Ring</lring>
<back>Boxer's Mantle</back>
<waist>Twilight Belt</waist>
<legs>Byakko's Haidate</legs>
<feet>Iga Kyahan +2</feet>
</set>
<!-- Damage Taken Sets -->
<set name="PDT">
<head>Arh. Jinpachi +1</head>
<body>Arhat's Gi +1</body>
<back>Boxer's Mantle</back>
<neck>Wiglen Gorget</neck>
<hands>Denali Wristbands</hands>
<waist>Flume Belt</waist>
<lear>Ethereal Earring</lear>
<lring>Dark Ring</lring>
<legs>Byakko's Haidate</legs>
<rear>Brutal Earring</rear>
<rring>Jelly Ring</rring>
</set>
</group>
</sets>
<rules>
<!-- Abyssea, Voidwatch & Outside -->
<if buffactive="Visitant" status="engaged">
<equip when="aftercast" set="Abyssea TP" />
</if>
<elseif buffactive="Voidwatcher" status="engaged">
<equip when="aftercast" set="Voidwatch TP" />
</elseif>
<else>
<equip when="aftercast" set="Outside TP" />
</else>
<action type="equip" when="Idle" set="Idle" />
<!-- Idle Feet -->
<if TimeGT="7.00" TimeLT="17.00">
<equip when="idle">
<feet>$Day-Move</feet>
</equip>
</if>
<else>
<equip when="idle">
<feet>$Night-Move</feet>
</equip>
</else>
<!-- Cancel and Buffs -->
<if Spell="Sneak|Invisible">
<action type="midcastdelay" delay="1.5" />
<if Spell="Sneak" BuffActive="Sneak" advanced='"%SpellTarget"="%PlayerName" OR "%SpellTarget"="<me>" OR ("%target"="%PlayerName" AND "%SpellTarget"="<t>")'>
<action type="command" when="midcast">cancel 71</action>
</if>
</if>
<elseif Spell="Spectral Jig">
<action Type="Command" When="PreCast">cancel 71</action>
</elseif>
<!-- NIN Spells -->
<if spell="Utsusemi: Ni">
<action type="equip" when="precast" set="Haste" />
<action type="castdelay" delay=".1" />
<action type="aftercastdelay" delay="2" />
<action type="Equip" when="aftercast" set="Abyssea TP" />
<if status="NotEngaged">
<action type="Equip" set="Idle" />
</if>
</if>
<if spell="Utsusemi: Ichi">
<action type="Equip" when="precast" set="Haste" />
<action type="castdelay" delay=".1" />
<action type="midcastdelay" delay="3" />
<action type="aftercastdelay" delay="2" />
<action type="Equip" when="aftercast" set="Day Set" />
</if>
<if spell = "Utsusemi: Ichi" buffactive = "Copy Image*">
<if NotBuffActive = "Copy Image (3)|Copy Image (4+)">
<midcastdelay delay = "2.5" />
<cmd when = "midcast">cancel 66</cmd>
<cmd when = "midcast">cancel 444</cmd>
</if>
<else>
<cancelspell />
<return />
</else>
</if>
<elseif spell="Monomi*|Tonko*">
<if Spell="Monomi*" BuffActive="Sneak">
<action type="midcastdelay" delay="2.5" />
<action type="Command" when="midcast">cancel 71</action>
</if>
</elseif>
<if spell="Futae">
<equip when="precast">
<hands>Iga Tekko +2</hands>
</equip>
</if>
<if spell="Migawari: Ichi">
<equip when="precast">
<body>Iga Ningi +2</body>
</equip>
</if>
<if mode="OR" spell="Yonin" Buffactive="Yonnin">
<equip when = "precast">
<legs lock="true">Iga Hakama +2</legs>
</equip>
</if>
<elseif mode="OR" spell="Innin" Buffactive="Innin">
<equip when = "precast">
<head lock="true">Iga Zukin +1</head>
</equip>
</elseif>
<if spell="Blade: Hi">
<if buffactive="Visitant">
<equip when="Precast" set="Hi Inside" />
</if>
<elseif buffactive="Voidwatcher">
<equip when="Precast" set="Hi Outside" />
</elseif>
<action type="castdelay" delay=".5" />
<action type="aftercastdelay" delay="7" />
<action type="Equip" when="aftercast" set="$AbysseaOrOutside TP" />
</if>
</if>
</rules>
</spellcast>
Bahamut.Bekisa
Server: Bahamut
Game: FFXI
Posts: 596
By Bahamut.Bekisa 2012-07-19 01:10:24
You have this for line 12:
Code
<var name="Night-Move">Ninja Kyahan</var>
When obviously, it should say this:
Lakshmi.Muginn
Server: Lakshmi
Game: FFXI
Posts: 4
By Lakshmi.Muginn 2012-07-19 12:47:53
Thank you kindly everyone. I used what you posted Kalilla, just had to remove line 305 and it was good.
However, I notice my idle set is not activating...same with my movement speed boots it doesn't swap out. This is what I have right now.
Any advice?
Code
<?xml version="1.0" ?>
<spellcast>
<config
Debug="false"
HideErrors="false"
ShowGearSwaps="false"
ShowSpellInfo="false"
/>
<variables>
<var name="Day-Move">Danzo Sune-ate</var>
<var name="Night-Move">Ninja Kyahan</var>
</variables>
<sets>
<group name="nin">
<set name="NINcGearCollector" load="yes">
<main>Kannagi</main>
<main>Kamome</main>
<head>Iga Zukin +2</head>
<head>Oce. Headpiece</head>
<neck>Rancor Collar</neck>
<neck>Hope Torque</neck>
<ear>Brutal Earring</ear>
<ear>Suppanomimi</ear>
<ear>Centaurus Earring</ear>
<body>Ninja Chainmail +1</body>
<body>Iga Ningi+2</body>
<body>Athos's Tabard</body>
<hands>Koga Tekko +2</hands>
<hands>Seiryu's Kote</hands>
<ring>Oneiros Ring</ring>
<ring>Epona's Ring</ring>
<ring>Rajas Ring</ring>
<ring>Stormsoul Ring</ring>
<back>Atheling Mantle</back>
<back>Rancorous Mantle</back>
<back>Boxer's Mantle</back>
<waist>Twillight Belt</waist>
<waist>Windbuffet Belt</waist>
<waist>Anguinus Belt</waist>
<waist>Flume Belt</waist>
<legs>Byakko's Haidate</legs>
<legs>Ambusher's Hose</legs>
<legs>Iga Hakama +2</legs>
<feet>Iga Kyahan +2</feet>
<feet>Kog. Kyahan +2</feet>
<feet>Ninja Kyahan</feet>
<feet>Danzo Sune-ate</feet>
<ammo>Qirmiz Tathlum</ammo>
</set>
</group>
<!-- Abyssea Sets -->
<group default="yes" name="Abyssea TP">
<!-- TP Set -->
<set name="Abyssea TP">
<head>Iga Zukin +2</head>
<neck>Rancor Collar</neck>
<rear>Brutal Earring</rear>
<lear>Suppanomimi</lear>
<body>Ninja Chainmail +1</body>
<hands>Koga Tekko +2</hands>
<rring>Oneiros Ring</rring>
<lring>Epona's Ring</lring>
<back>Atheling Mantle</back>
<waist>Twilight Belt</waist>
<legs>Byakko's Haidate</legs>
<feet>Iga Kyahan +2</feet>
<ammo>Qirmiz Tathlum</ammo>
</set>
<!-- Blade: Hi Set -->
<set name="Hi Inside" baseset="Abyssea TP">
<head>Oce. Headpiece</head>
<body>Athos's Tabard</body>
<feet>Kog. Kyahan +2</feet>
<waist>Windbuffet Belt</waist>
<legs>Ambusher's Hose</legs>
<lring>Epona's Ring</lring>
<rring>Stormsoul Ring</rring>
<back>Rancorous Mantle</back>
<neck>Hope Torque</neck>
<rear>Brutal Earring</rear>
<lear>Centaurus Earring</lear>
<hands>Seiryu's Kote</hands>
</set>
<!-- Standard Non-Abyssea Sets -->
<!-- TP Sets -->
<set name="Voidwatch TP">
<head>Iga Zukin +2</head>
<neck>Rancor Collar</neck>
<rear>Brutal Earring</rear>
<lear>Suppanomimi</lear>
<body>Ninja Chainmail +1</body>
<hands>Koga Tekko +2</hands>
<rring>Rajas Ring</rring>
<lring>Epona's Ring</lring>
<back>Atheling Mantle</back>
<waist>Twilight Belt</waist>
<legs>Byakko's Haidate</legs>
<feet>Iga Kyahan +2</feet>
<ammo>Qirmiz Tathlum</ammo>
</set>
<set name="Outside TP">
<head>Iga Zukin +2</head>
<neck>Rancor Collar</neck>
<rear>Brutal Earring</rear>
<lear>Suppanomimi</lear>
<body>Iga Ningi +2</body>
<hands>Koga Tekko +2</hands>
<rring>Rajas Ring</rring>
<lring>Epona's Ring</lring>
<back>Atheling Mantle</back>
<waist>Twilight Belt</waist>
<legs>Byakko's Haidate</legs>
<feet>Iga Kyahan +2</feet>
<ammo>Qirmiz Tathlum</ammo>
</set>
<!-- Blade: Hi Set -->
<set name="Hi Outside" baseset="Outside TP">
<head>Oce. Headpiece +1</head>
<body>Athos's Tabard</body>
<feet>Kog. Kyahan +2</feet>
<waist>Anguinus Belt</waist>
<legs>Byakko's Haidate</legs>
<lring>Epona's Ring</lring>
<rring>Stormsoul Ring</rring>
<back>Rancorous Mantle</back>
<neck>Hope Torque</neck>
<rear>Brutal Earring</rear>
<lear>Centaurus Earring</lear>
<hands>Seiryu's Kote</hands>
</set>
<!-- Multi-Purpose Misc Sets -->
<!-- Idle Set -->
<set name="Idle" baseset="Abyssea TP">
<head>Arh. Jinpachi +1</head>
<neck>Wiglen Gorget</neck>
<rear>Brutal Earring</rear>
<lear>Suppanomimi</lear>
<body>Arhat's Gi +1</body>
<hands>Melaco Mittens</hands>
<lring>Sheltered Ring</lring>
<rring>Paguroidea Ring</rring>
<back>Boxer's Mantle</back>
<waist>Flume Belt</waist>
<legs>Iga Hakama +2</legs>
<feet>Danzo Sune-Ate</feet>
<ammo>Qirmiz Tathlum</ammo>
</set>
<!-- Haste set - used for casting Utsusemi -->
<set name="Haste" baseset="$AbysseaOrOutside TP">
<head>Iga Zukin +2</head>
<hands>Koga Tekko +2</hands>
<neck>Magoraga Beads</neck>
<rear>Brutal Earring</rear>
<lear>Suppanomimi</lear>
<rring>Oneiros Ring</rring>
<lring>Epona's Ring</lring>
<back>Boxer's Mantle</back>
<waist>Twilight Belt</waist>
<legs>Iga Hakama +2</legs>
<feet>Iga Kyahan +2</feet>
</set>
<!-- Evasion Set -->
<set name="Evasion">
<head>Iga Zukin +2</head>
<neck>Torero Torque</neck>
<lear>Brutal Earring</lear>
<rear>Suppanomimi</rear>
<body>Ninja Chainmail +1</body>
<hands>Iga Tekko +2</hands>
<rring>Oneiros Ring</rring>
<lring>Epona's Ring</lring>
<back>Boxer's Mantle</back>
<waist>Twilight Belt</waist>
<legs>Byakko's Haidate</legs>
<feet>Iga Kyahan +2</feet>
</set>
<!-- Damage Taken Sets -->
<set name="PDT">
<head>Arh. Jinpachi +1</head>
<body>Arhat's Gi +1</body>
<back>Boxer's Mantle</back>
<neck>Wiglen Gorget</neck>
<hands>Denali Wristbands</hands>
<waist>Flume Belt</waist>
<lear>Ethereal Earring</lear>
<lring>Dark Ring</lring>
<legs>Byakko's Haidate</legs>
<rear>Brutal Earring</rear>
<rring>Jelly Ring</rring>
</set>
</group>
</sets>
<rules>
<!-- Abyssea, Voidwatch & Outside -->
<if buffactive="Visitant" status="engaged">
<equip when="aftercast" set="Abyssea TP" />
</if>
<elseif buffactive="Voidwatcher" status="engaged">
<equip when="aftercast" set="Voidwatch TP" />
</elseif>
<else>
<equip when="aftercast" set="Outside TP" />
</else>
<action type="equip" when="Idle" set="Idle" />
<!-- Idle Feet -->
<if TimeGT="7.00" TimeLT="17.00">
<equip when="idle">
<feet>$Day-Move</feet>
</equip>
</if>
<else>
<equip when="idle">
<feet>$Night-Move</feet>
</equip>
</else>
<!-- Cancel and Buffs -->
<if Spell="Sneak|Invisible">
<action type="midcastdelay" delay="1.5" />
<if Spell="Sneak" BuffActive="Sneak" advanced='"%SpellTarget"="%PlayerName" OR "%SpellTarget"="<me>" OR ("%target"="%PlayerName" AND "%SpellTarget"="<t>")'>
<action type="command" when="midcast">cancel 71</action>
</if>
</if>
<elseif Spell="Spectral Jig">
<action Type="Command" When="PreCast">cancel 71</action>
</elseif>
<!-- NIN Spells -->
<if spell="Utsusemi: Ni">
<action type="equip" when="precast" set="Haste" />
<action type="castdelay" delay=".1" />
<action type="aftercastdelay" delay="2" />
<action type="Equip" when="aftercast" set="Abyssea TP" />
<if status="NotEngaged">
<action type="Equip" set="Idle" />
</if>
</if>
<if spell="Utsusemi: Ichi">
<action type="Equip" when="precast" set="Haste" />
<action type="castdelay" delay=".1" />
<action type="midcastdelay" delay="3" />
<action type="aftercastdelay" delay="2" />
<action type="Equip" when="aftercast" set="Day Set" />
</if>
<if spell = "Utsusemi: Ichi" buffactive = "Copy Image*">
<if NotBuffActive = "Copy Image (3)|Copy Image (4+)">
<midcastdelay delay = "2.5" />
<cmd when = "midcast">cancel 66</cmd>
<cmd when = "midcast">cancel 444</cmd>
</if>
<else>
<cancelspell />
<return />
</else>
</if>
<elseif spell="Monomi*|Tonko*">
<if Spell="Monomi*" BuffActive="Sneak">
<action type="midcastdelay" delay="2.5" />
<action type="Command" when="midcast">cancel 71</action>
</if>
</elseif>
<if spell="Futae">
<equip when="precast">
<hands>Iga Tekko +2</hands>
</equip>
</if>
<if spell="Migawari: Ichi">
<equip when="precast">
<body>Iga Ningi +2</body>
</equip>
</if>
<if mode="OR" spell="Yonin" Buffactive="Yonnin">
<equip when = "precast">
<legs lock="true">Iga Hakama +2</legs>
</equip>
</if>
<elseif mode="OR" spell="Innin" Buffactive="Innin">
<equip when = "precast">
<head lock="true">Iga Zukin +1</head>
</equip>
</elseif>
<if spell="Blade: Hi">
<if buffactive="Visitant">
<equip when="Precast" set="Hi Inside" />
</if>
<elseif buffactive="Voidwatcher">
<equip when="Precast" set="Hi Outside" />
</elseif>
<action type="castdelay" delay=".5" />
<action type="aftercastdelay" delay="7" />
<action type="Equip" when="aftercast" set="$AbysseaOrOutside TP" />
</if>
</rules>
</spellcast>
Necro Bump Detected!
[121 days between previous and next post]
Server: Odin
Game: FFXI
Posts: 66
By Odin.Cindro 2012-11-17 15:07:22
Code
<?xml version="1.0" ?>
<spellcast>
<config
Debug="false"
HideErrors="false"
ShowGearSwaps="false"
ShowSpellInfo="false"
/>
<variables>
<var name="Movement">Danzo Sune-ate</var>
</variables>
<sets>
<group name="NIN">
<set name="NINGearCollector" load="yes">
<main>Kakesu</main>
<main>Kamome</main>
<head>Iga Zukin +2</head>
<head>Thaumas Hat</head>
<head>Arhat's Jinpachi +1</head>
<neck>Wiglen Gorget</neck>
<neck>Twilight Torque</neck>
<neck>Magoraga Bead Necklace</neck>
<neck>Agasaya's Collar</neck>
<neck>Rancor Collar</neck>
<neck>Breeze Gorget</neck>
<ear>Brutal Earring</ear>
<ear>Suppanomimi</ear>
<ear>Ethereal Earring</ear>
<ear>Ghillie Earring +1</ear>
<body>Athos's Tabard</body>
<body>Toci's Harness</body>
<body>Thaumas Coat</body>
<hands>Thaumas Gloves</hands>
<hands>Melaco Mittens</hands>
<hands>Koga Tekko +2</hands>
<ring>Epona's Ring</ring>
<ring>Rajas Ring</ring>
<ring>Paguroidea Ring</ring>
<ring>Sheltered Ring</ring>
<back>Atheling Mantle</back>
<back>Boxer's Mantle</back>
<back>Shadow Mantle</back>
<back>Metallon Mantle</back>
<waist>Twilight Belt</waist>
<waist>Anguinus Belt</waist>
<waist>Breeze Belt</waist>
<waist>Phasmida Belt</waist>
<legs>Byakko's Haidate</legs>
<legs>Iga Hakama +2</legs>
<legs>Thaumas Kecks</legs>
<feet>Thaumas Nails</feet>
<feet>Iga Kyahan +2</feet>
<feet>Ninja Kyahan</feet>
<feet>Danzo Sune-ate</feet>
<ammo>Qirmiz Tathlum</ammo>
<ammo>Demonry Stone</ammo>
<ammo>Thunder Sachet</ammo>
</set>
</group>
<!-- Abyssea Sets -->
<group default="yes" name="Abyssea TP">
<!-- TP Set -->
<set name="Abyssea TP">
<head>Iga Zukin +2</head>
<neck>Rancor Collar</neck>
<rear>Brutal Earring</rear>
<lear>Suppanomimi</lear>
<body>Thaumas Coat</body>
<hands>Koga Tekko +2</hands>
<rring>Rajas Ring</rring>
<lring>Epona's Ring</lring>
<back>Atheling Mantle</back>
<waist>Twilight Belt</waist>
<legs>Koga Hakama +2</legs>
<feet>Iga Kyahan +2</feet>
<ammo>Qirmiz Tathlum</ammo>
</set>
<!-- Blade: Jin Set -->
<set name="Jin Inside" baseset="Abyssea TP">
<head>Iga Zukin +2</head>
<body>Toci's Harness</body>
<feet>Thaumas Nails</feet>
<waist>Wanion Belt</waist>
<legs>Byakko's Haidate</legs>
<lring>Epona's Ring</lring>
<rring>Rajas Ring</rring>
<back>Atheling Mantle</back>
<neck>Rancor Collar</neck>
<rear>Brutal Earring</rear>
<lear>Ghillie Earring +1</lear>
<hands>Thaumas Gloves</hands>
</set>
<!-- Standard Non-Abyssea Sets -->
<!-- TP Sets -->
<set name="Voidwatch TP">
<head>Iga Zukin +2</head>
<neck>Rancor Collar</neck>
<rear>Brutal Earring</rear>
<lear>Suppanomimi</lear>
<body>Thaumas Coat</body>
<hands>Koga Tekko +2</hands>
<rring>Rajas Ring</rring>
<lring>Epona's Ring</lring>
<back>Atheling Mantle</back>
<waist>Twilight Belt</waist>
<legs>Koga Hakama +2</legs>
<feet>Iga Kyahan +2</feet>
<ammo>Qirmiz Tathlum</ammo>
</set>
<set name="Outside TP">
<head>Iga Zukin +2</head>
<neck>Rancor Collar</neck>
<rear>Brutal Earring</rear>
<lear>Suppanomimi</lear>
<body>Thaumas Coat</body>
<hands>Koga Tekko +2</hands>
<rring>Rajas Ring</rring>
<lring>Epona's Ring</lring>
<back>Atheling Mantle</back>
<waist>Twilight Belt</waist>
<legs>Koga Hakama +2</legs>
<feet>Iga Kyahan +2</feet>
<ammo>Qirmiz Tathlum</ammo>
</set>
<!-- Blade: Jin Set -->
<set name="Jin Outside" baseset="Outside TP">
<head>Iga Zukin +2</head>
<body>Athos's Tabard</body>
<feet>Thaumas Nails</feet>
<waist>Wanion Belt</waist>
<legs>Byakko's Haidate</legs>
<lring>Epona's Ring</lring>
<rring>Rajas Ring</rring>
<back>Atheling Mantle</back>
<neck>Rancor Collar</neck>
<rear>Brutal Earring</rear>
<lear>Ghillie Earring +1</lear>
<hands>Thaumas Gloves</hands>
</set>
<!-- Multi-Purpose Misc Sets -->
<!-- Idle Set -->
<set name="Idle" baseset="Abyssea TP">
<head>Arh. Jinpachi +1</head>
<neck>Wiglen Gorget</neck>
<rear>Brutal Earring</rear>
<lear>Suppanomimi</lear>
<body>Kirin's Osode</body>
<hands>Melaco Mittens</hands>
<lring>Sheltered Ring</lring>
<rring>Paguroidea Ring</rring>
<back>Shadow Mantle</back>
<waist>Phasmida Belt</waist>
<legs>Koga Hakama +2</legs>
<feet>Danzo Sune-Ate</feet>
<ammo>Qirmiz Tathlum</ammo>
</set>
<!-- Haste set - used for casting Utsusemi -->
<set name="Haste" baseset="$AbysseaOrOutside TP">
<head>Athos's Chapeau</head>
<hands>Thaumas Gloves</hands>
<neck>Magoraga Beads</neck>
<rear>Ethereal Earring</rear>
<lear>Loquacious Earring</lear>
<rring>Shadow Ring</rring>
<lring>Dark Ring</lring>
<back>Mujin Mantle</back>
<waist>Twilight Belt</waist>
<legs>Iga Hakama +2</legs>
<feet>Iga Kyahan +2</feet>
</set>
<!-- Evasion Set -->
<set name="Evasion">
<head>Iga Zukin +2</head>
<neck>Iga Erimaki</neck>
<lear>Brutal Earring</lear>
<rear>Suppanomimi</rear>
<body>Athos's Tabard</body>
<hands>Koga Tekko +2</hands>
<rring>Rajas Ring</rring>
<lring>Epona's Ring</lring>
<back>Boxer's Mantle</back>
<waist>Phasmida Belt</waist>
<legs>Koga Hakama +2</legs>
<feet>Athos's Boots</feet>
</set>
<!-- Damage Taken Sets -->
<set name="PDT">
<head>Arh. Jinpachi +1</head>
<body>Athos's Tabard</body>
<back>Metallon Mantle</back>
<neck>Wiglen Gorget</neck>
<hands>Melaco Mittens</hands>
<waist>Phasmida Belt</waist>
<lear>Suppanomimi</lear>
<rear>Ethereal Earring<rear>
<lring>Dark Ring</lring>
<rring>Dark Ring</rring>
<legs>Koga Hakama +2</legs>
<feet>Danzo Sune-Ate</feet>
</set>
</group>
</sets>
<rules>
<!-- Abyssea, Voidwatch & Outside -->
<if buffactive="Visitant" status="engaged">
<equip when="aftercast" set="Abyssea TP" />
</if>
<elseif buffactive="Voidwatcher" status="engaged">
<equip when="aftercast" set="Voidwatch TP" />
</elseif>
<else>
<equip when="aftercast" set="Outside TP" />
</else>
<action type="equip" when="Idle" set="Idle" />
<!-- Idle Feet -->
<if TimeGT="0.00" TimeLT="24.00">
<equip when="idle">
<feet>Movement</feet>
</equip>
<!-- Cancel and Buffs -->
<if Spell="Sneak|Invisible">
<action type="midcastdelay" delay="1.5" />
<if Spell="Sneak" BuffActive="Sneak" advanced='"%SpellTarget"="%PlayerName" OR "%SpellTarget"="<me>" OR ("%target"="%PlayerName" AND "%SpellTarget"="<t>")'>
<action type="command" when="midcast">cancel 71</action>
</if>
</if>
<elseif Spell="Spectral Jig">
<action Type="Command" When="PreCast">cancel 71</action>
</elseif>
<!-- NIN Spells -->
<if spell="Utsusemi: Ni">
<action type="equip" when="precast" set="Haste" />
<action type="castdelay" delay=".1" />
<action type="aftercastdelay" delay="2" />
<action type="Equip" when="aftercast" set="Abyssea TP" />
<if status="NotEngaged">
<action type="Equip" set="Idle" />
</if>
</if>
<if spell="Utsusemi: Ichi">
<action type="Equip" when="precast" set="Haste" />
<action type="castdelay" delay=".1" />
<action type="midcastdelay" delay="3" />
<action type="aftercastdelay" delay="2" />
<action type="Equip" when="aftercast" set="Day Set" />
</if>
<if spell = "Utsusemi: Ichi" buffactive = "Copy Image*">
<if NotBuffActive = "Copy Image (3)|Copy Image (4+)">
<midcastdelay delay = "2.5" />
<cmd when = "midcast">cancel 66</cmd>
<cmd when = "midcast">cancel 444</cmd>
</if>
<else>
<cancelspell />
<return />
</else>
</if>
<elseif spell="Monomi*|Tonko*">
<if Spell="Monomi*" BuffActive="Sneak">
<action type="midcastdelay" delay="2.5" />
<action type="Command" when="midcast">cancel 71</action>
</if>
</elseif>
<if spell="Futae">
<equip when="precast">
<hands>Thaumas Gloves</hands>
</equip>
</if>
<if spell="Migawari: Ichi">
<equip when="precast">
<body>Athos's Tabard</body>
</equip>
</if>
<if mode="OR" spell="Yonin" Buffactive="Yonnin">
<equip when = "precast">
<legs lock="true">Iga Hakama +2</legs>
</equip>
</if>
<elseif mode="OR" spell="Innin" Buffactive="Innin">
<equip when = "precast">
<head lock="true">Iga Zukin +1</head>
</equip>
</elseif>
<if spell="Blade: Jin">
<if buffactive="Visitant">
<equip when="Precast" set="Jin Inside" />
</if>
<elseif buffactive="Voidwatcher">
<equip when="Precast" set="Jin Outside" />
</elseif>
<action type="castdelay" delay=".5" />
<action type="aftercastdelay" delay="7" />
<action type="Equip" when="aftercast" set="$AbysseaOrOutside TP" />
</if>
</rules>
</spellcast>
It keeps telling me that there is an error with line 211. That's the end of the <set></set> lines. Does anyone have a simple solution to fix this? Thanks in advance.
Server: Odin
Game: FFXI
Posts: 430
By Odin.Registry 2012-11-17 15:21:06
Line 206 is:
<rear>Ethereal Earring<rear>
should be:
<rear>Ethereal Earring</rear>
[+]
Server: Fenrir
Game: FFXI
Posts: 3351
By Fenrir.Terminus 2012-11-17 15:36:05
Yeah the actual line of the errors often doesn't match - but, the line # that the error gives will usually be right after the section w/ the error.
Server: Odin
Game: FFXI
Posts: 66
By Odin.Cindro 2012-11-17 15:39:41
Nice kk, that's a really good tip. I couldnt figure out where the error was.
So I am trying to write my first SC, and I feel like I am either missing something, or not writing something. This is based mostly because it confused the hell out of me, not because it will not work in game because I have not yet attempted. Curious if any of you smart people out there can proof read this and let me know what you think.
What I am wanting it to do, is when I engage a mob, swap to the apropriate gearset, then change to WS gear for WS, then back to engaged gear, and then to idle set when the mob dies.
Thanks in advance.
NIN-pastebin