Manic Digger

It is currently Fri Apr 25, 2014 8:04 am

All times are UTC




Post new topic Reply to topic  [ 14 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: I Cant Join My Own Server
PostPosted: Wed Aug 22, 2012 12:40 am 
Offline

Joined: Wed Jul 11, 2012 9:32 pm
Posts: 55
Everytime I try to login in my own server it say:



System.ArgumentException: Parameter is not valid.
at System.Drawing.Bitmap..ctor(Int32 width, Int32 height, PixelFormat format)
at System.Drawing.Bitmap..ctor(Int32 width, Int32 height)
at ManicDigger.Renderers.TextRenderer.MakeTextTexture(Text t)
at ManicDigger.The3d.MakeTextTexture(Text t)
at ManicDigger.The3d.Draw2dText(String text, Single x, Single y, Single fontsize, Nullable`1 color, Boolean enabledepthtest)
at ManicDigger.The3d.Draw2dText(String text, Single x, Single y, Single fontsize, Nullable`1 color)
at ManicDigger.Gui.HudChat.DrawChatLines(Boolean all)
at ManicDigger.ManicDiggerGameWindow.Draw2d()
at ManicDigger.ManicDiggerGameWindow.OnRenderFrame(FrameEventArgs e)
at ManicDigger.GlWindow.OnRenderFrame(FrameEventArgs e)
at OpenTK.GameWindow.OnRenderFrameInternal(FrameEventArgs e)
at OpenTK.GameWindow.RaiseRenderFrame(Stopwatch render_watch, Double& next_render, FrameEventArgs render_args)
at OpenTK.GameWindow.Run(Double updates_per_second, Double frames_per_second)
at OpenTK.GameWindow.Run()
at ManicDigger.ManicDiggerGameWindow.Run()
at GameModeFortress.ManicDiggerProgram.StartGameWindowAndConnect(Boolean issingleplayer, ConnectData connectdata, String singleplayersavepath)
at GameModeFortress.ManicDiggerProgram.Start(String[] args)
at GameModeFortress.ManicDiggerProgram.<>c__DisplayClass2.<.ctor>b__0()
at ManicDigger.CrashReporter.Start(ThreadStart start)


but i can still join other servers that arent mine for some reason so only a problem in joining my server


Top
 Profile  
 
 Post subject: Re: I Cant Join My Own Server
PostPosted: Wed Aug 22, 2012 1:09 am 
Offline
Site Admin

Joined: Mon Jun 21, 2010 12:02 pm
Posts: 390
I have the same problem when connecting to your server.

If you start server again I can connect with debugger and test more.


Top
 Profile  
 
 Post subject: Re: I Cant Join My Own Server
PostPosted: Wed Aug 22, 2012 2:11 am 
Offline

Joined: Wed Jul 11, 2012 9:32 pm
Posts: 55
im starting it


Top
 Profile  
 
 Post subject: Re: I Cant Join My Own Server
PostPosted: Wed Aug 22, 2012 2:19 am 
Offline

Joined: Wed Jul 11, 2012 9:32 pm
Posts: 55
now it says error xml document in 10,4


Top
 Profile  
 
 Post subject: Re: I Cant Join My Own Server
PostPosted: Wed Aug 22, 2012 2:21 am 
Offline

Joined: Wed Jul 11, 2012 9:32 pm
Posts: 55
daniel7682 wrote:
now it says error xml document in 10,4

something like that


Top
 Profile  
 
 Post subject: Re: I Cant Join My Own Server
PostPosted: Wed Aug 22, 2012 2:23 am 
Offline

Joined: Wed Jul 11, 2012 9:32 pm
Posts: 55
this is what it says on mine now:


System.InvalidOperationException: There is an error in XML document (10, 4). ---> System.FormatException: Input string was not in a correct format.
at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
at System.Xml.XmlConvert.ToInt32(String s)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderOptions.Read2_Options(Boolean isNullable, Boolean checkType)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderOptions.Read3_Options()
--- End of inner exception stack trace ---
at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
at System.Xml.Serialization.XmlSerializer.Deserialize(TextReader textReader)
at ManicDigger.ManicDiggerGameWindow.LoadOptions()
at ManicDigger.ManicDiggerGameWindow.Connect()
at ManicDigger.ManicDiggerGameWindow.OnRenderFrame(FrameEventArgs e)
at ManicDigger.GlWindow.OnRenderFrame(FrameEventArgs e)
at OpenTK.GameWindow.OnRenderFrameInternal(FrameEventArgs e)
at OpenTK.GameWindow.RaiseRenderFrame(Stopwatch render_watch, Double& next_render, FrameEventArgs render_args)
at OpenTK.GameWindow.Run(Double updates_per_second, Double frames_per_second)
at OpenTK.GameWindow.Run()
at ManicDigger.ManicDiggerGameWindow.Run()
at GameModeFortress.ManicDiggerProgram.StartGameWindowAndConnect(Boolean issingleplayer, ConnectData connectdata, String singleplayersavepath)
at GameModeFortress.ManicDiggerProgram.Start(String[] args)
at GameModeFortress.ManicDiggerProgram.<>c__DisplayClass2.<.ctor>b__0()
at ManicDigger.CrashReporter.Start(ThreadStart start)


Top
 Profile  
 
 Post subject: Re: I Cant Join My Own Server
PostPosted: Wed Aug 22, 2012 2:23 am 
Offline
Site Admin

Joined: Mon Jun 21, 2010 12:02 pm
Posts: 390
The problem is that server sends this chat line:
Code:
&2

It crashes client because text bitmap can't be 0x0 pixels. I fixed client but it will be only in next nightly.

Maybe you have an empty username in config?

Quote:
System.InvalidOperationException: There is an error in XML document (10, 4). ---> System.FormatException: Input string was not in a correct format.

This is a different problem. ClientConfig.txt file is corrupted. Delete it.


Top
 Profile  
 
 Post subject: Re: I Cant Join My Own Server
PostPosted: Wed Aug 22, 2012 2:25 am 
Offline

Joined: Wed Jul 11, 2012 9:32 pm
Posts: 55
will it help if i reinstall


Top
 Profile  
 
 Post subject: Re: I Cant Join My Own Server
PostPosted: Wed Aug 22, 2012 2:27 am 
Offline

Joined: Wed Jul 11, 2012 9:32 pm
Posts: 55
in welcome back message it only has

<WelcomeMessage />


do i fix that


Top
 Profile  
 
 Post subject: Re: I Cant Join My Own Server
PostPosted: Wed Aug 22, 2012 2:27 am 
Offline

Joined: Wed Jul 11, 2012 9:32 pm
Posts: 55
daniel7682 wrote:
in welcome back message it only has

<WelcomeMessage />


do i fix that



or leave it


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 14 posts ]  Go to page 1, 2  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group