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()
|
||||
{
|
||||
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;
|
||||
|
|
Loading…
Reference in New Issue