Page 2 of 2

Re: Lava Map problom

PostPosted: 28 Oct 2011, 02:20
by 94ge7j998
This is the error that was in the logs:

----10/27/2011 8:57:04 PM ----
Type: XmlException
Source: System.Xml
Message: The 'Map' start tag on line 31 does not match the end tag of 'Maps'. Line 33, position 3.
Target: Throw
Trace: at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.Throw(String res, String[] args)
at System.Xml.XmlTextReaderImpl.ThrowTagMismatch(NodeData startTag)
at System.Xml.XmlTextReaderImpl.ParseEndElement()
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.Server.Start()
at MCDzienny.Gui.Window.Window_Load(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at MCDzienny.Gui.Window.WndProc(Message& msg)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Re: Lava Map problom

PostPosted: 28 Oct 2011, 02:24
by HelloWorldCool
Ah I know your problem. I can probably fix it.

Is it possible for you to upload your lava folder?
Thanks ;)

Re: Lava Map problom

PostPosted: 28 Oct 2011, 03:13
by 94ge7j998
it sais i cant use txt extensions :(

Re: Lava Map problom

PostPosted: 28 Oct 2011, 03:17
by HelloWorldCool
???

Well my friend all you need to do is to zip all your "lava {folder}"
And upload it anywhere.

Example: http://www.nippyzip.com/

Re: Lava Map problom

PostPosted: 28 Oct 2011, 11:07
by 94ge7j998
ok lol im kinda stupid sometimes

Re: Lava Map problom

PostPosted: 29 Oct 2011, 04:11
by HelloWorldCool
lava.zip
This should solve your problem. Though if it does not then that would mean some of your maps may be corrupt. :D
(131.08 KiB) Downloaded 76 times


I hope this helps! If it doesn't please tell me. Error log may be needed.

Re: Lava Map problom

PostPosted: 29 Oct 2011, 23:23
by HelloWorldCool
I did a little testing myself and i got the same error message as you...Lol but now i know why it doesn't work :D
Code: Select all
Error Log:
-------------------------
----10/29/2011 6:11:08 PM ----
Type: XmlException
Source: System.Xml
Message: The 'Map' start tag on line 49 does not match the end tag of 'Maps'. Line 51, position 3.
Target: Throw
Trace:    at System.Xml.XmlTextReaderImpl.Throw(Exception e)
   at System.Xml.XmlTextReaderImpl.Throw(String res, String[] args)
   at System.Xml.XmlTextReaderImpl.ThrowTagMismatch(NodeData startTag)
   at System.Xml.XmlTextReaderImpl.ParseEndElement()
   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.Server.Start()
   at MCDzienny.Gui.Window.Window_Load(Object sender, EventArgs e)
   at System.Windows.Forms.Form.OnLoad(EventArgs e)
   at System.Windows.Forms.Form.OnCreateControl()
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.WmShowWindow(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ContainerControl.WndProc(Message& m)
   at System.Windows.Forms.Form.WmShowWindow(Message& m)
   at System.Windows.Forms.Form.WndProc(Message& m)
   at MCDzienny.Gui.Window.WndProc(Message& msg)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

-------------------------


Solution:
Code: Select all
<Maps>
  <Map name="Sphere" phase1="0" phase2="0" author="">
   <Source block="ahl" x="0" y="63" z="0" type="" delay="0" />
  </Map>
</Maps>


If you don't have the </map> then you get this error.

Re: Lava Map problom

PostPosted: 30 Oct 2011, 00:11
by 94ge7j998
YEAAAAAAA!!!!!!!!!
It worked thx a bunch

Re: Lava Map problom

PostPosted: 30 Oct 2011, 00:50
by HelloWorldCool
No Problem Man and thanks for the question.

Problem Solved.