* Initial framework support for multiple simulators. Currently only the first region config is loaded, but the framework is there
* Big reorganization of config and data files
* Started renaming extensions that handle LLUDP packets to start with the LL prefix. Work in progress
* Initial SSL support

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2482 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
John Hurliman
2009-03-12 23:02:42 +00:00
parent 627e0dbef7
commit 70fe1f8f2a
101 changed files with 3083 additions and 1746 deletions

View File

@@ -6,7 +6,7 @@ using ExtensionLoader;
using OpenMetaverse;
using OpenMetaverse.StructuredData;
namespace Simian.Extensions
namespace Simian
{
public class XMLPersistence : IExtension<Simian>, IPersistenceProvider
{
@@ -16,7 +16,7 @@ namespace Simian.Extensions
{
}
public void Start(Simian server)
public bool Start(Simian server)
{
this.server = server;
@@ -30,12 +30,13 @@ namespace Simian.Extensions
}
catch (FileNotFoundException)
{
return;
return true;
}
catch (Exception ex)
{
Logger.Log("Failed to load saved data: " + ex.Message, Helpers.LogLevel.Error);
return;
Logger.Log("Failed to load saved data. You may have to move or delete simiandata.xml: " +
ex.Message, Helpers.LogLevel.Error);
return false;
}
if (osd is OSDMap)
@@ -58,6 +59,8 @@ namespace Simian.Extensions
}
}
}
return true;
}
public void Stop()