fixed exception and login failure in SimpleApp. (still doesn't work like it used to, though)
parent
be7ae3dd3e
commit
398ee5f229
|
@ -55,10 +55,10 @@ namespace SimpleApp
|
||||||
|
|
||||||
protected override void Initialize()
|
protected override void Initialize()
|
||||||
{
|
{
|
||||||
StartLog();
|
|
||||||
|
|
||||||
m_networkServersInfo = new NetworkServersInfo(1000, 1000);
|
m_networkServersInfo = new NetworkServersInfo(1000, 1000);
|
||||||
|
|
||||||
|
m_httpServerPort = m_networkServersInfo.HttpListenerPort;
|
||||||
|
|
||||||
LocalAssetServer assetServer = new LocalAssetServer();
|
LocalAssetServer assetServer = new LocalAssetServer();
|
||||||
|
|
||||||
m_assetCache = new AssetCache(assetServer, m_log);
|
m_assetCache = new AssetCache(assetServer, m_log);
|
||||||
|
@ -66,13 +66,15 @@ namespace SimpleApp
|
||||||
|
|
||||||
public void Run()
|
public void Run()
|
||||||
{
|
{
|
||||||
base.StartUp();
|
StartLog();
|
||||||
|
StartUp();
|
||||||
|
|
||||||
LocalInventoryService inventoryService = new LocalInventoryService();
|
LocalInventoryService inventoryService = new LocalInventoryService();
|
||||||
LocalUserServices userService =
|
LocalUserServices userService =
|
||||||
new LocalUserServices(m_networkServersInfo, m_networkServersInfo.DefaultHomeLocX,
|
new LocalUserServices(m_networkServersInfo, m_networkServersInfo.DefaultHomeLocX,
|
||||||
m_networkServersInfo.DefaultHomeLocY, inventoryService);
|
m_networkServersInfo.DefaultHomeLocY, inventoryService);
|
||||||
LocalBackEndServices backendService = new LocalBackEndServices();
|
LocalBackEndServices backendService = new LocalBackEndServices();
|
||||||
|
userService.AddPlugin("OpenSim.Framework.Data.SQLite.dll");
|
||||||
|
|
||||||
CommunicationsLocal localComms =
|
CommunicationsLocal localComms =
|
||||||
new CommunicationsLocal(m_networkServersInfo, m_httpServer, m_assetCache, userService, inventoryService,
|
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);
|
new LLVector3((float) Util.RandomClass.Next(100, 200), (float) Util.RandomClass.Next(30, 200), 2);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
DirectoryInfo dirInfo = new DirectoryInfo(".");
|
DirectoryInfo dirInfo = new DirectoryInfo(".");
|
||||||
|
|
||||||
float x = 0;
|
float x = 0;
|
||||||
|
|
Loading…
Reference in New Issue