Added patch #1826 & #1825. Cleaned up a few warnings in TestClient. WearCommand, DeleteFolderComand and InventoryCommand all need to cease using InventoryManager.DownloadInventory

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@858 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
otakup0pe
2007-01-19 10:43:30 +00:00
parent e085f2ecef
commit 77c5088e98
6 changed files with 2023 additions and 2007 deletions

View File

@@ -55,8 +55,9 @@ namespace libsecondlife.TestClient
client.SimPrims = SimPrims;
client.Master = account.Master;
bool login = client.Network.Login(account.FirstName, account.LastName, account.Password,
"TestClient", "contact@libsecondlife.org");
if ( ! client.Network.Login(account.FirstName, account.LastName, account.Password, "TestClient", "contact@libsecondlife.org") ) {
Console.WriteLine("Failed to login " + account.FirstName + " " + account.LastName + ": " + client.Network.LoginError);
}
if (client.Network.Connected)
{
@@ -69,11 +70,6 @@ namespace libsecondlife.TestClient
client.Throttle.Task = 1536000.0f;
client.Throttle.Set();
}
else
{
Console.WriteLine("Failed to login " + account.FirstName + " " + account.LastName +
": " + client.Network.LoginError);
}
return client;
}