Spellcast Help

Eorzea Time
 
 
 
言語: JP EN FR DE
日本語版のFFXIVPRO利用したい場合は、上記の"JP"を設定して、又はjp.ffxivpro.comを直接に利用してもいいです
users online
フォーラム » FFXI » Jobs » Samurai » Spellcast help
Spellcast help
First Page 2
 Carbuncle.Dsriker
Offline
サーバ: Carbuncle
Game: FFXI
user: dsriker
Posts: 17
By Carbuncle.Dsriker 2012-08-13 10:43:29  
Ok so been working on my Sam XML and i can't seem to get it to work. any help would be very helpful
 Bahamut.Dannyl
Offline
サーバ: Bahamut
Game: FFXI
user: dannyl
Posts: 1548
By Bahamut.Dannyl 2012-08-13 10:51:18  
help us help you

what exactly is the problem? syntax error? loading error? your evasion gear not swapping in?
 Carbuncle.Dsriker
Offline
サーバ: Carbuncle
Game: FFXI
user: dsriker
Posts: 17
By Carbuncle.Dsriker 2012-08-13 10:53:58  
it keeps telling me i need to add an </if> where my rules should be but when i try adding an </if> in it just gives me the same error. im still pretty new to writing XML's so they still confuse me a bit.
 Sylph.Binckry
Offline
サーバ: Sylph
Game: FFXI
user: Binckly
Posts: 529
By Sylph.Binckry 2012-08-13 10:57:57  
Carbuncle.Dsriker said: »
it keeps telling me i need to add an </if> where my rules should be but when i try adding an </if> in it just gives me the same error. im still pretty new to writing XML's so they still confuse me a bit.
Does it give you a line where it has the error?

Edit:
Code
<if type="JobAbility">
<if spell="Meditate">
<action type="equip" when="before" set="meditate"/>
</if>
<if spell="Sekkanoki">
<action type="equip" when="before" set="Sekkanoki"/>
</if>
<if spell="Warding Circle">
<action type="equip" when="before" set="Warding Circle"/>
</if>
<if spell="Sengikori">
<action type="equip" when="before" set="Sengikori"/>
</if>

You're missing an extra </if> here, iirc. you didnt close <if type="jobability"> and im not sure if "before" works? cause i use "precast"
[+]
 Carbuncle.Dsriker
Offline
サーバ: Carbuncle
Game: FFXI
user: dsriker
Posts: 17
By Carbuncle.Dsriker 2012-08-13 10:59:35  
Line Number 219, Column 4 says expected tag </if>
 Sylph.Binckry
Offline
サーバ: Sylph
Game: FFXI
user: Binckly
Posts: 529
By Sylph.Binckry 2012-08-13 11:03:44  
Also; in the end
Code
<if type="ninjutsu">
<if spell="Monomi*|Katon*|Suiton*|Utsusemi*|Jubaku*|Kurayami*|Tonko*">
<action type="equip" when="before" set="Haste"/>
</if>

Missing an extra </if>.
 Carbuncle.Dsriker
Offline
サーバ: Carbuncle
Game: FFXI
user: dsriker
Posts: 17
By Carbuncle.Dsriker 2012-08-13 11:04:11  
ah didn't notice i used before lol changed that and tried adding a </if> and getting same error
 Sylph.Binckry
Offline
サーバ: Sylph
Game: FFXI
user: Binckly
Posts: 529
By Sylph.Binckry 2012-08-13 11:05:36  
Carbuncle.Dsriker said: »
ah didn't notice i used before lol changed that and tried adding a </if> and getting same error
Did you change the ninjutsu one too that i probably just posted right as you posted that lol
 Carbuncle.Dsriker
Offline
サーバ: Carbuncle
Game: FFXI
user: dsriker
Posts: 17
By Carbuncle.Dsriker 2012-08-13 11:06:59  
yeah added that one too same error
 Sylph.Binckry
Offline
サーバ: Sylph
Game: FFXI
user: Binckly
Posts: 529
By Sylph.Binckry 2012-08-13 11:12:03  
Ok. You're missing an </if> in the Sekkanoki rule. And also,
in the beginning you put
Code
<?xml version="1.0" ?>
<spellcast xmlns:xi="http://www.w3.org/2001/XInclude">
<spellcast>
<config AutoLoadXML="true"
RequiredVersion="2.20"
HideErrors="false"
ShowGearSwaps="false"
Debug="true"
ShowSpellInfo="false"/>
<variables>
</variables>

Take away your second <spellcast>, and it should hopefully work, it worked for me.
Offline
Posts: 2711
By Hitetsu 2012-08-13 11:15:49  
There's an </if> missing after the final WS to close off your if=ws section.

Aside from the ones that Binckry mentioned, I don't think there's any others.
 Carbuncle.Dsriker
