Map Creating Problem?

Re: Map Creating Problem?

Postby peterkap » 02 Aug 2011, 19:15

It did it again. Error from log:
----8/2/2011 2:06:09 PM ----
Type: XmlException
Source: System.Xml
Message: '0' is an unexpected token. The expected token is '"' or '''. Line 35, position 27.
Target: Throw
Trace: at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.Throw(String res, String[] args)
at System.Xml.XmlTextReaderImpl.ThrowUnexpectedToken(String expectedToken1, String expectedToken2)
at System.Xml.XmlTextReaderImpl.ParseAttributes()
at System.Xml.XmlTextReaderImpl.ParseElement()
at System.Xml.XmlTextReaderImpl.ParseElementContent()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace)
at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
at System.Xml.XmlDocument.Load(XmlReader reader)
at System.Xml.XmlDocument.Load(TextReader txtReader)
at MCDzienny.LavaSystem.LoadLavaMapsXML()
at MCDzienny.CmdSetLava.Use(Player p, String message)
at MCDzienny.Player.<>c__DisplayClass11.<HandleCommand>b__d()

-------------------------
Map.txt thing:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>

<!--For help visit http://mcdzienny.cba.pl and go to Help section.-->
<!--Lava maps list-->

<Maps>
<Map name="cube" phase1="0" phase2="0" author="">
<Source block="ahl" x="39" y="62" z="39" type="" delay="0" />
</Map>
<Map name="island" phase1="0" phase2="0" author="">
<Source block="ahl" x="39" y="63" z="39" type="" delay="0" />
</Map>
<Map name="lava_geyser" phase1="0" phase2="0" author="">
<Source block="ahl" x="0" y="63" z="63" type="" delay="0" />
</Map>
<Map name="bouda_metro" phase1="0" phase2="0" author="">
<Source block="ahl" x="39" y="63" z="39" type="" delay="0" />
</Map>
<Map name="pluto" phase1="0" phase2="0" author="">
<Source block="ahl" x="62" y="62" z="1" type="" delay="0" />
</Map>
<Map name="vulcano" phase1="0" phase2="0" author="">
<Source block="ahl" x="0" y="63" z="0" type="" delay="0" />
</Map>
<Map name="passage" phase1="0" phase2="0" author="">
<Source block="ahl" x="126" y="63" z="7" type="" delay="0" />
</Map>
<Map name="desert_well" phase1="0" phase2="0" author="">
<Source block="ahl" x="0" y="63" z="63" type="" delay="0" />
</Map>
<Map name="dark_cave" phase1="0" phase2="0" author="peterkap">
<Source block="ahl" x="127" y="34" z="63" type="" delay="0" />
</Map>
<Map name="sm_wonderland" phase1="0" phase2="0" author="TheSchiffelman">
<Source block="ahl" x=0" y="35" z="2" type="" delay="0" />
</Map>
</Maps>
[BlockCraft] Lava Survival/Zombie Survival
Thatssss A Nissse Everything You Have....
SSSsssss
User avatar
peterkap
 
Posts: 28
Joined: 31 Jul 2011, 00:15

Re: Map Creating Problem?

Postby g0d01w4r99 » 03 Aug 2011, 09:02

Oh dear, the error log is so obvious. I'm not fixing this for your lazy ass, all you had to do was run through the code and make sure you didn't miss a ". I already found the problem, but like I said, I'm not fixing this for your lazy ass. Do it yourself.
Image
User avatar
g0d01w4r99
 
Posts: 453
Joined: 09 May 2011, 13:05
Location: Behind you.

Re: Map Creating Problem?

Postby peterkap » 03 Aug 2011, 13:47

Found the error....My bad. :oops:
[BlockCraft] Lava Survival/Zombie Survival
Thatssss A Nissse Everything You Have....
SSSsssss
User avatar
peterkap
 
Posts: 28
Joined: 31 Jul 2011, 00:15

Previous

Return to Help

Who is online

Users browsing this forum: No registered users and 21 guests

cron