Config XML issues

Post here to get help with using or setting up fCraft
Post Reply
BloodlustXIII
Offline
Posts: 14
Joined: January 17th, 2012, 3:42 am

Config XML issues

Post 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?

User avatar
Hellenion
Offline
Posts: 220
Joined: October 20th, 2011, 9:20 am
Location: Subnet
Contact:

Re: Config XML issues

Post 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?
A = {x ∈ P(U) | x ∉ x}
Mods:
  1. /Su - Allows players to temporarily become a different rank
  2. /Snap - Like /Line but only draws straight or diagonal lines.
  3. pre-0.630 skip/none block

BloodlustXIII
Offline
Posts: 14
Joined: January 17th, 2012, 3:42 am

Re: Config XML issues

Post by BloodlustXIII »

It just crashes and asks if I want to send in an error report.

User avatar
Mark-b
Offline
Posts: 53
Joined: May 26th, 2011, 9:18 pm

Re: Config XML issues

Post 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".

BloodlustXIII
Offline
Posts: 14
Joined: January 17th, 2012, 3:42 am

Re: Config XML issues

Post by BloodlustXIII »

100% sure. the server itself runs just fine

User avatar
Hellenion
Offline
Posts: 220
Joined: October 20th, 2011, 9:20 am
Location: Subnet
Contact:

Re: Config XML issues

Post 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
A = {x ∈ P(U) | x ∉ x}
Mods:
  1. /Su - Allows players to temporarily become a different rank
  2. /Snap - Like /Line but only draws straight or diagonal lines.
  3. pre-0.630 skip/none block

BloodlustXIII
Offline
Posts: 14
Joined: January 17th, 2012, 3:42 am

Re: Config XML issues

Post 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.

User avatar
fragmer
fCraft Developer
Offline
Posts: 1386
Joined: May 21st, 2011, 10:53 pm

Re: Config XML issues

Post by fragmer »

I'll check the crash report database, maybe that'll shed some light on the technical causes for this crash.

BloodlustXIII
Offline
Posts: 14
Joined: January 17th, 2012, 3:42 am

Re: Config XML issues

Post by BloodlustXIII »

Thanks.

BloodlustXIII
Offline
Posts: 14
Joined: January 17th, 2012, 3:42 am

Re: Config XML issues

Post 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.

Post Reply