Page 1 of 1

[FIXED] Bugs with world List

Posted: December 23rd, 2011, 3:56 am
by _BjorN64_
Recently i've been having problems with Worlds, so included is the error log. Hope this helps :)


ERROR: MapFCMv3.LoadHeader: Error importing zone definition: System.InvalidOperationException: PlayerDB is not loaded.
at fCraft.PlayerDB.CheckIfLoaded()
at fCraft.PlayerDB.FindPlayerInfoExact(String name)
at fCraft.Zone..ctor(String raw, World world)
at fCraft.MapConversion.MapFCMv3.LoadHeader(String fileName)
1:57:17 PM > ERROR: MapFCMv3.LoadHeader: Error importing zone definition: System.InvalidOperationException: PlayerDB is not loaded.
at fCraft.PlayerDB.CheckIfLoaded()
at fCraft.PlayerDB.FindPlayerInfoExact(String name)
at fCraft.Zone..ctor(String raw, World world)
at fCraft.MapConversion.MapFCMv3.LoadHeader(String fileName)
1:57:17 PM > ERROR: MapFCMv3.LoadHeader: Error importing zone definition: System.InvalidOperationException: PlayerDB is not loaded.
at fCraft.PlayerDB.CheckIfLoaded()
at fCraft.PlayerDB.FindPlayerInfoExact(String name)
at fCraft.Zone..ctor(String raw, World world)
at fCraft.MapConversion.MapFCMv3.LoadHeader(String fileName)
1:57:17 PM > ERROR: MapFCMv3.LoadHeader: Error importing zone definition: System.InvalidOperationException: PlayerDB is not loaded.
at fCraft.PlayerDB.CheckIfLoaded()
at fCraft.PlayerDB.FindPlayerInfoExact(String name)
at fCraft.Zone..ctor(String raw, World world)
at fCraft.MapConversion.MapFCMv3.LoadHeader(String fileName)

Re: Bugs with world List

Posted: December 23rd, 2011, 4:14 am
by boblol0909
fcraft version? system OS? What you were doing when this happened?

Re: Bugs with world List

Posted: December 23rd, 2011, 8:56 pm
by _BjorN64_
Using fCraft 0.612_r1306
OS Version Microsoft Windows XP Professional Version 2002 Service pack 2
Net Framework version is v4.0.30319

Also, only main has zones in it, and this happens to all worlds.

Re: Bugs with world List

Posted: December 24th, 2011, 11:36 am
by fragmer
I was looking over the zone-loading code, and looks like there's a backwards-compatibility bug. This error can occasionally happen if you are have a REALLY old mapfile with zones on the list. I'll release a fix for this with the next update (coming later this week). Thanks for taking the time to file a bug report!

Re: Bugs with world List

Posted: December 24th, 2011, 12:00 pm
by fragmer
As I was fixing the bug, I realized it can actually affect some recently-created maps as well. I'm going to hurry up and release the fix ASAP.