Offline
サーバ: Carbuncle
Game: FFXI
user: dsriker
Posts: 17
By Carbuncle.Dsriker 2012-08-13 11:19:59  
still nothing not sure what im missing sorry im such a noob ; ;
 Sylph.Binckry
Offline
サーバ: Sylph
Game: FFXI
user: Binckly
Posts: 529
By Sylph.Binckry 2012-08-13 11:20:46  
Could you relink your whole xml again, putting it in codes, and in spoilers i guess lol
 Carbuncle.Dsriker
Offline
サーバ: Carbuncle
Game: FFXI
user: dsriker
Posts: 17
By Carbuncle.Dsriker 2012-08-13 11:22:58  
wait i found it i forgot the / in one of the </if> rules i added thanks for helping me out :) again sorry about the epic noobness
 Sylph.Binckry
Offline
サーバ: Sylph
Game: FFXI
user: Binckly
Posts: 529
By Sylph.Binckry 2012-08-13 11:23:34  
Carbuncle.Dsriker said: »
wait i found it i forgot the / in one of the </if> rules i added thanks for helping me out :) again sorry about the epic noobness
Lol, np. :p glad it's working
necroskull Necro Bump Detected! [219 days between previous and next post]
 Siren.Scottyb
Offline
サーバ: Siren
Game: FFXI
user: scottyb
Posts: 170
By Siren.Scottyb 2013-03-20 11:33:31  
Hey, I just got on Sam for a VW shout and my XML has stopped working it says that there is a parsing error in line 125 and an error found reading the end tag.

