Spellcast Error

Language: JP EN DE FR
New Items
2023-11-19
users online
Forum » FFXI » General » Spellcast Error
Spellcast Error
Offline
Posts: 4
By Obsidion1418 2010-11-06 03:52:01
Link | Quote | Reply
 
[1:39:17 AM] 2008:<0> Writing to Console: SpellCast: XML Parsing Error: line 102 - Error reading end tag.
[1:39:17 AM] 2008:<0> [ERROR] Document is not valid.

Is the error I keep getting. Spellcast will load, but the document itself will not load. Spellcast and the default file that should be in the SpellCast Folder will not appear in the folder at all.
Offline
Posts: 282
By Damiyen 2010-11-06 04:18:52
Link | Quote | Reply
 
Me and obsidian have tried for atleast 5hours trying to get his spellcast to load properly and I am completly out of ideas. Anyone with any experience with this issue would be greatly appreciated, and/or someone w/ much better knowledge of spellcast.

Things we have tried

Updating windows completely through microsoft autoupdate
Installing/updating .netframework
Running Windower in admin mode

I have personally tested the rdm.xml file on my machine and it works perfectly so the problem lies within his computers ability to read/load the xml file only.


 Sylph.Hitetsu
Offline
Server: Sylph
Game: FFXI
user: Hitetsu
Posts: 2617
By Sylph.Hitetsu 2010-11-06 04:25:24
Link | Quote | Reply
 
Could be the xml file itself version depending.

V2.2x and 2.3x use different syntax, so files created and run for a 2.2x spellcast won't work on 2.3x and vice-versa.

I'm headed to work in a couple of minutes, so unfortunately I won't be able to help out much for the next few hours. Hope you work out what's wrong though =)
Offline
Posts: 282
By Damiyen 2010-11-06 04:34:35
Link | Quote | Reply
 
I'm not amazing with spellcast but the 1st few lines of the xml document are

<?xml version="1.0" ?>
<spellcast>
<config
requireversion = "2.20"
showgearswaps = "False"
showspellinfo = "False"
/>

I hope thats relavent

He also has the spellcast update from Enygma's thread

 Fenrir.Nightfyre
Offline
Server: Fenrir
Game: FFXI
user: Nightfyre
Posts: 11680
By Fenrir.Nightfyre 2010-11-06 04:43:15
Link | Quote | Reply
 
Would help if you posted the actual file.

EDIT: 2.20? Jesus christ, there's at least one of your problems...
[+]
Offline
Posts: 282
By Damiyen 2010-11-06 04:51:07
Link | Quote | Reply
 
the problem isnt with the file, It works on 2 of my machines

you want me to post the entire file displaying every single gear swap?
I promise its not the issue
Offline
Posts: 282
By Damiyen 2010-11-06 04:53:04
Link | Quote | Reply
 
