aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/Examples/SimpleApp/Program.cs9
1 files changed, 5 insertions, 4 deletions
diff --git a/OpenSim/Region/Examples/SimpleApp/Program.cs b/OpenSim/Region/Examples/SimpleApp/Program.cs
index 372d951..9e5ca9b 100644
--- a/OpenSim/Region/Examples/SimpleApp/Program.cs
+++ b/OpenSim/Region/Examples/SimpleApp/Program.cs
@@ -55,10 +55,10 @@ namespace SimpleApp
55 55
56 protected override void Initialize() 56 protected override void Initialize()
57 { 57 {
58 StartLog();
59
60 m_networkServersInfo = new NetworkServersInfo(1000, 1000); 58 m_networkServersInfo = new NetworkServersInfo(1000, 1000);
61 59
60 m_httpServerPort = m_networkServersInfo.HttpListenerPort;
61
62 LocalAssetServer assetServer = new LocalAssetServer(); 62 LocalAssetServer assetServer = new LocalAssetServer();
63 63
64 m_assetCache = new AssetCache(assetServer, m_log); 64 m_assetCache = new AssetCache(assetServer, m_log);
@@ -66,13 +66,15 @@ namespace SimpleApp
66 66
67 public void Run() 67 public void Run()
68 { 68 {
69 base.StartUp(); 69 StartLog();
70 StartUp();
70 71
71 LocalInventoryService inventoryService = new LocalInventoryService(); 72 LocalInventoryService inventoryService = new LocalInventoryService();
72 LocalUserServices userService = 73 LocalUserServices userService =
73 new LocalUserServices(m_networkServersInfo, m_networkServersInfo.DefaultHomeLocX, 74 new LocalUserServices(m_networkServersInfo, m_networkServersInfo.DefaultHomeLocX,
74 m_networkServersInfo.DefaultHomeLocY, inventoryService); 75 m_networkServersInfo.DefaultHomeLocY, inventoryService);
75 LocalBackEndServices backendService = new LocalBackEndServices(); 76 LocalBackEndServices backendService = new LocalBackEndServices();
77 userService.AddPlugin("OpenSim.Framework.Data.SQLite.dll");
76 78
77 CommunicationsLocal localComms = 79 CommunicationsLocal localComms =
78 new CommunicationsLocal(m_networkServersInfo, m_httpServer, m_assetCache, userService, inventoryService, 80 new CommunicationsLocal(m_networkServersInfo, m_httpServer, m_assetCache, userService, inventoryService,
@@ -142,7 +144,6 @@ namespace SimpleApp
142 new LLVector3((float) Util.RandomClass.Next(100, 200), (float) Util.RandomClass.Next(30, 200), 2); 144 new LLVector3((float) Util.RandomClass.Next(100, 200), (float) Util.RandomClass.Next(30, 200), 2);
143 } 145 }
144 146
145
146 DirectoryInfo dirInfo = new DirectoryInfo("."); 147 DirectoryInfo dirInfo = new DirectoryInfo(".");
147 148
148 float x = 0; 149 float x = 0;