Any help would be much appreciated
Code
<<?xml version="1.0" ?>
<!-- SAMURAI SPELLCAST CONFIG version 2.3 -->
<spellcast xmlns:xi="http://www.w3.org/2001/XInclude">
    <config
        Debug="false"
        HideErrors="false"
        />
    <variables>
        <var name="MODE">Neither</var>
    </variables>
    <sets>
        <group name="SAM_inherit">
            <set name="idle">
                <head>Ogier's Helm</head>
                <neck>Wiglen Gorget</neck>
                <lear>Brutal Earring</lear>
                <rear>Ethereal Earring</rear>
                <body>Mekira Meikogai</body>
                <hands>Melaco Mittens</hands>
                <lring>Sheltered Ring</lring>
                <rring>Paguroidea Ring</rring>
                <back>Shadow Mantle</back>
                <waist>Flume Belt</waist>
                <legs>Gavial Cuisses +1</legs>
                <feet>Danzo Sune-Ate</feet>
            </set>
            <set name="engaged_base">
                <head>Unkai Kabuto +2</head>
                <neck>Justice Torque</neck>
                <lear>Brutal Earring</lear>
                <rear>Ghillie Earring +1</rear>
                <body>Unkai Domaru +1</body>
                <hands>Brego Gloves</hands>
                <lring>Rajas Ring</lring>
                <rring>Mars's Ring</rring>
                <back>Atheling Mantle</back>
                <waist>Bullwhip Belt</waist>
                <legs>Unkai Haidate +2</legs>
                <feet>Ace's Leggings</feet>
            </set>
 
            <set name="engaged_Hasso" BaseSet="engaged_base">
            </set>
            <set name="engaged_Neither" BaseSet="engaged_base">
                <legs>Phorcys Dirs</legs>
            </set>
            <set name="engaged_Seigan" BaseSet="engaged_base">
                <legs>Phorcys Dirs</legs>
            </set>
 
            <set name="resting" />
            <set name="weaponskill">
                <head>Mekira-oto</head>
                <neck>Portus Collar</neck>
                <lear>Brutal Earring</lear>
                <rear>Kemas Earring</rear>
                <body>Ace's Mail</body>
                <hands>Heafoc Mitts</hands>
                <lring>Rajas Ring</lring>
                <rring>Flame Ring</rring>
                <back>Atheling Mantle</back>
                <waist>Wanion Belt</waist>
                <legs>Unkai Haidate +2</legs>
                <feet>Dilaram's Sollerets</feet>
            </set>
            <set name="multihitws" BaseSet="weaponskill" />
            <set name="pdt">
                <head>Arh. Jinpachi +1</head>
                <neck>Wiglen Gorget</neck>
                <lear>Brutal Earring</lear>
                <rear>Ethereal Earring</rear>
                <body>Arhat's Gi +1</body>
                <hands>Melaco Mittens</hands>
                <lring>Dark Ring</lring>
                <rring>Dark Ring</rring>
                <back>Shadow Mantle</back>
                <waist>Flume Belt</waist>
                <feet>Phorcys Schuhs</feet>
            </set>
            <set name="mdt">
                <head>Ogier's Helm</head>
                <neck>Twilight Torque</neck>
                <lear>Merman's Earring</lear>
                <rear>Merman's Earring</rear>
                <lring>Shadow Ring</lring>
                <rring>Merman's Ring</rring>
            </set>
            <set name="enpi" BaseSet="weaponskill" />
            <set name="shoha" BaseSet="weaponskill">
			<set name="fudo" BaseSet="weaponskill" >
                <neck>Snow Gorget</neck>
                <waist>Snow Belt</waist>
            </set>
            <set name="yuki" BaseSet="weaponskill">
                <neck>Snow Gorget</neck>
                <waist>Snow Belt</waist>
            </set>
            <set name="gekko" BaseSet="weaponskill">
                <neck>Snow Gorget</neck>
                <waist>Snow Belt</waist>
            </set>
            <set name="kasha" BaseSet="weaponskill">
                <neck>Shadow Gorget</neck>
            </set>
            <set name="ageha" BaseSet="weaponskill">
                <neck>Shadow Gorget</neck>
            </set>
            <set name="rana" BaseSet="multihitws">
                <neck>Shadow Gorget</neck>
            </set>
            <set name="penta" BaseSet="multihitws">
                <neck>Shadow Gorget</neck>
            </set>
            <set name="meditate">
                <head>Myochin Kabuto</head>
                <hands>Sao. Kote +2</hands>
            </set>
            <set name="thirdeye" />
            <set name="enmity">
                <head>Bahamut's Mask</head>
                <neck>Invidia Torque</neck>
                <body>Arhat's Gi +1</body>
                <waist>Warwolf Belt</waist>
            </set>
        </group>
        <group name="typical" inherit="SAM_inherit" default="yes">
        </group>
    </sets>
    <rules>
         <if buffactive="Hasso">
            <action type="var" cmd="set MODE Hasso" />
        </if>
         <elseif buffactive="Seigan">
            <action type="var" cmd="set MODE Seigan" />
        </elseif>
        <else>
            <action type="var" cmd="set MODE Neither" />
        </else>
 
        <if spell="autoset">
            <equip when="idle" set="idle" />
            <equip when="Resting" set="resting" />
            <equip when="Engaged" set="engaged_$MODE" />
        </if>
        <if status="idle" >
            <equip when="aftercast" set="idle" />
        </if>
        <if status="engaged">
            <equip when="aftercast" set="engaged_$MODE" />
        </if>
        <if type="WeaponSkill">
            <if Spell="Tachi:*">
                <if Spell="Tachi: Shoha">
                    <equip when="precast" set="shoha" />
                </if>
                <elseif Spell="Tachi: Yukikaze">
                    <equip when="precast" set="yuki" />
                </elseif>
                <elseif Spell="Tachi: Gekko">
                    <equip when="precast" set="gekko" />
                </elseif>
                <elseif Spell="Tachi: Kasha">
                    <equip when="precast" set="kasha" />
                </elseif>
                <elseif Spell="Tachi: Rana">
                    <equip when="precast" set="rana" />
                </elseif>
                <elseif Spell="Tachi: Ageha">
                    <equip when="precast" set="ageha" />
                </elseif>
                <else>
                    <equip when="precast" set="weaponskill" />
                </else>
            </if>
            <else>
                <if Spell="Penta Thrust">
                    <equip when="precast" set="penta" />
                </if>
                <else>
                    <equip when="precast" set="weaponskill" />
                </else>
            </else>
        </if>
        <elseif Spell="Meditate" >
            <equip when="precast" set="meditate" />
        </elseif>
        <elseif Spell="Third Eye">
            <equip when="precast" set="thirdeye" />
        </elseif>
        <elseif Spell="Provoke">
            <equip when="precast" set="enmity" />
        </elseif>
 
        <elseif Spell="Hasso">
            <action type="var" cmd="set MODE Hasso" />
        </elseif>
        <elseif Spell="Seigan">
            <action type="var" cmd="set MODE Seigan" />
        </elseif>
 
        <!-- PDT Swap -->
        <elseif Spell="Firaga II">
            <equip when="precast" set="pdt" />
        </elseif>
 
        <!-- MDT Swap -->
        <elseif Spell="Blizzaga II">
            <equip when="precast" set="mdt" />
        </elseif>
 
        </rules>
</spellcast>
 Ragnarok.Flippant
Offline
サーバ: Ragnarok
Game: FFXI
user: Enceladus
Posts: 658
By Ragnarok.Flippant 2013-03-20 13:47:52  
Line 89, the Shoha set either needs a </set> added to the end or selfclose by saying /> instead of > (just like the set right above it).
 Siren.Scottyb
Offline
サーバ: Siren
Game: FFXI
user: scottyb
Posts: 170
By Siren.Scottyb 2013-03-20 14:47:45  
Thank you so much, seems to load fine now.
 Leviathan.Kuryomi
