Xml What Am I Doin Wrong

Eorzea Time
 
 
 
Language: JP EN FR DE
Version 3.1
New Items
users online
Forum » FFXI » General » xml what am i doin wrong
xml what am i doin wrong
Offline
Posts: 57
By Sylarx 2012-07-17 13:46:24
Link | Quote | Reply
 
I figured I'd learn spell cast for more then skilling up magic. don't really know anything about it xml or spellcast, but willing to learn and i do have skype. Thats it your willing to help.
i am getting a xml persing error line 14 error reading end tag

<?xml version="1.0" ?>
<spellcast xmlns:xi="http://www.w3.org/2001/XInclude">
<config
RequireVersion="2.4"
Debug="true"
HideErrors="false"
ShowGearSwaps="False"
veriablessclear="yes"
normalgroup="NIN"
normalset="main"/>
<variables>
</variables>
<sets>
</group name="NIN" default="yes">
<set name="Idle" baseset="main">
<ammo>Qirmiz Tathlum</ammo>
<head>Iga zukin +2</head>
<body>Iga Ningi +2</body>
<hands>Iga tekko +2</hands>
<legs>Iga hakama +2</legs>
<feet>Danzo sune-ate</feet>
<back>Iga Dochugappa</back>
<neck>Iga erimaki</neck>
<waist>twilight belt</waist>
<lear>Suppanomimi</lear>
<rear>brutal earring</rear>
<lring>epona's ring</lring>
<rring>rajas ring</rring>

</set>
<set name="melee">
<ammo>Qirmiz Tathlum</ammo>
<head>Iga zukin +2</head>
<body>Koga chainmail +2</body>
<hands>koga tekko +2</hands>
<legs>Iga hakama +2</legs>
<feet>Iga kyahan +2</feet>
<back>atheling mantle</back>
<neck>Iga erimaki</neck>
<waist>twilight belt</waist>
<lear>Suppanomimi</lear>
<rear>brutal earring</rear>
<lring>epona's ring</lring>
<rring>rajas ring</rring>
</set>
<set name="weaponskill">
<ammo>Qirmiz Tathlum</ammo>
<head>Ocelomeh headpiece</head>
<body>loki's kaftan</body>
<hands>seiryu's kote</hands>
<legs>ambusher's hose</legs>
<feet>hachiryu sune-ate</feet>
<back>atheling mantle</back>
<neck>soil gorget</neck>
<waist>soil belt</waist>
<lear>Suppanomimi</lear>
<rear>brutal earring</rear>
<lring>epona's ring</lring>
<rring>stormsoul ring</rring>
</set>

<set name="blink">
<neck>Magoraga bead necklace</neck>
<ammo>Qirmiz Tathlum</ammo>
<head>Iga zukin +2</head>
<body>Koga chainmail +2</body>
<hands>koga tekko +2</hands>
<legs>Iga hakama +2</legs>
<feet>Iga kyahan +2</feet>
<back>atheling mantle</back>
<waist>twilight belt</waist>
<lear>Suppanomimi</lear>
<rear>brutal earring</rear>
<lring>epona's ring</lring>
<rring>rajas ring</rring>
</set>
</group>
</sets>
<rules>
<action when="idle" type="equip" set="idle"/>
<action when="engageded" type="equip" set="melee"/>
<if type="Weaponskill" nottplt="100">
<action type="castdelay" delay=".2"/>
<action when="equip" when="precast" set="weaponskill"/>
</if>
<if spell="utsusemi :ni"
<action type="castdelay" delay=".2"/>
<action when="equip" when="precast" set="blink"/>
<if spell="utsusemi :ichi"
<action type="castdelay" delay=".2"/>
<action when="equip" when="precast" set="blink"/>
</if>
</rules>
</spellcast>
 Quetzalcoatl.Dova
Offline
Server: Quetzalcoatl
Game: FFXI
user: dova
Posts: 567
By Quetzalcoatl.Dova 2012-07-17 13:52:48
Link | Quote | Reply
 
This
<if type="Weaponskill" nottplt="100"
<action type="castdelay" delay=".2"
<action type="equip" when precast" set="blade hi" />
<if type="utsusemi"
<action type="castdelay" delay=".2"
<action type="equip" when precast" set="blink" />

Should be this I think
<if type="Weaponskill" nottplt="100">
<action type="castdelay" delay=".2"/>
<action type="equip" when precast" set="blade hi" />
</if>
<if spell="utsusemi*">
<action type="castdelay" delay=".2"/>
<action type="equip" when precast" set="blink" />
</if>

Other than that I have no idea what you are actually asking what is wrong
 Quetzalcoatl.Dova
Offline
Server: Quetzalcoatl
Game: FFXI
user: dova
Posts: 567
By Quetzalcoatl.Dova 2012-07-17 13:55:20
Link | Quote | Reply
 
Meh just use this. Its nothing spectacular but if you fiddle through it it'll make sense and get you through your day
Offline
Posts: 57
By Sylarx 2012-07-17 13:55:45
Link | Quote | Reply
 
i am getting a parsing error 27
 Quetzalcoatl.Dova
Offline
Server: Quetzalcoatl
Game: FFXI
user: dova
Posts: 567
By Quetzalcoatl.Dova 2012-07-17 13:57:05
Link | Quote | Reply
 
Sylarx said: »
i am getting a parsing error 27
Oh. All of your equipment tags gotta end with </slot>.

Like....

<head>Ocelomeh headpiece</head>
Offline
Posts: 57
By Sylarx 2012-07-17 14:07:44
Link | Quote | Reply
 
parsing 81 now
Offline
Posts: 57
By Sylarx 2012-07-17 14:08:35
Link | Quote | Reply
 
The thing that gets me the most is tabbing a spacing does it matter as well?
 Quetzalcoatl.Dova
Offline
Server: Quetzalcoatl
Game: FFXI
user: dova
Posts: 567
By Quetzalcoatl.Dova 2012-07-17 14:13:14
Link | Quote | Reply
 
Sylarx said: »
The thing that gets me the most is tabbing a spacing does it matter as well?
Not really.

And line 80 needs to end with />
Offline
Posts: 57
By Sylarx 2012-07-17 14:18:18
Link | Quote | Reply
 
yea it say parsing 81 error reading attributes
Offline
Posts: 57
By Sylarx 2012-07-17 14:29:05
Link | Quote | Reply
 
ok i fixed 81 and under and now it back to line 0 i forgot ="precast" wasn't right. I missed the ="
Offline
Posts: 5
By Gusteau 2012-07-17 14:59:28
Link | Quote | Reply
 
Just glancing at your xml, I am seeing some spelling errors. For instance, your Suppa earring is misspelled. The xml can be coded perfectly,but if your gear is misspelled,it won't matter.Food for thought.