Why You No Work Spellcast!

言語: JP EN DE FR
2010-06-21
New Items
users online
フォーラム » FFXI » Jobs » Dragoon » Why you no work Spellcast!
Why you no work Spellcast!
 Asura.Jaclyn
Offline
サーバ: Asura
Game: FFXI
Posts: 79
By Asura.Jaclyn 2012-07-22 19:32:44  
Hi, can anyone take a look at this and tell me what is wrong. I keep getting "Parsing error: line 122-error reading end tag. Because the line numbers are not showing up line 122 is where it says"</group>"
 Siren.Kalilla
VIP
Offline
サーバ: Siren
Game: FFXI
user: Kalila
Posts: 14552
By Siren.Kalilla 2012-07-22 19:38:25  
You're missing a </set> before the </group> as far as I can tell.
[+]
 Asura.Tamoa
Offline
サーバ: Asura
Game: FFXI
user: Tamoa
Posts: 1334
By Asura.Tamoa 2012-07-22 19:39:40  
<set name="Breathtrigger">
<head>Drachen Armet</head>

</group>

Missing a </set> before the </group> I believe.
 Bahamut.Raenryong
Offline
サーバ: Bahamut
Game: FFXI
user: RaenRyong
Posts: 4554
By Bahamut.Raenryong 2012-07-22 19:41:02  
Two things jump out at me immediately:

Quote:
<set name="Breathtrigger">
<head>Drachen Armet</head>

needs a </set>

Quote:
<if spell ="Healing*">
<action type="equip" when="precast" set="Breathtrigger" />
<aftercastdelay delay="2.5" />
<action type="equip" when="midcast" set="WyvernHP" />

needs a </if>

Lemme know if you still have trouble!
 Bahamut.Bekisa
Offline
サーバ: Bahamut
Game: FFXI
Posts: 596
By Bahamut.Bekisa 2012-07-22 19:42:08  
http://www.w3schools.com/xml/xml_validator.asp

Remove the first line of Spellcast XML's (since it is not actual XML language) and paste in then click validate. Yours says Error Line 122: Opening and Ending Tag.

Put </set> After your <head>Drachen Armet</head> and it should work. Ran it again and shows the </if> in your healing set is missing too.
 Ragnarok.Martel
Offline
サーバ: Ragnarok
Game: FFXI
Posts: 2313
By Ragnarok.Martel 2012-07-22 19:44:23  
Basically just a ton of unclosed tags.
Code
<spellcast>
<config requireversion="2.20" showgearswaps="False" showspellinfo="False" />
<guildwork
character="Loneshadow"
server="Asura"
description="description text"
job="job abbreviation"
/>
<sets>
	<group name="Standard TP" default="yes">
		<set name="Idle">
			<main>Patientia lance</main>
			<sub>Pole grip</sub>
			<ammo>Thew Bomblet</ammo>
			<head>Lancer's Mezail +2</head>
			<neck>Houyi's Gorget</neck>
			<lear>Ghillie Earring +1</lear>
			<rear>Brutal Earring</rear>
			<body>Lancer's Plackart +1</body>
			<hands>Brego Gloves</hands>
			<lring>Rajas Ring</lring>
			<rring>Tyrant's Ring</rring>
			<back>Atheling Mantle</back>
			<waist>Goading Belt</waist>
			<feet>Lancer's Schynbalds +2</feet>
			<legs>Blood Cuisses</legs>
		</set>
		<set name="Standard TP|Default">
			<main>Patientia lance</main>
			<sub>Pole grip</sub>
			<ammo>Thew Bomblet</ammo>
			<head>Lancer's Mezail +2</head>
			<neck>Houyi's Gorget</neck>
			<lear>Ghillie Earring +1</lear>
			<rear>Brutal Earring</rear>
			<body>Lancer's Plackart +1</body>
			<hands>Brego Gloves</hands>
			<lring>Rajas Ring</lring>
			<rring>Tyrant's Ring</rring>
			<back>Atheling Mantle</back>
			<waist>Goading Belt</waist>
			<legs>Jingjang hose</legs>
			<feet>Lancer's Schynbalds +2</feet>
		</set>
		<set name="Star" baseset="Standard TP">
			<main>Patientia lance</main>
			<sub></sub>
			<ranged></ranged>
			<ammo></ammo>
			<head>Hecatomb cap +1</head>
			<neck>Soil gorget</neck>
			<lear>Brutal earring</lear>
			<rear>Vulcan's pearl</rear>
			<body>Ares's Cuirass</body>
			<hands>Heafoc mitts</hands>
			<lring>Rajas Ring</lring>
			<rring>Flame Ring</rring>
			<back>Atheling Mantle</back>
			<waist>Soil belt</waist>
			<legs>Avant cuisses +1</legs>
			<feet>Hecatomb Leggings +1</feet>
		</set>
		<set name="Drakes" baseset="Standard TP">
			<main>Patientia lance</main>
			<sub>Pole grip</sub>
			<ranged></ranged>
			<ammo>Thew bomblet</ammo>
			<head>Hecatomb cap +1</head>
			<neck>Rancor collar</neck>
			<lear>Brutal earring</lear>
			<rear>Vulcan's pearl</rear>
			<body>Ares's Cuirass</body>
			<hands>Heafoc mitts</hands>
			<lring>Rajas Ring</lring>
			<rring>Flame Ring</rring>
			<back>Atheling Mantle</back>
			<waist>Light belt</waist>
			<legs>Avant cuisses +1</legs>
			<feet>Hecatomb Leggings +1</feet>
		</set>
		<set name="Jump" baseset="Standard TP">
			<head>Sceamol band</head>
			<neck>Ganesha's mala</neck>
			<lear>Brutal earring</lear>
			<rear>Vulcan's pearl</rear>
			<body>Lancer's plackart +1</body>
			<hands>Lancer's Vambraces +2</hands>
			<lring>Raja's ring</lring>
			<rring>Tyrant's ring</rring>
			<back>Atheling mantle</back>
			<waist>Goading belt</waist>
			<legs>Lancer's Cuissots +1</legs>
			<feet>Ace's leggings</feet>
		</set>
		<set name="WyvernHP">
			<head>Wyrm Armet</head>
			<neck>Lancer's torque</neck>
			<lear>Lancer's earring</lear>
			<rear></rear>
			<body>Wyvern mail</body>
			<hands>Ostreger mitts</hands>
			<lring></lring>
			<rring></rring>
			<back>Lancer's pelerine</back>
			<waist>Glassblower's belt</waist>
			<legs>Drachen Brais</legs>
			<feet>Homam gambieras</feet>
		</set>
		<set name="Breathtrigger">
			<head>Drachen Armet</head>
		</set>
	</group>