Offline
サーバ: Leviathan
Game: FFXI
user: Kuryomi
Posts: 158
By Leviathan.Kuryomi 2013-04-10 16:49:22  
Code
<!-- This Spellcast file is for Samurai to cover as much as possible with the gear sets i have -->
<!-- these sets are currently built around a 2 Great Katana delay's, these delay's are:-       -->
<!-- * 437 Delay - Masamune/Amanomurakumo/Ame-no-ohabari                                       -->
<!-- * 450 Delay - Mythic/Other 450 delay weapons                                              -->
<!-- * 464 Delay - Kantonotati (TP Bonus +100)                                                 -->
<!-- * 480 Delay - Kikugosaku/Ishikirimaru                                                     -->

<!-- Credits go to: Lightvision as the author of this file                                     -->
<!-- PLEASE NOTE: * addtochat plugin is required for this XML to work properly                 -->
<!--              * Sets do not use Bullwhip belt as i perfer not to use it, if you prefer to  -->
<!--                use Bullwhip Belt then Find "Phasmida" and Replace with "Bullwhip"         -->

<spellcast xmlns:xi = "http://www/w3.org/2001/XInclude">

	<config RequireVersion="2.3" Debug="true" HideErrors="false" ShowGearSwaps="false" />	
	<sets>
		<group default="yes" name="Main TP">
			<!-- This is the base TP/Idle gear set -->
			<!-- to be used with all delay weapons -->
			<set name="Main" load="yes">
				<sub>Pole Grip</sub>
				<ammo>Thew Bomblet</ammo>
				<head>Unkai Kabuto +2</head>
				<neck>Ganesha's mala</neck>
				<lear>Brutal Earring</lear>
				<rear>Bushinomimi</rear>
				<body>ace's mail</body>
				<hands>ogier's Gauntlets</hands>
				<lring>Rajas Ring</lring>
				<rring>Tyrant's Ring</rring>
				<waist>Phasmida Belt</waist>
				<legs>Unkai Haidate +2</legs>
                                <feet>Ace's Leggings</feet>
			</set>
			
			<!-- These items are used for TP set if you have your -->
			<!-- specified 437 delay Weapon equipped -->
			<set name="437_Norm" Baseset="Main">
				<sub>Pole Grip</sub>
				<back>Misuuchi Kappa</back>
				<feet>Ace's Leggings</feet>
			</set>
			

			<!-- This is the base Weapon Skill gear set -->
			<!-- to be used with all Weapon skills -->
			<set name="WS">
				<ammo>Thew Bomblet</ammo>
				<head>Twilight Helm</head>
				<lear>Brutal Earring</lear>
				<rear>Bushinomimi</rear>
				<body>Ace's Mail</body>
				<hands>Mustela Gloves</hands>
				<lring>Rajas Ring</lring>
				<rring>Spiral Ring</rring>
				<back>Atheling Mantle</back>
				<legs>Karieyh Brayettes</legs>
				<feet>Unkai Sune-ate +2</feet>
                                <waist>windbuffet belt</waist>
                                <back>atheling Mantle</back>
			</set>
			
			<!-- These items are used for Shoha and Rana with the set named "WS" -->
			<!-- this was made as a set since it Shoha and Rani are multi hit    -->
			<!-- and both share the same elemental Gorget and Belt               -->
			<set name = "Multihit" baseset="WS">
				<neck>Ganesha"s mala</neck>
				<hands>Mustela Gloves</hands>
				<waist>windbuffet belt</waist>
			</set>
			
			<!-- These items are used for Fudo with the set named "WS" -->
			<set name="FudoKaiten" baseset="WS">
				<neck>Ganesha"s mala</neck>
				<hands>Mustela Gloves</hands>
				<waist>windbuffet belt</waist>
			</set>
			
			<!-- These items are used elemental WSs with the set named "WS" -->
			<!-- elemental gorgets and belts are started in the rules -->
			<set name="ElementWS" Baseset="WS">
				<neck>Stoicheion Medal</neck>
				<lear>Moldavite Earring</lear>
				<rear>Hecate's Earring</rear>
				<lring>Demon's Ring</lring>
			</set>
			
		</group>
	</sets>
	
<!--Variables-->
	<variables>
		<var name="empyrean">Masamune</var>
		<var name="relic">Amanomurakumo</var>
		<var name="437delay">Ame-no-ohabari</var>
		<var name="450delay">Kogarasumaru</var>
		<var name="464delay">Kantonotachi</var>
		<var name="480delay">Kikugosaku</var>
	</variables>
		
	<rules>
		<!-- Rules to stop parsing if you can't perform an action-->
		<if BuffActive="Sleep|Petrification|Stun|Terror">
			<return/>
		</if>
		<elseif Type="*Magic|BardSong|Ninjutsu" BuffActive="Silence">
			<return/>
		</elseif>
		<elseif Type="Weaponskill|JobAbility|PetCommand" BuffActive="Amnesia">
			<cancelspell/>
			<return/>
		</elseif>
		
		