<?xml version="1.0" ?>
<spellcast>
<config
requireversion = "2.20"
showgearswaps = "False"
showspellinfo = "False"
/>
<sets>
<group name="RDM_Default" default="yes">
<set name="Standard|Idle">
<range></range>
<main>Teiwaz</main>
<sub>Raptor leather strap +1</sub>
<ammo>Clarus stone</ammo>
<head>Duelist's chapeau</head>
<neck>Jeweled collar</neck>
<lear>Loquacious earring</lear>
<rear>Quantz's earring</rear>
<body>Dalmatica</body>
<hands>Teal cuffs</hands>
<lring>Omega ring</lring>
<rring>Solemn ring</rring>
<back>Sunbeam cape</back>
<waist>Austerity belt</waist>
<legs>Blood Cuisses</legs>
<feet>Teal pigaches</feet>
</set>
<set name="Buffs" BaseSet="Standard">
<main>Light staff</main>
<head>Warlock's chapeau +1</head>
<body>Duelist's tabard</body>
<hands>Duelist's gloves +1</hands>
<legs>Warlock's tights</legs>
</set>
<set name="Dark" Baseset="Standard">
<head>Warlock's chapeau +1</head>
<body>Errant houppelande</body>
<waist>Cognition belt</waist>
<hands>Blood finger gauntlets</hands>
<neck>Dark torque</neck>
<rring>Diamond ring</rring>
<legs>Teal slops</legs>
<feet>Goliard clogs</feet>
</set>
<set name="ENFMND" BaseSet="Standard">
<head>Duelist's cheapeau</head>
<neck>Spider torque</neck>
<body>Warlock's tabard +1</body>
<hands>Enkidu's Mittens</hands>
<back>Altruistic cape</back>
<legs>Nashira seraweels</legs>
</set>
<set name="ENFINT" BaseSet="Standard">
<head>Duelist's cheapeau</head>
<neck>Spider torque</neck>
<body>Warlock's tabard +1</body>
<hands>Duelist's gloves +1</hands>
<rring>Diamond ring</rring>
<back>Altruistic cape</back>
<waist>cognition belt</waist>
<legs>Nashira seraweels</legs>
<feet>Goliard clogs</feet>
</set>
<set name="Nuke" BaseSet="Standard">
<head>Estoqueur's chappel +1</head>
<neck>Elemental torque</neck>
<rear>Moldavite earring</rear>
<body>Errant Houppelande</body>
<hands>Zenith mitts</hands>
<rring>Diamond ring</rring>
<back>Sunbeam Cape</back>
<waist>Cognition belt</waist>
<legs>Teal slops</legs>
<feet>Goliard clogs</feet>
</set>
<set name="Rest" BaseSet="Standard">
<neck>Eidolon pendant</neck>
<lear>Relaxing earring</lear>
<rear>Antivenom earring</rear>
<body>Warlock's tabard +1</body>
<back>Felicitas cape</back>
<legs>Sagacity lappas</legs>
<feet>Goliard clogs</feet>
</set>
<set name="Fast" BaseSet="Standard">
<head>Warlock's chapeau +1</head>
<body>Duelist's tabard</body>
<hands>Dusk gloves</hands>
<waist>Velocious belt</waist>
<legs>Nashira seraweels</legs>
<feet>Nashira crackows</feet>
</set>
<set name="ENFFAST" BaseSet="Standard">
<head>Warlock's chapeau +1</head>
<body>Duelist's tabard</body>
<neck>Spider torque</neck>
<waist>Cognition belt</waist>
<feet>Goliard clogs</feet>
<back>Altruistic cape</back>
<rring>Diamond ring</rring>
</set>
</spellcast>
Offline
Posts: 282
By Damiyen 2010-11-06 04:53:54
Link | Quote | Reply
 
this isnt advanced stuff we're trying to do here

we just want it to load
 Valefor.Brainchild
Offline
Server: Valefor
Game: FFXI
Posts: 4
By Valefor.Brainchild 2010-11-06 05:45:46
Link | Quote | Reply
 
From what I'm seeing you are ending your spellcast with the </spellcast> therefor its not going to work because you have no rules set up for the gearswaps </spellcast> should be the very last thing in the script. However I am no expert so I may very well be wrong.
 Sylph.Feary
Offline
Server: Sylph
Game: FFXI
user: feary
Posts: 455
By Sylph.Feary 2010-11-06 05:56:29
Link | Quote | Reply
 