</sets>
<rules>
	<if spell ="Stardiver">
		<action type="equip" when="precast" set="Star" />
	</if>
	<if spell ="Drakesbane">
		<action type="equip" when="precast" set="Drakes" />
	</if>
	<if spell ="Jump|High Jump|Soul Jump|Spirit Jump">
		<action type="equip" when="precast" set="Jump" />
	</if>
	<if spell ="Healing*">
		<action type="equip" when="precast" set="Breathtrigger" />
		<aftercastdelay delay="2.5" />
		<action type="equip" when="midcast" set="WyvernHP" />
	</if>
	<if status="idle">
		<action type="equip" when="idle|aftercast" set="Idle" />
	</if>
</rules>
</spellcast>
 Odin.Drgg
Offline
サーバ: Odin
Game: FFXI
user: Seravolk
Posts: 265
By Odin.Drgg 2012-07-22 19:56:57  
Also, I've found that you NEVER want to include main/sub/ranged in your gear sets unless you have rules locking those slots when you have more than 1 TP.

Spellcast likes to randomly clear your TP when you gear swap otherwise.

If you don't have a piece of gear to go in a set slot, no need to put in "<ammo></ammo>" If you just want to keep your current ammo equip.

Code
   <if spell ="Stardiver">
        <equip when="precast" set="Star" />
    </if>
 

You want that to have a post-WS gear swap as well, to swap you back into your TP gear after you WS so make it...
(Same goes for all of your WS's and gear swap <if>'s, you want to have aftercast swaps back to your TP/Idle sets.)
Code
    <if spell ="Stardiver">
        <equip when="precast" set="Star" />
        <equip when="aftercast" set="YourTPSetHere" />
    </if>


Unneeded aftercast line here, even if it looks like the gear swaps before your wyvern heals, your wyvern still gets the stat changes.
Code
    <if spell ="Healing*">
        <action type="equip" when="precast" set="Breathtrigger" />
        <aftercastdelay delay="2.5" />
        <action type="equip" when="midcast" set="WyvernHP" />
    </if>
 Asura.Jaclyn
Offline
サーバ: Asura
Game: FFXI
Posts: 79
By Asura.Jaclyn 2012-07-22 21:44:57  
Thank you all for the help, it works now. I also made the changes a few of you suggested :D <3
 Asura.Jaclyn
Offline
サーバ: Asura
Game: FFXI
Posts: 79
By Asura.Jaclyn 2012-07-22 22:06:03  
Ok I just tried everything out and only 1 thing isn't working. My legs are not switching from Idle set to my TP set when i engage, how can i go about fixing this?
-Thanks.
 Leviathan.Celille
Offline
サーバ: Leviathan
Game: FFXI
user: Celille
Posts: 153
By Leviathan.Celille 2012-07-22 22:22:38  
You have nothing telling your spellcast to equip your TP set when you're engaged thats why. You probably want something like this to be simple.
Code
							<if status="engaged">
							<equip set="Standard TP|Default" when="engaged|aftercast"/>
							</if>
 Asura.Jaclyn
Offline
サーバ: Asura
Game: FFXI
Posts: 79
By Asura.Jaclyn 2012-07-23 00:38:46  
Yes, thank you Celille that works wonderfully! You guys are awesome, thank you all :)
Log in to post.