diff --git a/OpenSim/Region/Examples/SimpleApp/Program.cs b/OpenSim/Region/Examples/SimpleApp/Program.cs index 372d951e56..9e5ca9b782 100644 --- a/OpenSim/Region/Examples/SimpleApp/Program.cs +++ b/OpenSim/Region/Examples/SimpleApp/Program.cs @@ -55,10 +55,10 @@ namespace SimpleApp protected override void Initialize() { - StartLog(); - m_networkServersInfo = new NetworkServersInfo(1000, 1000); + m_httpServerPort = m_networkServersInfo.HttpListenerPort; + LocalAssetServer assetServer = new LocalAssetServer(); m_assetCache = new AssetCache(assetServer, m_log); @@ -66,13 +66,15 @@ namespace SimpleApp public void Run() { - base.StartUp(); + StartLog(); + StartUp(); LocalInventoryService inventoryService = new LocalInventoryService(); LocalUserServices userService = new LocalUserServices(m_networkServersInfo, m_networkServersInfo.DefaultHomeLocX, m_networkServersInfo.DefaultHomeLocY, inventoryService); LocalBackEndServices backendService = new LocalBackEndServices(); + userService.AddPlugin("OpenSim.Framework.Data.SQLite.dll"); CommunicationsLocal localComms = new CommunicationsLocal(m_networkServersInfo, m_httpServer, m_assetCache, userService, inventoryService, @@ -142,7 +144,6 @@ namespace SimpleApp new LLVector3((float) Util.RandomClass.Next(100, 200), (float) Util.RandomClass.Next(30, 200), 2); } - DirectoryInfo dirInfo = new DirectoryInfo("."); float x = 0;