[RESOLVED] fCraftConsole isnt working (help ASAP)

Fixed bugs, solved problems, and old reports.
Locked
roblikescake
Offline
Posts: 43
Joined: August 20th, 2011, 3:34 am

[RESOLVED] fCraftConsole isnt working (help ASAP)

Post by roblikescake »

So my server "24/7 Project Evolution has been up all day. I got home and no one was on the server at the time. For some reason my laptop froze. So i shut it down and powered it back up. I went to where i have the fCraft files and started the autolauncher, fCraftConsole started up and then i got this message "fCraftConsole has encountered a problem and needs to close. We are sorry for the inconvenience." I dont understand at all why its doing this. Now my server is temporarily down. Please fragmer or anyone help me! So many people are disappointed right now :( if you need any more information about it just ask

roblikescake
Offline
Posts: 43
Joined: August 20th, 2011, 3:34 am

Re: fCraftConsole isnt working (help ASAP)

Post by roblikescake »

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.FormatException: Invalid PlayerDB file format.
at fCraft.PlayerDB.IdentifyFormatVersion(String header)
at fCraft.PlayerDB.Load()
at fCraft.Server.InitServer()
at fCraftUI.MainForm.StartUp(Object sender, EventArgs a)
at System.Windows.Forms.Form.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()


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3623 (GDR.050727-3600)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
fCraftUI
Assembly Version: 0.5.3.3
Win32 Version: 0.5.3.3
CodeBase: file:///C:/Documents%20and%20Settings/Robert/Desktop/Server%20Software/fCraftUI.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3623 (GDR.050727-3600)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3624 (GDR.050727-3600)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
fCraft
Assembly Version: 0.5.3.3
Win32 Version: 0.5.3.3
CodeBase: file:///C:/Documents%20and%20Settings/Robert/Desktop/Server%20Software/fCraft.DLL
----------------------------------------
System.Core
Assembly Version: 3.5.0.0
Win32 Version: 3.5.30729.1 built by: SP
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3082 (QFE.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Xml.Linq
Assembly Version: 3.5.0.0
Win32 Version: 3.5.30729.1 built by: SP
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml.Linq/3.5.0.0__b77a5c561934e089/System.Xml.Linq.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.





I tried to open my server by using the fCraft UI and i got a message saying "Invalid PlayerDB file format" and i clicked more details and all of that showed up.

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

Re: fCraftConsole isnt working (help ASAP)

Post by fragmer »

Looks like your player database file got corrupted, probably due to the freeze. I hope you've got backups!

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

Re: fCraftConsole isnt working (help ASAP)

Post by fragmer »

If you send me your player database file and config (PlayerDB.txt and config.xml) and I can try recovering it. Make sure to zip the files before sending, they can be quite large. My email is [email protected]

roblikescake
Offline
Posts: 43
Joined: August 20th, 2011, 3:34 am

Re: fCraftConsole isnt working (help ASAP)

Post by roblikescake »

fragmer wrote:Looks like your player database file got corrupted, probably due to the freeze. I hope you've got backups!
crap :( fCraft doesnt automatically back this up does it?

edit- i just emailed the files for you. when i try to open the PlayerDB file, it says that its 56kb but shows no text. this sucks because i just started the server on august 17th and have already have over 350 players connect to the server

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

Re: fCraftConsole isnt working (help ASAP)

Post by fragmer »

Unfortunately, there's no way to recover that file. The whole thing has been overwritten with zeroes somehow.

The next version of fCraft will include automatic PlayerDB backups, but the current version doesn't. I recommend that you back files up manually, just in case something like this happens again.

roblikescake
Offline
Posts: 43
Joined: August 20th, 2011, 3:34 am

Re: fCraftConsole isnt working (help ASAP)

Post by roblikescake »

fragmer wrote:Unfortunately, there's no way to recover that file. The whole thing has been overwritten with zeroes somehow.

The next version of fCraft will include automatic PlayerDB backups, but the current version doesn't. I recommend that you back files up manually, just in case something like this happens again.

thats fine with me. lol its just a loss for the players i had in a way that thay have to re earn their rankings and what not. thatll greatly help though as ive got to put a lot more eeffort into the ranking system by adding ranking requirements, etc. Thank you for at least trying though

Locked