Page 1 of 1

Config XML issues

Posted: August 6th, 2012, 6:56 am
by BloodlustXIII
So it won't let me run the Config without the config.xml but I don't have a config.xml in my files...any help?

Re: Config XML issues

Posted: August 6th, 2012, 8:38 am
by Hellenion
The ConfigGUI.exe should generate a config.xml when it's missing. It will show a warning, but it's perfectly fine to continue.

Does it not start at all? What error messages do you get?

Re: Config XML issues

Posted: August 6th, 2012, 9:57 am
by BloodlustXIII
It just crashes and asks if I want to send in an error report.

Re: Config XML issues

Posted: August 6th, 2012, 10:04 am
by Mark-b
BloodlustXIII wrote:It just crashes and asks if I want to send in an error report.
Are you sure you're opening "ConfigGUI" and not the "ServerGUI".

Re: Config XML issues

Posted: August 6th, 2012, 10:04 am
by BloodlustXIII
100% sure. the server itself runs just fine

Re: Config XML issues

Posted: August 6th, 2012, 11:57 am
by Hellenion
The error reports will not be handled shortly, but will still prove useful.

I generated the default 0.624 config.xml, see if that helps:
Show

Re: Config XML issues

Posted: August 6th, 2012, 9:36 pm
by BloodlustXIII
So now I get a completely blank error box, followed by a box that says that there's an unhandled exception. The drop-down on that says:
************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at fCraft.ConfigGUI.MainForm.UpdateChatPreview()
at fCraft.ConfigGUI.MainForm.ApplyTabChat()
at fCraft.ConfigGUI.MainForm.LoadConfig()
at fCraft.ConfigGUI.MainForm.OnShown(EventArgs e)
at System.Windows.Forms.Form.CallShownEvent()
at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
at System.Threading.ExecutionContext.runTryCode(Object userData)
at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
at System.Windows.Forms.Control.InvokeMarshaledCallbacks()
If I hit continue on that, though, config seems to run fine.

Re: Config XML issues

Posted: August 7th, 2012, 4:58 am
by fragmer
I'll check the crash report database, maybe that'll shed some light on the technical causes for this crash.

Re: Config XML issues

Posted: August 7th, 2012, 5:36 am
by BloodlustXIII
Thanks.

Re: Config XML issues

Posted: August 9th, 2012, 11:18 pm
by BloodlustXIII
so I know I said that it would let me load it after a couple of errors but once I tried to set things, it wouldn't let me save the settings.