Full Version : Quest Error...
xmlspawner >>Troubleshooting >>Quest Error...


<< Prev | Next >>

Vix- 12-29-2005
Ok did a test npcquest to make sure i get the hang of it...
did the tutorial that GodFood was so kind to send me word for word... and it all worked great except for the Action area..here is the error i got...



http://img524.imageshack.us/my.php?image=n...esterror6jk.jpg




Oh, and there was no book given. now do i need to also make the quest in the book as well?

ArteGordon- 12-29-2005
that error is because of the way in which special html chars are handled in the XML .npc file.
The < char is turned into &lt; and the > char is turned into &gt;

You need to use the special html codes (&lt; or &gt;) if you are directly editing the .npc files with a text editor.

If you are entering the strings into the [xlmedit gump, then use the actual <> chars.

So just use [xmledit to edit the Action string and replace the &lt; with < and &gt; with >

godfood- 12-29-2005
I think I got it.

Did you put this: xmlspawner/unchecked2.gif ADD/&lt;questholder/name/Kill Bobo/notestring/Bobo must go. Find him and kill him/objective1/KILLNAMED,Bobo,1/autoreward/true/rewardstring/@bag/ADD/gold,200

Instead of this: xmlspawner/Checked2.gif GIVE/<questholder/name/Kill Bobo/notestring/Bobo must go. Find him and kill him/objective1/KILLNAMED,Bobo,1/autoreward/true/rewardstring/@bag/ADD/gold,200


The second one is the correct one. I think you just mixed up the ADD and GIVE commands.

xmlspawner/off2.gif Edit: It could also be what Arte said biggrin.gif xmlspawner/off2.gif

Vix- 12-29-2005
lol now i get the same error just without the &1t its just .questholder

godfood- 12-29-2005
We could really use a screenshot of the string you are having error's with.

Vix- 12-29-2005
Here ya go!

[img=http://img342.imageshack.us/img342/1786/npcquesterror21ra.th.jpg]



[img=http://img342.imageshack.us/img342/8942/npcquesterror39qa.th.jpg]

godfood- 12-29-2005
Image Shack seems to have shrunk it down, I can't read any of the text. If it's under 500k you can add it to your post as an attachment.

Vix- 12-29-2005
kk now take a peek

Zyle- 12-29-2005
Have you tried removing the comma before questholder?
Your line starts:
xmlspawner/right22.gif GIVE/<,questholder/name
and I think it should be:
xmlspawner/right22.gif GIVE/<questholder/name

edit: or it might be a period you've got there, I can't tell wink.gif Either way, try ditching it smile.gif

godfood- 12-29-2005
You should save your npc the way it says to on page 6 and attach it to your next post so i can look at that one. (If Zyle's suggestion doesn't fix it. Good eye zyle wink.gif ). I just tried to recreate your quest and it worked fine.

Vix- 12-29-2005
W xmlspawner/on2.gif xmlspawner/off2.gif T Ty!!! *kicks the npc in the shins grumbleing* could have told me this! *Hooks the Npc to the chair and flips the xmlspawner/switch2.gif *