Dumb mistake - forgot to assign the datastore variable

0.1-prestable
Adam Frisby 2007-04-27 22:26:57 +00:00
parent 6ce5b6e439
commit fadb4a9dcc
3 changed files with 4 additions and 1 deletions

View File

@ -170,6 +170,8 @@ namespace OpenSim
this.physManager = new OpenSim.Physics.Manager.PhysicsManager();
this.physManager.LoadPlugins();
LocalWorld.m_datastore = this.regionData.DataStore;
LocalWorld.LoadStorageDLL("OpenSim.Storage.LocalStorageDb4o.dll"); //all these dll names shouldn't be hard coded.
LocalWorld.LoadWorldMap();

View File

@ -50,6 +50,7 @@ namespace OpenSim.Storage.LocalStorageDb4o
public void Initialise(string dfile)
{
OpenSim.Framework.Console.MainConsole.Instance.WriteLine("Db4LocalStorage Opening " + dfile);
datastore = dfile;
try
{

View File

@ -70,7 +70,7 @@ namespace OpenSim
}
catch (Exception e)
{
Console.WriteLine("-config: Please specify a config file.");
Console.WriteLine("-config: Please specify a config file. (" + e.ToString() + ")");
}
}
}