<!-- START OF ENGAGED RULES -->
		<if status="engaged">
			<!-- Masamune/Amanomurakumo -->
			<if EquipMain="$empyrean|437delay">
				<action type="equip" when="engaged|aftercast" set="437_Norm" />
			</if>
				<else>
					<action type="equip" when="engaged|aftercast" set="437_Norm" />
				</else>
			</elseif>
			
			<!-- Mythic/Other 450 Delay weapons -->
			<elseif EquipMain="$450delay">
				<action type="equip" when="engaged|aftercast" set="450" />
			</elseif>
			
<!-- END OF ENGAGED RULES -->

<!-- START OF IDLE RULES -->		
		<if status="idle">
			<!-- Masamune/Amanomurakumo Idle Set -->
			<if EquipMain="$empyrean|$relic|437delay">
				<equip when="idle|aftercast" set="437_Norm">
					<feet>Danzo Sune-ate</feet>
				</equip>
			</if>
			
			<!-- 450 Delay Weapons Idle Set -->
			<elseif EquipMain="$450delay">
				<equip when="idle|aftercast" set="450">
					<feet>Danzo Sune-ate</feet>
				</equip>
			</elseif>
			<!-- 464 Delay Weapons Idle Set -->
			<elseif EquipMain="$464delay">
				<equip when="idle|aftercast" set="464">
					<feet>Danzo Sune-ate</feet>
				</equip>
			</elseif>
			<!-- 480 Delay weapons Idle Set -->
			<elseif EquipMain="$464delay">
				<equip when="idle|aftercast" set="480">
					<feet>Danzo Sune-ate</feet>
				</equip>
			</elseif>
		</if>
<!-- END OF IDLE RULES -->
		
<!-- START OF WEAPONSKILL RULES -->
		<if type="WeaponSkill">
			<!-- Stops weapon skill from happening if the target is greater than 5 yalms away -->
			<!-- This will prevent you loosing TP when you are "out of range" from the target -->
			<if SpellTargetDistanceGT="5">
					<addtochat color="121">Target is too far away. Stopping Weapon 

Skill.</addtochat>
					<cancelspell />
					<return />
			</if>
			
			<!-- Shoha and Rana WS Rule -->
			<if spell="*Shoha|*Rana">
				<action type="equip" when="precast" set="Multihit" />
			</if>
			
			<!-- Since the rest are single hit WSs (except Jinpu) they require a change -->
			<!-- to the hands slot, if Sekkanoki is up then Unkai Kote +2 are equipt    -->
			<!-- If Sekkanoki is not up then Heafoc Mitts are equipt -->
			<if BuffActive="Sekkanoki">
				<if spell="*Fudo|*Kaiten">
					<equip when="precast" set="FudoKaiten">
						<hands>Unkai Kote +2</hands>
					</equip>
				</if>
				<if spell="*Gekko|*Hobaku|*Yukikaze">
					<equip when="precast" set="WS">
						<neck>Snow Gorget</neck>
						<hands>Unkai Kote +2</hands>
						<waist>Snow Belt</waist>
					</equip>
				</if>
				<if spell="*Kasha|*Enpi|*Goten">
					<equip when="precast" set="WS">
						<neck>Light Gorget</neck>
						<hands>Unkai Kote +2</hands>
						<waist>Light Belt</waist>
					</equip>
				</if>
				<if spell="*Koki">
					<equip when="precast" set="ElementWS">
						<hands>Unkai Kote +2</hands>
						<waist>Light Belt</waist>
					</equip>
				</if>
				<if spell="*Jinpu">
					<equip when="precast" set="ElementWS">
						<hands>Unkai Kote +2</hands>
						<waist>Shadow Belt</waist>
					</equip>
				</if>
				<if spell="*Ageha">
					<equip when="precast" set="WS">
						<head>Twilight Helm</head>
						<neck>Shadow Gorget</neck>
						<body>Twilight Mail</body>
						<hands>Unkai Kote +2</hands>
						<waist>Shadow Belt</waist>
					</equip>
				</if>
			</if>	
			<elseif notbuffactive="Sekkanoki">
				<if spell="*Fudo|*Kaiten">
					<action type="equip" when="precast" set="FudoKaiten" />
				</if>
				
				<if spell="*Kaiten">
					<action type="equip" when="precast" set="FudoKaiten" />
					<action type="equip" when="aftercast" set="Relic_AM" />
				</if>
				
				<if spell="*Gekko|*Hobaku|*Yukikaze">
					<equip when="precast" set="WS">
						<neck>Snow Gorget</neck>
						<hands>Heafoc Mitts</hands>
						<waist>Shadow Belt</waist>
					</equip>
				</if>
				<if spell="*Kasha|*Enpi|*Goten">
					<equip when="precast" set="WS">
						<neck>Light Gorget</neck>
						<hands>Heafoc Mitts</hands>
						<waist>Light Belt</waist>
					</equip>
				</if>
				<if spell="*Koki">
					<equip when="precast" set="ElementWS">
						<hands>Unkai Kote +2</hands>
						<waist>Light Belt</waist>
					</equip>
				</if>
				<if spell="*Jinpu">
					<equip when="precast" set="ElementWS">
						<hands>Unkai Kote +2</hands>
						<waist>Shadow Belt</waist>
					</equip>
				</if>
			</elseif>
		</if>