Code
<?xml version="1.0" ?>
<spellcast>
<config
requireversion = "2.20"
showgearswaps = "False"
showspellinfo = "False"
/>
<sets>
<group name="RDM_Default" default="yes">
<set name="Standard|Idle">
<range></range>
<main>Teiwaz</main>
<sub>Raptor leather strap +1</sub>
<ammo>Clarus stone</ammo>
<head>Duelist's chapeau</head>
<neck>Jeweled collar</neck>
<lear>Loquacious earring</lear>
<rear>Quantz's earring</rear>
<body>Dalmatica</body>
<hands>Teal cuffs</hands>
<lring>Omega ring</lring>
<rring>Solemn ring</rring>
<back>Sunbeam cape</back>
<waist>Austerity belt</waist>
<legs>Blood Cuisses</legs>
<feet>Teal pigaches</feet>
</set>
<set name="Buffs" BaseSet="Standard">
<main>Light staff</main>
<head>Warlock's chapeau +1</head>
<body>Duelist's tabard</body>
<hands>Duelist's gloves +1</hands>
<legs>Warlock's tights</legs>
</set>
<set name="Dark" Baseset="Standard">
<head>Warlock's chapeau +1</head>
<body>Errant houppelande</body>
<waist>Cognition belt</waist>
<hands>Blood finger gauntlets</hands>
<neck>Dark torque</neck>
<rring>Diamond ring</rring>
<legs>Teal slops</legs>
<feet>Goliard clogs</feet>
</set>
<set name="ENFMND" BaseSet="Standard">
<head>Duelist's cheapeau</head>
<neck>Spider torque</neck>
<body>Warlock's tabard +1</body>
<hands>Enkidu's Mittens</hands>
<back>Altruistic cape</back>
<legs>Nashira seraweels</legs>
</set>
<set name="ENFINT" BaseSet="Standard">
<head>Duelist's cheapeau</head>
<neck>Spider torque</neck>
<body>Warlock's tabard +1</body>
<hands>Duelist's gloves +1</hands>
<rring>Diamond ring</rring>
<back>Altruistic cape</back>
<waist>cognition belt</waist>
<legs>Nashira seraweels</legs>
<feet>Goliard clogs</feet>
</set>
<set name="Nuke" BaseSet="Standard">
<head>Estoqueur's chappel +1</head>
<neck>Elemental torque</neck>
<rear>Moldavite earring</rear>
<body>Errant Houppelande</body>
<hands>Zenith mitts</hands>
<rring>Diamond ring</rring>
<back>Sunbeam Cape</back>
<waist>Cognition belt</waist>
<legs>Teal slops</legs>
<feet>Goliard clogs</feet>
</set>
<set name="Rest" BaseSet="Standard">
<neck>Eidolon pendant</neck>
<lear>Relaxing earring</lear>
<rear>Antivenom earring</rear>
<body>Warlock's tabard +1</body>
<back>Felicitas cape</back>
<legs>Sagacity lappas</legs>
<feet>Goliard clogs</feet>
</set>
<set name="Fast" BaseSet="Standard">
<head>Warlock's chapeau +1</head>
<body>Duelist's tabard</body>
<hands>Dusk gloves</hands>
<waist>Velocious belt</waist>
<legs>Nashira seraweels</legs>
<feet>Nashira crackows</feet>
</set>
<set name="ENFFAST" BaseSet="Standard">
<head>Warlock's chapeau +1</head>
<body>Duelist's tabard</body>
<neck>Spider torque</neck>
<waist>Cognition belt</waist>
<feet>Goliard clogs</feet>
<back>Altruistic cape</back>
<rring>Diamond ring</rring>
</set>
</group>
</sets>
</spellcast>


try that.
 Fenrir.Nightfyre
Offline
Server: Fenrir
Game: FFXI
user: Nightfyre
Posts: 11680
By Fenrir.Nightfyre 2010-11-06 06:26:15
Link | Quote | Reply
 
^that. Error reading end tag means you have an improperly closed tag, whether misspelled or in this case not closed at all.

Quote:
you want me to post the entire file displaying every single gear swap?
I promise its not the issue
Generally can't help with an error at line 102 when you only post the first 6 lines. And it evidently was the issue...

Also, for future reference the forum has spoiler tags.
[+]
Offline
Posts: 38
By Maahes 2010-11-06 07:28:32
Link | Quote | Reply
 
http://www.w3schools.com/xml/xml_validator.asp
http://www.xmlvalidation.com/

Couple of handy xml test tools for this kind of thing, I debug a few friends spellcasts now and again and usually misspelt/typed/ordered tags are the biggest cause
Offline
Posts: 4
By Obsidion1418 2010-11-06 12:08:12
Link | Quote | Reply
 