<!-- END OF WEAPONSKILL RULES -->

<!-- START OF ABILITY RULES -->
		<if spell="Meditate">
			<equip when="precast">
				<head>Myochin Kabuto</head>
				<hands>Sao. Kote +2</hands>
			</equip>
		</if>
		<if spell="Warding Circle">
			<equip when="precast">
				<head>Myochin Kabuto</head>
			</equip>
		</if>
		<if spell="Sekkanoki">
			<equip when="precast">
				<hands>Unkai Kote +2</hands>
			</equip>
		</if>
		<if spell="Sengikori">
			<equip when="precast">
				<feet>Unkai Sune-ate +2</feet>
			</equip>
		</if>

<!-- END OF ABILITY RULES -->

<!-- Rules for when to equip twilight set at all times -->
		<if mode="OR" Target="Arch Dynamis Lord" HPLT="500" BuffActive="Doom|Weakness">
			<if NotBuffActive="Perfect Defence">
				<equip when="all">
					<head>Twilight Helm</head>
					<body>Twilight Mail</body>
				</equip>
				<return/>
			</if>
		</if>
	</rules>
</spellcast>

so i have edited and reposted what i have im still having no luck with either set
 Leviathan.Kuryomi
Offline
サーバ: Leviathan
Game: FFXI
user: Kuryomi
Posts: 158
By Leviathan.Kuryomi 2013-04-10 16:56:13  
ok pretty sure i got the pdt set figured out, still not sure how to set twilight based on hp though and where to put it



Edit no no it failed horribly i suppose

i tryed to add this right above ws set and it gave parsing error line 89
Code
<set name="PDT" Baseset="Main">
				<ammo>Thew Bomblet</ammo>
				<head>Ogier"s Helm</head>
				<lear>Brutal Earring</lear>
				<neck>Wiglen Gorget</neck>
				<body>Mekira Meikogai</body>
				<hands>Mustela Gloves</hands>
				<rring>Dark Ring</rring>
				<lring>Rajas Ring</lring>
				<back>Atheling Mantle</back>
				<legs>Ogier's Breeches</legs>
				<feet>Phorcys Schuns</feet>
			</set>

                        <Set Name "Regen" Baseset= "Main">
                                <neck>Wiglen Gorget</neck>
				<rring>Paguroidea Ring</rring>
				<feet>Danzo Sune-Ate</feet>
                                <head>Twilight Helm</head>
                        </Set>
 Phoenix.Thorbean
Offline
サーバ: Phoenix
Game: FFXI
user: Thorbean
Posts: 397
By Phoenix.Thorbean 2013-04-10 17:33:04  
Leviathan.Kuryomi said: »

<Set Name "Regen" Baseset= "Main">

Change that to:
<Set Name="Regen" Baseset="Main">

Make sure you delete the space between the baseset= and "Main" too.

Edit: for equipping certain gear depending on HP just add something like this at the bottom of your XML.

<if HPLT="300">
<equip when="All" set="FullTwilight">
</if>
<elseif HPLT="500">
<equip when="aftercast" set="Regen">
</elseif>
 Leviathan.Kuryomi
Offline
サーバ: Leviathan
Game: FFXI
user: Kuryomi
Posts: 158
By Leviathan.Kuryomi 2013-04-10 17:43:12  
ahh ill try that ty
 Leviathan.Kuryomi
Offline
サーバ: Leviathan
Game: FFXI
user: Kuryomi
Posts: 158
By Leviathan.Kuryomi 2013-04-10 18:41:18  
Code
<?xml version="1.0" ?>
 
	<spellcast>
	
		<config
			Debug="false"
			ShowGearSwaps="false"
			NormalSet="IDLE"
			EngagedSet="$TP"
		/>
		
		<sets>
			<group name="SAM" default="yes">
			
				<!--Gear melee standard-->
				
				<set name="IDLE">
					<ammo>Thew Bomblet</ammo>
					<head>Twilight Helm</head>
					<neck>Wiglen Gorget</neck>
					<lear>Brutal earing</lear>
					<rear>Bushinomimi</rear>
					<body>Twilight Mail</body>
					<hands>Ogier's Gauntlets</hands>
					<lring>Rajas ring</lring>
					<rring>Tyrant's Ring</rring>
					<back>Shadow Mantle</back>
					<waist>Phasmida belt</waist>
					<legs>phorcys Dirs</legs>
					<feet>Danzo Sune-Ate</feet>
				</set>
				
				<set name="TP">
					<ammo>Thew Bomblet</ammo>
					<head>Unkai Kabuto +2</head>
					<neck>Ganesha's Mala</neck>
					<lear>Brutal Earring</lear>
					<rear>Bushinomimi</rear>
					<body>ace's mail</body>
					<hands>ogier's Gauntlets</hands>
					<lring>Rajas Ring</lring>
					<rring>Tyrant's Ring</rring>
					<back>Misuuchi Kappa</back>
					<waist>Phasmida Belt</waist>
					<legs>Unkai Haidate +2</legs>
					<feet>Ace's Leggings</feet>
				</set>
 
				<set name="TP-Voidwatch" BaseSet="TP">
					<back>Atheling Mantle</back>
					<waist>Windbuffet Belt</waist>
				</set>
				
				<set name="WS">
				<ammo>Thew Bomblet</ammo>
				<head>Twilight Helm</head>
				<lear>Brutal Earring</lear>
				<rear>Bushinomimi</rear>
				<body>Ace's Mail</body>
				<hands>Mustela Gloves</hands>
				<lring>Rajas Ring</lring>
				<rring>Spiral Ring</rring>
				<back>Atheling Mantle</back>
				<legs>Karieyh Brayettes</legs>
				<feet>Karieyh Sollerets</feet>
                                <waist>windbuffet belt</waist>
                                <back>atheling Mantle</back>
				</set>
								
				<set name="FUDO" BaseSet="WS">
					<neck>Snow Gorget</neck>
					<back>Atheling Mantle</back>
				</set>
				
				<set name="GEKRANYUK" BaseSet="WS">
					<neck>Snow Gorget</neck>
				</set>
 
				<set name="KASHA" BaseSet="WS">
				</set>
				
				<set name="SHOHA" BaseSet="WS">
				</set>
 
				<!--Magic damage-->
				<set name="MDT">
					<ammo>Demonry Stone</ammo>
					<head>Ogier's Helm</head>
					<neck>Twilight Torque</neck>
					<lear>Merman's Earring</lear>
					<rear>Merman's Earring</rear>
					<body>Mekira Meikogai</body>
					<lring>Minerva's Ring</lring>
					<rring>Shadow Ring</rring>
					<back>Lamia Mantle +1</back>
					<waist>Resolute Belt</waist>
					<feet>Ogier's Leggings</feet>
				</set>				
				
				<!--Physical damage-->
				<set name="PDT" BaseSet="TP">
					<head>Ogier's Helm</head>
					<neck>Twilight Torque</neck>
					<body>Mekira Meikogai</body>
					<lring>Dark Ring</lring>
					<rring>Dark Ring</rring>
					<back>Shadow Mantle</back>
					<legs>Ogier's Breeches</legs>
					<feet>Phorcys Schuhs</feet>
				</set>		
 
				<set name="ENMITY">
					<head>Arhat's Jinpachi</head>
					<neck>Invidia Torque</neck>
					<body>Ogier's Surcoat</body>
					<lring>Odium ring</lring>
					<rring>Mermaid Ring</rring>
					<feet>Usukane Sune-Ate</feet>
				</set>
				
				<set name="Town">
					<main>Murasamemaru</main>
					<sub>Rose Strap</sub>
					<ammo>Hagneia Stone</ammo>
					<head>Phorcys Salade</head>
					<neck>Ganesha's Mala</neck>
					<lear>Brutal Earring</lear>
					<rear>Moonshade Earring</rear>
					<body>Phorcys Korazin</body>
					<hands>Phorcys Mitts</hands>
					<lring>Rajas Ring</lring>
					<rring>Tyrant's Ring</rring>
					<back>Atheling Mantle</back>
					<waist>Windbuffet Belt</waist>
					<legs>Unkai Haidate +2</legs>
					<feet>Danzo Sune-Ate</feet>
				</set>
				
				<set name="Meditate">
					<head>Myn. Kabuto +1</head>
					<hands>Sao. Kote +2</hands>
				</set>
				
				<set name="gearup">
					<item>Linkshell</item>
					<item>Unkai Kote +2</item>
					<item>Unkai Kabuto +2</item>
					<item>Masamune</item>
				</set>
				
			</group>
		</sets>
 
		<variables>
			<var name="TP">TP</var>
		</variables>
		
		<rules>
 
			<if mode="OR" BuffActive="Voidwatcher" Area="Provenance">
				<var cmd="set TP TP-Voidwatch" />
			</if>
			<else>
				<var cmd="set TP TP" />
			</else>
		
			<if BuffActive="Sekkanoki">
				<equip when="idle|engaged|resting|precast|midcast|aftercast">
					<hands lock="t">Unkai Kote +2</hands>
				</equip>
			</if>
		
			<if NotStatus="Engaged">
				<if area="*Windurst*|Heavens*|*San d'Oria*|Chateau*|*Bastok*|Metalworks|*Jeuno*|Ru'Lude*|*Whitegate|Al Zahbi|Chocobo*|*Colosseum|Selbina|Mhaura|Kazham|Norg|Tavnazia*" notarea="Dynamis*|*[S]" notbuffactive="Besieged">
					<action type="Equip" when="idle|engaged|resting|precast|midcast|aftercast" set="Town" />
				</if>
				<else>
					<action type="equip" when="aftercast" set="IDLE"/>
				</else>
			</if>
			
			<else>
					<action type="equip" when="aftercast" set="$TP"/>
			</else>
			
			<!--Weapon skills-->
			<if type="WeaponSkill">
				<if spell="Tachi: Fudo">
					<equip when="precast" set="FUDO" />			
				</if>
				<elseif spell="Tachi: Shoha">
					<equip when="precast" set="SHOHA" />
				</elseif>
				<elseif spell="Tachi: Gekko|Tachi: Rana|Tachi: Yuk*">
					<equip when="precast" set="GEKRANYUK" />
				</elseif>
				<elseif spell="Tachi: Kasha">
					<equip when="precast" set="KASHA" />
				</elseif>
				<else>
					<equip when="precast" set="WS" />
				</else>
			</if>
			
			<!--JAs-->
			<if spell="Meditate">
				<equip when="precast" set="Meditate" />
			</if>
			<elseif spell="Hasso">
				<equip when="precast">
					<legs>Unkai Haidate +2</legs>
				</equip>
			</elseif>
			<elseif spell="Sekkanoki">
				<equip when="precast|aftercast">
					<hands>Unkai Kote +2</hands>
				</equip>
			</elseif>
			<elseif spell="Sengikori">
				<equip when="precast">
					<feet>Unkai Sune-Ate +2</feet>
				</equip>
			</elseif>
			<elseif spell="Provoke">
				<equip when="precast" set="ENMITY" />
			</elseif>			
			<elseif spell="Seigan">
				<equip when="precast">
					<head>Unkai Kabuto +2</head>
					<legs>phorcys Dirs</legs>
				</equip>
			</elseif>
			<elseif spell="Warding Circle">
				<equip when="precast">
					<head>Myn. Kabuto +1</head>
				</equip>
			</elseif>
			<elseif spell="Spectral Jig">
				<command when="PreCast">cancel 71</command>
			</elseif>
			
			<!-- Rules for when to equip twilight set at all times -->
                <if mode="OR" Target="Arch Dynamis Lord" HPPLT="30" BuffActive="Doom|Weakness">
                        <if NotBuffActive="Perfect Defence">
                                <equip when="all">
                                <head>Twilight Helm</head>
                                <body>Twilight Mail</body>
                                </equip>
			</if>
		</rules>
		
	</spellcast>	