What I don't understand is, it'll work on Dami's comp, but not mine, doesn't that mean something on my end is blocking the spellcast folder to load right by not putting the default and spellcast dcoument into the folder, making it not read my RDM.xml file?
 Quetzalcoatl.Giazz
Offline
Server: Quetzalcoatl
Game: FFXI
user: Gias
Posts: 1308
By Quetzalcoatl.Giazz 2010-11-06 12:33:47
Link | Quote | Reply
 
what version of spellcast are you using?

I recommend getting the latest version. (2.32 last I checked)

Also, make sure you update your resources files

There's an XML tools plugin that you can download for Notepad++ as well. This gives you an option in the menu under plugins, named "XML tools" ...which you can use to check for xml syntax errors (it also gives you other options for xml editing though). It tells you what lines have the errors, or if no mistakes or errors are found... it will say "No errors detected."

Although, I suppose Firefox could work too.

Also, note that 2.22 code will not work on spellcast 2.3X+ ...since the syntax/format is different.

However, this tool is helpful for upgrading your 2.22 code/format xml files to 2.30+ format.

http://windower.net/plugins/spellcastupdatexml.php
Offline
Posts: 282
By Damiyen 2010-11-06 12:53:12
Link | Quote | Reply
 
Perhaps the issues lies within his computer itself and not anything related to spellcast
 Quetzalcoatl.Giazz
Offline
Server: Quetzalcoatl
Game: FFXI
user: Gias
Posts: 1308
By Quetzalcoatl.Giazz 2010-11-06 12:59:21
Link | Quote | Reply
 
Damiyen said:
Perhaps the issues lies within his computer itself and not anything related to spellcast

Well judging from the following:

Obsidion1418 said:
[1:39:17 AM] 2008:<0> Writing to Console: SpellCast: XML Parsing Error: line 102 - Error reading end tag.
[1:39:17 AM] 2008:<0> [ERROR] Document is not valid.

Is the error I keep getting. Spellcast will load, but the document itself will not load. Spellcast and the default file that should be in the SpellCast Folder will not appear in the folder at all.

Spellcast is definitely attempting to read the file. It's just that it is finding syntax errors...

Are you sure that you copied it right when you copied the xml file from one PC to the other? You must keep the right format etc.
Offline
Posts: 282
By Damiyen 2010-11-06 14:15:30
Link | Quote | Reply
 
Yea we've been transfering the files through aol instant messanger and the files are exactly the same on the 2 of my computers as well as his computers.

Offline
Posts: 282
By Damiyen 2010-11-06 14:36:13
Link | Quote | Reply
 
Thank you Feary and nightfire for your solution It did actually end up fixing the issue

Its crazy how mine works w/o even needing those last lines, but i could care less at the moment

Sorry for my ignorance
Offline
Posts: 4
By Obsidion1418 2010-11-06 14:38:10
Link | Quote | Reply
 
Thank everyone for all your help, my friend and I have finally found the problem. The problem was fixed by using the added lines at the end of the document.
necroskull Necro Bump Detected! [495 days between previous and next post]
 Bahamut.Dannyl
Offline
Server: Bahamut
Game: FFXI
user: dannyl
Posts: 1548
By Bahamut.Dannyl 2012-03-15 18:33:03
Link | Quote | Reply
 
@.@ amazing how some of you folks have the patience

holy crap, how did I necro this =0 sorry lol wasn't me I swear
[+]
 Siren.Kalilla
VIP
Offline
Server: Siren
Game: FFXI
user: Kalila
Posts: 14552
By Siren.Kalilla 2012-03-15 18:33:52
Link | Quote | Reply
 
:X! Dannyl <.<;
 Bahamut.Dannyl
Offline
Server: Bahamut
Game: FFXI
user: dannyl
Posts: 1548
By Bahamut.Dannyl 2012-03-15 18:34:24
Link | Quote | Reply
 
I was setup and framed

/runs and hides
[+]
Log in to post.