this is what i got now still working on it
 Leviathan.Kuryomi
Offline
サーバ: Leviathan
Game: FFXI
user: Kuryomi
Posts: 158
By Leviathan.Kuryomi 2013-04-21 15:26:14  
Ok so im experimenting with this actualy trying to add in seiryu's sword and requiescat and it isnt functioning so well but i can get in time with trial and error. Here is my xml so ?far. What id like to know is where do i put, and what do i put, code to equip MDT if enemy is casting say thundaja?
 Sylph.Hitetsu
Offline
サーバ: Sylph
Game: FFXI
user: Hitetsu
Posts: 2617
By Sylph.Hitetsu 2013-04-21 15:30:13  
Pick a macro, and set it up with: "/con sc set MDT". Then when you see "The enemy is casting Thundaja!", you push those buttons.


Non-"Troll" version: Spellcast isn't psychic. It doesn't read your chatlog.
 Leviathan.Kuryomi
Offline
サーバ: Leviathan
Game: FFXI
user: Kuryomi
Posts: 158
By Leviathan.Kuryomi 2013-04-21 15:53:02  
ahhh, thought it actualy could do that. On the pluss side i got my requiescat stuff working right. was missing a > at line 155 ish in the variables lol
 Fenrir.Luckycharmss
Offline
サーバ: Fenrir
Game: FFXI
Posts: 59
By Fenrir.Luckycharmss 2013-05-12 21:11:57  
Hiya having trouble with my SC Mikinaak Greaves not equipping please help
 Fenrir.Luckycharmss
Offline
サーバ: Fenrir
Game: FFXI
Posts: 59
By Fenrir.Luckycharmss 2013-05-12 21:15:29  
Fenrir.Luckycharmss said: »
Hiya having trouble with my SC Mikinaak Greaves not equipping please help

Derp i found it......
 Cerberus.Reiden
Offline
サーバ: Cerberus
Game: FFXI
user: Reiden
Posts: 322
By Cerberus.Reiden 2013-05-13 12:42:53  
Luckycharm is that xml your fixed version? was looking for a sam xml
First Page 2